Skip to content
This repository was archived by the owner on Nov 27, 2023. It is now read-only.

Releases: dereuromark/cakephp-hashid

1.4.1

20 Feb 19:39
be5af8c
Compare
Choose a tag to compare

Fixes

Added alias in finder so the primary key isn't ambiguous.

1.4.0

12 Nov 18:07
Compare
Choose a tag to compare

Improvements

Allow next hashid major v4.

1.3.0

27 Nov 12:15
7dd485a
Compare
Choose a tag to compare

Improvements

1.2.1

04 Dec 22:40
0e5e39d
Compare
Choose a tag to compare

Bugfixes

Model data validation now works as expected together with this plugin.

Add alphabet and minHashLength options

21 Feb 19:16
Compare
Choose a tag to compare

You can now define a custom alphabet of at least 16 characters.
You can also now set a min length for the generated hash.

Small fixes

21 Jul 16:05
Compare
Choose a tag to compare

Support find(list)

Also fixed:

  • Check if entity before call the dirty function on it
  • Small bugfix with recursive => true: Only run code for primary table

Allow deleting

29 Apr 00:35
Compare
Choose a tag to compare
1.1.2

Allow deleting

Fix entity after save

25 Apr 20:05
Compare
Choose a tag to compare
1.1.1

Fix bug with reusing entity after save.

Allow updating of records

24 Apr 23:22
Compare
Choose a tag to compare

So far the updating did not work when the primary key itself was the hashid config.
The beforeSave() hook now resolves this.

Also fixed a few issues with non primary records fetched.

Initial release for CakePHP 3.x

14 Feb 12:56
Compare
Choose a tag to compare

Stable release.

Added:

  • Throw 404 for invalid number range to avoid accidental hashing out impossible numbers.