All notable changes to laravel-tags
will be documented in this file
- drop support for anything below Laravel 8
- add
HasFactory
to tags model.
- add support for Laravel 8
- avoid duplicate error on syncTagsWithType (#274)
- allow specifying type when using
attachTags()
ordetachTags()
(#273)
- change mutator behaviour: use sync instead of attach (#260)
- add support for Laravel 7
- make sure each tag is unique on the database level (#251)
- use
morphs
in migration
findOrCreateFromString
can now be overloaded (#231)
- make
scopeContaining
compatible with Postgresql
- add support for Laravel 6
- fix
scopeWithAllTags
* scopes
- use
ordered()
scope to determine order column name (#193)
- fix
str_slug
being deprecated
- added ability to work with multibyte charset
- performance enhanchements
- add
tagsTranslated
- drop support for Laravel 5.7 and below
- drop support for PHP 7.1 and below
- add support for Laravel 5.8
- use morph map name for taggable_type if it exists
- add
scopeWithAllTagsOfAnyType
andscopeWithAnyTagsOfAnyType
- update deps
- fix for locales with hypens in their name
- use
getTable()
instead of$table
in the scope
- fix for
withAnyTags
- add support for laravel-translatable v3
- improve performance
- add
containing
scope
- add L5.7 compatibility
- add L5.6 compatibility
- added compatiblity with Laravel 5.5, dropped support for all older versions
- renamed config file from
laravel-tags
totags
- deleting a model with tags will now delete related records in the
taggables
table
- add
syncWithType
- allow the name of a tag to be set by changing the name property
- fix bug where the same tag would be created multiple times
- removed typehint from HasTags::convertToTags to allow and instance of
Tag
to be passed in
- remove classmap from
composer.json
THIS VERSION IS BROKEN, DO NOT USE
- fix missings deps
THIS VERSION IS BROKEN, DO NOT USE
- add compatibility with Laravel 5.4
- the
withAllTags
andwithAnyTags
scopes now optionally accept atype
- fix bug where a custom tag model would not be used in
tags()
- The function that determines the value of the slug can now be modified in the config file
- fixed bug in
attachTag
where using aTag
model would be converted to a string
- fix migration path in service provider
- initial release