Skip to content

Releases: Triun/laravel-model-base

v6.0.9

31 Dec 17:11
5ddd69d
Compare
Choose a tag to compare

Added

  • phpDoc of nullable values.
  • Additional phpDoc description of the database type.

v6.0.8

31 Dec 14:15
Compare
Choose a tag to compare

Changed

  • Normalise value types real and double as float.

Fixed

  • BIGINT to float|int in phpDoc.
  • Primary keys can be forced to be string and the phpDoc as string|float or string|int to avoid Laravel issues.

v6.0.7

30 Dec 12:09
Compare
Choose a tag to compare

Fixed

  • Force type conversion to either int or string, in model primary type, in order to avoid types or code issues.

v6.0.6

30 Dec 11:54
Compare
Choose a tag to compare

Added

  • Ability to choose between short types (int, bool) or long types (integer, boolean) which are equivalent for both Laravel and phpDoc.

v6.0.5

27 Dec 12:53
Compare
Choose a tag to compare

Change

  • Change back double as float as either double, float or real are the same in PHP.

Fixed

  • string in phpDoc.

v6.0.4

27 Dec 12:20
af7e7cc
Compare
Choose a tag to compare

Added

  • New helpers: DBALHelper and TypeHelper.

Changed

  • SchemaUtil refactoring with breaking changes.

Fixed

  • Model keyType fix: use laravel types instead of database types.

v6.0.3

26 Dec 20:11
Compare
Choose a tag to compare

Added

  • Ability to customize phpDoc properties types.

Fixes

  • Move the custom interfaces, traits, uses, and the new phpDoc into the model, to avoid traits errors.

v6.0.2

26 Dec 16:09
Compare
Choose a tag to compare

Added

  • Custom interfaces, traits, and uses.

Changed

  • Composer updated.

Fixes

  • Fix class use sorting.

v5.8.4

18 Sep 17:19
Compare
Choose a tag to compare

Added

  • Override model.

Changed

  • Unify model class and base class into one stud.

v5.8.3

18 Sep 16:44
Compare
Choose a tag to compare

Added

  • Custom interfaces, traits, uses and phpDoc tags type and description.