All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
PRs and issues are linked, so you can find more about it. Thanks to ChangelogLinker.
v2.0.1 - 2020-01-08
- #493 Moved unitOfWork access to methods instead of constructor, Thanks to @toooni
- #484 Update trait names in docs, Thanks to @ckrack
- #490 fix boolean method name prefix
- #487 Fix slug uniqueness, Thanks to @hermann8u
v2.0.0 - 2020-01-02
- #479 make lazy loading configurable
- #480 [Translatable] Remove mapId() magic
v2.0.0-beta1 - 2020-01-01
- #470 Add
CHANGELOG.md
- #475 [Tree] Include name "tree" in naming
- #478 Improve docs, handle timestampable field type for the user
- #474 split NodeTrait to NodeMethodsTrait and NodePropertiesTrait
- #477 Fix slug uniqueness check function, Thanks to @StanislavUngr
- #472 Fix slug generation if the getRegenerateSlugOnUpdate method return false, Thanks to @hermann8u
- #473 [Sortable] Drop, it never worked
v2.0.0-alpha4 - 2019-12-24
- #469 [Rector] Add Upgrade set for id property on translations
v2.0.0-alpha3 - 2019-12-19
- #468 Use symfony/strings instead of transliterator
- #467 [Geocodable] Drop for very wide interface and limited usage
- #464 Remove scheduleExtraUpdate calls
v2.0.0-alpha2 - 2019-12-18
- #448 [Translation] add abstract class support
- #460 add setTranslations()
- #452 Add missing dependency symplify/package-builder, Thanks to @webda2l
- #447 add default location provider
- #458 Use PHP 7.4 instead of a snapshot on Travis, Thanks to @andreybolonin
- #459 composer: use the symfony/security for symfony 4.4
- #461 Various updates
- #449 make slug unique optionally [closes #236]
- #453 use entity list instead of explicit
- #450 [Uuidable] init
- #451 [tests] move entities and repositories to own namespaces
- #463 drop filterable, way to opinionated and limited, use custom implementation
- #457 remove repository traits, use custom methods in own repository instead
v2.0.0-alpha1 - 2019-12-12
- #435 [CI] Add + Apply Coding Standards: PSR12, PHP 7.0, PHP 7.1
- #445 [CI] Add Rector
- #436 Add static code analysis and PSR-4 for tests
- #443 Add code of conduct
- #425 Explicitly add maintainers in the README, Thanks to @alexpozzi
- #423 Do not specify version constraint - let Composer do this, Thanks to @bocharsky-bw
- #433 Travis: bump to min PHP 7.2, test stable doctrine/orm
- #389 Shrink locale columns to 5 chars, Thanks to @NiR-
- #442 Refactoring tests to dependency injection container based + use interfaces over traits for detection
- #390 Document master and v1 branches, Thanks to @NiR-
- #438 [cs] apply common set - unite MIT license to single file
- #444 [cs] use trait suffix for traits to prevent opening
- #439 [cs] apply symplify set
- #441 [tests] strict types for subscribers, various PR cherry-pick
- #440 [Translatable] Fix property access on twig
- #411 Fix config deprecation, Thanks to @martinprihoda
1.6.0 - 2018-11-13
- #382 [Translatable] Do not persist new translations if empty, Thanks to @giuliapellegrini
- #392 Only set locales on entities managed by knp translations, Thanks to @jordisala1991
1.5.0 - 2017-09-27
1.4.1 - 2017-09-19
- #338 Update branch alias in composer.json, Thanks to @nykopol
- #326 Use svg image for Travis badge and show status of master branch, Thanks to @bocharsky-bw
- #328 Run PHPUnit in normal mode instead of --testdox, Thanks to @bocharsky-bw
- #304 Minor fix: Tweak docblocks, Thanks to @bocharsky-bw
- #256 fix typo, Thanks to @shieldo
- #332 Fix: isEmpty() return true if it's empty, Thanks to @corentinheadoo
- #360 Fix doctrine dependency and drop PHP < 7, Thanks to @Einenlum
- #350 Fix disabling softdeletable, Thanks to @ossinkine
- #353 Markdown syntax fix, Thanks to @Nyholm
1.4.0 - 2016-09-30
- #317 Fix interaction between translations & joined inheritance, Thanks to @lemoinem
- #316 Fixes for Symfony 3.1, Thanks to @tarlepp
- #98 [Geocodable] Add a function to compute distances in meters., Thanks to @kimlai
- #262 Timestampable - add db field type parameter, Thanks to @lopsided
- #1 Added filterable repository behavior, Thanks to @l3l0
- #253 Add documentation to override the default naming strategy for translatable, Thanks to @ksom
- #76 Add missing setSlug method, Thanks to @EmmanuelVella
- #10 Added sluggable trait, Thanks to @Lusitanian
- #20 Add a post delete feature to the SoftDeletable trait, Thanks to @PedroTroller
- #25 Add a method to test the removal of the object in the future, Thanks to @PedroTroller
- #27 Add preRemove hook to Blamable trait and listener, Thanks to @PedroTroller
- #57 Add a creation message, Thanks to @PedroTroller
- #62 add recursive trait parameter to orm services, Thanks to @docteurklein
- #112 Adds a parameter for the fetch method used by doctrine for the translations, Thanks to @bobvandevijver
- #220 Add documentation about restore() method in Softdeleteable, Thanks to @akovalyov
- #138 add several missing subscribers, Thanks to @greg0ire
- #148 travis - PHP 5.6 added, linter added
- #160 Return $this where it was not added., Thanks to @kuczek
- #179 Improved Entity Managers configs + added doc for testing from local env, Thanks to @hanovruslan
- #189 added customizable tree identifier, Thanks to @digitalkaoz
- #191 Add Callable function to override default language, Thanks to @jerome-fix
- #206 travis: PHP 7.0 nightly added
- #243 Add missing annotations, Thanks to @bocharsky-bw
- #192 added missing function to interface, Thanks to @digitalkaoz
- #18 [softDeletable] added method to restore a deleted entity, Thanks to @inoryy
- #85 [FEATURE] Refactor \Knp\DoctrineBehaviors\ORM\Tree\Tree::getRootNodes to support QueryBuilder customization, Thanks to @MisatoTremor
- #187 Call generateSlug from SluggableSubscriber, Thanks to @EmmanuelVella
- #174 Fix ability to choose the class translation name, Thanks to @asprega
- #31 README update, Thanks to @eillarra
- #217 Change allowed_falures to allow_failures in travis.yml config, Thanks to @akovalyov
- #216 Attemt to put vendor folder to cache to prevent composer failures, Thanks to @akovalyov
- #56 Error serializing the AbstractToken in Symfony2, Thanks to @patxi1980
- #199 run tests with the lowest possible versions, Thanks to @greg0ire
- #36 Update TimestampableListener.php, Thanks to @trsteel88
- #114 ClassAnalyzer::hasTrait returns false if $parentClass is NULL
- #115 option to prevent default translation search, Thanks to @DerekRoth
- #119 Update README.md, Thanks to @Mondane
- #185 Update README.md, Thanks to @JoydS
- #126 Tests should be green., Thanks to @akovalyov
- #176 Yaml-Lint for travis., Thanks to @kuczek
- #162 Slug generation from cyrillic strings, Thanks to @MAXakaWIZARD
- #167 Allow locale as an association entity, Thanks to @burci
- #225 Highlight PHP code syntax, Thanks to @bocharsky-bw
- #161 Try to use getters when getting non-existent field values for Sluggable, Thanks to @MAXakaWIZARD
- #43 Update child methods so they contain 'Node', Thanks to @trsteel88
- #131 Ease contributions, Thanks to @greg0ire
- #157 Translation fallback, Thanks to @kuczek
- #133 use PSR-4 autoloading, Thanks to @greg0ire
- #149 TranslatableSubscriber change undefined property $this->em to $em, Thanks to @adrienrusso
- #44 Semantic versioning, Thanks to @jankramer
- #134 rename listener to subscriber, Thanks to @greg0ire
- #52 Update the geocodable documentation, Thanks to @josselinh
- #144 Improve the translatable documentation, Thanks to @roukmoute
- #135 Replace most occurences of listener with subscribers, Thanks to @greg0ire
- #136 Use event system, Thanks to @greg0ire
- #221 Register it as a bundle, Thanks to @akovalyov
- #226 Use PropertyAccessor for get translations, Thanks to @bocharsky-bw
- #55 Update README.md, Thanks to @jalopezcar
- #228 Change mysite.com with example.com, Thanks to @bocharsky-bw
- #2 Use non-locale aware type modifier %F in sprintf(), Thanks to @jsor
- #3 require php >= 5.4.0 since you use traits :), Thanks to @pminnieur
- #78 Make timestampable and blameable setters fluent, Thanks to @EmmanuelVella
- #6 rename entity traits to Model namespace, Thanks to @docteurklein
- #7 Auto metadata, Thanks to @docteurklein
- #13 Modify SoftDeletable, Thanks to @akia
- #14 Update README.md, Thanks to @michelsalib
- #290 Test against three last doctrine common versions, Thanks to @akovalyov
- #288 TranslatableMethods: use late static bindings, Thanks to @meyerbaptiste
- #284 Microseconds, Thanks to @boekkooi
- #276 Update UserCallable.php, Thanks to @adampiotrowski
- #89 Parametrized translatable and translation Traits, Thanks to @alch
- #274 Translatable: enable cascade persist and merge on the owning side, Thanks to @jonasgoderis
- #102 Parametrized traits, Thanks to @gaydarov
- #231 use psr logger instead of symfony logger, Thanks to @digitalkaoz
- #232 Make Blameable respect the isRecursive setting, Thanks to @jdachtera
- #240 Set current and default locale on prePersist event, Thanks to @MAXakaWIZARD
- #111 Rename of parameter to comply with the rest of the parameters, Thanks to @bobvandevijver
- #250 Reorder list of behaviors with ASC order in docs, Thanks to @bocharsky-bw
- #252 composer: bump to PHPUnit ~4.8
- #141 test different versions of doctrine, Thanks to @greg0ire
- #266 Make Behaviors configurable., Thanks to @NiR-
- #254 Update tree documentation, Thanks to @ksom
- #93 issue Bug (typo+) in softDeletable doc #90, Thanks to @siciarek
- #21 Refactoring/listener, Thanks to @PedroTroller
- #265 Language only fallback, Thanks to @DerekRoth
- #88 [RFC] fix for TranslatableListener, to ignore entities that have translations as properties, Thanks to @theodorDiaconu
- #132 fix path, Thanks to @greg0ire
- #83 Fixed error with deletedBy field update on entity persist, Thanks to @dmishh
- #146 Fixed support for PointType with Mysql., Thanks to @kuczek
- #77 Fix phpdoc type hint, Thanks to @EmmanuelVella
- #30 Fixed bug with isDeleted() return true, Thanks to @dmishh
- #4 Fixes generate:doctrine:entities errors, Thanks to @fixe
- #300 Fix beforeNormalization anonymous function, Thanks to @NiR-
- #298 Fix if no config specified all behaviors are enabled, Thanks to @NiR-
- #279 Fixes Travis checks, Thanks to @tobias-93
- #275 Fixes compatibility for Symfony 3.0, Thanks to @tobias-93
- #24 Fixed removal of translations, Thanks to @jankramer
- #26 Fix/travis, Thanks to @PedroTroller
- #32 Fix DI mistake, Thanks to @NicolasBadey
- #143 Fixed typo in variable $fetchMode name, Thanks to @cblegare
- #37 Fix typos, Thanks to @trsteel88
- #40 Fixed SoftDeletable behavior when using inheritance, Thanks to @jankramer
- #68 Debug instead of log, fix for DateTime, Thanks to @kuczek
- #41 Fix Geocodable listener isEntitySupported check, Thanks to @EmmanuelVella
- #155 This PR is fixing #122 and #150, Thanks to @pmontoya
- #152 Fix for array values in log, Thanks to @kuczek
- #147 Fix missing EntityManager in TranslatableSubscriber
- #60 Remove @constructor annotations, Thanks to @jankramer
- #158 Removed Id from EnittyTranslation fixture., Thanks to @kuczek
- #142 remove unneeded dependency, Thanks to @greg0ire