|
| 1 | +CHANGELOG for 7.4.x |
| 2 | +=================== |
| 3 | + |
| 4 | +This changelog references the relevant changes (bug and security fixes) done |
| 5 | +in 7.4 minor versions. |
| 6 | + |
| 7 | +To get the diff for a specific change, go to https://github.com/symfony/symfony/commit/XXX where XXX is the change hash |
| 8 | +To get the diff between two versions, go to https://github.com/symfony/symfony/compare/v7.4.0...v7.4.1 |
| 9 | + |
| 10 | +* 7.4.0-BETA1 (2025-10-27) |
| 11 | + |
| 12 | + * feature #62170 [HttpKernel] Add `KernelInterface::getShareDir()`, `APP_SHARE_DIR` and `kernel.share_dir` (nicolas-grekas) |
| 13 | + * feature #59974 [Runtime] Make project_dir configurable (wickedOne) |
| 14 | + * feature #60033 [ErrorHandler][FrameworkBundle] Add support for selecting the appropriate error renderer based on the `APP_RUNTIME_MODE` (yceruto) |
| 15 | + * feature #62027 [DebugBundle][HttpKernel] Collect dumps when console profiling is enabled (HypeMC) |
| 16 | + * feature #61843 [Messenger] Add `MessageSentToTransportsEvent` (HypeMC) |
| 17 | + * feature #61880 [JsonStreamer] Merge `PropertyMetadata` value transformers (mtarld) |
| 18 | + * feature #60212 [Form] Add `FormFlow` for multistep forms management (yceruto) |
| 19 | + * feature #62135 [Config] Deprecate config builder generators (nicolas-grekas) |
| 20 | + * feature #62129 [FrameworkBundle] Auto-generate `config/reference.php` to assist in writing and discovering app's configuration (nicolas-grekas) |
| 21 | + * feature #62069 [JsonStreamer] Add synthetic properties support (mtarld) |
| 22 | + * feature #62092 [Config][DependencyInjection] Deprecate the fluent PHP format for semantic configuration (nicolas-grekas) |
| 23 | + * feature #62090 [Config] Deprecate setting a default value to a node that is required (GromNaN) |
| 24 | + * feature #61984 [Messenger] Add retry delay on amazon sqs transport (deguif) |
| 25 | + * feature #62077 [Security] Add support for `Sec-Fetch-Site` to `SameOriginCsrfTokenManager` (nicolas-grekas) |
| 26 | + * feature #62073 [HttpClient] Add QUERY to the list of retriable HTTP methods (nicolas-grekas) |
| 27 | + * feature #62068 [Console] Add support for `Cursor` helper in invokable commands (yceruto) |
| 28 | + * feature #62059 [HttpClient] Add option `auto_upgrade_http_version` to control how the request HTTP version is handled in `HttplugClient` and `Psr18Client` (ajgarlag) |
| 29 | + * feature #62043 [Security] Allow multiple OIDC discovery endpoints (ruudk) |
| 30 | + * feature #62010 [Routing] Initialize `router.request_context`'s `_locale` parameter to `kernel.default_locale` (MatTheCat) |
| 31 | + * feature #62039 [Notifier] Add support for `confirm` option in Slack buttons API (Taras Hinyk) |
| 32 | + * feature #61949 [HttpFoundation] Deprecate HTTP method override for methods GET, HEAD, CONNECT and TRACE (nicolas-grekas) |
| 33 | + * feature #61979 [HttpFoundation] Add `Request::set/getAllowedHttpMethodOverride()` to list which HTTP methods can be overridden (nicolas-grekas) |
| 34 | + * feature #61490 [DependencyInjection][Routing] Define array-shapes to help writing PHP configs using yaml-like arrays (nicolas-grekas) |
| 35 | + * feature #61961 [HttpFoundation] Make `Request::createFromGlobals()` parse the body of PUT, DELETE, PATCH and QUERY requests (MatTheCat) |
| 36 | + * feature #61992 [DoctrineBridge] Deprecate `AbstractDoctrineExtension` (GromNaN) |
| 37 | + * feature #60660 [Security] Add security:oidc-token:generate command (Jean-Beru) |
| 38 | + * feature #61955 [Messenger] bump ext-redis to 6.2 and ext-relay to 0.12 minimum (xabbuh) |
| 39 | + * feature #61252 [FrameworkBundle] Add support for union types on `#[AsEventListener]` (Fan2Shrek) |
| 40 | + * feature #61748 [Console] Add support for interactive invokable commands with `#[Interact]` and `#[Ask]` attributes (yceruto) |
| 41 | + * feature #61952 [Cache] bump ext-relay to 0.12+ (xabbuh) |
| 42 | + * feature #61948 [HttpFoundation] Deprecate Request::get() in favor of using properties ->attributes, query or request directly (nicolas-grekas) |
| 43 | + * feature #61933 [Workflow] Move the dump command to the component (lyrixx) |
| 44 | + * feature #61919 [DependencyInjection] Deprecate `ExtensionInterface::getXsdValidationBasePath()` and `getNamespace()` (nicolas-grekas) |
| 45 | + * feature #60201 [Workflow] Add support for weighted transitions (lyrixx) |
| 46 | + * feature #60568 [DependencyInjection][Routing] Deprecate XML configuration format (MatTheCat) |
| 47 | + * feature #61837 [Form] Add new `active_at`, `not_active_at` and `legal_tender` options to `CurrencyType` (Crovitche-1623) |
| 48 | + * feature #61894 [DependencyInjection][Routing] Handle declaring services and routes using PHP arrays that follow the same shape as corresponding yaml files (nicolas-grekas) |
| 49 | + * feature #61860 [Config][DependencyInjection][Routing] Deprecate using `$this` or the internal scope of the loader from PHP config files (nicolas-grekas) |
| 50 | + * feature #61885 [DependencyInjection] Handle returning arrays and config-builders from config files (nicolas-grekas) |
| 51 | + * feature #59576 [HttpClient] Make `CachingHttpClient` compatible with RFC 9111 (Lctrs) |
| 52 | + * feature #61841 [Validator] deprecate passing an associative array to GroupSequence (xabbuh) |
| 53 | + * feature #61789 [Security] deprecate extending `RememberMeDetails` using legacy constructor signature (xabbuh) |
| 54 | + * feature #61807 [Uid] Add `MockUuidFactory` for deterministic UUID generation in tests (momito69) |
| 55 | + * feature #61838 [Notifier][LOX24] Add Lox24 webhook request parser support (alebedev80) |
| 56 | + * feature #61836 [MonologBridge] Deprecate `NotFoundActivationStrategy` (HypeMC) |
| 57 | + * feature #61791 [Validator] deprecate implicit constraint option names in YAML/XML mapping files (xabbuh) |
| 58 | + * feature #61778 [Notifier] Add support for building SmsEvent by dlr_code and RemoteEvent for other LOX24 webhook event types (alebedev80) |
| 59 | + * feature #61820 [HttpKernel][WebProfilerBundle] Display runner class in the profiler toolbar (MatTheCat) |
| 60 | + * feature #60902 [TwigBridgeRessources] add aria-invalid and aria-describedby on form inputs when validation failure exist (jeanfrancois-morin) |
| 61 | + * feature #59955 [MonologBridge] Add ability to react to console input being interactive or not (dkarlovi) |
| 62 | + * feature #61812 [Uid] Default to `UuidV7` when using `UuidFactory` (nicolas-grekas) |
| 63 | + * feature #60237 [DoctrineBridge] Add new `DayPointType` and `TimePointType` Doctrine type (wkania) |
| 64 | + * feature #60085 [Security] improve VoteObject adding extraData for give more possibilities to AccessDecicsionStrategy (eltharin) |
| 65 | + * feature #51273 [Config] Add `ArrayNodeDefinition::acceptAndWrap()` to list alternative types that should be accepted and wrapped in an array (nicolas-grekas) |
| 66 | + * feature #60561 [Validator] Add option to allow `ANY` protocol in `Assert\Url` constraint (alekLexis) |
| 67 | + * feature #61775 [Mailer][Mandrill] Add `subaccount` to the payload (andrehoong-pixieset) |
| 68 | + * feature #61777 [Notifier][Twilio] WhatsApp number validation (OvidiuGi) |
| 69 | + * feature #60023 [Lock] Add `LockKeyNormalizer` (valtzu) |
| 70 | + * feature #46257 [Messenger] Add AMQP exchange to exchange bindings (Samik081) |
| 71 | + * feature #60228 [Serializer] Support preserving array keys with `XmlEncoder` (Maximilian Ruta) |
| 72 | + * feature #61765 [TypeInfo] Add result cache to `TypeContextFactory` (landure) |
| 73 | + * feature #60114 [Workflow] Add support for `BackedEnum` in `MethodMarkingStore` (tucksaun) |
| 74 | + * feature #61758 [Mailer][Sendgrid] Add support for `global` region (sonnymilton) |
| 75 | + * feature #61743 [Security] deprecate the FQCN properties of `PersistentToken` and `RememberMeDetails` (xabbuh) |
| 76 | + * feature #60204 [FrameworkBundle] Add support for configuring workflow places with glob patterns matching consts/backed enums (lyrixx) |
| 77 | + * feature #60395 [HttpFoundation] Add `#[IsSignatureValid]` attribute (santysisi) |
| 78 | + * feature #61110 [FrameworkBundle] Prepare session in functionnal tests (cyve) |
| 79 | + * feature #61718 [Config] Add argument `$singular` to `NodeBuilder::arrayNode()` to decouple plurals/singulars from XML (nicolas-grekas) |
| 80 | + * feature #60138 [Lock] DynamoDB store (natepage) |
| 81 | + * feature #61092 [Console][QuestionHelper] add optional timeout for human interaction (janedbal) |
| 82 | + * feature #54366 [Messenger] Introduce `DefaultStampsProviderInterface ` (VincentLanglet) |
| 83 | + * feature #61694 [Security] Add `$tokenSource` argument to `#[IsCsrfTokenValid]` to support reading tokens from the query string or headers (webda2l) |
| 84 | + * feature #61563 [Serializer] Add `#[ExtendsSerializationFor]` to declare new serialization attributes for a class (nicolas-grekas) |
| 85 | + * feature #61545 [Validator] Add `#[ExtendsValidationFor]` to declare new constraints for a class (nicolas-grekas) |
| 86 | + * feature #61311 [WebProfilerBundle] Show `EventSource` requests in debug toolbar (valtzu) |
| 87 | + * feature #61654 [Security] Deprecate `PersistentToken::getClass()` and `RememberMeDetails::getUserFqcn()` in order to remove the user FQCN from the remember-me cookie in 8.0 (nicolas-grekas) |
| 88 | + * feature #58070 [VarDumper] Select HtmlDumper only if `Accept` header contains "html" (alexandre-daubois) |
| 89 | + * feature #61478 [Console] Add `#[Input]` attribute to support DTOs in invokable commands (yceruto) |
| 90 | + * feature #61034 [Security][SecurityBundle] Dump role hierarchy as mermaid chart (damienfern) |
| 91 | + * feature #61656 [DependencyInjection] Allow `Class::function(...)` and `global_function(...)` closures in PHP DSL for factories (GromNaN) |
| 92 | + * feature #61657 [VarExporter] Add support for exporting named closures (nicolas-grekas) |
| 93 | + * feature #61532 [Serializer] Allow using attributes to declare compile-time serialization metadata (nicolas-grekas) |
| 94 | + * feature #61528 [Validator] Allow using attributes to declare compile-time constraint metadata (nicolas-grekas) |
| 95 | + * feature #61379 [Security][TwigBridge] Add `access_decision()` and `access_decision_for_user()` (florentdestremau) |
| 96 | + * feature #59042 [Validator] Add `Video` constraint for validating video files (symfonyaml) |
| 97 | + * feature #61575 [DependencyInjection] Allow multiple `#[AsDecorator]` attributes (Jean-Beru) |
| 98 | + * feature #61592 [Runtime] Expose the runtime class in `$_SERVER['APP_RUNTIME']` (nicolas-grekas) |
| 99 | + * feature #61578 [DependencyInjection] Parse attributes found on abstract classes for resource definitions (nicolas-grekas) |
| 100 | + * feature #61564 [Serializer][Validator] Add JSON schema for validating and autocompleting YAML config files (nicolas-grekas) |
| 101 | + * feature #61536 [DependencyInjection] Allow adding resource tags using any config formats (nicolas-grekas) |
| 102 | + * feature #61297 [Form] Add form type guesser for `EnumType` (mttsch) |
| 103 | + * feature #61555 [Mailer][Sweego] Add support for new webhook events (welcoMattic) |
| 104 | + * feature #61431 [Intl] Add methods to filter currencies more precisely (Crovitche-1623) |
| 105 | + * feature #61542 [Security] Allow subclassing `#[IsGranted]` (nicolas-grekas) |
| 106 | + * feature #61497 [ObjectMapper] cache attributes in memory (soyuka) |
| 107 | + * feature #61522 [Runtime] Support runtime options as a string (VincentLanglet) |
| 108 | + * feature #59780 [FrameworkBundle] Only show relevant columns in `debug:router` call and adding colors (mamazu) |
| 109 | + * feature #61057 [Security] Improve performance of `RoleHierarchy::buildRoleMap` method (simonjamain-gp, simonjamain) |
| 110 | + * feature #60979 [Messenger] Add `--exclude-receivers` to `messenger:consume` command (jbdelhommeau) |
| 111 | + * feature #60442 [ObjectMapper] embed collection transformer (soyuka) |
| 112 | + * feature #61504 [SecurityHttp] Removes final keyword from IsGranted attribute (crtl) |
| 113 | + * feature #61500 [JsonPath][JsonStreamer][ObjectMapper] the components are no longer experimental (xabbuh) |
| 114 | + * feature #61492 [FrameworkBundle][Routing] Auto-register routes from attributes found on controller services (nicolas-grekas) |
| 115 | + * feature #61282 [DependencyInjection][Routing] Add JSON schema for validating and autocompleting YAML config files (nicolas-grekas) |
| 116 | + * feature #61078 [Console] Add getter for the original command "code" object (weitzman) |
| 117 | + * feature #61078 [Console] Add getter for the original command "code" object (weitzman) |
| 118 | + * feature #61480 [TypeInfo] Add extra type alias support (mtarld) |
| 119 | + * feature #61487 [Routing][Serializer] Deprecate annotation aliases and getters and setters in favor of public properties on attributes (nicolas-grekas) |
| 120 | + * feature #61475 [DomCrawler] Use the native HTML5 parser on PHP 8.4 (nicolas-grekas) |
| 121 | + * feature #60120 [Routing] Add possibility to create a request context with parameters directly (alexander-schranz) |
| 122 | + * feature #61455 [Mailer][Sendgrid] Add suppression groups support (KiloSierraCharlie) |
| 123 | + * feature #61267 [HttpFoundation] Add support for structured MIME suffix (Spomky) |
| 124 | + * feature #61358 [Routing] allow setting multiple envs in `#[Route]` attribute (santysisi) |
| 125 | + * feature #61359 [Security] Add `$methods` support to `#[IsGranted]` to restrict access by HTTP method (santysisi) |
| 126 | + * feature #60218 [Notifier][Discord] Add `DiscordBotTransport` (norkunas) |
| 127 | + * feature #61444 [Notifier][Telegram] Add TelegramOptions::messageThreadId() (MKC-MKC) |
| 128 | + * feature #61315 [Mailer] Add compatibility for Mailtrap's sandbox (KiloSierraCharlie) |
| 129 | + * feature #61173 [HttpFoundation][HttpKernel][WebProfilerBundle] Add support for the `QUERY` HTTP method (alexandre-daubois) |
| 130 | + * feature #61423 [Mime] Deprecate implementing `__sleep/wakeup()` on `AbstractPart` implementations (nicolas-grekas) |
| 131 | + * feature #61418 [Validator] Deprecate implementing `__sleep/wakeup()` on GenericMetadata implementations (nicolas-grekas) |
| 132 | + * feature #61417 [String] Deprecate implementing `__sleep/wakeup()` on string implementations (nicolas-grekas) |
| 133 | + * feature #61412 [HttpKernel] Deprecate `__sleep/wakeup()` on kernels and data collectors and make `Profile` final (nicolas-grekas) |
| 134 | + * feature #61413 [Serializer] Make `AttributeMetadata` and `ClassMetadata` final (nicolas-grekas) |
| 135 | + * feature #61366 [HtmlSanitizer] Use the native HTML5 parser when using PHP 8.4+ (nicolas-grekas) |
| 136 | + * feature #61290 [Mailer] Add MicrosoftGraph API Transport (bobvandevijver) |
| 137 | + * feature #60754 [Messenger] Allow SQS to handle its own retry/DLQ (maxbaldanza) |
| 138 | + * feature #61308 [Console] Adding more helpful error messages to the Questionhelper (mamazu) |
| 139 | + * feature #61270 [DependencyInjection] Deprecate registering a service without a class when its id is a non-existing FQCN (nicolas-grekas) |
| 140 | + * feature #61255 [Validator] deprecate passing choices as `$options` argument to `Choice` constraint (xabbuh) |
| 141 | + * feature #60355 [Serializer] Add `CDATA_WRAPPING_NAME_PATTERN` support to `XmlEncoder` (Maximilian Ruta) |
| 142 | + * feature #60955 [BrowserKit] Add PHPUnit constraints: `BrowserHistoryIsOnFirstPage` and `BrowserHistoryIsOnLastPage` (santysisi) |
| 143 | + * feature #60805 [Validator] Add `min` and `max` in both error messages of `LengthValidator` (VincentLanglet) |
| 144 | + * feature #61133 [AssetMapper] Add support for loading JSON using import statements (nicolas-grekas) |
| 145 | + * feature #61204 [Security] Support union type for `#[CurrentUser]` attribute (VincentLanglet) |
| 146 | + * feature #60730 [JsonStreamer] Add `include_null_properties` option (mtarld) |
| 147 | + * feature #61006 [JsonStreamer] Provide current object to value transformers (mtarld) |
| 148 | + * feature #60935 [Translation] Add `StaticMessage` (VincentLanglet) |
| 149 | + * feature #61145 [ObjectMapper] Add `ObjectMapperAwareInterface` to set the owning object mapper instance (soyuka) |
| 150 | + * feature #61109 [Translation] Deprecate `TranslatableMessage::__toString` (VincentLanglet) |
| 151 | + * feature #61023 [Serializer] add `can` to the accessor prefixes recognized by the `AttributeLoader` (Mark Schmale) |
| 152 | + * feature #61127 [Cache] Add `TagAwareAdapterInterface` to `NullAdapter` (a.dmitryuk) |
| 153 | + * feature #61108 [DoctrineBridge][Validator] mark getRequiredOptions()/getDefaultOption() of UniqueEntity as deprecated (xabbuh) |
| 154 | + * feature #60801 [Validator] deprecate handling options in the base Constraint class (xabbuh) |
| 155 | + * feature #60110 [Mailer] [Transport] Allow exception logging for `RoundRobinTransport` mailer (jnoordsij) |
| 156 | + * feature #61024 [Intl] Optionally allow Kosovo as a component region (llupa) |
| 157 | + * feature #61046 [SecurityBundle] configuration for the storage service for the login throttling rate limiter (xabbuh) |
| 158 | + * feature #60999 [Messenger] Allow any `ServiceResetterInterface` implementation in `ResetServicesListener` (santysisi) |
| 159 | + * feature #60480 [VarDumper] Add support for adding more default casters to `AbstractCloner::addDefaultCasters()` (lyrixx) |
| 160 | + * feature #60895 [BrowserKit] Add `isFirstPage()` and `isLastPage()` methods to History (santysisi) |
| 161 | + * feature #60857 [FrameworkBundle] Add `ControllerHelper`; the helpers from `AbstractController` as a standalone service (nicolas-grekas) |
| 162 | + * feature #60898 [Uid] Add microsecond precision to UUIDv7 and optimize on x64 (nicolas-grekas) |
| 163 | + * feature #60910 [DependencyInjection] Add argument `$target` to `ContainerBuilder::registerAliasForArgument()` (nicolas-grekas) |
| 164 | + * feature #60597 [DependencyInjection][FrameworkBundle] Use php-serialize to dump the container for debug/lint commands (nicolas-grekas) |
| 165 | + * feature #60874 [FrameworkBundle] Allow using their name without added suffix when using #[Target] for custom services (Valmonzo) |
| 166 | + * feature #60614 [Security] Deprecate callable firewall listeners (MatTheCat) |
| 167 | + * feature #60876 [HttpFoundation] Deprecate using `Request::sendHeaders()` after headers have already been sent (nicolas-grekas) |
| 168 | + * feature #60823 [Console] Add support for Invokable Commands in `CommandTester` (ruudk) |
| 169 | + * feature #60503 [Runtime] Automatically use FrankenPHP runner when its worker mode is detected (alexandre-daubois) |
| 170 | + * feature #60788 [FrameworkBundle] Allow to un-verbose all the method in `BrowserKitAssertionsTrait` (VincentLanglet) |
| 171 | + * feature #60819 [DependencyInjection] Allow extending `#[AsAlias]` attribute (ruudk) |
| 172 | + * feature #60740 [Mailer] Add `assertEmailAddressNotContains` (santysisi) |
| 173 | + * feature #60767 [Console] Allow Usages to be specified via #[AsCommand] attribute (weitzman) |
| 174 | + * feature #60586 [Console] Support `BackedEnum` in invokable commands (GromNaN) |
| 175 | + * feature #60371 [SecurityBundle] register alias for argument for password hasher (lyrixx, chalasr) |
| 176 | + * feature #60394 [Console][FrameworkBundle] Simplify using invokable commands when the component is used standalone (HypeMC) |
| 177 | + * feature #60731 [JsonStreamer] Add PHPDoc to generated code (mtarld) |
| 178 | + * feature #60739 [Console] Allow setting aliases & hidden via command name passed to the constructor (HypeMC) |
| 179 | + * feature #60424 [PhpUnitBridge] Add `strtotime()` to `ClockMock` (jprivet-dev) |
| 180 | + * feature #60508 [Routing] Allow query-specific parameters in `UrlGenerator` using `_query` (BenMorel) |
| 181 | + * feature #60704 [HttpClient] Deprecate using amphp/http-client < 5 (nicolas-grekas) |
| 182 | + * feature #60253 [Scheduler] Throw error on duplicate schedule provider service registration on the schedule name (adrianrudnik) |
| 183 | + * feature #60315 [Form] Add `input=date_point` to `DateTimeType`, `DateType` and `TimeType` (wkania) |
| 184 | + * feature #60498 [HttpCache] Add a `waiting` trace when finding the cache locked (mpdude) |
| 185 | + * feature #60569 [HttpKernel] Do not superseed private cache-control when no-store is set (alexander-schranz) |
| 186 | + * feature #60209 [Notifier] Allow to set block_id/value for SlackActionsBlock and SlackButtonBlockElement (miloszowi) |
| 187 | + * feature #60544 [JsonStreamer] Remove `nikic/php-parser` dependency (mtarld) |
| 188 | + * feature #60420 [WebLink] Add class to parse Link headers from HTTP responses (GromNaN) |
| 189 | + |
0 commit comments