Skip to content

Commit b0531fe

Browse files
committed
Update changelog and readme
1 parent 8d52eb8 commit b0531fe

File tree

2 files changed

+69
-68
lines changed

2 files changed

+69
-68
lines changed

CHANGELOG.adoc

+67-66
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,14 @@
44
[discrete]
55
=== Breaking Change
66

7-
* https://github.com/serpro69/kotlin-faker/pull/219[#219] [core] Extract faker's providers into several submodules of their own
7+
* https://github.com/serpro69/kotlin-faker/pull/219[#219] (:core) Extract faker's providers into several submodules of their own
88

99
[discrete]
1010
=== Added
1111

12-
* https://github.com/serpro69/kotlin-faker/issues/222[#222] [core] Create new Databases faker module
13-
* https://github.com/serpro69/kotlin-faker/issues/218[#218] [core] Allow creating custom fakers / generators
12+
* https://github.com/serpro69/kotlin-faker/pull/227[#227] Add BOM to manage faker versions
13+
* https://github.com/serpro69/kotlin-faker/issues/222[#222] (:faker:databases) Create new Databases faker module
14+
* https://github.com/serpro69/kotlin-faker/issues/218[#218] (:core) Allow creating custom fakers / generators
1415

1516
[discrete]
1617
=== Fixed
@@ -30,24 +31,24 @@
3031
[discrete]
3132
=== Breaking Change
3233

33-
* https://github.com/serpro69/kotlin-faker/pull/214[#214] [core] Update `Faker#internet#domain` function which affects returned values
34-
* https://github.com/serpro69/kotlin-faker/pull/213[#213] [core] Add support for unique data generation to `Faker#random`
34+
* https://github.com/serpro69/kotlin-faker/pull/214[#214] (:core) Update `Faker#internet#domain` function which affects returned values
35+
* https://github.com/serpro69/kotlin-faker/pull/213[#213] (:core) Add support for unique data generation to `Faker#random`
3536

3637
[discrete]
3738
=== Added
3839

39-
* https://github.com/serpro69/kotlin-faker/pull/215[#215] [core] Add IPv4, IPv6 and MAC address generation to `Internet`
40+
* https://github.com/serpro69/kotlin-faker/pull/215[#215] (:core) Add IPv4, IPv6 and MAC address generation to `Internet`
4041
** `iPv4Address()`
4142
** `publicIPv4Address()`
4243
** `privateIPv4Address()`
4344
** `iPv6Address()`
4445
** `macAddress()`
45-
* https://github.com/serpro69/kotlin-faker/pull/214[#214] [core] Update dictionary files, including:
46+
* https://github.com/serpro69/kotlin-faker/pull/214[#214] (:core) Update dictionary files, including:
4647
** Data and functions in existing data providers
4748
** `Faker().internet.domain()` now takes optional argument and produces a "safe-domain" (ending with `.example` or `.test`)
4849
** Updates to existing localized dictionaries + one new locale
49-
* https://github.com/serpro69/kotlin-faker/issues/208[#208] [core] Allow `StringProvider#regexify` to take Regex as input
50-
* https://github.com/serpro69/kotlin-faker/pull/202[#202] [core] Allow `randomClassInstance` to directly use predefined generators
50+
* https://github.com/serpro69/kotlin-faker/issues/208[#208] (:core) Allow `StringProvider#regexify` to take Regex as input
51+
* https://github.com/serpro69/kotlin-faker/pull/202[#202] (:core) Allow `randomClassInstance` to directly use predefined generators
5152

5253
++++
5354
<details><summary><h3>New Data Providers</h3></summary>
@@ -73,8 +74,8 @@
7374
[discrete]
7475
=== Fixed
7576

76-
* https://github.com/serpro69/kotlin-faker/pull/205[#205] [core] Fix `Person.birthDate` range error during leap year
77-
* https://github.com/serpro69/kotlin-faker/issues/204[#204] [core] Fix RandomClassProvider handling "constructor-less" types in collections
77+
* https://github.com/serpro69/kotlin-faker/pull/205[#205] (:core) Fix `Person.birthDate` range error during leap year
78+
* https://github.com/serpro69/kotlin-faker/issues/204[#204] (:core) Fix RandomClassProvider handling "constructor-less" types in collections
7879

7980
====
8081
@@ -84,15 +85,15 @@
8485
[discrete]
8586
=== Added
8687

87-
* https://github.com/serpro69/kotlin-faker/pull/195[#195] [core] Update dictionary files, including:
88+
* https://github.com/serpro69/kotlin-faker/pull/195[#195] (:core) Update dictionary files, including:
8889
** Data and functions in existing data providers, including new functions:
8990
*** `Faker().company.department()`
9091
*** `Faker().dnd.name...`
9192
*** `Faker().internet.safeDomainSuffix()`
9293
*** `Faker().southPark.episodes()`
9394
** Updates to existing localized dictionaries
94-
* https://github.com/serpro69/kotlin-faker/pull/197[#197] [cli] Render sub-providers functions in cli output
95-
* https://github.com/serpro69/kotlin-faker/pull/200[#200] [core] Add new data providers
95+
* https://github.com/serpro69/kotlin-faker/pull/197[#197] (:cli-bot) Render sub-providers functions in cli output
96+
* https://github.com/serpro69/kotlin-faker/pull/200[#200] (:core) Add new data providers
9697

9798
++++
9899
<details><summary><h3>New Data Providers</h3></summary>
@@ -110,13 +111,13 @@
110111
[discrete]
111112
=== Changed
112113

113-
* https://github.com/serpro69/kotlin-faker/pull/197[#197] [cli] Change cli `lookup` command to return matching providers by name
114+
* https://github.com/serpro69/kotlin-faker/pull/197[#197] (:cli-bot) Change cli `lookup` command to return matching providers by name
114115

115116
[discrete]
116117
=== Fixed
117118

118-
* https://github.com/serpro69/kotlin-faker/pull/188[#188] [core] Fix postcode for en-GB locale
119-
* https://github.com/serpro69/kotlin-faker/pull/193[#193] [core] Fix localized postcodes with regex patterns
119+
* https://github.com/serpro69/kotlin-faker/pull/188[#188] (:core) Fix postcode for en-GB locale
120+
* https://github.com/serpro69/kotlin-faker/pull/193[#193] (:core) Fix localized postcodes with regex patterns
120121

121122
====
122123
@@ -126,8 +127,8 @@
126127
[discrete]
127128
=== Added
128129

129-
* https://github.com/serpro69/kotlin-faker/pull/179[#179] [core] Add parameter info context to user defined generators
130-
* https://github.com/serpro69/kotlin-faker/pull/176[#176], https://github.com/serpro69/kotlin-faker/pull/182[#182], https://github.com/serpro69/kotlin-faker/pull/183[#183], [core] Update dictionary files, including:
130+
* https://github.com/serpro69/kotlin-faker/pull/179[#179] (:core) Add parameter info context to user defined generators
131+
* https://github.com/serpro69/kotlin-faker/pull/176[#176], https://github.com/serpro69/kotlin-faker/pull/182[#182], https://github.com/serpro69/kotlin-faker/pull/183[#183], (:core) Update dictionary files, including:
131132
** Data and functions in existing data providers
132133
*** `Faker().food.allergens()`
133134
** Updates to existing localized dictionaries
@@ -149,7 +150,7 @@
149150
[discrete]
150151
=== Other
151152

152-
* https://github.com/serpro69/kotlin-faker/pull/181[#181] [core] Add context to exception when `randomClassInstance` fails
153+
* https://github.com/serpro69/kotlin-faker/pull/181[#181] (:core) Add context to exception when `randomClassInstance` fails
153154

154155
====
155156
@@ -190,7 +191,7 @@
190191
* https://github.com/serpro69/kotlin-faker/pull/134[#134] Overload `RandomService#randomSublist` and `RandomService#randomSubset` with `sizeRange` parameter
191192
* https://github.com/serpro69/kotlin-faker/pull/144[#144] Add index and punctuation chars support to `RandomService#randomString`
192193
* https://github.com/serpro69/kotlin-faker/pull/154[#154] New `CryptographyProvider` for generating random sha sums
193-
* https://github.com/serpro69/kotlin-faker/pull/155[#155] [core] Update dictionary files, including:
194+
* https://github.com/serpro69/kotlin-faker/pull/155[#155] (:core) Update dictionary files, including:
194195
** Data and functions in existing data providers
195196
** Updates to existing localized dictionaries
196197

@@ -235,8 +236,8 @@
235236
[discrete]
236237
=== Added
237238

238-
* https://github.com/serpro69/kotlin-faker/pull/122[#122] [core] Add (unique) `numerify`, `letterify`, `bothify` and `regexify` functions through `StringProvider`
239-
* https://github.com/serpro69/kotlin-faker/pull/129[#129] [core] Update dictionary files, including:
239+
* https://github.com/serpro69/kotlin-faker/pull/122[#122] (:core) Add (unique) `numerify`, `letterify`, `bothify` and `regexify` functions through `StringProvider`
240+
* https://github.com/serpro69/kotlin-faker/pull/129[#129] (:core) Update dictionary files, including:
240241
* New data and functions in existing data providers
241242
* Updates to existing localized dictionaries
242243
** Especially notable for `fr` and `ja` locales as they now, similarly to `en` locale, contain multiple dict files per locale
@@ -289,7 +290,7 @@
289290
[discrete]
290291
=== Fixed
291292

292-
* https://github.com/serpro69/kotlin-faker/issues/125[#125] [core] Generating postcode with locale "nl" gives back expression rather than result
293+
* https://github.com/serpro69/kotlin-faker/issues/125[#125] (:core) Generating postcode with locale "nl" gives back expression rather than result
293294
====
294295
295296
.[1.10.0] - 2022-02-20
@@ -298,16 +299,16 @@
298299
[discrete]
299300
=== Added
300301

301-
* https://github.com/serpro69/kotlin-faker/pull/115[#115] [core] Add Crossfit® provider to Faker
302-
* https://github.com/serpro69/kotlin-faker/pull/117[#117] [core] Add namedParameterGenerator for RandomProvider#randomClassInstance
303-
* https://github.com/serpro69/kotlin-faker/pull/118[#118] [core] Add support for chained parameter expressions in yml dicts
304-
* https://github.com/serpro69/kotlin-faker/pull/55[#55] [core] Add missing 'Educator' functionality
305-
* https://github.com/serpro69/kotlin-faker/pull/53[#53] [core] Implement 'Finance' functions
302+
* https://github.com/serpro69/kotlin-faker/pull/115[#115] (:core) Add Crossfit® provider to Faker
303+
* https://github.com/serpro69/kotlin-faker/pull/117[#117] (:core) Add namedParameterGenerator for RandomProvider#randomClassInstance
304+
* https://github.com/serpro69/kotlin-faker/pull/118[#118] (:core) Add support for chained parameter expressions in yml dicts
305+
* https://github.com/serpro69/kotlin-faker/pull/55[#55] (:core) Add missing 'Educator' functionality
306+
* https://github.com/serpro69/kotlin-faker/pull/53[#53] (:core) Implement 'Finance' functions
306307

307308
[discrete]
308309
=== Fixed
309310

310-
* https://github.com/serpro69/kotlin-faker/pull/54[#54] [core] Incorrect return values for `Vehicle#licence_plate(_by_state)`
311+
* https://github.com/serpro69/kotlin-faker/pull/54[#54] (:core) Incorrect return values for `Vehicle#licence_plate(_by_state)`
311312
====
312313
313314
.[1.9.0] - 2021-11-19
@@ -316,22 +317,22 @@
316317
[discrete]
317318
=== Added
318319

319-
* https://github.com/serpro69/kotlin-faker/issues/103[#103] [core] Add support for `Collection` types in `RandomProvider#randomClassInstance`
320-
* https://github.com/serpro69/kotlin-faker/issues/96[#96] [core] Add `randomSubset` and `randomSublist` to `RandomService`
321-
* https://github.com/serpro69/kotlin-faker/issues/92[#92] [core] Add `randomString` function to `RandomService`
322-
* https://github.com/serpro69/kotlin-faker/issues/86[#86] [core] Generate birth-date based on the age
320+
* https://github.com/serpro69/kotlin-faker/issues/103[#103] (:core) Add support for `Collection` types in `RandomProvider#randomClassInstance`
321+
* https://github.com/serpro69/kotlin-faker/issues/96[#96] (:core) Add `randomSubset` and `randomSublist` to `RandomService`
322+
* https://github.com/serpro69/kotlin-faker/issues/92[#92] (:core) Add `randomString` function to `RandomService`
323+
* https://github.com/serpro69/kotlin-faker/issues/86[#86] (:core) Generate birth-date based on the age
323324

324325
[discrete]
325326
=== Changed
326327

327328
* https://github.com/serpro69/kotlin-faker/issues/108[#108] Update kotlin to 1.6.0
328-
* https://github.com/serpro69/kotlin-faker/issues/100[#100] [core] Add deprecation warning for `RandomService#nextString` since it's going to be replaced with `RandomService#randomString`
329-
* https://github.com/serpro69/kotlin-faker/issues/97[#97] [core] Change `RandomService#nextString` to generate strings only within given locale
329+
* https://github.com/serpro69/kotlin-faker/issues/100[#100] (:core) Add deprecation warning for `RandomService#nextString` since it's going to be replaced with `RandomService#randomString`
330+
* https://github.com/serpro69/kotlin-faker/issues/97[#97] (:core) Change `RandomService#nextString` to generate strings only within given locale
330331

331332
[discrete]
332333
=== Fixed
333334

334-
* https://github.com/serpro69/kotlin-faker/issues/104[#104] [core] `RandomProvider#randomClassInstance` : 'No suitable constructor found' for primitive classes
335+
* https://github.com/serpro69/kotlin-faker/issues/104[#104] (:core) `RandomProvider#randomClassInstance` : 'No suitable constructor found' for primitive classes
335336
====
336337
337338
.[1.8.0] - 2021-10-03
@@ -340,12 +341,12 @@
340341
[discrete]
341342
=== Added
342343

343-
* https://github.com/serpro69/kotlin-faker/issues/67[#67] [core] Access to `RandomService` through `Faker` for generating random `Int`, `Double`, `Float`, etc.
344-
* https://github.com/serpro69/kotlin-faker/pull/77[#77] [core] Extra functionality to `RandomService` - `nextEnum()`, `nextUUID()`, `nextLong(bound)` functions.
345-
* https://github.com/serpro69/kotlin-faker/pull/69[#69] [core] Passing `seed` directly to `FakerConfig` instead of through `java.util.Random` instance
346-
* https://github.com/serpro69/kotlin-faker/pull/71[#71] [core] DSL for creating and configuring `Faker`
347-
* https://github.com/serpro69/kotlin-faker/pull/78[#78] [core] Support sealed classes in `RandomProvider#randomClassInstance` fun
348-
* https://github.com/serpro69/kotlin-faker/pull/88[#88] [core] Postpone initialization of FakerConfig through the Builder
344+
* https://github.com/serpro69/kotlin-faker/issues/67[#67] (:core) Access to `RandomService` through `Faker` for generating random `Int`, `Double`, `Float`, etc.
345+
* https://github.com/serpro69/kotlin-faker/pull/77[#77] (:core) Extra functionality to `RandomService` - `nextEnum()`, `nextUUID()`, `nextLong(bound)` functions.
346+
* https://github.com/serpro69/kotlin-faker/pull/69[#69] (:core) Passing `seed` directly to `FakerConfig` instead of through `java.util.Random` instance
347+
* https://github.com/serpro69/kotlin-faker/pull/71[#71] (:core) DSL for creating and configuring `Faker`
348+
* https://github.com/serpro69/kotlin-faker/pull/78[#78] (:core) Support sealed classes in `RandomProvider#randomClassInstance` fun
349+
* https://github.com/serpro69/kotlin-faker/pull/88[#88] (:core) Postpone initialization of FakerConfig through the Builder
349350

350351
[discrete]
351352
=== Changed
@@ -355,13 +356,13 @@
355356
[discrete]
356357
=== Fixed
357358

358-
* https://github.com/serpro69/kotlin-faker/issues/65[#65] [core] Could not initialize class `io.github.serpro69.kfaker.Mapper` with SpringBoot `2.4.x`
359-
* https://github.com/serpro69/kotlin-faker/issues/60[#60] [core] Move out of Bintray/Jcenter
360-
* https://github.com/serpro69/kotlin-faker/issues/79[#79] [core] java.lang.NoClassDefFoundError: org/yaml/snakeyaml/error/YAMLException
361-
* https://github.com/serpro69/kotlin-faker/issues/81[#81] [core] `RandomProvider#randomClassInstance` fails for object types
362-
* https://github.com/serpro69/kotlin-faker/pull/90[#90] [core] Android `java.lang.NoClassDefFoundError: FakerService$$ExternalSyntheticLambda1`
363-
* https://github.com/serpro69/kotlin-faker/pull/87[#87] [core] Parameter 'city_root' not found in 'address' category
364-
* https://github.com/serpro69/kotlin-faker/pull/89[#89] [core] Parameter 'male_last_name' not found in 'name' category for "ru" locale
359+
* https://github.com/serpro69/kotlin-faker/issues/65[#65] (:core) Could not initialize class `io.github.serpro69.kfaker.Mapper` with SpringBoot `2.4.x`
360+
* https://github.com/serpro69/kotlin-faker/issues/60[#60] (:core) Move out of Bintray/Jcenter
361+
* https://github.com/serpro69/kotlin-faker/issues/79[#79] (:core) java.lang.NoClassDefFoundError: org/yaml/snakeyaml/error/YAMLException
362+
* https://github.com/serpro69/kotlin-faker/issues/81[#81] (:core) `RandomProvider#randomClassInstance` fails for object types
363+
* https://github.com/serpro69/kotlin-faker/pull/90[#90] (:core) Android `java.lang.NoClassDefFoundError: FakerService$$ExternalSyntheticLambda1`
364+
* https://github.com/serpro69/kotlin-faker/pull/87[#87] (:core) Parameter 'city_root' not found in 'address' category
365+
* https://github.com/serpro69/kotlin-faker/pull/89[#89] (:core) Parameter 'male_last_name' not found in 'name' category for "ru" locale
365366
====
366367
367368
.[1.7.1] - 2021-04-28
@@ -370,7 +371,7 @@
370371
[discrete]
371372
=== Fixed
372373

373-
* https://github.com/serpro69/kotlin-faker/pull/45[#45] [core] Parameter 'city_name' not found in 'address'
374+
* https://github.com/serpro69/kotlin-faker/pull/45[#45] (:core) Parameter 'city_name' not found in 'address'
374375
====
375376
376377
.[1.7.0] - 2021-04-16
@@ -379,8 +380,8 @@
379380
[discrete]
380381
=== Added
381382

382-
* https://github.com/serpro69/kotlin-faker/pull/59[#59] [core] Random money amount
383-
* https://github.com/serpro69/kotlin-faker/pull/62[#62] [core] Add nullable types to random provider type generator
383+
* https://github.com/serpro69/kotlin-faker/pull/59[#59] (:core) Random money amount
384+
* https://github.com/serpro69/kotlin-faker/pull/62[#62] (:core) Add nullable types to random provider type generator
384385
====
385386
386387
.[1.6.0] - 2020-12-30
@@ -389,23 +390,23 @@
389390
[discrete]
390391
=== Added
391392

392-
* https://github.com/serpro69/kotlin-faker/pull/44[#44] [core] Add support for random instance configuration.
393-
* https://github.com/serpro69/kotlin-faker/issues/47[#47] [core] Publish release candidates to bintray
394-
* https://github.com/serpro69/kotlin-faker/issues/49[#49] [core] Unique values exclusions with wildcards
395-
* https://github.com/serpro69/kotlin-faker/issues/46[#46] [core] Support deterministic constructor selection for randomClassInstance
393+
* https://github.com/serpro69/kotlin-faker/pull/44[#44] (:core) Add support for random instance configuration.
394+
* https://github.com/serpro69/kotlin-faker/issues/47[#47] (:core) Publish release candidates to bintray
395+
* https://github.com/serpro69/kotlin-faker/issues/49[#49] (:core) Unique values exclusions with wildcards
396+
* https://github.com/serpro69/kotlin-faker/issues/46[#46] (:core) Support deterministic constructor selection for randomClassInstance
396397

397398
[discrete]
398399
=== Fixed
399400

400-
* https://github.com/serpro69/kotlin-faker/issues/26[#26] [core] Parameter '4' not found in 'vehicle' category
401-
* https://github.com/serpro69/kotlin-faker/issues/48[#48] [core] streetFighter#moves: class java.util.LinkedHashMap cannot be cast to class java.lang.String
402-
* https://github.com/serpro69/kotlin-faker/issues/50[#50] [core] Horseman spelt wrong
403-
* https://github.com/serpro69/kotlin-faker/issues/56[#56] [core] Values with single '?' char are not always letterified
401+
* https://github.com/serpro69/kotlin-faker/issues/26[#26] (:core) Parameter '4' not found in 'vehicle' category
402+
* https://github.com/serpro69/kotlin-faker/issues/48[#48] (:core) streetFighter#moves: class java.util.LinkedHashMap cannot be cast to class java.lang.String
403+
* https://github.com/serpro69/kotlin-faker/issues/50[#50] (:core) Horseman spelt wrong
404+
* https://github.com/serpro69/kotlin-faker/issues/56[#56] (:core) Values with single '?' char are not always letterified
404405

405406
[discrete]
406407
=== Changed
407408

408-
* [core] Configuration for generation of unique values.
409+
* (:core) Configuration for generation of unique values.
409410
Old functionality is deprecated and will be removed in future releases.
410411
This relates to changes in [#49](https://github.com/serpro69/kotlin-faker/issues/49)
411412
====
@@ -416,8 +417,8 @@ This relates to changes in [#49](https://github.com/serpro69/kotlin-faker/issues
416417
[discrete]
417418
=== Added
418419

419-
* https://github.com/serpro69/kotlin-faker/issues/40[#40] [core] Add enum support for `RandomProvider`
420-
* https://github.com/serpro69/kotlin-faker/issues/39[#39] [core] Update dict files.
420+
* https://github.com/serpro69/kotlin-faker/issues/40[#40] (:core) Add enum support for `RandomProvider`
421+
* https://github.com/serpro69/kotlin-faker/issues/39[#39] (:core) Update dict files.
421422
* Including new functions in existing providers:
422423
* `aquaTeenHungerForce.quote()`
423424
* `dnd.cities()`
@@ -475,7 +476,7 @@ This relates to changes in [#49](https://github.com/serpro69/kotlin-faker/issues
475476
[discrete]
476477
=== Added
477478

478-
* https://github.com/serpro69/kotlin-faker/issues/34[#34] [core] 8 new providers:
479+
* https://github.com/serpro69/kotlin-faker/issues/34[#34] (:core) 8 new providers:
479480
* `warhammerFantasy`
480481
* `suits`
481482
* `show`
@@ -484,7 +485,7 @@ This relates to changes in [#49](https://github.com/serpro69/kotlin-faker/issues
484485
* `control`
485486
* `dnd`
486487
* `blood`
487-
* https://github.com/serpro69/kotlin-faker/issues/33[#33] [faker-bot] partial matching for provider names
488+
* https://github.com/serpro69/kotlin-faker/issues/33[#33] (:cli-bot) partial matching for provider names
488489
====
489490
490491
.[1.3.1] - 2020-06-07

0 commit comments

Comments
 (0)