2.0.0
New features:
- Use your own data provider or your own data object. See readme for information.
Full Changelog: 1.7...2.0.0
Breaking changes:
- Now requires PHP 8.1+ (previously 7.3+)
- The provider name has changed from
Fakecar
toFakeCar
. 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. - The methods
transliterate
andcheckDigit
on theFakeCar
provider class are now no longer publicly available (Visibility changed to private). - The public methods
getRandomElementsFromArray
andgetWeighted
on theFakeCar
provider class has been moved to a helper class. Access them like this:\Faker\Provider\FakeCarHelper::getWeighted()
- The constants
EBCDIC
andMODELYEAR
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.