Skip to content

Releases: pelmered/fake-car

2.1.0

30 Sep 09:52
413d223
Compare
Choose a tag to compare

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

16 Feb 08:43
9820b78
Compare
Choose a tag to compare

What's Changed

Full Changelog: 2.0.0...2.0.1

2.0.0

02 Feb 15:47
e7e516a
Compare
Choose a tag to compare

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.

2.0.0-beta

06 May 21:45
f9c311b
Compare
Choose a tag to compare
2.0.0-beta Pre-release
Pre-release

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:

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

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.

1.7

05 Oct 08:55
Compare
Choose a tag to compare
1.7
  • Declare support for PHP 8.1
  • Replace Travis with GutHub Action for running tests #21
  • Code quality and styling improvements

1.6

03 Dec 10:28
b66ad58
Compare
Choose a tag to compare
1.6

Switch to FakerPHP because fzaninotto/Faker is no longer maintained.
This also gives for proper PHP 8 support in the dependency tree.

1.5

22 Oct 10:27
Compare
Choose a tag to compare
1.5
  • Support for PHP 8 and PHPUnit 9
  • Fix testing and coverage reporting
  • Now requires PHP => 7.3 and Faker >=1.9
  • Add dependabot config
  • Small refactorings / Code improvements

1.4.1

01 Oct 10:32
a9f14c9
Compare
Choose a tag to compare
  • Add more data
  • Readme improvements

1.4.0

06 Sep 14:12
Compare
Choose a tag to compare
  • Added station wagon to vehicle types
  • Added missing type hints
  • Added missing PHP Docs
  • Added tests for PHP 7.4 and HHVM
  • Small test improvements

1.3.3

29 May 13:10
Compare
Choose a tag to compare
  • Fix: vehicleGearBoxType now return correct values.
  • Also added more tests for VIN.