Skip to content

Releases: plank/laravel-metable

5.1.1

26 Dec 18:09
f0dba1e
Compare
Choose a tag to compare
  • Fix serialization of Metable models breaking the internal meta index

5.1.0

25 Oct 01:25
26633aa
Compare
Choose a tag to compare
  • getAllMeta() now includes default values if the key is not defined.

5.0.2

03 Oct 17:34
b319682
Compare
Choose a tag to compare
  • Fix backwards compatibility of getAttributesForInsert in setManyMeta()

5.0.1

24 Sep 01:24
5ba7637
Compare
Choose a tag to compare
  • Fixed setManyMeta() not properly serializing certain types of data.

5.0.0

11 Feb 18:11
68924b4
Compare
Choose a tag to compare
  • New schema migration: improved database indexing. See UPGRADING.md for details.
  • Added config meta.applyMigrations. When set to false, migration paths will not be loaded from the package. Use this if you wish to override the default schema migrations provided with the package.
  • Added setManyMeta() to bulk insert/update multiple keys to a model. Requires Laravel 8.0+ for optimal performance.
  • Added removeManyMeta() to bulk delete multiple keys from a model
  • Fixed removeMeta() method causing an error if called with a non-existent key
  • Fixed a minor bug with setMeta() creating duplicates in the cached meta relation when updating a key.

4.1.0

01 Nov 14:33
a1ae0bf
Compare
Choose a tag to compare
  • Added support for defining default meta values within a Metable model (Thanks @Braunson!)

4.0.0

15 Oct 00:27
1f34a0f
Compare
Choose a tag to compare
  • fixed support for Laravel 8.0 migration squashing
  • Migration files are now loaded from the package itself instead of being published to the local /database/migrations directory. This may cause conflicts when upgrading, see UPGRADING.md for mitigation steps.

3.0.0

13 Sep 21:29
Compare
Choose a tag to compare
  • Added support for Laravel 8.0 (Thanks @Saulens!)
  • Moved minimum requirements to PHP 7.3 and Laravel 6.0+

2.1.1

16 Jun 03:11
21f95c9
Compare
Choose a tag to compare
  • Fixed array unpacking issue when queuing Metable models

2.1.0

07 Mar 00:42
1c60c28
Compare
Choose a tag to compare