Datafaker 2.3.0 (1 July 2024)¶
A new version of Datafaker has been released, which further enhances Datafaker. We've added new features, such as an option to generate small images, added more locale data, fixed some open issues, and added much more data to Datafaker. Also, lots of internal improvements have been done to make maintaining Datafaker a bit easier.
The most notable contributions are done this release by Andrei Solntsev, who not only did his first contribution this release, but is now also a maintainer for Datafaker. Welcome to the team Andrei, your contribution is amazing!
New Contributors¶
- @filipowm made their first contribution in https://github.com/datafaker-net/datafaker/pull/1179
- @marcelofilipov made their first contribution in https://github.com/datafaker-net/datafaker/pull/1186
- @asolntsev made their first contribution in https://github.com/datafaker-net/datafaker/pull/1196
- @jensGiehl made their first contribution in https://github.com/datafaker-net/datafaker/pull/1251
- @gatear made their first contribution in https://github.com/datafaker-net/datafaker/pull/1261
New features¶
- Remove outdated jdk11 profile by @snuyanzin in https://github.com/datafaker-net/datafaker/pull/1174
- Add tests against downstream project (datafaker-gen) by @snuyanzin in https://github.com/datafaker-net/datafaker/pull/1171
- Initial support for streams in transformers by @snuyanzin in https://github.com/datafaker-net/datafaker/pull/1177
- feat: migrate part of existing medical provider under specific healthcare providers (#1137) by @filipowm in https://github.com/datafaker-net/datafaker/pull/1179
- Nationalities translated into pt-BR by @marcelofilipov in https://github.com/datafaker-net/datafaker/pull/1186
- POC for 1178 by @snuyanzin in https://github.com/datafaker-net/datafaker/pull/1180
- Added locations. by @bodiam in https://github.com/datafaker-net/datafaker/pull/1189
- Add further locations by @kingthorin in https://github.com/datafaker-net/datafaker/pull/1192
- show actual values in error message by @asolntsev in https://github.com/datafaker-net/datafaker/pull/1196
- add Estonian id number generator by @asolntsev in https://github.com/datafaker-net/datafaker/pull/1197
- Modify the enrichment provider classes map in BaseFaker by @RVRhub in https://github.com/datafaker-net/datafaker/pull/1198
- catch only specific exceptions by @asolntsev in https://github.com/datafaker-net/datafaker/pull/1205
- merge files "et.yml" and "ee.yml" by @asolntsev in https://github.com/datafaker-net/datafaker/pull/1206
- Rename
COWMap
toCopyOnWriteMap
and add javadoc by @snuyanzin in https://github.com/datafaker-net/datafaker/pull/1207 - add Albanian id number generator by @asolntsev in https://github.com/datafaker-net/datafaker/pull/1208
- add Moldova id number generator by @asolntsev in https://github.com/datafaker-net/datafaker/pull/1211
- Migrated DateAndTime to TimeAndDate to support Java8 Time, and depreca… by @bodiam in https://github.com/datafaker-net/datafaker/pull/1210
- Add Bulgarian id number by @asolntsev in https://github.com/datafaker-net/datafaker/pull/1213
- Allow country level defaults by @snuyanzin in https://github.com/datafaker-net/datafaker/pull/1219
- add support for North Macedonia (names + ID numbers) by @asolntsev in https://github.com/datafaker-net/datafaker/pull/1218
- Minor tweaks and cleanup by @kingthorin in https://github.com/datafaker-net/datafaker/pull/1224
- Reduce visibility of TimeAndDate constants by @kingthorin in https://github.com/datafaker-net/datafaker/pull/1226
- Added support for random image generation, such as PNG, JPG, GIF and … by @bodiam in https://github.com/datafaker-net/datafaker/pull/1227
- load country-specific ID number providers by country code by @asolntsev in https://github.com/datafaker-net/datafaker/pull/1229
- extract phone numbers configuration to country-specific files by @asolntsev in https://github.com/datafaker-net/datafaker/pull/1233
- update "language vs country" details in README by @asolntsev in https://github.com/datafaker-net/datafaker/pull/1236
- Add AWS services in AWS data provider by @panilya in https://github.com/datafaker-net/datafaker/pull/1228
- Another attempt to get automated releases working. by @bodiam in https://github.com/datafaker-net/datafaker/pull/1240
- Add Large Language Model provider by @panilya in https://github.com/datafaker-net/datafaker/pull/1237
- Migrate disease provider under healthcare providers (#1137) by @filipowm in https://github.com/datafaker-net/datafaker/pull/1188
- Mark Internet#pass deprecated by @snuyanzin in https://github.com/datafaker-net/datafaker/pull/1245
- Skip BigQuery tests while testing against datafaker_gen by @snuyanzin in https://github.com/datafaker-net/datafaker/pull/1247
- Drop deprecated Xml by @snuyanzin in https://github.com/datafaker-net/datafaker/pull/1244
- Add doc about advanced char sequence generation by @snuyanzin in https://github.com/datafaker-net/datafaker/pull/1246
- Add boardgame provider by @jensGiehl in https://github.com/datafaker-net/datafaker/pull/1251
- Attempt to publish documentation automatically by @bodiam in https://github.com/datafaker-net/datafaker/pull/1252
- generate phone numbers using Google library "libphonenumber" by @asolntsev in https://github.com/datafaker-net/datafaker/pull/1249
- Add dependency info to CONTRIBUTING by @kingthorin in https://github.com/datafaker-net/datafaker/pull/1253
- Add Spark SQL dialect by @gatear in https://github.com/datafaker-net/datafaker/pull/1261
- Skip void or methods coming from Object or AbstractProvider by @snuyanzin in https://github.com/datafaker-net/datafaker/pull/1267
- Implement generate stream for SQL transformer by @gatear in https://github.com/datafaker-net/datafaker/pull/1264
- Refactoring: improve code by @asolntsev in https://github.com/datafaker-net/datafaker/pull/1277
- Document Spark SQL by @gatear in https://github.com/datafaker-net/datafaker/pull/1270
Fixes¶
- fix: Aviation Test by @kingthorin in https://github.com/datafaker-net/datafaker/pull/1241
- Fixed airport code. by @bodiam in https://github.com/datafaker-net/datafaker/pull/1243
- fix: expressions resolution by @kingthorin in https://github.com/datafaker-net/datafaker/pull/1275
- fix flaky test: remove leasing "0" from generated phone number by @asolntsev in https://github.com/datafaker-net/datafaker/pull/1256
- Fix memory leak by @asolntsev in https://github.com/datafaker-net/datafaker/pull/1271
- Fix flaky test
TimeAndDateTest.testPastDate
by @asolntsev in https://github.com/datafaker-net/datafaker/pull/1216 - Fix another flaky test
TimeAndDateTest.testFutureDate
by @asolntsev in https://github.com/datafaker-net/datafaker/pull/1217 - fix generation of phone numbers (domestic/international/mobile) by @asolntsev in https://github.com/datafaker-net/datafaker/pull/1225
- Fix inception version of
Pronouns
data provider by @valfirst in https://github.com/datafaker-net/datafaker/pull/1182 - Fix flaky tests by @asolntsev in https://github.com/datafaker-net/datafaker/pull/1204
Full Changelog: https://github.com/datafaker-net/datafaker/compare/v2.2.2...datafaker-2.3.0