diff --git a/CHANGELOG.md b/CHANGELOG.md index 57df3e82..685ba17b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,17 @@ All notable changes to this project will be documented in this file. This project adheres to [Semantic Versioning](http://semver.org/). +## [3.2.0](https://github.com/sonata-project/SonataCoreBundle/compare/3.1.2...3.2.0) - 2017-01-20 +### Added +- Twig 2.0 compatibility +- Missing bootstrap datepicker options (`dp_collapse`, `dp_calendar_weeks`, `dp_view_mode`) + +### Changed +- Moment library updated from 2.10.6 to 2.17.1 + +### Deprecated +- The truncate service was deprecated + ## [3.1.2](https://github.com/sonata-project/SonataCoreBundle/compare/3.1.1...3.1.2) - 2016-12-09 ### Added - Added dutch (nl) date_range translations diff --git a/Twig/Extension/DeprecatedTextExtension.php b/Twig/Extension/DeprecatedTextExtension.php index 301cb47a..afffb782 100644 --- a/Twig/Extension/DeprecatedTextExtension.php +++ b/Twig/Extension/DeprecatedTextExtension.php @@ -14,7 +14,7 @@ /** * NEXT_MAJOR : remove this class and the twig/extensions dependency. * - * @deprecated since version 3.x, to be removed in 4.0. + * @deprecated since version 3.2, to be removed in 4.0. */ final class DeprecatedTextExtension extends \Twig_Extensions_Extension_Text { @@ -35,7 +35,7 @@ public function twig_wordwrap_filter(\Twig_Environment $env, $value, $length = 8 private function notifyDeprecation() { @trigger_error( - 'Using the sonata.core.twig.extension.text service is deprecated since 3.x and will be removed in 4.0' + 'Using the sonata.core.twig.extension.text service is deprecated since 3.2 and will be removed in 4.0' ); } } diff --git a/UPGRADE-3.x.md b/UPGRADE-3.x.md index 46306068..2077a0b3 100644 --- a/UPGRADE-3.x.md +++ b/UPGRADE-3.x.md @@ -1,6 +1,13 @@ UPGRADE 3.x =========== +UPGRADE FROM 3.1 to 3.2 +======================= + +### Deprecated truncate Twig filter + +The twig/extensions `truncate` filter is no longer available through Sonata, create your own service to get it back. + UPGRADE FROM 3.0 to 3.1 =======================