Releases: pelmered/fake-car
Releases · pelmered/fake-car
2.1.0
What's Changed
- Add engine power and torque by @pelmered in #27
- Feature: Add more data types by @pelmered in #30
- Fix: Added missing parameters to
FakeCarDataProviderInterface
- Added typehints. Should have 100 % type coverage now.
- Tests rewritten with Pest.
- Introduced Pint and PHPStan for code checks
Full Changelog: 2.0.1...2.1.0
2.0.1
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.
2.0.0-beta
This release includes a refactor of the code where things has been been broken up into more classes for a more logical structure and to aid extensibility.
New features:
- Use your own data provider or your own data object. See readme for information.
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.