All notable changes to this project will be documented in this file. This project adheres to Semantic Versioning.
3.2.0 - 2023-12-07
- [#598] Passing an empty string as argument 1 to
\DateTimeZone
atDateTimeFormatter::getDatetime()
(@phansys)
3.1.0 - 2023-04-25
- [#578] Drop support for Symfony 6.0 and 6.1. (@jordisala1991)
3.0.2 - 2022-10-05
- [#565] Use the sonata_intl.locale or kernel.default_locale when no locale are provided. (@VincentLanglet)
3.0.1 - 2022-09-27
- [#560] All the templates using
sonata_number_format_*
methods (@VincentLanglet)
3.0.0 - 2022-08-16
3.0.0-alpha-2 - 2022-08-07
- [#542] Add missing kernel.local_aware dependency injection container tags for definitions that implement symfony's LocaleAwareInterface. (@temp)
3.0.0-alpha-1 - 2022-08-07
- [#539] Final keyword to all classes (@VincentLanglet)
- [#539] Typehint to all methods (@VincentLanglet)
2.14.1 - 2022-10-05
- [#565] Use the sonata_intl.locale or kernel.default_locale when no locale are provided. (@VincentLanglet)
2.14.0 - 2022-08-16
2.13.1 - 2022-08-09
- [#542] Add missing kernel.local_aware dependency injection container tags for definitions that implement symfony's LocaleAwareInterface. (@temp)
2.13.0 - 2022-08-05
- [#520] Deprecated the Templating\Helper classes (@Hanmac)
- [#520] Deprecated the use of the Templating\Helper classes inside the Twig Runtime and Extensions (@Hanmac)
- [#520] Deprecated uses of LocaleDetectorInterface in favor of Symfony\Contracts\Translation\LocaleAwareInterface (@Hanmac)
- [#525] Remove support for PHP 7.3 (@jordisala1991)
- [#524] Support of Symfony 5.3 (@franmomu)
2.12.1 - 2022-04-11
- [#514] Missing service declarations for Runtime services (@VincentLanglet)
2.12.0 - 2022-04-09
- [#512] -
sonata_format_date
filter (@VincentLanglet) - [#512] -
sonata_format_time
filter (@VincentLanglet) - [#512] -
sonata_format_datetime
filter (@VincentLanglet) - [#512] -
sonata_number_format_*
filters (@VincentLanglet) - [#512] -
sonata_country
filter (@VincentLanglet) - [#512] -
sonata_locale
filter (@VincentLanglet) - [#512] -
sonata_language
filter (@VincentLanglet)
- [#512] -
format_date
filter (@VincentLanglet) - [#512] -
format_time
filter (@VincentLanglet) - [#512] -
format_datetime
filter (@VincentLanglet) - [#512] -
number_format_*
filters (@VincentLanglet) - [#512] -
country
filter (@VincentLanglet) - [#512] -
locale
filter (@VincentLanglet) - [#512] -
language
filter (@VincentLanglet)
2.11.2 - 2021-11-20
- [#488] Correctly default to the kernel default locale when no locale is provided. (@VincentLanglet)
2.11.1 - 2021-11-06
2.11.0 - 2021-11-06
- [#477] Added PHPStan and Psalm (@jordisala1991)
- [#475] Added some Symfony 6 support (@Kocal)
2.10.2 - 2021-08-05
- [#430] Fixed
NumberFormatter::format(): Argument #1 ($num) must be of type int|float, string given
. (@nocive)
2.10.1 - 2021-02-15
2.10.0 - 2020-12-01
2.9.0 - 2020-08-09
2.8.0 - 2020-07-30
- [#308] Added support for Symfony 5 (@jordisala1991)
- [#308] Added support for Twig 3 (@jordisala1991)
- [#306] Added support for "symfony/intl:^5". (@phansys)
- [#300] Added
TimezoneAwareInterface
interface andTimezoneAwareTrait
trait. (@phansys)
- [#282] Bump SF to 4.4 (@bmaziere)
- [#279] Do not
resolve the
kernel.default_locale
parameter when configuring the locale in the bundle extension. (@fancyweb)
- [#300]
Deprecated timezone inference based on
Sonata\UserBundle\Model\User::getTimezone()
. (@phansys)
- [#304] Fixed
exception thrown when calling
self::expectDeprecation()
from the test suite. (@phansys)
- [#300] Removed dependency suggestion against "sonata-project/user-bundle". (@phansys)
- [#272] Support for Symfony < 3.4 (@franmomu)
- [#272] Support for Symfony >= 4, < 4.2 (@franmomu)
2.7.0 - 2019-08-08
- Restore backward compatibility by accepting currency values represented as string.
- deprecation notice about using namespaced classes from
\Twig\
- Bumped "twig/twig" dependency to "^2.9";
- Changed usages of
{% spaceless %}
tag, which is deprecated as of Twig 1.38 with{% apply spaceless %}
filter; - Changed the rendering for the audit revision timestamp in order to use
<time>
tags, which print the dates in UTC usingdatetime
andtitle
attributes, allowing to view the UTC date with the default browser tooltip.
2.6.0 - 2019-05-02
- Fix deprecation for symfony/config 4.2+
- Changed the rendering for date, datetime and time properties in order to use
<time>
tags, which print the dates in UTC usingdatetime
andtitle
attributes, allowing to view the UTC date with the default browser tooltip.
- support for php 5 and php 7.0
2.5.0 - 2018-06-16
- Improved autowiring support for templating helpers
2.4.1 - 2018-05-05
- Compatibilty with Symfony 4: services are now public
- All templates references are updated to twig namespaced syntax
2.4.0 - 2017-11-30
- support for old versions of php and Symfony
- It is now allowed to install Symfony 4
2.3.2 - 2017-09-14
- Added compatiblity with SonataUserBundle 4
2.3.1 - 2017-06-27
- Deprecated fixed strict service parameter usage
2.3.0 - 2017-01-17
- Added support for
\DateTimeImmutable
- Compatibility with Twig 2.0