Releases: headsnet/money-bundle
Releases · headsnet/money-bundle
Bump min. PHP to 8.1, fix PHP 8.4 deprecations
Allow Symfony 7.*
Fix Symfony serializer deprecations
v0.1.11 Add missing optional parameters and getSupportedTypes method to seria…
Get locale from Translator service
Use the Translator service to provide the locale, instead of the RequestStack service.
The RequestStack cannot provide the locale when used in the CLI context, whereas the Translator service can.
Set input mode to show numeric keypad on mobile devices
v0.1.9 Fix static analysis issue
Take into account currency when transforming form data
v0.1.8 Take into account currency when transforming form data
Format money according to default locale
Take the default locale from the request, rather than having it hard-coded to fr_FR
.
Validator constraints support PHP 8 attributes
Full Changelog: v0.1.5...v0.1.6
Bump minimum PHP version to 7.4
Automatically register Currency DBAL type
The bundle now automatically registers the Currency DBAL type, so it no longer needs to be manually added to the doctrine.yml configuration file.