- Fixed
setManyMeta()
not properly serializing certain types of data.
- 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.
- 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.
- Added support for Laravel 8.0 (Thanks @saulens!)
- Moved minimum requirements to PHP 7.3 and Laravel 6.0+
- Fixed array unpacking issue when queuing Metable models
- Added Laravel 7.0 support (Thanks @saulens22!)
- The
joinMetaTable()
function now usesgetMorphClass()
forMetable
trait to assist with single table inheritance (Thanks @mbryne!)
- Moved minimum requirements to PHP 7.2 and Laravel 5.6+
- Added a number of missing return types.
- Added
whereDoesntHaveMeta()
query scope (Thanks @tormjens!)
- Added Laravel 5.5 package autodiscovery
- Meta keys are now correctly case sensitive throughout the package (Thanks @Luukvdo!)
- Fixed some PHPDoc typehints (Thanks @Luukvdo!)
- Fixed some compatibility bugs with MySQL
- Removed illegal default from value column in migration
- Added Laravel 5.4 Compatibility
- Initial Release