Skip to content

Commit

Permalink
3.19.0
Browse files Browse the repository at this point in the history
  • Loading branch information
greg0ire committed Jun 26, 2020
1 parent 2275a93 commit abe07f2
Show file tree
Hide file tree
Showing 3 changed files with 19 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.19.0](https://github.com/sonata-project/SonataDoctrineORMAdminBundle/compare/3.18.0...3.19.0) - 2020-06-26
### Changed
- [[#1055](https://github.com/sonata-project/SonataDoctrineORMAdminBundle/pull/1055)]
`decimal` and `float` type use the `float` template if no `number` template
exists ([@VincentLanglet](https://github.com/VincentLanglet))

### Fixed
- [[#1055](https://github.com/sonata-project/SonataDoctrineORMAdminBundle/pull/1055)]
`one_to_one`, `one_to_many`, `many_to_one` and `many_to_many` type are
correctly using the template defined in your config instead of the Sonata one.
([@VincentLanglet](https://github.com/VincentLanglet))

### Removed
- [[#1048](https://github.com/sonata-project/SonataDoctrineORMAdminBundle/pull/1048)]
Remove SonataCoreBundle dependencies
([@wbloszyk](https://github.com/wbloszyk))

## [3.18.0](https://github.com/sonata-project/SonataDoctrineORMAdminBundle/compare/3.17.1...3.18.0) - 2020-06-02
### Added
- Added direct dependency against "twig/twig".
Expand Down
2 changes: 1 addition & 1 deletion src/Builder/ListBuilder.php
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ private function getTemplate($type)
// NEXT_MAJOR: Remove the deprecation.
if (isset(TypeGuesser::DEPRECATED_TYPES[$type])) {
@trigger_error(sprintf(
'Overriding %s list template is deprecated since sonata-project/doctrine-orm-admin-bundle 3.x.'
'Overriding %s list template is deprecated since sonata-project/doctrine-orm-admin-bundle 3.19.'
.' You should override %s list template instead.',
$type,
TypeGuesser::DEPRECATED_TYPES[$type]
Expand Down
2 changes: 1 addition & 1 deletion src/Builder/ShowBuilder.php
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ private function getTemplate($type)
// NEXT_MAJOR: Remove the deprecation.
if (isset(TypeGuesser::DEPRECATED_TYPES[$type])) {
@trigger_error(sprintf(
'Overriding %s show template is deprecated since sonata-project/doctrine-orm-admin-bundle 3.x.'
'Overriding %s show template is deprecated since sonata-project/doctrine-orm-admin-bundle 3.19.'
.' You should override %s show template instead.',
$type,
TypeGuesser::DEPRECATED_TYPES[$type]
Expand Down

0 comments on commit abe07f2

Please sign in to comment.