Skip to content

Releases: matteoc99/laravel-preference

v2.1.2

05 May 15:47
6300993
Compare
Choose a tag to compare

Feat:

reset all preferences on a model
binary builder state
int bulk with array of builders
new Rule: LaravelRule
Testing Numeric Preferences

v2.1.1

02 May 19:39
b7c0814
Compare
Choose a tag to compare

feat:

  • more rules
  • improved rules readme

v2.1.0

28 Apr 15:03
Compare
Choose a tag to compare

feat:

  • allowed classes for object casts
  • Api Enum Support
  • Builder restructuring

changes:
-create now internally calls updateOrCreate

v2.0.2

23 Apr 19:32
Compare
Choose a tag to compare

fix:

  • Object casting of Arrayable/DateTime Objects

v2.0.1

21 Apr 10:46
Compare
Choose a tag to compare

feat:

  • api improvements:
    • to dto transformation for the api
    • allow all primitive datatypes to be passed via api
  • 2 new Rules

fix:

  • inconsistent ValueCaster behaviour
  • InstanceOfRule did not consider the class itself, only its parents

v2.0.0

20 Apr 12:17
Compare
Choose a tag to compare

V2 release

feat:

  • user input sanitization
  • suggested packages

more testing & pipeline improvements

v2.0.0-beta.5

17 Apr 19:17
Compare
Choose a tag to compare

feat: Policies

and general cleanup / code restructuring.

v2.0.0-beta.4

12 Apr 17:54
Compare
Choose a tag to compare

Features:
nullable preferences, documented in the readme

v2.0.0-beta.3

10 Apr 20:06
Compare
Choose a tag to compare

feat:

  • readme updates
  • new Cast 'NONE'
  • artisan command scaffolding
  • better and more streamlined validation

fix:

  • timestamp conversion bug
  • updateOrCreate preference

v2.0.0-beta.2

09 Apr 19:05
Compare
Choose a tag to compare

Features:

  • get and set preferences via enum or model
  • change model table names from config

Proof of concept:

  • Custom Preference Policies