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

Commit

Permalink
3.5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
soullivaneuh committed Sep 19, 2017
1 parent 16c7611 commit 592f82c
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 2 deletions.
17 changes: 17 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,23 @@
All notable changes to this project will be documented in this file.
This project adheres to [Semantic Versioning](http://semver.org/).

## [3.5.0](https://github.com/sonata-project/SonataCoreBundle/compare/3.4.0...3.5.0) - 2017-09-19
### Added
- New ColorType form type that should give us easier color picking functioanlity instead of choice field with color names

### Changed
- Removed add of `FormFactoryCompilerPass` when the option `form.mapping.enabled` is `false`

### Deprecated
- Class `ColorSelectorType` is deprecated and replaced by `ColorType`

### Fixed
- fixed Twig errors when using `sonata_template_box` without a translation domain
- deprecation notices related to `addClassesToCompile`
- Fixed deprecation notice in `ColorSelectorType` for Sf 3. support
- Missing brazilian translations for color names and date_range messages.
- Fixed passing empty translation domain to `sonata_template_box`

## [3.4.0](https://github.com/sonata-project/SonataCoreBundle/compare/3.3.0...3.4.0) - 2017-05-09
### Added
- Options for `ImmutableArrayType` are now validated, which should yield better results.
Expand Down
4 changes: 2 additions & 2 deletions Form/Type/ColorSelectorType.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,15 @@
use Symfony\Component\OptionsResolver\OptionsResolverInterface;

@trigger_error(
'The '.__NAMESPACE__.'\ColorSelectorType class is deprecated since version 3.4 and will be removed in 4.0.'
'The '.__NAMESPACE__.'\ColorSelectorType class is deprecated since version 3.5 and will be removed in 4.0.'
.' Use '.__NAMESPACE__.'\ColorType instead.',
E_USER_DEPRECATED
);

/**
* NEXT_MAJOR: remove this class.
*
* @deprecated since version 3.4, to be removed in 4.0. Use ColorType instead
* @deprecated since version 3.5, to be removed in 4.0. Use ColorType instead
*/
class ColorSelectorType extends AbstractType
{
Expand Down
5 changes: 5 additions & 0 deletions UPGRADE-3.x.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
UPGRADE 3.x
===========

UPGRADE FROM 3.4 to 3.5
=======================

The `ColorSelectorType` class is deprecated. Use `ColorType` instead.

UPGRADE FROM 3.2 to 3.3
=======================

Expand Down

0 comments on commit 592f82c

Please sign in to comment.