Skip to content
This repository has been archived by the owner on Sep 30, 2021. It is now read-only.

Commit

Permalink
3.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
soullivaneuh committed Jan 20, 2017
1 parent 489897f commit b15998d
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 2 deletions.
11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions Twig/Extension/DeprecatedTextExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
{
Expand All @@ -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'
);
}
}
7 changes: 7 additions & 0 deletions UPGRADE-3.x.md
Original file line number Diff line number Diff line change
@@ -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
=======================

Expand Down

0 comments on commit b15998d

Please sign in to comment.