Releases: FakerPHP/Faker
Releases · FakerPHP/Faker
v1.24.0
v1.23.1
What's Changed
- fix typos: "assymetric" -> asymmetric by @ivastly in #660
- Fix: lv_LV postcode format by @edgarsn in #661
- composer(deps): bump vimeo/psalm from 5.12.0 to 5.13.1 in /vendor-bin/psalm by @dependabot in #669
- composer(deps): bump rector/rector from 0.17.0 to 0.17.2 in /vendor-bin/rector by @dependabot in #667
- composer(deps): bump phpstan/phpstan from 1.10.15 to 1.10.22 in /vendor-bin/phpstan by @dependabot in #666
- composer(deps): bump friendsofphp/php-cs-fixer from 3.17.0 to 3.20.0 in /vendor-bin/php-cs-fixer by @dependabot in #668
- Add
$format
toimage
DocBlock by @vintagesucks in #670 - Fix: lv_LV generating invalid personal identity numbers by @edgarsn in #663
- Fix for polish street names + more polish TLDs by @tomaszklim in #664
- Fix psalm baseline in .gitattributes by @VincentLanglet in #674
- composer(deps): bump rector/rector from 0.17.2 to 0.17.7 in /vendor-bin/rector by @dependabot in #676
- composer(deps): bump phpstan/phpstan from 1.10.22 to 1.10.26 in /vendor-bin/phpstan by @dependabot in #677
- composer(deps): bump friendsofphp/php-cs-fixer from 3.20.0 to 3.22.0 in /vendor-bin/php-cs-fixer by @dependabot in #679
- composer(deps): bump vimeo/psalm from 5.13.1 to 5.14.1 in /vendor-bin/psalm by @dependabot in #678
- chore: ensure php 8.3 compatibility by @Chris53897 in #684
- Remove invalid postcode pattern for France by @ker0x in #683
- Fix: Allow tests to fail on PHP 8.3 by @localheinz in #693
- Fix: Test does not perform any assertions by @localheinz in #695
- Fix: Operator by @localheinz in #696
- Fix: Use boolean expressions by @localheinz in #697
- composer(deps): bump rector/rector from 0.17.7 to 0.18.1 in /vendor-bin/rector by @dependabot in #688
- composer(deps): bump phpstan/phpstan from 1.10.26 to 1.10.32 in /vendor-bin/phpstan by @dependabot in #689
- composer(deps): bump vimeo/psalm from 5.14.1 to 5.15.0 in /vendor-bin/psalm by @dependabot in #687
- composer(deps): bump phpstan/phpstan-deprecation-rules from 1.1.3 to 1.1.4 in /vendor-bin/phpstan by @dependabot in #690
- composer(deps): bump friendsofphp/php-cs-fixer from 3.22.0 to 3.25.0 in /vendor-bin/php-cs-fixer by @dependabot in #686
- Fix: Require to pass name to
ContainerBuilder::add()
by @localheinz in #702 - Enhancement: Run tests in random order by @localheinz in #701
- Fix: Add property type declarations by @localheinz in #699
- Fix: Enable and configure
type_declaration_spaces
instead of deprecatedfunction_typehint_space
fixer by @localheinz in #698 - composer(deps): bump phpstan/phpstan from 1.10.32 to 1.10.33 in /vendor-bin/phpstan by @dependabot in #704
- composer(deps): bump friendsofphp/php-cs-fixer from 3.25.0 to 3.25.1 in /vendor-bin/php-cs-fixer by @dependabot in #705
- github-actions(deps): bump actions/checkout from 3 to 4 by @dependabot in #706
- Fix: Switch order of parameters by @localheinz in #703
- Fix: Remove unused method by @localheinz in #711
- Fix: Rename parameter by @localheinz in #707
- Fix: Add parameter type declaration by @localheinz in #710
- Fix: Order by @localheinz in #712
- Enhancement: Reuse
NumberExtension
by @localheinz in #715 - Fix: Methods are instance methods by @localheinz in #708
- Fix: Add property type declarations by @localheinz in #713
- Fix: Reduce visibility by @localheinz in #714
- Fix: Do not memoize invalid service by @localheinz in #709
- Fix: Consistently describe experimental status by @localheinz in #717
- Fix: Mark classes as experimental by @localheinz in #716
- Fix: Mark class as
final
by @localheinz in #718 - Fix: Return string by @localheinz in #726
- Fix: Order by @localheinz in #722
- Fix: Avoid unnecessary imports by @localheinz in #721
- Enhancement: Enable
self_static_accessor
fixer by @localheinz in #728 - Fix: Cache for
friendsofphp/php-cs-fixer
by @localheinz in #729 - Fix: Add parameter type declarations by @localheinz in #724
- Fix: Add tests for
Container
by @localheinz in #727 - Fix: Simplify by @localheinz in #720
- updated polish license plates by @scybulski in #685
- Fix: Update
CHANGELOG.md
by @localheinz in #734 - Fix: Avoid useless tests for
ContainerBuilder
by @localheinz in #730 - Fix: Rename parameter by @localheinz in #731
- Add changelog mention in review checklist by @bram-pkg in #735
- Enhancement: Allow creating
ContainerBuilder
with definitions for default extensions by @localheinz in #732 - Fix: Reduce visibility by @localheinz in #719
- Fix: Remove unused method by @localheinz in #736
- Enhancement: Add
SECURITY.md
by @localheinz in #739 - Fix: Do not use
static
in callables by @localheinz in #785 - Fixed incorrect female name among male names (#794) by @pimjansen in #795
- Removed suppressed State from it_IT by @BoGnY in #802
- Update Address.php to fix country name errors by @supgeek-rod in #809
- fix #832 by @gam6itko in #836
- Fix: Do not use deprecated
MT_RAND_PHP
constant on PHP 8.3 by @localheinz in #844 - Enhancement: Prepare release for
1.23.1
by @localheinz in #788 - Fix: Remove branch alias for
1.23
by @localheinz in #843
New Contributors
- @ivastly made their first contribution in #660
- @edgarsn made their first contribution in #661
- @vintagesucks made their first contribution in #670
- @tomaszklim made their first contribution in #664
- @VincentLanglet made their first contribution in #674
- @Chris53897 made their first contribution in #684
- @BoGnY made their first contribution in #802
- @supgeek-rod made their first contribution in #809
- @gam6itko made their first contribution in #836
Full Changelog: v1.23.0...v1.23.1
v1.23.0
What's Changed
- Improve the way of generating Egyptian National Ids by @ahmedghanem00 in #651
- composer(deps): bump friendsofphp/php-cs-fixer from 3.16.0 to 3.17.0 in /vendor-bin/php-cs-fixer by @dependabot in #653
- composer(deps): bump vimeo/psalm from 5.11.0 to 5.12.0 in /vendor-bin/psalm by @dependabot in #654
- composer(deps): bump phpstan/extension-installer from 1.3.0 to 1.3.1 in /vendor-bin/phpstan by @dependabot in #655
- composer(deps): bump rector/rector from 0.16.0 to 0.17.0 in /vendor-bin/rector by @dependabot in #656
- Introduce the Color provider for "pl_PL" locale by @d1823 in #657
- Update
randomElements
to return random number of elements when no count is provided by @calebdw in #658 - Update CHANGELOG.md by @bram-pkg in #659
New Contributors
- @ahmedghanem00 made their first contribution in #651
- @d1823 made their first contribution in #657
Full Changelog: v1.22.0...v1.23.0
v1.22.0
What's Changed
- Remove invalid config reference in
README.md
by @pierredup in #577 - Remove concept of OS from rector workflow by @DvDty in #579
- composer(deps): bump vimeo/psalm from 5.2.0 to 5.4.0 in /vendor-bin/psalm by @dependabot in #589
- composer(deps): bump friendsofphp/php-cs-fixer from 3.13.0 to 3.13.1 in /vendor-bin/php-cs-fixer by @dependabot in #587
- composer(deps): bump rector/rector from 0.15.0 to 0.15.2 in /vendor-bin/rector by @dependabot in #590
- composer(deps): bump phpstan/phpstan from 1.9.2 to 1.9.4 in /vendor-bin/phpstan by @dependabot in #586
- composer(deps): bump phpstan/phpstan-deprecation-rules from 1.0.0 to 1.1.1 in /vendor-bin/phpstan by @dependabot in #588
- Removed ${var} usage - deprecated in PHP 8.2 by @janlanger in #591
- Removed the name Adolf and similarities by @Joas707 in #584
- composer(deps): bump rector/rector from 0.15.2 to 0.15.10 in /vendor-bin/rector by @dependabot in #598
- composer(deps): bump friendsofphp/php-cs-fixer from 3.13.1 to 3.14.3 in /vendor-bin/php-cs-fixer by @dependabot in #595
- composer(deps): bump vimeo/psalm from 5.4.0 to 5.6.0 in /vendor-bin/psalm by @dependabot in #596
- composer(deps): bump phpstan/phpstan from 1.9.4 to 1.9.14 in /vendor-bin/phpstan by @dependabot in #597
- Enhancement: Enable
findUnusedBaselineEntry
option by @localheinz in #599 - Fix: Avoid ternary statement by @localheinz in #600
- Fix: remove currency HRK by @havekes in #602
- composer(deps): bump friendsofphp/php-cs-fixer from 3.14.3 to 3.14.4 in /vendor-bin/php-cs-fixer by @dependabot in #608
- composer(deps): bump phpstan/phpstan from 1.9.14 to 1.10.3 in /vendor-bin/phpstan by @dependabot in #609
- composer(deps): bump rector/rector from 0.15.10 to 0.15.19 in /vendor-bin/rector by @dependabot in #612
- composer(deps): bump vimeo/psalm from 5.6.0 to 5.7.7 in /vendor-bin/psalm by @dependabot in #611
- composer(deps): bump phpstan/phpstan-deprecation-rules from 1.1.1 to 1.1.2 in /vendor-bin/phpstan by @dependabot in #610
- timezone() respects countrycode by @jefhar in #607
- composer(deps): bump phpstan/phpstan from 1.10.3 to 1.10.10 in /vendor-bin/phpstan by @dependabot in #622
- composer(deps): bump vimeo/psalm from 5.7.7 to 5.9.0 in /vendor-bin/psalm by @dependabot in #623
- composer(deps): bump friendsofphp/php-cs-fixer from 3.14.4 to 3.15.1 in /vendor-bin/php-cs-fixer by @dependabot in #624
- composer(deps): bump rector/rector from 0.15.19 to 0.15.23 in /vendor-bin/rector by @dependabot in #626
- composer(deps): bump phpstan/phpstan-deprecation-rules from 1.1.2 to 1.1.3 in /vendor-bin/phpstan by @dependabot in #625
- fix: Empty
Traversable
inrandomElements()
by @KentarouTakeda in #605 - Fix: Split test by @localheinz in #627
- composer(deps): bump phpstan/phpstan from 1.10.10 to 1.10.14 in /vendor-bin/phpstan by @dependabot in #632
- github-actions(deps): bump peter-evans/create-pull-request from 4 to 5 by @dependabot in #634
- composer(deps): bump friendsofphp/php-cs-fixer from 3.15.1 to 3.16.0 in /vendor-bin/php-cs-fixer by @dependabot in #635
- composer(deps): bump phpstan/extension-installer from 1.2.0 to 1.3.0 in /vendor-bin/phpstan by @dependabot in #633
- composer(deps): bump rector/rector from 0.15.23 to 0.15.25 in /vendor-bin/rector by @dependabot in #636
- Fix: DocBlock by @localheinz in #631
- Fix: Disable
findUnusedCode
option by @localheinz in #637 - fix name by @etchfoda in #641
- Fix: Clean up
randomElements()
andrandomElement()
by @localheinz in #639 - Fix: Do not configure deprecated
braces
fixer by @localheinz in #638 - Fix: Reject invalid arguments by @localheinz in #642
- allows passing an
enum
torandomElement()
orrandomElements()
by @cosmastech in #620 - composer(deps): bump phpstan/phpstan from 1.10.14 to 1.10.15 in /vendor-bin/phpstan by @dependabot in #646
- composer(deps): bump vimeo/psalm from 5.9.0 to 5.11.0 in /vendor-bin/psalm by @dependabot in #647
- composer(deps): bump rector/rector from 0.15.25 to 0.16.0 in /vendor-bin/rector by @dependabot in #648
- Fix: Update
CHANGELOG.md
by @localheinz in #628
New Contributors
- @pierredup made their first contribution in #577
- @DvDty made their first contribution in #579
- @janlanger made their first contribution in #591
- @Joas707 made their first contribution in #584
- @havekes made their first contribution in #602
- @jefhar made their first contribution in #607
- @KentarouTakeda made their first contribution in #605
- @etchfoda made their first contribution in #641
- @cosmastech made their first contribution in #620
Full Changelog: v1.21.0...v1.22.0
v1.21.0
v1.20.0
- Fixed typo in French phone number (#452)
- Fixed some Hungarian naming bugs (#451)
- Fixed bug where the NL-BE VAT generation was incorrect (#455)
- Improve Turkish phone numbers for E164 and added landline support (#460)
- Add Microsoft Edge User Agent (#464)
- Added option to set image formats on Faker\Provider\Image (#473)
- Added support for French color translations (#466)
- Support filtering timezones by country code (#480)
- Fixed typo in some greek names (#490)
- Marked the Faker\Provider\Image as deprecated
v1.19.0
- Added color extension to core (#442)
- Added conflict with
doctrine/persistence
below version1.4
- Fix for support on different Doctrine ORM versions (#414)
- Fix usage of
Doctrine\Persistence
dependency - Fix CZ Person birthNumber docblock return type (#437)
- Fix is_IS Person docbock types (#439)
- Fix is_IS Address docbock type (#438)
- Fix regexify escape backslash in character class (#434)
- Removed UUID from Generator to be able to extend it (#441)
v1.18.0
- Deprecated UUID, use uuid3 to specify version (#427)
- Reset formatters when adding a new provider (#366)
- Helper methods to use our custom generators (#155)
- Set allow-plugins for Composer 2.2 (#405)
- Fix kk_KZ\Person::individualIdentificationNumber generation (#411)
- Allow for -> syntax to be used in parsing (#423)
- Person->name was missing string return type (#424)
- Generate a valid BE TAX number (#415)
- Added the UUID extension to Core (#427)
v1.17.0
v1.16.0
- Add Company extension
- Add Address extension
- Add Person extension
- Add PhoneNumber extension
- Add VersionExtension (#350)
- Stricter types in Extension\Container and Extension\GeneratorAwareExtension (#345)
- Fix deprecated property access in
nl_NL
(#348) - Add support for
psr/container
>= 2.0 (#354) - Add missing union types in Faker\Generator (#352)