diff --git a/UPGRADE-5.0.md b/UPGRADE-5.0.md index 075b5d9fc46a7..d8ecc8f0f818d 100644 --- a/UPGRADE-5.0.md +++ b/UPGRADE-5.0.md @@ -360,7 +360,7 @@ Monolog MonologBridge -------------- -* The `RouteProcessor` class is final. + * The `RouteProcessor` class is final. Process ------- @@ -529,7 +529,7 @@ Serializer Serializer ---------- -* Removed the `XmlEncoder::TYPE_CASE_ATTRIBUTES` constant. Use `XmlEncoder::TYPE_CAST_ATTRIBUTES` instead. + * Removed the `XmlEncoder::TYPE_CASE_ATTRIBUTES` constant. Use `XmlEncoder::TYPE_CAST_ATTRIBUTES` instead. Stopwatch --------- diff --git a/UPGRADE-6.0.md b/UPGRADE-6.0.md index 450a3a0a1048e..2d9090a3c58c2 100644 --- a/UPGRADE-6.0.md +++ b/UPGRADE-6.0.md @@ -196,7 +196,7 @@ Validator * Removed the `NumberConstraintTrait` trait. -* `ValidatorBuilder::enableAnnotationMapping()` does not accept a Doctrine annotation reader anymore. + * `ValidatorBuilder::enableAnnotationMapping()` does not accept a Doctrine annotation reader anymore. Before: @@ -211,7 +211,7 @@ Validator ->setDoctrineAnnotationReader($reader); ``` -* `ValidatorBuilder::enableAnnotationMapping()` won't automatically setup a Doctrine annotation reader anymore. + * `ValidatorBuilder::enableAnnotationMapping()` won't automatically setup a Doctrine annotation reader anymore. Before: diff --git a/src/Symfony/Bridge/Monolog/CHANGELOG.md b/src/Symfony/Bridge/Monolog/CHANGELOG.md index 12cc86541d8c8..1a7e11615e7d0 100644 --- a/src/Symfony/Bridge/Monolog/CHANGELOG.md +++ b/src/Symfony/Bridge/Monolog/CHANGELOG.md @@ -21,9 +21,9 @@ CHANGELOG 4.4.0 ----- -* The `RouteProcessor` class has been made final -* Added `ElasticsearchLogstashHandler` -* Added the `ServerLogCommand`. Backport from the deprecated WebServerBundle + * The `RouteProcessor` class has been made final + * Added `ElasticsearchLogstashHandler` + * Added the `ServerLogCommand`. Backport from the deprecated WebServerBundle 4.3.0 ----- diff --git a/src/Symfony/Component/Cache/CHANGELOG.md b/src/Symfony/Component/Cache/CHANGELOG.md index 2b6c4b177cee9..38d60a390d94b 100644 --- a/src/Symfony/Component/Cache/CHANGELOG.md +++ b/src/Symfony/Component/Cache/CHANGELOG.md @@ -4,7 +4,7 @@ CHANGELOG 5.3.0 ----- -* added support for connecting to Redis Sentinel clusters when using the Redis PHP extension + * added support for connecting to Redis Sentinel clusters when using the Redis PHP extension 5.2.0 ----- diff --git a/src/Symfony/Component/Console/CHANGELOG.md b/src/Symfony/Component/Console/CHANGELOG.md index afa00450d233c..bea122185e28b 100644 --- a/src/Symfony/Component/Console/CHANGELOG.md +++ b/src/Symfony/Component/Console/CHANGELOG.md @@ -88,9 +88,9 @@ CHANGELOG * `OutputFormatter` throws an exception when unknown options are used * removed `QuestionHelper::setInputStream()/getInputStream()` * removed `Application::getTerminalWidth()/getTerminalHeight()` and - `Application::setTerminalDimensions()/getTerminalDimensions()` -* removed `ConsoleExceptionEvent` -* removed `ConsoleEvents::EXCEPTION` + `Application::setTerminalDimensions()/getTerminalDimensions()` + * removed `ConsoleExceptionEvent` + * removed `ConsoleEvents::EXCEPTION` 3.4.0 ----- @@ -107,23 +107,23 @@ CHANGELOG 3.3.0 ----- -* added `ExceptionListener` -* added `AddConsoleCommandPass` (originally in FrameworkBundle) -* [BC BREAK] `Input::getOption()` no longer returns the default value for options - with value optional explicitly passed empty -* added console.error event to catch exceptions thrown by other listeners -* deprecated console.exception event in favor of console.error -* added ability to handle `CommandNotFoundException` through the - `console.error` event -* deprecated default validation in `SymfonyQuestionHelper::ask` + * added `ExceptionListener` + * added `AddConsoleCommandPass` (originally in FrameworkBundle) + * [BC BREAK] `Input::getOption()` no longer returns the default value for options + with value optional explicitly passed empty + * added console.error event to catch exceptions thrown by other listeners + * deprecated console.exception event in favor of console.error + * added ability to handle `CommandNotFoundException` through the + `console.error` event + * deprecated default validation in `SymfonyQuestionHelper::ask` 3.2.0 ------ -* added `setInputs()` method to CommandTester for ease testing of commands expecting inputs -* added `setStream()` and `getStream()` methods to Input (implement StreamableInputInterface) -* added StreamableInputInterface -* added LockableTrait + * added `setInputs()` method to CommandTester for ease testing of commands expecting inputs + * added `setStream()` and `getStream()` methods to Input (implement StreamableInputInterface) + * added StreamableInputInterface + * added LockableTrait 3.1.0 ----- diff --git a/src/Symfony/Component/DependencyInjection/CHANGELOG.md b/src/Symfony/Component/DependencyInjection/CHANGELOG.md index 29e5b13c1d8ca..4da43e0a6a309 100644 --- a/src/Symfony/Component/DependencyInjection/CHANGELOG.md +++ b/src/Symfony/Component/DependencyInjection/CHANGELOG.md @@ -177,7 +177,6 @@ CHANGELOG * added `TaggedIteratorArgument` with YAML (`!tagged foo`) and XML (``) support * deprecated `AutowireExceptionPass` and `AutowirePass::getAutowiringExceptions()`, use `Definition::addError()` and the `DefinitionErrorExceptionPass` instead - 3.3.0 ----- @@ -246,8 +245,8 @@ CHANGELOG 2.5.0 ----- -* added DecoratorServicePass and a way to override a service definition (Definition::setDecoratedService()) -* deprecated SimpleXMLElement class. + * added DecoratorServicePass and a way to override a service definition (Definition::setDecoratedService()) + * deprecated SimpleXMLElement class. 2.4.0 ----- diff --git a/src/Symfony/Component/DomCrawler/CHANGELOG.md b/src/Symfony/Component/DomCrawler/CHANGELOG.md index b668837b77934..1d16a305a5d6b 100644 --- a/src/Symfony/Component/DomCrawler/CHANGELOG.md +++ b/src/Symfony/Component/DomCrawler/CHANGELOG.md @@ -4,58 +4,58 @@ CHANGELOG 5.1.0 ----- -* Added an internal cache layer on top of the CssSelectorConverter -* Added `UriResolver` to resolve an URI according to a base URI + * Added an internal cache layer on top of the CssSelectorConverter + * Added `UriResolver` to resolve an URI according to a base URI 5.0.0 ----- -* Added argument `$selector` to `Crawler::children()` -* Added argument `$default` to `Crawler::text()` and `html()` + * Added argument `$selector` to `Crawler::children()` + * Added argument `$default` to `Crawler::text()` and `html()` 4.4.0 ----- -* Added `Form::getName()` method. -* Added `Crawler::matches()` method. -* Added `Crawler::closest()` method. -* Added `Crawler::outerHtml()` method. -* Added an argument to the `Crawler::text()` method to opt-in normalizing whitespaces. + * Added `Form::getName()` method. + * Added `Crawler::matches()` method. + * Added `Crawler::closest()` method. + * Added `Crawler::outerHtml()` method. + * Added an argument to the `Crawler::text()` method to opt-in normalizing whitespaces. 4.3.0 ----- -* Added PHPUnit constraints: `CrawlerSelectorAttributeValueSame`, `CrawlerSelectorExists`, `CrawlerSelectorTextContains` - and `CrawlerSelectorTextSame` -* Added return of element name (`_name`) in `extract()` method. -* Added ability to return a default value in `text()` and `html()` instead of throwing an exception when node is empty. -* When available, the [html5-php library](https://github.com/Masterminds/html5-php) is used to - parse HTML added to a Crawler for better support of HTML5 tags. + * Added PHPUnit constraints: `CrawlerSelectorAttributeValueSame`, `CrawlerSelectorExists`, `CrawlerSelectorTextContains` + and `CrawlerSelectorTextSame` + * Added return of element name (`_name`) in `extract()` method. + * Added ability to return a default value in `text()` and `html()` instead of throwing an exception when node is empty. + * When available, the [html5-php library](https://github.com/Masterminds/html5-php) is used to + parse HTML added to a Crawler for better support of HTML5 tags. 4.2.0 ----- -* The `$currentUri` constructor argument of the `AbstractUriElement`, `Link` and - `Image` classes is now optional. -* The `Crawler::children()` method will have a new `$selector` argument in version 5.0, - not defining it is deprecated. + * The `$currentUri` constructor argument of the `AbstractUriElement`, `Link` and + `Image` classes is now optional. + * The `Crawler::children()` method will have a new `$selector` argument in version 5.0, + not defining it is deprecated. 3.1.0 ----- -* All the URI parsing logic have been abstracted in the `AbstractUriElement` class. - The `Link` class is now a child of `AbstractUriElement`. -* Added an `Image` class to crawl images and parse their `src` attribute, - and `selectImage`, `image`, `images` methods in the `Crawler` (the image version of the equivalent `link` methods). + * All the URI parsing logic have been abstracted in the `AbstractUriElement` class. + The `Link` class is now a child of `AbstractUriElement`. + * Added an `Image` class to crawl images and parse their `src` attribute, + and `selectImage`, `image`, `images` methods in the `Crawler` (the image version of the equivalent `link` methods). 2.5.0 ----- -* [BC BREAK] The default value for checkbox and radio inputs without a value attribute have changed - from '1' to 'on' to match the HTML specification. -* [BC BREAK] The typehints on the `Link`, `Form` and `FormField` classes have been changed from - `\DOMNode` to `DOMElement`. Using any other type of `DOMNode` was triggering fatal errors in previous - versions. Code extending these classes will need to update the typehints when overwriting these methods. + * [BC BREAK] The default value for checkbox and radio inputs without a value attribute have changed + from '1' to 'on' to match the HTML specification. + * [BC BREAK] The typehints on the `Link`, `Form` and `FormField` classes have been changed from + `\DOMNode` to `DOMElement`. Using any other type of `DOMNode` was triggering fatal errors in previous + versions. Code extending these classes will need to update the typehints when overwriting these methods. 2.4.0 ----- diff --git a/src/Symfony/Component/HttpFoundation/CHANGELOG.md b/src/Symfony/Component/HttpFoundation/CHANGELOG.md index a5ba6f720672e..472fef05a57ae 100644 --- a/src/Symfony/Component/HttpFoundation/CHANGELOG.md +++ b/src/Symfony/Component/HttpFoundation/CHANGELOG.md @@ -14,7 +14,6 @@ CHANGELOG * Deprecated the `Request::HEADER_X_FORWARDED_ALL` constant, use either `HEADER_X_FORWARDED_FOR | HEADER_X_FORWARDED_HOST | HEADER_X_FORWARDED_PORT | HEADER_X_FORWARDED_PROTO` or `HEADER_X_FORWARDED_AWS_ELB` or `HEADER_X_FORWARDED_TRAEFIK` constants instead. * Deprecated `BinaryFileResponse::create()`, use `__construct()` instead - 5.1.0 ----- diff --git a/src/Symfony/Component/Ldap/CHANGELOG.md b/src/Symfony/Component/Ldap/CHANGELOG.md index b232f657dbc78..b9aac6fb0590e 100644 --- a/src/Symfony/Component/Ldap/CHANGELOG.md +++ b/src/Symfony/Component/Ldap/CHANGELOG.md @@ -4,7 +4,7 @@ CHANGELOG 5.3.0 ----- -* Added caseSensitive option for attribute keys in the Entry class. + * Added caseSensitive option for attribute keys in the Entry class. 5.1.0 ----- diff --git a/src/Symfony/Component/Mailer/Bridge/Sendinblue/README.md b/src/Symfony/Component/Mailer/Bridge/Sendinblue/README.md index 808fd06b73d20..29f398a4d4f18 100644 --- a/src/Symfony/Component/Mailer/Bridge/Sendinblue/README.md +++ b/src/Symfony/Component/Mailer/Bridge/Sendinblue/README.md @@ -3,7 +3,6 @@ Sendinblue Bridge Provides Sendinblue integration for Symfony Mailer. - Configuration example: ```env diff --git a/src/Symfony/Component/Messenger/CHANGELOG.md b/src/Symfony/Component/Messenger/CHANGELOG.md index 3cf43252be713..a8b317952ea5a 100644 --- a/src/Symfony/Component/Messenger/CHANGELOG.md +++ b/src/Symfony/Component/Messenger/CHANGELOG.md @@ -4,27 +4,27 @@ CHANGELOG 5.3.0 ----- -* `InMemoryTransport` can perform message serialization through dsn `in-memory://?serialize=true`. + * `InMemoryTransport` can perform message serialization through dsn `in-memory://?serialize=true`. 5.2.0 ----- -* The `RedeliveryStamp` will no longer be populated with error data. This information is now stored in the `ErrorDetailsStamp` instead. -* Added `FlattenExceptionNormalizer` to give more information about the exception on Messenger background processes. The `FlattenExceptionNormalizer` has a higher priority than `ProblemNormalizer` and it is only used when the Messenger serialization context is set. -* Added factory methods `DelayStamp::delayFor(\DateInterval)` and `DelayStamp::delayUntil(\DateTimeInterface)`. -* Removed the exception when dispatching a message with a `DispatchAfterCurrentBusStamp` and not in a context of another dispatch call -* Added `WorkerMessageRetriedEvent` -* Added `WorkerMessageReceivedEvent::setEnvelope()` and made event mutable + * The `RedeliveryStamp` will no longer be populated with error data. This information is now stored in the `ErrorDetailsStamp` instead. + * Added `FlattenExceptionNormalizer` to give more information about the exception on Messenger background processes. The `FlattenExceptionNormalizer` has a higher priority than `ProblemNormalizer` and it is only used when the Messenger serialization context is set. + * Added factory methods `DelayStamp::delayFor(\DateInterval)` and `DelayStamp::delayUntil(\DateTimeInterface)`. + * Removed the exception when dispatching a message with a `DispatchAfterCurrentBusStamp` and not in a context of another dispatch call + * Added `WorkerMessageRetriedEvent` + * Added `WorkerMessageReceivedEvent::setEnvelope()` and made event mutable 5.1.0 ----- -* Moved AmqpExt transport to package `symfony/amqp-messenger`. All classes in `Symfony\Component\Messenger\Transport\AmqpExt` have been moved to `Symfony\Component\Messenger\Bridge\Amqp\Transport` -* Moved Doctrine transport to package `symfony/doctrine-messenger`. All classes in `Symfony\Component\Messenger\Transport\Doctrine` have been moved to `Symfony\Component\Messenger\Bridge\Doctrine\Transport` -* Moved RedisExt transport to package `symfony/redis-messenger`. All classes in `Symfony\Component\Messenger\Transport\RedisExt` have been moved to `Symfony\Component\Messenger\Bridge\Redis\Transport` -* Added support for passing a `\Throwable` argument to `RetryStrategyInterface` methods. This allows to define strategies based on the reason of the handling failure. -* Added `StopWorkerOnFailureLimitListener` to stop the worker after a specified amount of failed messages is reached. -* Added `RecoverableExceptionInterface` interface to force retry. + * Moved AmqpExt transport to package `symfony/amqp-messenger`. All classes in `Symfony\Component\Messenger\Transport\AmqpExt` have been moved to `Symfony\Component\Messenger\Bridge\Amqp\Transport` + * Moved Doctrine transport to package `symfony/doctrine-messenger`. All classes in `Symfony\Component\Messenger\Transport\Doctrine` have been moved to `Symfony\Component\Messenger\Bridge\Doctrine\Transport` + * Moved RedisExt transport to package `symfony/redis-messenger`. All classes in `Symfony\Component\Messenger\Transport\RedisExt` have been moved to `Symfony\Component\Messenger\Bridge\Redis\Transport` + * Added support for passing a `\Throwable` argument to `RetryStrategyInterface` methods. This allows to define strategies based on the reason of the handling failure. + * Added `StopWorkerOnFailureLimitListener` to stop the worker after a specified amount of failed messages is reached. + * Added `RecoverableExceptionInterface` interface to force retry. 5.0.0 ----- diff --git a/src/Symfony/Component/Notifier/Bridge/Discord/README.md b/src/Symfony/Component/Notifier/Bridge/Discord/README.md index 9dbd46a7c6764..67a176d7e0e65 100644 --- a/src/Symfony/Component/Notifier/Bridge/Discord/README.md +++ b/src/Symfony/Component/Notifier/Bridge/Discord/README.md @@ -15,7 +15,6 @@ where: - `TOKEN` the secure token of the webhook (returned for Incoming Webhooks) - `ID` the id of the webhook - Resources --------- diff --git a/src/Symfony/Component/Notifier/CHANGELOG.md b/src/Symfony/Component/Notifier/CHANGELOG.md index e381e758ca25e..adb97747a6c51 100644 --- a/src/Symfony/Component/Notifier/CHANGELOG.md +++ b/src/Symfony/Component/Notifier/CHANGELOG.md @@ -20,15 +20,14 @@ CHANGELOG * Changed `EmailChannel` to only support recipients which implement the `EmailRecipientInterface`. * Changed `SmsChannel` to only support recipients which implement the `SmsRecipientInterface`. - 5.1.0 ----- -* Added the Mattermost notifier bridge -* [BC BREAK] The `ChatMessage::fromNotification()` method's `$recipient` and `$transport` - arguments were removed. -* [BC BREAK] The `EmailMessage::fromNotification()` and `SmsMessage::fromNotification()` - methods' `$transport` argument was removed. + * Added the Mattermost notifier bridge + * [BC BREAK] The `ChatMessage::fromNotification()` method's `$recipient` and `$transport` + arguments were removed. + * [BC BREAK] The `EmailMessage::fromNotification()` and `SmsMessage::fromNotification()` + methods' `$transport` argument was removed. 5.0.0 ----- diff --git a/src/Symfony/Component/PropertyAccess/CHANGELOG.md b/src/Symfony/Component/PropertyAccess/CHANGELOG.md index e46378210d995..ba148d524f610 100644 --- a/src/Symfony/Component/PropertyAccess/CHANGELOG.md +++ b/src/Symfony/Component/PropertyAccess/CHANGELOG.md @@ -10,8 +10,8 @@ CHANGELOG 5.1.0 ----- -* Added an `UninitializedPropertyException` -* Linking to PropertyInfo extractor to remove a lot of duplicate code + * Added an `UninitializedPropertyException` + * Linking to PropertyInfo extractor to remove a lot of duplicate code 4.4.0 ----- @@ -22,9 +22,9 @@ CHANGELOG 4.3.0 ----- -* added a `$throwExceptionOnInvalidPropertyPath` argument to the PropertyAccessor constructor. -* added `enableExceptionOnInvalidPropertyPath()`, `disableExceptionOnInvalidPropertyPath()` and - `isExceptionOnInvalidPropertyPath()` methods to `PropertyAccessorBuilder` + * added a `$throwExceptionOnInvalidPropertyPath` argument to the PropertyAccessor constructor. + * added `enableExceptionOnInvalidPropertyPath()`, `disableExceptionOnInvalidPropertyPath()` and + `isExceptionOnInvalidPropertyPath()` methods to `PropertyAccessorBuilder` 4.0.0 ----- diff --git a/src/Symfony/Component/PropertyInfo/CHANGELOG.md b/src/Symfony/Component/PropertyInfo/CHANGELOG.md index 75621067ad0cf..a766e6b302242 100644 --- a/src/Symfony/Component/PropertyInfo/CHANGELOG.md +++ b/src/Symfony/Component/PropertyInfo/CHANGELOG.md @@ -4,25 +4,25 @@ CHANGELOG 5.2.0 ----- -* deprecated the `enable_magic_call_extraction` context option in `ReflectionExtractor::getWriteInfo()` and `ReflectionExtractor::getReadInfo()`. in favor of `enable_magic_methods_extraction` + * deprecated the `enable_magic_call_extraction` context option in `ReflectionExtractor::getWriteInfo()` and `ReflectionExtractor::getReadInfo()`. in favor of `enable_magic_methods_extraction` 5.1.0 ----- -* Add support for extracting accessor and mutator via PHP Reflection + * Add support for extracting accessor and mutator via PHP Reflection 4.3.0 ----- -* Added the ability to extract private and protected properties and methods on `ReflectionExtractor` -* Added the ability to extract property type based on its initial value + * Added the ability to extract private and protected properties and methods on `ReflectionExtractor` + * Added the ability to extract property type based on its initial value 4.2.0 ----- -* added `PropertyInitializableExtractorInterface` to test if a property can be initialized through the constructor (implemented by `ReflectionExtractor`) + * added `PropertyInitializableExtractorInterface` to test if a property can be initialized through the constructor (implemented by `ReflectionExtractor`) 3.3.0 ----- -* Added `PropertyInfoPass` + * Added `PropertyInfoPass` diff --git a/src/Symfony/Component/Security/CHANGELOG.md b/src/Symfony/Component/Security/CHANGELOG.md index 2f7c94deed1bc..aeacb4cc4b561 100644 --- a/src/Symfony/Component/Security/CHANGELOG.md +++ b/src/Symfony/Component/Security/CHANGELOG.md @@ -4,7 +4,7 @@ CHANGELOG 5.3.0 ----- -* Deprecated voters that do not return a valid decision when calling the `vote` method. + * Deprecated voters that do not return a valid decision when calling the `vote` method. 5.2.0 -----