Added
-
#202 [core] Allow
randomClassInstance
to directly use predefined generators
Changed
-
…
Fixed
-
…
Other
-
…
All notable changes to this project will be documented in this file.
The format follows Keep a Changelog, and the project versioning adheres to Semantic Versioning.
#202 [core] Allow randomClassInstance
to directly use predefined generators
…
…
…
#195 [core] Update dictionary files, including:
Data and functions in existing data providers, including new functions:
Faker().company.department()
Faker().dnd.name…
Faker().internet.safeDomainSuffix()
Faker().southPark.episodes()
Updates to existing localized dictionaries
#197 [cli] Render sub-providers functions in cli output
#200 [core] Add new data providers
archer
final_fantasy_xiv
mitch_hedberg
train_station
#197 [cli] Change cli lookup
command to return matching providers by name
airport
avatar
chess
cowboy_bebop
spongebob
#181 [core] Add context to exception when randomClassInstance
fails
#134 Overload RandomService#randomSublist
and RandomService#randomSubset
with sizeRange
parameter
#144 Add index and punctuation chars support to RandomService#randomString
#154 New CryptographyProvider
for generating random sha sums
#155 [core] Update dictionary files, including:
Data and functions in existing data providers
Updates to existing localized dictionaries
hackers
mountaineering
sport
tarkov
#135 Initialize Faker data providers lazily
#136 Parameter 'streets' not found in 'ADDRESS' category
#137 Parameter 'category' not found in 'COMPANY' category for 'ja' locale
#138 Parameter 'zip_code' not found in 'ADDRESS' category for 'fr' locale
#140 Fix NPE when generating CurrencySymbol with non 'en' locale
#142 Fix unique localized category keys missing from dictionary
#146 Fix RandomService#randomString
for some eng-lang locales
#148 Fix StarWars quotes by character
#130 Document how to add new data providers
#122 [core] Add (unique) numerify
, letterify
, bothify
and regexify
functions through StringProvider
#129 [core] Update dictionary files, including:
New data and functions in existing data providers
Updates to existing localized dictionaries
Especially notable for fr
and ja
locales as they now, similarly to en
locale, contain multiple dict files per locale
New localized dictionaries for es-AR
, lt
and mi-NZ
locales
adjective
australia
bible
bird
brooklynNineNine
camera
clashOfClans
conan
doraemon
emotion
finalSpace
fmaBrotherhood
hobby
howToTrainYourDragon
jackHandey
kamenRIder
mountain
naruto
room
studioGhibli
superMario
supernatural
tea
theKingkillerChronicle
theOffice
tolkien
touhou
tron
volleyball
Some functions will now accept enum-typed parameters instead of strings
Add deprecation warnings to some functions due to upstream changes in yml dict files
#125 [core] Generating postcode with locale "nl" gives back expression rather than result
#104 [core] RandomProvider#randomClassInstance
: 'No suitable constructor found' for primitive classes
#67 [core] Access to RandomService
through Faker
for generating random Int
, Double
, Float
, etc.
#77 [core] Extra functionality to RandomService
- nextEnum()
, nextUUID()
, nextLong(bound)
functions.
#69 [core] Passing seed
directly to FakerConfig
instead of through java.util.Random
instance
#71 [core] DSL for creating and configuring Faker
#78 [core] Support sealed classes in RandomProvider#randomClassInstance
fun
#88 [core] Postpone initialization of FakerConfig through the Builder
Configurable length
of the string generated with RandomService#nextString
#65 [core] Could not initialize class io.github.serpro69.kfaker.Mapper
with SpringBoot 2.4.x
#60 [core] Move out of Bintray/Jcenter
#79 [core] java.lang.NoClassDefFoundError: org/yaml/snakeyaml/error/YAMLException
#81 [core] RandomProvider#randomClassInstance
fails for object types
#90 [core] Android java.lang.NoClassDefFoundError: FakerService$$ExternalSyntheticLambda1
#87 [core] Parameter 'city_root' not found in 'address' category
#89 [core] Parameter 'male_last_name' not found in 'name' category for "ru" locale
#45 [core] Parameter 'city_name' not found in 'address'
[core] Configuration for generation of unique values. Old functionality is deprecated and will be removed in future releases. This relates to changes in [#49](https://github.com/serpro69/kotlin-faker/issues/49)
#40 [core] Add enum support for RandomProvider
#39 [core] Update dict files.
Including new functions in existing providers:
aquaTeenHungerForce.quote()
dnd.cities()
dnd.languages()
dnd.meleeWeapons()
dnd.monsters()
dnd.races()
- replaces deprecated species()
function.
dnd.rangedWeapons()
heroesOfTheStorm.classNames()
- replaces deprecated classes()
function
movie.title()
name.neutralFirstName()
phish.albums()
phish.musicians()
phish.songs()
- replaces deprecated song()
function
simpsons.episodeTitles()
Including new faker
providers:
barcode
bigBangTheory
drivingLicense
drone
futurama
minecraft
prince
rush
streetFighter
#32 Upgrade kotlin to 1.4.0
#41 publish to maven central
#27 Resolving partially-localized provider functions with secondary_key
3 new providers: chiquito
, computer
, and rajnikanth
New functions to existing providers:
address.cityWithState()
address.mailbox()
gender.shortBinaryTypes()
educator
provider changed completely due to new dict file structure
Upgrades to existing dict files
Automated versioning (patches only) and deploys
3 new providers: game
, horse
, and opera
2 new locales: th
and en-TH
New functions to existing providers:
cannabis.brands()
company.sicCode()
internet.email(name)
internet.safeEmail(name)
Rename functions as per changes in the dictionary files:
drWho.villians()
→ drWho.villains()
space.launchVehicule()
→ space.launchVehicle()
Updated all dictionary files incl. localizations
#15 Sources artifact is empty
Make Faker
a class instead of singleton object
#13 Rename Internet.safeEmail
to Internet.domain