|
| 1 | +CHANGELOG for 6.2.x |
| 2 | +=================== |
| 3 | + |
| 4 | +This changelog references the relevant changes (bug and security fixes) done |
| 5 | +in 6.2 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/v6.2.0...v6.2.1 |
| 9 | + |
| 10 | +* 6.2.0-BETA1 (2022-10-24) |
| 11 | + |
| 12 | + * feature #47364 [DependencyInjection] Allow array attributes for service tags (aschempp) |
| 13 | + * feature #44166 [Config] Use better typehint in PHP Configuration (jderusse) |
| 14 | + * feature #47956 [Notifier] Add support for editing Telegram messages (chr-hertel) |
| 15 | + * feature #43534 [Serializer] Add `SerializedPath` annotation to flatten nested attributes (boenner) |
| 16 | + * feature #47943 [Config][Routing] Nicer config syntax for PSR-4 route loading (derrabus) |
| 17 | + * feature #46224 [Form] Add `hash_property_path` option to `PasswordType` (Seb33300) |
| 18 | + * feature #47950 [HttpClient] Add support for "friendsofphp/well-known-implementations" (nicolas-grekas) |
| 19 | + * feature #47936 [HttpClient] Add `withOptions()` to `HttplugClient` and `Psr18Client` (nicolas-grekas) |
| 20 | + * feature #46053 [Messenger] Add option `allow_no_senders` to enable throwing when a message doesn't have a sender (babeuloula) |
| 21 | + * feature #45907 [SecurityBundle] Allow specifying attributes for `RequestMatcher` (freiondrej-lmc) |
| 22 | + * feature #47483 [HttpKernel] Make Logger implement DebugLoggerInterface (MatTheCat) |
| 23 | + * feature #46161 [Translation] Add `PhpAstExtractor` (welcoMattic) |
| 24 | + * feature #47872 [Validator] new email validation option to match with w3c official specification (guillemfondin) |
| 25 | + * feature #47916 [Routing] PSR-4 directory loader (derrabus) |
| 26 | + * feature #47890 [SecurityBundle] Deprecate the `enable_authenticator_manager` option (chalasr) |
| 27 | + * feature #47906 [DependencyInjection] Allow injecting the current env into php config closures (HypeMC) |
| 28 | + * feature #47902 [DependencyInjection] Add support for tagged iterators/locators exclude option to xml and yaml (HypeMC) |
| 29 | + * feature #47801 [DependencyInjection] Allow array for the value of Autowire attribute (willemverspyck) |
| 30 | + * feature #47864 [DoctrineBridge] Deprecate calling `ContainerAwareEventManager::getListeners()` without event name (derrabus) |
| 31 | + * feature #47711 [Mime] deprecate attach/embed methods in favor of Email::addPart() (fabpot) |
| 32 | + * feature #47832 [HttpClient] Make HttplugClient implement PSR-17 factories instead of Httplug's (nicolas-grekas) |
| 33 | + * feature #47817 [Security] TraceableAccessDecisionManager: fix inspecting voters of custom access decision managers (sarbanha) |
| 34 | + * feature #47750 [Console] Show available commands in namespace when running namespace as command (wouterj) |
| 35 | + * feature #47730 Ban DateTime from the codebase (WebMamba) |
| 36 | + * feature #47496 [FrameworkBundle] Make the Router `cache_dir` configurable (mpdude) |
| 37 | + * feature #47511 [Form][PropertyAccess] Allow optional property accesses (fsoedjede) |
| 38 | + * feature #47068 [Messenger] Deprecate MessageHandlerInterface and MessageSubscriberInterface (alamirault) |
| 39 | + * feature #47460 [Messenger] add dedicated method for disabling instead of passing boolean flags (xabbuh) |
| 40 | + * feature #47643 [WebProfilerBundle] Update the mailer panel (javiereguiluz) |
| 41 | + * feature #47710 [Validator] File: add option to check extension (dunglas) |
| 42 | + * feature #47734 [Validator] add the getCause() to the ConstraintViolationInterface (xabbuh) |
| 43 | + * feature #47308 [Console] Allow limiting the height of a console section (wouterj) |
| 44 | + * feature #47243 Add context option to configure the indentation of nested nodes for `YamlEncoder` (dbu) |
| 45 | + * feature #47462 [Mime] Simplify adding Parts to an Email (fabpot) |
| 46 | + * feature #47683 [DependencyInjection] Deprecate numeric parameter names (HeahDude) |
| 47 | + * feature #47377 [HttpKernel] Use Accept-Language header even if there are no enabled locales (MatTheCat) |
| 48 | + * feature #47588 Add warning for possibly truncated inputs in QuestionHelper (#47586) (pbek) |
| 49 | + * feature #47665 [WebProfilerBundle] [WebProfilerPanel] Update the configuration panel (javiereguiluz) |
| 50 | + * feature #47630 [FrameworkBundle] Add semantic config for new terminate_on_cache_hit HttpCache option (wouterj) |
| 51 | + * feature #47595 [HttpFoundation] Extract request matchers for better reusability (fabpot) |
| 52 | + * feature #47535 [TwigBridge] Expose current route in `AppVariable` (HeahDude) |
| 53 | + * feature #47536 [TwigBundle] add option for configuring custom HTML to text converter services (xabbuh) |
| 54 | + * feature #46064 [Security] Add a `ChainUserChecker` to allow calling multiple user checkers for a firewall (mbabker) |
| 55 | + * feature #47445 [FrameworkBundle] Allow secrets vaults to be used directly outside Symfony (AndreasA) |
| 56 | + * feature #47148 [WebProfilerBundle] Profiler redesign (javiereguiluz) |
| 57 | + * feature #38996 Remove the default values from setters with a nullable parameter (derrabus, nicolas-grekas) |
| 58 | + * feature #42593 [Validator] Add the `When` constraint and validator (wuchen90) |
| 59 | + * feature #47525 [Uid] Add UuidV7 and UuidV8 (nicolas-grekas) |
| 60 | + * feature #47515 [Uid] Add MaxUuid and MaxUlid (nicolas-grekas) |
| 61 | + * feature #47407 [Console] Terminal Color Mode refactoring and force Color Mode (julien-boudry) |
| 62 | + * feature #47507 [Uid] Add interface for `getDateTime()` and apply to relevant UIDs (shrikeh) |
| 63 | + * feature #47236 [DependencyInjection][VarExporter] Generate lazy-loading virtual proxies for non-ghostable lazy services (nicolas-grekas) |
| 64 | + * feature #39622 [Messenger] Be able to get raw data when a message in not decodable by the PHP Serializer (lyrixx) |
| 65 | + * feature #47311 [FrameworkBundle] Update ContainerDebugCommand to add parial search for tags (vshevelev, BOB41K1987) |
| 66 | + * feature #47367 [DependencyInjection] Handle INI arrays (MatTheCat) |
| 67 | + * feature #47373 [Notifier] Add Chatwork Notifier Bridge (Ippey) |
| 68 | + * feature #47363 [HttpKernel] Replace ArgumentValueResolverInterface by ValueResolverInterface (nicolas-grekas) |
| 69 | + * feature #47101 [DependencyInjection] Allow service subscribers to return `SubscribedService[]` (kbond) |
| 70 | + * feature #40152 [Messenger] Pass sender details to SendMessageToTransportsEvent (Jeroeny) |
| 71 | + * feature #41171 [Messenger] Add simple transport based rate limiter to Messenger (bobvandevijver) |
| 72 | + * feature #47295 [PhpUnitBridge] add ability to mock the hrtime() function (xabbuh) |
| 73 | + * feature #47264 [String] Add support for emoji in AsciiSlugger (lyrixx) |
| 74 | + * feature #47263 [Intl] Update EmojiTransliterator to translate emoji to github and slack short code (lyrixx) |
| 75 | + * feature #45418 [Messenger] Add HandlerArgumentsStamp (enumag) |
| 76 | + * feature #47094 [HttpKernel] Use xxh128 algorithm instead of sha256 for http cache store key (Pascal Woerde) |
| 77 | + * feature #46000 [Workflow] Mark registry as internal and deprecate the service (lyrixx) |
| 78 | + * feature #46428 [Security] Access Token Authenticator (Spomky) |
| 79 | + * feature #47225 [Mime] Re-allow addIdHeader to be used for 'In-Reply-To' and 'References' headers (AlbinoDrought) |
| 80 | + * feature #47190 [Mailer] Add a way to change the Bus transport dynamically (fabpot) |
| 81 | + * feature #47201 [Mime] Add a way to control the HTML to text conversion (fabpot) |
| 82 | + * feature #47202 [Serializer] enable JSON_PRESERVE_ZERO_FRACTION by default (dbu) |
| 83 | + * feature #39306 [Messenger] Add `TransportNamesStamp` to change the transport while dispatching a message (asilelik, fabpot) |
| 84 | + * feature #47196 Allow extending `#[When]` attribute (ruudk) |
| 85 | + * feature #47191 [Mailer] Add a way to inject Stamps when sending an email via Messenger (fabpot) |
| 86 | + * feature #47170 [Mailer] Use better error code when auth fails (fabpot) |
| 87 | + * feature #46978 [Security] Allow using expressions with the #[IsGranted] attribute (HypeMC) |
| 88 | + * feature #46571 [Messenger] Add new `messenger:count` command that return a list of transports with their "to be processed" message count. (ktherage, ogizanagi, EXT - THERAGE Kevin) |
| 89 | + * feature #43865 [TwigBridge] Add support for toggle buttons in Bootstrap 5 form theme (ker0x) |
| 90 | + * feature #46683 [Ldap] Deprecate '{username}' parameter use in favour of '{user_identifier}' in LDAP configuration (EXT - THERAGE Kevin) |
| 91 | + * feature #46514 [HttpKernel] Add option to render Surrogate fragment with absolute URIs (Kern046) |
| 92 | + * feature #46715 [Clock] A new component to decouple applications from the system clock (nicolas-grekas) |
| 93 | + * feature #42355 [HttpKernel] Bugfix/last modified response strategy (aschempp) |
| 94 | + * feature #47080 [Mailer] Add new events (fabpot) |
| 95 | + * feature #47075 [Mime] Change the way we avoid rendering an email twice (fabpot) |
| 96 | + * feature #46755 [Intl] Add `EmojiTransliterator` to translate emoji to many locales (lyrixx, nicolas-grekas) |
| 97 | + * feature #47062 [Console] Don't cut Urls wrapped in SymfonyStyle block (fchris82, GromNaN) |
| 98 | + * feature #45987 [Notifier] Add `from` in `SmsMessage` (alamirault) |
| 99 | + * feature #46142 [ExpressionLanguage] Add support for null coalescing syntax (mytuny) |
| 100 | + * feature #47050 [Form] Allow TranslatableInterface to the FormType help option (alamirault) |
| 101 | + * feature #46110 [RateLimiter][Security] Improve performance of login/request rate limiter (Seldaek, wouterj) |
| 102 | + * feature #46895 [Notifier] Introduce PHPUnit constraints and assertions for the Notifier (ismail1432) |
| 103 | + * feature #47049 [Mailer] Throw a more specific exception when a BodyRendererInterface is needed but not configured (fabpot) |
| 104 | + * feature #47040 Add a mailer:test command (fabpot) |
| 105 | + * feature #46242 [Console] Add support for resuming a ProgressBar (yivi) |
| 106 | + * feature #46962 [Mime] Add DataPart::setContentId() (fabpot) |
| 107 | + * feature #47038 [Notifier] Add Notification::exception() (fabpot) |
| 108 | + * feature #46944 [Console] Add Ansi8 (256 color) support, improve true color (Ansi24) support detection (julien-boudry) |
| 109 | + * feature #47034 [Mime] Simplify code (fabpot) |
| 110 | + * feature #47018 [Console] Zsh shell autocompletion (adhocore, GromNaN) |
| 111 | + * feature #46591 [Finder] Add methods to sort by extension & size (sandoba) |
| 112 | + * feature #46126 [Finder] Case insensitive file sort (hmoreau) |
| 113 | + * feature #45034 [HttpFoundation] Rename Request::getContentType to getContentTypeFormat (MarkPedron) |
| 114 | + * feature #46806 [Cache][WebProfilerBundle] Add adapter class to Cache `DataCollector` (Jean-Beru) |
| 115 | + * feature #44902 Add visibility context option in PropertyNormalizer (alamirault) |
| 116 | + * feature #46567 [Security] [LoginLink] Set custom lifetime for login link (mbrodala, fabpot) |
| 117 | + * feature #46599 Add "negate" option to Expression constraint (fmata) |
| 118 | + * feature #46821 [FrameworkBundle] Add `resolve-env` option to debug:config command (alexandre-daubois) |
| 119 | + * feature #46580 [SecurityBundle] Add shortcut option to enable logout CSRF protection (wouterj) |
| 120 | + * feature #46814 [FrameworkBundle] Add service and alias deprecation message to debug:container <name> output (94noni) |
| 121 | + * feature #47008 [Messenger] Add options to `FailedMessagesShowCommand` (Florian Guimier, fabpot) |
| 122 | + * feature #45977 [Validator] Add the match option to the Choice constraint (fancyweb) |
| 123 | + * feature #46338 [Security] Allow configuring a target url when switching user (94noni) |
| 124 | + * feature #46326 SMTP Transport to provide the (final) Message-ID if available (Raphaël Droz) |
| 125 | + * feature #43854 [DoctrineBridge] Add an Entity Argument Resolver (jderusse, nicolas-grekas) |
| 126 | + * feature #46315 [Mailer] `max_per_second` option configurable via DSN (gassan) |
| 127 | + * feature #46118 [Security] Don't allow empty username or empty password (bikalbasnet) |
| 128 | + * feature #46229 [Messenger] Make Redis messages countable (Jean-Beru) |
| 129 | + * feature #41406 [Security] Add a method in the security helper to ease programmatic logout (johnkrovitch, chalasr) |
| 130 | + * feature #45404 [Mailer] allow custom hosts for ses+smtp with amazon mailer (jrushlow) |
| 131 | + * feature #45945 [Uid] Added toHexString method to AbstractUid class (aurimasniekis) |
| 132 | + * feature #46642 [DoctrineBridge] Add `NAME` const for UID types (marcelsiegert) |
| 133 | + * feature #46502 [Dotenv] Variable filter added to debug command (rmikalkenas) |
| 134 | + * feature #46211 [Mailer] Add Infobip bridge (B-Galati) |
| 135 | + * feature #46773 [VarDumper] Add `FFI\CData` and `FFI\CType` types (SerafimArts) |
| 136 | + * feature #46946 [Form] ChoiceType choices must support TranslatableInterface (alamirault) |
| 137 | + * feature #38903 [FrameworkBundle] Add "Usages" to debug:container output (Bert ter Heide, bertterheide) |
| 138 | + * feature #46901 [Console] Be explicit about the completion API version (wouterj) |
| 139 | + * feature #46752 [DependencyInjection] Use lazy-loading ghost object proxies out of the box (nicolas-grekas) |
| 140 | + * feature #46880 [HttpKernel] Add `#[Cache()]` to describe the default HTTP cache headers on controllers (nicolas-grekas) |
| 141 | + * feature #46751 [VarExporter] Add trait to help implement lazy loading ghost objects (nicolas-grekas) |
| 142 | + * feature #46906 [TwigBridge] Add `#[Template()]` to describe how to render arrays returned by controllers (nicolas-grekas) |
| 143 | + * feature #46907 [Security] Add `#[IsGranted()]` (nicolas-grekas) |
| 144 | + * feature #46183 Hide sensitive information with `SensitiveParameter` attribute (GromNaN) |
| 145 | + * feature #46896 Console/SymfonyStyle: Add Multiselect to choice() (julien-boudry) |
| 146 | + * feature #46883 [DependencyInjection] Add `shuffle` env processor (ostrolucky) |
| 147 | + * feature #46846 [Notifier] Add Zendesk Notifier Bridge (stloyd) |
| 148 | + * feature #46001 [HttpKernel] Add `ControllerEvent::getAttributes()` to handle attributes on controllers (nicolas-grekas) |
| 149 | + * feature #46854 [FrameworkBundle] Make `AbstractController::render()` able to deal with forms and deprecate `renderForm()` (nicolas-grekas) |
| 150 | + * feature #41274 [Security] Add a method in the security helper to ease programmatic login (#40662) (johnkrovitch, chalasr) |
| 151 | + * feature #46831 Add deprecation when the session is not FlashBagAware (VincentLanglet) |
| 152 | + * feature #46491 Introduce FlashBagAwareSessionInterface (VincentLanglet) |
| 153 | + * feature #46813 [Form] Provide string keys when iterating on a form (VincentLanglet) |
| 154 | + * feature #46680 [Serializer] Provide context information from attribute for promoted properties (DanielBadura) |
| 155 | + * feature #46564 [DependencyInjection] Add Enum Env Var Processor (jack-worman) |
| 156 | + * feature #46763 [HttpCache] Do not call terminate() on cache hit (Toflar) |
| 157 | + * feature #45997 [FrameworkBundle][HttpKernel] Add deprecation warning to show `HttpKernel::handle()` will catch throwables (Nyholm) |
| 158 | + * feature #46714 [Mailer] Deprecate OhMySmtp Transport, Create MailPace transport (Holicz) |
| 159 | + * feature #46771 [Yaml] Add support for `!php/enum *->value` syntax (nicolas-grekas) |
| 160 | + * feature #46395 [Notifier] Add Contact Everyone Bridge (franckranaivo) |
| 161 | + * feature #46724 [Notifier] Add SMSFactor bridge (Gwemox) |
| 162 | + * feature #46741 [DependencyInjection] Allow using ghost objects for lazy loading services (nicolas-grekas) |
| 163 | + * feature #46675 [Serializer] Add support of true built-in type (from PHP 8.2) (bobahvas, alexandre-daubois) |
| 164 | + * feature #46663 [Serializer] Deprecate autowiring aliases pointing to concrete normalizers (chalasr) |
| 165 | + * feature #46584 [Security] Enforce maximum username length in UserBadge (wouterj) |
| 166 | + * feature #46066 [Security] Add an easier way to get the current firewall configuration (Kocal) |
| 167 | + * feature #46614 Remove Debug component leftovers (chalasr) |
| 168 | + * feature #46566 [Serializer][WebProfilerBundle] Show serializer collector info in toolbar (ogizanagi) |
| 169 | + * feature #46569 [Serializer][WebProfilerBundle] Collect & show caller source code (ogizanagi) |
| 170 | + * feature #46094 [Security][SecurityBundle] Move the `Security` helper to SecurityBundle (chalasr) |
| 171 | + * feature #46518 [Validator] deprecate the loose e-mail validation mode (xabbuh) |
| 172 | + * feature #45985 [TwigBridge] Add form_label_content and form_help_content block to form_div_layout (alexander-schranz) |
| 173 | + * feature #46430 [Routing] Add `Requirement::POSITIVE_INT` for common ids and pagination (HeahDude) |
| 174 | + * feature #46279 [DependencyInjection] Optimize autowiring logic by telling it about excluded symbols (nicolas-grekas) |
| 175 | + * feature #46452 [DependencyInjection] Add Hydrator::hydrate() and preserve PHP references when using it (nicolas-grekas) |
| 176 | + |
0 commit comments