Skip to content

Latest commit

 

History

History
190 lines (121 loc) · 5.03 KB

CHANGELOG.md

File metadata and controls

190 lines (121 loc) · 5.03 KB

Changelog

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.

[Unreleased]

[3.1.0] - 2024-08-06

Added

  • Compatibility with Symfony 7.0+

Removed

  • Compatibility with Symfony 5.x

[3.0.0] - 2024-08-01

Added

  • Complete support for Symfony 7
  • Support for Doctrine ORM 3
  • Remove limitations on usage on proxies! 🎉

Changed

  • New way of injecting the dispatcher to entities. This is great and also supports proxies! (which was previously a limitation)
  • The easy crew got us! The configuration is now deadly simple. Look at the UPGRADE guide to learn how to move from v2 to v3.

[2.3.3] - 2023-05-16

Added

  • Add new return types (for Symfony 6)
  • Add new context parameter for DomainDenormalizer

[2.3.2] - 2023-03-15

Fixed

  • Fix "has dispatcher" check (this is a helper for developers)

[2.3.1] - 2022-12-23

Added

  • Ignore dispatcher in Symfony serializer (fix API Platform 2.7 & 3.0 doc) #17

[2.3.0] - 2021-10-23

Added

  • A listener on entities flush when your application is in debug mode. It ensure you're instancing your entities the right way, so the property dispatcher must always contains an DomainEventDispatcherInterface instance. If not it throw an exception and tells you which entities is causing the error.
  • Compatibility with Symfony 6.0

Changed

  • PHP minimum version is now 7.4
  • Configure test suite to allow integration tests and configure a test Kernel.
  • Refactor the FakeModel test entity to use classic doctrine annotations.

[2.2.0] - 2021-06-09

Added

  • Deleted objects will now trigger PostPersistDomainRule like insertions & updates

Changed

  • Updated test suite to work with PHPUnit 8.x and run CI with PHP 8.0 & 8.1

[2.1.4] - 2020-09-01

Fixed

  • Compatibilty with Symfony 4.3 (and 5.x), basically make the library usable again.
  • Compatibility with Doctrine 2.7

[2.1.2] - 2020-03-09

Fixed

  • Change the interface used in the DomainEventDispatcherInterface for the event dispatcher to make it compliant with the traceable event dispatcher

[2.1.1] - 2019-11-15

Fixed

  • Don't register Domain denormalizer if Symfony serializer isn't register

[2.1.0] - 2019-11-12

Added

  • Domain component now shows events in the profiler of Symfony!

[2.0.3] - 2019-07-25

Changed

  • Removed BC layer for Sf < 4.3 (was useless)

[2.0.2] - 2019-07-08

Changed

  • Add cacheable supports on Domain Denormalizer

[2.0.1] - 2019-07-05

Fixed

  • Fix domain denormalizer construct signature

[2.0.0] - 2019-07-05

Changed

  • Breaking changes: the prototype of dispatch method is inversed (event object first, then event name). According to Symfony dispatcher update
  • Support for Symfony 4.3 and 5.0

Fixed

  • Denormalizer updates for v2.0 #23
  • The EventDispatcher should be final #4

[1.5.0] - 2019-03-29

Added

  • Add support for static factories in domain model instantiator

Changed

  • Use new Symfony 4.2

[1.4.4] - 2018-11-08

Added

  • Added possibility to autowire domain dispatcher

[1.4.3] - 2018-08-07

Added

  • Implementation of 2 domain rule interfaces is now working #39
  • Add information about event timing in itself #40

Fixed

  • Fix wrong listener on doctrine connection #37

[1.4.2] - 2018-07-18

Fixed

  • Fix for execution order in post persist rules

[1.4.1] - 2018-04-10

Fixed

  • Correct an error that occurs when we flush in a rule.

[1.4.0] - 2018-04-05

Added

  • Support for embbeded events in the DomainEvent

[1.3.0] - 2018-03-14

Added

  • New method instantiateWithArguments on the instantiator (because most part of the time you want to add arguments)
  • The deserializer is now only one class: simpler and better. It decorates the serializer the right way.

Changed

  • DEPRECATED: as a result of refactoring the deserializer the ApiPlatformDomainDeserializer is deprecated to be removed in the 2.x version.

[1.2.0] - 2018-02-28

Added

  • The domain event dispatcher now supports "delayed" rules that will be execute only after the model is persist.
  • Automatic persist detection for doctrine with the new doctrine subscriber DoctrinePostPersistListener
  • Integration of the doctrine subscriber in the bundle
  • The component now uses an interface and a trait to avoid to force you to extends from a specific class

Changed

  • [Minor BC Break] The DomainEventDispatcher now accept a RuleInterface instead of DomainRuleInterface. This is a problem only if you extends the domain dispatcher (which is to do only in very special cases).

[1.1.0] - 2018-02-09

Added

  • Support for many entity manager

Fixed

  • Doctrine bundle filters configuration were broken by our configurator. This is fixed by #2.

[1.0.0] - 2018-01-18

Added

  • Domain event support
  • Symfony bundle
  • Support for ApiPlatform