Commit Graph

36 Commits

Author SHA1 Message Date
Kévin Dunglas fea18aae41 [Serializer] Remove AbstractObjectNormalizer::isAttributeToNormalize 2016-12-08 16:02:32 +01:00
Robin Chalas b08897842c [HttpKernel] Clarify deprecation of non-scalar values in surrogate renderer
Update UPGRADE-3.1 too
Use non-scalar values as deperecated type
Update UPGRADE-4.0 too
2016-07-04 13:45:05 +02:00
Ener-Getick 16358d4a52
[FrameworkBundle] Update the UPGRADING files
Advise to not use the service `serializer.mapping.cache.apc` anymore
2016-06-30 11:41:22 +02:00
Jules Pietri 6bcb74d27c [YAML] fixed "dump" signature in upgrade file 2016-05-18 11:23:21 +02:00
Nicolas Grekas b9b57f93cb [FrameworkBundle] Default to Apcu+Filesystem cache chain 2016-05-13 12:36:10 -05:00
Nicolas Grekas a2a567d1ca [FrameworkBundle] Simplify config for app/system/pool caches 2016-05-04 17:35:58 +02:00
Jules Pietri 1c8dc9d06b [Form] [DoctrineBridge] updated changelogs after #18359
follows #18359.
2016-04-29 11:10:43 +02:00
Fabien Potencier 50f2529acb feature #18357 [Form] Let `TextType` implement `DataTransformerInterface` (HeahDude)
This PR was merged into the 3.1-dev branch.

Discussion
----------

[Form] Let `TextType` implement `DataTransformerInterface`

| Q             | A
| ------------- | ---
| Branch?       | master
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | #5906
| License       | MIT
| Doc PR        | ~

Commits
-------

7e97fbb [Form] let `TextType` implements `DataTransformerInterface`
2016-04-28 12:07:03 +02:00
Nicolas Grekas 0de59f2143 [FrameworkBundle] Minor UPGRADE files fix 2016-04-27 09:34:05 +02:00
Ener-Getick 15579d5137
[FrameworkBundle] Deprecate framework.serializer.cache 2016-04-25 20:47:17 +02:00
Titouan Galopin 88ef89c8dc [FrameworkBundle][Serializer] Fix APC cache service name and deprecate old name 2016-04-19 08:52:34 +02:00
hamza 191b4954c0 fix #17993 - Deprecated callable strings
ext
2016-04-15 07:55:48 +02:00
Alexander M. Turek ca6694ab19 Upgrade notice for the Controller::json() method. 2016-04-05 15:02:01 +02:00
Jules Pietri cee5106960 cs fixes 2016-04-01 11:46:27 +02:00
Iltar van der Berg cfcf764d24 Added an ArgumentResolver with clean extension point 2016-04-01 11:46:27 +02:00
Iltar van der Berg 360fc5fc4b Extracting arg resolving from ControllerResolver 2016-04-01 11:46:27 +02:00
Fabien Potencier 4b0b3d95a8 minor #18396 upgrade 3.1/4.0 minor cs fixes (HeahDude)
This PR was merged into the 3.1-dev branch.

Discussion
----------

upgrade 3.1/4.0 minor cs fixes

| Q             | A
| ------------- | ---
| Branch?       | master
| License       | MIT

Commits
-------

b8e2911 upgrade 3.1/4.0 minor fixes
2016-04-01 08:31:30 +02:00
Jules Pietri b8e29110ca upgrade 3.1/4.0 minor fixes 2016-04-01 08:28:05 +02:00
Christian Flothmann 6c3ddf1d88 [Translation] deprecate the backup feature 2016-03-31 20:23:24 +02:00
Jules Pietri dfe4f5308a [FrameworkBundle] Deprecated form types as services 2016-03-30 19:13:54 +02:00
Jules Pietri 7e97fbb6e4 [Form] let `TextType` implements `DataTransformerInterface`
closes #5906.

The submitted data should always be
transformed back to the model as a string
as NULL in this case could stand for "unset
this value" whereas a string property of a
class could rely on the string type.

Furthermore, this prevents potential issues
with PHP 7 which allows type hinting of
strings in functions.
2016-03-30 09:45:14 +02:00
Jakub Zalas 85a9d67e93 [FrameworkBundle] Deprecate absolute template paths 2016-03-08 10:23:16 +00:00
Fabien Potencier 813e61a03d feature #17553 [Validator] Added a format option to the DateTime constraint. (dosten)
This PR was merged into the 3.1-dev branch.

Discussion
----------

[Validator] Added a format option to the DateTime constraint.

| Q             | A
| ------------- | ---
| Bug fix?      | no
| New feature?  | yes
| BC breaks?    | no
| Deprecations? | yes
| Tests pass?   | yes
| Fixed tickets | #14521
| License       | MIT

This PR adds a `format` option to the `DateTime` constraint, this allows to validate dates in custom formats, for example:

```php
use Symfony\Component\Validator\Constraints\DateTime;
use Symfony\Component\Validator\Validation;

$validator = Validation::createValidator();

$validator->validate('December 31, 1999', new DateTime(['format' => 'F d, Y']));
$validator->validate('01:02:03', new DateTime(['format' => 'H:i:s']));
$validator->validate('2010/01/01 01:02', new DateTime(['format' => 'Y/m/d H:i']));
```

As you can see this new option allows to use the `DateTime` constraint to validate dates and times, so, maybe the `Date` and `Time` constraints can be deprecated in this PR.

Commits
-------

9e94c9f Added a format option to the DateTime constraint.
2016-03-01 08:25:10 +01:00
Fabien Potencier ff87f30f3e feature #17732 [DEPRECATION] : deprecated support for Traversable in method ResizeFormListener::PreSubmit (ybensacq)
This PR was squashed before being merged into the 3.1-dev branch (closes #17732).

Discussion
----------

[DEPRECATION] : deprecated support for Traversable in method ResizeFormListener::PreSubmit

| Q             | A
| ------------- | ---
| Bug fix?      | no
| New feature?  | no
| BC breaks?    | no
| Deprecations? | yes
| Tests pass?   | yes
| Fixed tickets | #17701
| License       | MIT

Commits
-------

68c9305 [DEPRECATION] : deprecated support for Traversable in method ResizeFormListener::PreSubmit
2016-02-18 15:03:27 +01:00
Yannick 68c93057fb [DEPRECATION] : deprecated support for Traversable in method ResizeFormListener::PreSubmit 2016-02-18 15:00:32 +01:00
Christian Flothmann e883a4c717 deprecate starting plain scalars with % characters 2016-02-18 10:35:38 +01:00
Diego Saint Esteben 9e94c9fbdb Added a format option to the DateTime constraint. 2016-02-15 20:32:35 -03:00
Fabien Potencier 0a44afa36f feature #17743 [Yaml] dumper flag for enabling exceptions on invalid type (xabbuh)
This PR was merged into the 3.1-dev branch.

Discussion
----------

[Yaml] dumper flag for enabling exceptions on invalid type

| Q             | A
| ------------- | ---
| Bug fix?      | no
| New feature?  | yes
| BC breaks?    | no
| Deprecations? | yes
| Tests pass?   | yes
| Fixed tickets |
| License       | MIT
| Doc PR        |

Commits
-------

e572a64 dumper flag to enable exceptions on invalid types
2016-02-12 17:14:34 +01:00
Christian Flothmann de4b207c4d deprecate the Dumper::setIndentation() method 2016-02-10 00:04:48 +01:00
Christian Flothmann e572a641b0 dumper flag to enable exceptions on invalid types 2016-02-09 21:51:36 +01:00
Christian Flothmann 12c88dde0a [Yaml] fix typos in changelog and upgrade files 2016-02-09 21:02:42 +01:00
Christian Flothmann 9cb85522eb introduce flags to customize the parser behavior 2016-02-09 16:51:17 +01:00
Jacek Jędrzejewski cb000558e9 fixed codeblock in UPGRADE-3.1.md 2016-02-07 12:55:44 +01:00
Christian Flothmann 286103b225 [Yaml] dump customization option with dumper flags 2016-02-02 22:48:04 +01:00
Jakub Zalas a38d96e504 [HttpKernel] Deprecate passing objects as URI attributes to the ESI and SSI renderers 2016-01-31 11:38:53 +00:00
Christian Flothmann f68e94a8cf introduce 3.1 and 4.0 upgrade files 2016-01-28 11:23:27 +01:00