Skip to content

Commit 122b4d5

Browse files
committed
3.68.0
1 parent c914d6a commit 122b4d5

2 files changed

Lines changed: 23 additions & 4 deletions

File tree

CHANGELOG.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,25 @@
22
All notable changes to this project will be documented in this file.
33
This project adheres to [Semantic Versioning](http://semver.org/).
44

5+
## [3.68.0](https://github.com/sonata-project/SonataAdminBundle/compare/3.67.0...3.68.0) - 2020-05-31
6+
### Added
7+
- Added `TemplateRegistry::TYPE_*` constant to be used instead of string value.
8+
- Added `format` option for `time` field type.
9+
10+
### Fixed
11+
- Fixed exposing missing `object` variable in history compare view.
12+
- Menu item `label_catalogue` correctly use the default value
13+
`default_label_catalogue`
14+
- Menu item `icon` correctly use the default value `default_icon`
15+
- Render of CKeditor field when embedded in a collection with the `inline =>
16+
natural` option.
17+
18+
### Deprecated
19+
- Deprecated `smallint` type for template ; use `integer` instead.
20+
- Deprecated `bigint` type for template ; use `integer` instead.
21+
- Deprecated `decimal` type for template ; use `float` instead.
22+
- Deprecated `text` type for template ; use `string` instead.
23+
524
## [3.67.0](https://github.com/sonata-project/SonataAdminBundle/compare/3.66.0...3.67.0) - 2020-05-28
625
### Added
726
- Manage class definition which is using "%parameter%" syntax.

src/Templating/TemplateRegistry.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ final class TemplateRegistry implements MutableTemplateRegistryInterface
2626
/**
2727
* NEXT_MAJOR: Remove this constant.
2828
*
29-
* @deprecated since sonata-project/admin-bundle 3.x, to be removed in 4.0. Use Sonata\AdminBundle\Templating\TemplateRegistry::TYPE_STRING instead.
29+
* @deprecated since sonata-project/admin-bundle 3.68, to be removed in 4.0. Use Sonata\AdminBundle\Templating\TemplateRegistry::TYPE_STRING instead.
3030
*/
3131
public const TYPE_TEXT = 'text';
3232
public const TYPE_TEXTAREA = 'textarea';
@@ -36,20 +36,20 @@ final class TemplateRegistry implements MutableTemplateRegistryInterface
3636
/**
3737
* NEXT_MAJOR: Remove this constant.
3838
*
39-
* @deprecated since sonata-project/admin-bundle 3.x, to be removed in 4.0. Use Sonata\AdminBundle\Templating\TemplateRegistry::TYPE_INTEGER instead.
39+
* @deprecated since sonata-project/admin-bundle 3.68, to be removed in 4.0. Use Sonata\AdminBundle\Templating\TemplateRegistry::TYPE_INTEGER instead.
4040
*/
4141
public const TYPE_SMALLINT = 'smallint';
4242
/**
4343
* NEXT_MAJOR: Remove this constant.
4444
*
45-
* @deprecated since sonata-project/admin-bundle 3.x, to be removed in 4.0. Use Sonata\AdminBundle\Templating\TemplateRegistry::TYPE_INTEGER instead.
45+
* @deprecated since sonata-project/admin-bundle 3.68, to be removed in 4.0. Use Sonata\AdminBundle\Templating\TemplateRegistry::TYPE_INTEGER instead.
4646
*/
4747
public const TYPE_BIGINT = 'bigint';
4848
public const TYPE_INTEGER = 'integer';
4949
/**
5050
* NEXT_MAJOR: Remove this constant.
5151
*
52-
* @deprecated since sonata-project/admin-bundle 3.x, to be removed in 4.0. Use Sonata\AdminBundle\Templating\TemplateRegistry::TYPE_FLOAT instead.
52+
* @deprecated since sonata-project/admin-bundle 3.68, to be removed in 4.0. Use Sonata\AdminBundle\Templating\TemplateRegistry::TYPE_FLOAT instead.
5353
*/
5454
public const TYPE_DECIMAL = 'decimal';
5555
public const TYPE_FLOAT = 'float';

0 commit comments

Comments
 (0)