Datafaker 1.8.0 (11 Feb 2023)¶
The first release of 2023 of Datafaker has been created. After one year of Datafaker, this marks the release of the last version compatible with Java 1.8. After this, Datafaker 2.x will have Java 17 as a minimum baseline.
Why 17, and not migrate from 8 to 11? Well, we think that Java 11 hardly has any benefits for Datafaker, while Java 17 might have some more interesting features, such as records, compact number formatting, and who knows, maybe some other features. Just to be clear: our 1.x branch will no longer be supported or maintained.
New Contributors¶
A special shout out to @kingthorin, who has contributed numerous improvements in Datafaker, and who is now a co-maintainer of Datafaker. Rick, welcome to the team, and absolutely appreciate your amazing work!
- @isvora made their first contribution in https://github.com/datafaker-net/datafaker/pull/557
- @danilopiazza made their first contribution in https://github.com/datafaker-net/datafaker/pull/565
- @NULL0xFF made their first contribution in https://github.com/datafaker-net/datafaker/pull/569
- @benelog made their first contribution in https://github.com/datafaker-net/datafaker/pull/585
- @alx-mag made their first contribution in https://github.com/datafaker-net/datafaker/pull/598
- @robosoul made their first contribution in https://github.com/datafaker-net/datafaker/pull/638
- @HattoriHenzo made their first contribution in https://github.com/datafaker-net/datafaker/pull/654
- @mesketh made their first contribution in https://github.com/datafaker-net/datafaker/pull/653
- @kingthorin made their first contribution in https://github.com/datafaker-net/datafaker/pull/657
- @AlexJFerreira made their first contribution in https://github.com/datafaker-net/datafaker/pull/661
What's Changed¶
- Documentation update by @bodiam in https://github.com/datafaker-net/datafaker/pull/560
- Update spotless-maven-plugin to 2.28.0 by @snuyanzin in https://github.com/datafaker-net/datafaker/pull/563
- Do not call Random for singletone lists by @snuyanzin in https://github.com/datafaker-net/datafaker/pull/564
- Add Marvel Snap Provider by @isvora in https://github.com/datafaker-net/datafaker/pull/557
- Documentation update: rename IProviders to BaseProviders by @danilopiazza in https://github.com/datafaker-net/datafaker/pull/565
- Add Korean resident registration number by @NULL0xFF in https://github.com/datafaker-net/datafaker/pull/569
- Use builder for csv and sql transformers by @snuyanzin in https://github.com/datafaker-net/datafaker/pull/573
- Update dependencies by @snuyanzin in https://github.com/datafaker-net/datafaker/pull/576
- Make call to FakeValues#loadValues once by @snuyanzin in https://github.com/datafaker-net/datafaker/pull/575
- Speed up javaNameToYamlName by usage of array by @snuyanzin in https://github.com/datafaker-net/datafaker/pull/578
- Speed up FakeValues#toJavaNames by @snuyanzin in https://github.com/datafaker-net/datafaker/pull/579
- Add Silicon Valley faker by @panilya in https://github.com/datafaker-net/datafaker/pull/580
- Create map only if it is required by @snuyanzin in https://github.com/datafaker-net/datafaker/pull/581
- Remove deprecated Password provider by @snuyanzin in https://github.com/datafaker-net/datafaker/pull/582
- Remove useless class var by @snuyanzin in https://github.com/datafaker-net/datafaker/pull/583
- Fix wrong names in ko.yml by @benelog in https://github.com/datafaker-net/datafaker/pull/585
- Fix generation of invalid links in ProvidersDocsGenerator by @panilya in https://github.com/datafaker-net/datafaker/pull/588
- Reduce number of internal failures because of empty filename by @snuyanzin in https://github.com/datafaker-net/datafaker/pull/590
- Precollect buzzwords by @snuyanzin in https://github.com/datafaker-net/datafaker/pull/591
- Refactor: extract some vars by @snuyanzin in https://github.com/datafaker-net/datafaker/pull/592
- Return supported locales by @snuyanzin in https://github.com/datafaker-net/datafaker/pull/589
- Log error instead of throwing and catching by @snuyanzin in https://github.com/datafaker-net/datafaker/pull/594
- Preload classes and methods while parsing yaml by @snuyanzin in https://github.com/datafaker-net/datafaker/pull/597
- Add .yml files for 'be' and 'en-PK' locales by @alx-mag in https://github.com/datafaker-net/datafaker/pull/598
- Add Naruto provider by @panilya in https://github.com/datafaker-net/datafaker/pull/601
- Add Futurama provider by @panilya in https://github.com/datafaker-net/datafaker/pull/602
- Update spotless maven plugin by @snuyanzin in https://github.com/datafaker-net/datafaker/pull/604
- Update junit to 5.9.2 by @snuyanzin in https://github.com/datafaker-net/datafaker/pull/605
- Set version 1.4.0 for perf doc by @snuyanzin in https://github.com/datafaker-net/datafaker/pull/606
- Alphabetical order of provider names in the README by @panilya in https://github.com/datafaker-net/datafaker/pull/603
- Show by @bodiam in https://github.com/datafaker-net/datafaker/pull/608
- More tv shows by @bodiam in https://github.com/datafaker-net/datafaker/pull/609
- Count generators by @bodiam in https://github.com/datafaker-net/datafaker/pull/610
- More shows by @bodiam in https://github.com/datafaker-net/datafaker/pull/611
- Bump year in docs copyright by @valfirst in https://github.com/datafaker-net/datafaker/pull/612
- Add perf tests for 1.7.0 by @snuyanzin in https://github.com/datafaker-net/datafaker/pull/613
- Add java object transformer by @snuyanzin in https://github.com/datafaker-net/datafaker/pull/513
- More video games by @bodiam in https://github.com/datafaker-net/datafaker/pull/614
- Clarify providers section in the README by @panilya in https://github.com/datafaker-net/datafaker/pull/616
- Ruby faker fixes by @bodiam in https://github.com/datafaker-net/datafaker/pull/615
- More shows 2 by @bodiam in https://github.com/datafaker-net/datafaker/pull/617
- Cache calculated locale chains by @snuyanzin in https://github.com/datafaker-net/datafaker/pull/618
- Reformat table in perf doc by @snuyanzin in https://github.com/datafaker-net/datafaker/pull/619
- Misprint in tests by @snuyanzin in https://github.com/datafaker-net/datafaker/pull/620
- Add missing break in switch by @snuyanzin in https://github.com/datafaker-net/datafaker/pull/621
- Fix concurrent modification exception by @snuyanzin in https://github.com/datafaker-net/datafaker/pull/622
- Move toLower to cache by @snuyanzin in https://github.com/datafaker-net/datafaker/pull/625
- Use Locale#forLanguageTag by @snuyanzin in https://github.com/datafaker-net/datafaker/pull/626
- Update maven to 3.8.7 by @snuyanzin in https://github.com/datafaker-net/datafaker/pull/627
- Update spotless to 2.30.0 by @snuyanzin in https://github.com/datafaker-net/datafaker/pull/628
- Add Kotlin examples for formats in schemas.md (docs) by @panilya in https://github.com/datafaker-net/datafaker/pull/633
- Fix broken link in the docs by @panilya in https://github.com/datafaker-net/datafaker/pull/630
- Introduce singletone Locale to use identity hash maps by @snuyanzin in https://github.com/datafaker-net/datafaker/pull/631
- Issue #635 - Expand SV local names by @robosoul in https://github.com/datafaker-net/datafaker/pull/638
- Issue #637 - Expand DK local names by @robosoul in https://github.com/datafaker-net/datafaker/pull/640
- Issue #636 - Expand NO local names by @robosoul in https://github.com/datafaker-net/datafaker/pull/639
- Docu fix by @bodiam in https://github.com/datafaker-net/datafaker/pull/634
- Enhance NL local company name and suffix by @robosoul in https://github.com/datafaker-net/datafaker/pull/641
- Issue #642 - Language code for Denmark is 'da' by @robosoul in https://github.com/datafaker-net/datafaker/pull/643
- Issue #644 - reusable merge of male/female names in the first_name collection by @robosoul in https://github.com/datafaker-net/datafaker/pull/645
- Use https for schemaLocation by @snuyanzin in https://github.com/datafaker-net/datafaker/pull/650
- Provider groups description and new providers per version table in DOCS by @panilya in https://github.com/datafaker-net/datafaker/pull/649
- Computer brands feature request by @HattoriHenzo in https://github.com/datafaker-net/datafaker/pull/654
- :technologist: JsonTransformer enhancement to support import scenarios by @mesketh in https://github.com/datafaker-net/datafaker/pull/653
- Make properties ordered by @snuyanzin in https://github.com/datafaker-net/datafaker/pull/655
- Add configuration for comma in json, refactor jsontransformer by @snuyanzin in https://github.com/datafaker-net/datafaker/pull/656
- Garment Size Test Tweak by @kingthorin in https://github.com/datafaker-net/datafaker/pull/657
- Add Zodiac Signs provider by @kingthorin in https://github.com/datafaker-net/datafaker/pull/658
- Rename 'Show' group to 'Entertainment' and add new provider by @panilya in https://github.com/datafaker-net/datafaker/pull/647
- Enforce EOL=LF by @kingthorin in https://github.com/datafaker-net/datafaker/pull/659
- Correct custom provider example by @AlexJFerreira in https://github.com/datafaker-net/datafaker/pull/661
- Improve unit testing by @kingthorin in https://github.com/datafaker-net/datafaker/pull/660
- Remove usage Format Json from BaseFaker by @RVRhub in https://github.com/datafaker-net/datafaker/pull/663
- Include XML files in .gitattributes as text by @kingthorin in https://github.com/datafaker-net/datafaker/pull/664
- Add computer brands by @kingthorin in https://github.com/datafaker-net/datafaker/pull/665
- Add Brand faker by @HattoriHenzo in https://github.com/datafaker-net/datafaker/pull/668
- Add static builder method for json transformer by @snuyanzin in https://github.com/datafaker-net/datafaker/pull/669
- Use CsvTransformer#builder in doc by @snuyanzin in https://github.com/datafaker-net/datafaker/pull/671
- Use Csv transformer instead of format csv in FakeValuesService by @snuyanzin in https://github.com/datafaker-net/datafaker/pull/672
- Adjust copyright to 2023 by @kingthorin in https://github.com/datafaker-net/datafaker/pull/674
- Add Chess faker by @panilya in https://github.com/datafaker-net/datafaker/pull/676
- Apply comparison against yaml file content for tests within entertainment package by @snuyanzin in https://github.com/datafaker-net/datafaker/pull/677
- Fix Dermatology typo by @kingthorin in https://github.com/datafaker-net/datafaker/pull/680
- Make arg for generate Transformer Iterable rather than FakeSequence by @snuyanzin in https://github.com/datafaker-net/datafaker/pull/683
- Remove deprecated csv by @snuyanzin in https://github.com/datafaker-net/datafaker/pull/684
- Remove deprecated Yaml by @snuyanzin in https://github.com/datafaker-net/datafaker/pull/685
- Entertainment Fixes by @kingthorin in https://github.com/datafaker-net/datafaker/pull/686
Providers added¶
A total of 34 new providers were added, brining the total now to 230 different data providers!
See https://www.datafaker.net/documentation/providers/ for the full overview of providers.