Skip to content

Commit

Permalink
1.6.0
Browse files Browse the repository at this point in the history
  • Loading branch information
greg0ire committed Aug 5, 2020
1 parent e7e61a3 commit 0feec89
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 1 deletion.
15 changes: 15 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,21 @@
All notable changes to this project will be documented in this file.
This project adheres to [Semantic Versioning](http://semver.org/).

## [1.6.0](https://github.com/sonata-project/form-extensions/compare/1.5.0...1.6.0) - 2020-08-05
### Deprecated
- [[#109](https://github.com/sonata-project/form-extensions/pull/109)]
Deprecated passing a `RequestStack` object to `BasePickerType` as third
parameter, the default locale should be passed instead.
([@franmomu](https://github.com/franmomu))

### Fixed
- [[#109](https://github.com/sonata-project/form-extensions/pull/109)] Fixed
using `BasePickerType` without a request.
([@franmomu](https://github.com/franmomu))
- [[#107](https://github.com/sonata-project/form-extensions/pull/107)] Replace
`spaceless` deprecated tag with `apply` tag and `spaceless` filter.
([@franmomu](https://github.com/franmomu))

## [1.5.0](https://github.com/sonata-project/form-extensions/compare/1.4.0...1.5.0) - 2020-06-27
### Fixed
- [[#101](https://github.com/sonata-project/form-extensions/pull/101)]
Expand Down
2 changes: 1 addition & 1 deletion src/Type/BasePickerType.php
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ public function __construct(MomentFormatConverter $formatConverter, TranslatorIn
if (!\is_string($requestStackOrDefaultLocale)) {
@trigger_error(sprintf(
'Not passing the default locale as argument 3 to "%s()" is deprecated'
.' since sonata-project/form-extensions 1.x and will be mandatory in 2.0.',
.' since sonata-project/form-extensions 1.6 and will be mandatory in 2.0.',
__METHOD__
), E_USER_DEPRECATED);

Expand Down

0 comments on commit 0feec89

Please sign in to comment.