Thanks to visit codestin.com
Credit goes to github.com

Skip to content

feat: update and use faker as default generator #169

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Sep 4, 2024
Merged

Conversation

ardeois
Copy link
Owner

@ardeois ardeois commented Sep 4, 2024

casual is quite old and not maintained compared to faker

Changes

  • Update faker version to latest (v8)
  • Update deprecated faker generators to new ones (number.int, number.float ...)
  • Set faker as default generatorLibrary
  • Fix handling of locale as faker doesn't allow setLocale anymore

BREAKING CHANGE: update faker to v8 and update default generatorLibrary to faker instead of casual

Closes #134
Fixes #168

`casual` is quite old and not maintained compared to `faker`

## Changes
- Update faker version to latest (v8)
- Update deprecated faker generators to new ones (`number.int`, `number.float` ...)
- Set `faker` as default `generatorLibrary`
- Fix handling of `locale` as faker doesn't allow `setLocale` anymore

BREAKING CHANGES: update faker to v8 and update default `generatorLibrary` to `faker` instead of `casual`
@ardeois ardeois added the major Increment the major version when merged label Sep 4, 2024
@ardeois ardeois self-assigned this Sep 4, 2024
@ardeois ardeois changed the title feat: use faker as generator feat: update and use faker as default generator Sep 4, 2024
@ardeois ardeois merged commit 6dadd18 into main Sep 4, 2024
17 checks passed
@ardeois ardeois deleted the feat/faker-default branch September 4, 2024 17:07
@ardeois ardeois mentioned this pull request Sep 4, 2024
@bmulholland
Copy link
Contributor

Wow you did a lot here. Thanks again!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
major Increment the major version when merged
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Upgrade to faker 8
2 participants