Repository navigation
Releases
Releases · 68publishers/notification-bundle
v0.4.0
Added
- Added support for PHP 8.4 and 8.5, tested with
nette/application3.1 – 3.3 andlatte/latte3.0 – 3.1. - Added tests and GitHub Actions (coding style, tests on PHP 8.3, 8.4 and 8.5 with highest dependencies and on PHP 8.3 with lowest dependencies).
Changed
- Minimal PHP version is 8.3 (BC break).
- Required
68publishers/smart-nette-component^2.0and68publishers/translation-bridge^3.0(BC break, see their changelogs). - Minimal versions of
nette/application(^3.1.15),nette/caching(^3.1),nette/di(^3.1.3),nette/http(^3.1),nette/security(^3.1.4) andnette/utils(^3.2.10 || ^4.0.1), older releases cannot be installed on PHP 8.3 or do not work with Latte 3 there. - The deprecated interfaces
Nette\Localization\ITranslator,Nette\Caching\IStorageandNette\Application\IResponseare replaced withTranslator,StorageandResponsein the signatures (they are aliases, existing implementations stay compatible). SessionStorageusesSessionSection::get(),set()andremove()instead of the deprecated array access.NotificationBundleExtensionlooks up the application service by its type instead of the nameapplication.- PHP-CS-Fixer 3 (
.php-cs-fixer.dist.phpreplaces.php_cs.dist),nette/tester2.6+,roave/security-advisoriesdev-latest, docker dev environment with PHP 8.3, 8.4 and 8.5.
Removed
- Removed
SixtyEightPublishers\NotificationBundle\Phrase\KdybyPhrase(BC break),kdyby/translationis abandoned and does not run on PHP 8. - Removed Travis CI configuration.
Fixed
- The title of a notification was lost after the notification was serialized (e.g. stored in the session before a redirect).
- The default flash message template used an undefined variable
$flashinstead of$notificationwhen a notification had a title. UserStoragesaved the notifications into the cache on every response, even if there were no notifications.