Releases: matteoc99/laravel-preference
Releases · matteoc99/laravel-preference
v2.1.2
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
feat:
- more rules
- improved rules readme
v2.1.0
feat:
- allowed classes for object casts
- Api Enum Support
- Builder restructuring
changes:
-create now internally calls updateOrCreate
v2.0.2
fix:
- Object casting of Arrayable/DateTime Objects
v2.0.1
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
V2 release
feat:
- user input sanitization
- suggested packages
more testing & pipeline improvements
v2.0.0-beta.5
feat: Policies
and general cleanup / code restructuring.
v2.0.0-beta.4
Features:
nullable preferences, documented in the readme
v2.0.0-beta.3
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
Features:
- get and set preferences via enum or model
- change model table names from config
Proof of concept:
- Custom Preference Policies