Skip to content

Merge PR 46 & 81

Latest
Compare
Choose a tag to compare
@maximilienGilet maximilienGilet released this 07 Jan 07:58
· 13 commits to master since this release
5dcd3f6

Version 4.0

Changes

Re-enable rendering HTML in notification list

HTML rendering for notification list is now fixed after break in version 3.2 thanks to @imphil with #81

Fix custom notification entity

Fixes the use of Notification entity overriding thanks to @leandro980 in #46. The NotificationManager::createNotification method now returns your custom entity.

Upgrade from 3.x

Custom Notification entity usage

If you use a custom Notification entitiy you must remove the resolve_target_entities directive from the doctrine configuration and add a configuration file.

Example

After adding the customized notification class as in #39 just add a configuration file

config/packages/mgilet_notification.yaml

mgilet_notification:
  notification_class: App\Entity\MyCustomNotification