Skip to content

2.0.0

Compare
Choose a tag to compare
@pelmered pelmered released this 02 Feb 15:47
· 68 commits to main since this release
e7e516a

New features:

  1. Use your own data provider or your own data object. See readme for information.

Full Changelog: 1.7...2.0.0

Breaking changes:

  1. Now requires PHP 8.1+ (previously 7.3+)
  2. The provider name has changed from Fakecar to FakeCar. This will cause problems if you are on a case-sensitive filesystem, but it is strongly recommended to change this even if you are not.
  3. The methods transliterate and checkDigit on the FakeCar provider class are now no longer publicly available (Visibility changed to private).
  4. The public methods getRandomElementsFromArray and getWeighted on the FakeCar provider class has been moved to a helper class. Access them like this: \Faker\Provider\FakeCarHelper::getWeighted()
  5. The constants EBCDIC and MODELYEAR are no longer public.

3, 4 and 5 are changes to limited to undocumented features of the public API and should therefore not affect the typical use cases of this package.