4.2.0
This release contains a big internal change that shouldn't have any impact in most applications.
EasyAdmin now uses Symfony's TranslatableMessage
objects to handle translations. Instead of translating contents as early as possible in PHP, we now defer the translation until the contents are rendered in the templates. You can also pass TranslatableMessage
objects as the value of any text content (the label of fields, the help messages of pages, etc.)
This will only have an impact in your application if you deal with advanced internals of EasyAdmin. Even in those cases, the changes are simple as allowing to pass and return TranslatableMessage
objects in addition to plain strings
.
New features
[919545b][adb337a] Allow TranslatableMessage
objects in addition to string
in translated context (@Lustmored)
[68b898f] Added Hebrew translation (@danizly)
Bug fixes
[e145adb] Allow running script tags included in collection prototypes (@jmsche)
[0885ee4] Fix background color of form-select and form-widget in dark mode (@BigMichi1)
[b90b2b9] Replace EntityPaginator with its interface (@AlbertZawadzki)
[eb9a921] Improved UrlSigner deprecation notice (@simoheinonen)
[52b0918] Add !default
keyword to variables-bootstrap.scss variables (@fschmid-dev)