Skip to content

Releases: matteoc99/laravel-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

v2.0.0 Beta release

07 Apr 19:34
Compare
Choose a tag to compare
v2.0.0 Beta release Pre-release
Pre-release
  • new serialization
    • using php's serialization instead of the custom Caster
  • more Casting and Rules
  • routing fixes & more testing
  • sunsets:
    • DataRule - no longer needed

v2.0.0 Alpha release

01 Apr 18:26
Compare
Choose a tag to compare
v2.0.0 Alpha release Pre-release
Pre-release

First step for version 2.

Changes are reflected in the readme, including a small upgrade guide

1.1.0

23 Mar 18:43
Compare
Choose a tag to compare

Major release

Added Enum support for casting (Cast::BACKED_ENUM)
Aswell as for preference names

Deprecation

consider reading the Deprecation plans in the readme, which will take effect with the next major version

v1.0 for laravel 10

22 Mar 20:29
Compare
Choose a tag to compare

initial Release

while there is room for improvement, the structure and goal of this package clear enough to leave the beta

changes from v0.1.2

syntax changes for deleting single preferences

PreferenceBuilder::delete("language");

Beta Patch v0.1.2

20 Mar 19:14
Compare
Choose a tag to compare
Beta Patch v0.1.2 Pre-release
Pre-release

removed work in progress status from readme

bugfix: Bulk init had no casting

Beta Patch v0.1.1

20 Mar 17:48
Compare
Choose a tag to compare
Beta Patch v0.1.1 Pre-release
Pre-release

refactored how casting works.
optimistically cast, before throwing an invalid argument exception

Bugfix: Cast::ARRAY did not cast correctly

Initial Release as Beta

19 Mar 20:27
Compare
Choose a tag to compare
Pre-release

The basic package, as described in the readme.
Currently laravel 11 is not supported, which will be done in version 2.0, once version 1.0 is released

Until the release, method signatures and workflow may change