<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0"
    xmlns:content="http://purl.org/rss/1.0/modules/content/"
    xmlns:dc="http://purl.org/dc/elements/1.1/"
    xmlns:atom="http://www.w3.org/2005/Atom"
>
    <channel>
        <title>Symfony Blog</title>
        <atom:link href="https://feeds.feedburner.com/symfony/blog" rel="self" type="application/rss+xml" />
        <link>https://symfony.com/blog/</link>
        <description>Most recent posts published on the Symfony project blog</description>
        <pubDate>Sun, 15 Nov 2026 04:40:52 +0100</pubDate>
        <lastBuildDate>Sat, 14 Nov 2026 09:03:00 +0100</lastBuildDate>
        <language>en</language>
                        <item>
            <title>New in Symfony 8.2: Link Sets and Link Templates</title>
            <link>https://symfony.com/blog/new-in-symfony-8-2-link-sets-and-link-templates?utm_source=Symfony%20Blog%20Feed&amp;utm_medium=feed</link>
            <description>
    
                    
                
            
            
    
        Contributed by
                    Florent Morselli
                                         in
                                    #65428…</description>
            <content:encoded><![CDATA[
                                <div class="blog-post-contributor-info">
    <div class="blog-post-contributor-avatar">
                    <a target="_blank" href="https://connect.symfony.com/profile/spomky_">
                <img src="https://connect.symfony.com/profile/spomky_.picture" alt="Florent Morselli">
            </a>
            </div>
    <div class="blog-post-contributor-contents">
        <span>Contributed by</span>
                    <a target="_blank" class="blog-post-contributor-name" href="https://connect.symfony.com/profile/spomky_">Florent Morselli</a>
                                        <span class="blog-post-contributor-prs"> in
                                    <a target="_blank" href="https://github.com/symfony/symfony/pull/65428">#65428</a>
                                                </span>
            </div>
</div>
<p>The <a href="https://symfony.com/web-link" class="reference external">WebLink component</a> manages the <code translate="no" class="notranslate">Link</code> HTTP header defined by <a href="https://www.rfc-editor.org/rfc/rfc8288.html" class="reference external" rel="external noopener noreferrer" target="_blank">Web Linking</a>
(RFC 8288). Most applications use it to preload and prefetch assets, but links
are also how HTTP APIs tell clients where related resources are. Symfony 8.2
adds the two specifications that build on Web Linking and were missing from
the component: the <code translate="no" class="notranslate">Link-Template</code> header (<a href="https://www.rfc-editor.org/rfc/rfc9652.html" class="reference external" rel="external noopener noreferrer" target="_blank">RFC 9652</a>) and link sets (<a href="https://www.rfc-editor.org/rfc/rfc9264.html" class="reference external" rel="external noopener noreferrer" target="_blank">RFC 9264</a>).</p>
<div class="section">
<h2 id="sending-templated-links"><a class="headerlink" href="#sending-templated-links" title="Permalink to this headline">Sending Templated Links</a></h2>
<p>The <code translate="no" class="notranslate">Link</code> header can only carry concrete URLs. When the target isn't known in
advance (e.g. the URL of any item of a collection) you describe it with a
<a href="https://www.rfc-editor.org/rfc/rfc6570.html" class="reference external" rel="external noopener noreferrer" target="_blank">URI template</a> such as <code translate="no" class="notranslate">/users/{id}</code>. The <code translate="no" class="notranslate">Link</code> class already supported
templated links, but there was no header to send them in, so Symfony silently
dropped them from the response.</p>
<p>In Symfony 8.2, links added to the response are split between two headers:
those pointing to a concrete URL go to <code translate="no" class="notranslate">Link</code> and those using a URI template
go to the new <code translate="no" class="notranslate">Link-Template</code> header:</p>
<div translate="no" data-loc="24" class="notranslate codeblock codeblock-length-md codeblock-php">
        <div class="codeblock-scroll">
        
        <pre class="codeblock-code"><code><span class="hljs-comment">// src/Controller/UserController.php</span>
<span class="hljs-keyword">namespace</span> <span class="hljs-title">App</span>\<span class="hljs-title">Controller</span>;

<span class="hljs-keyword">use</span> <span class="hljs-title">Symfony</span>\<span class="hljs-title">Bundle</span>\<span class="hljs-title">FrameworkBundle</span>\<span class="hljs-title">Controller</span>\<span class="hljs-title">AbstractController</span>;
<span class="hljs-keyword">use</span> <span class="hljs-title">Symfony</span>\<span class="hljs-title">Component</span>\<span class="hljs-title">HttpFoundation</span>\<span class="hljs-title">Request</span>;
<span class="hljs-keyword">use</span> <span class="hljs-title">Symfony</span>\<span class="hljs-title">Component</span>\<span class="hljs-title">HttpFoundation</span>\<span class="hljs-title">Response</span>;
<span class="hljs-keyword">use</span> <span class="hljs-title">Symfony</span>\<span class="hljs-title">Component</span>\<span class="hljs-title">Routing</span>\<span class="hljs-title">Attribute</span>\<span class="hljs-title">Route</span>;
<span class="hljs-keyword">use</span> <span class="hljs-title">Symfony</span>\<span class="hljs-title">Component</span>\<span class="hljs-title">WebLink</span>\<span class="hljs-title">Link</span>;

<span class="hljs-class"><span class="hljs-keyword">class</span> <span class="hljs-title">UserController</span> <span class="hljs-keyword">extends</span> <span class="hljs-title">AbstractController</span>
</span>{
    <span class="hljs-meta">#[Route(<span class="hljs-string">'/users'</span>, <span class="hljs-attr">name</span>: <span class="hljs-string">'user_index'</span>)]</span>
    <span class="hljs-keyword">public</span> <span class="hljs-function"><span class="hljs-keyword">function</span> <span class="hljs-title">index</span><span class="hljs-params">(Request <span class="hljs-variable"><span class="hljs-variable-other-marker">$</span>request</span>)</span>: <span class="hljs-title">Response</span>
    </span>{
        <span class="hljs-variable"><span class="hljs-variable-other-marker">$</span>this</span>-&gt;<span class="hljs-title invoke__">addLink</span>(<span class="hljs-variable"><span class="hljs-variable-other-marker">$</span>request</span>, <span class="hljs-keyword">new</span> <span class="hljs-title invoke__">Link</span>(<span class="hljs-string">'preload'</span>, <span class="hljs-string">'/app.css'</span>)-&gt;<span class="hljs-title invoke__">withAttribute</span>(<span class="hljs-string">'as'</span>, <span class="hljs-string">'style'</span>));
        <span class="hljs-variable"><span class="hljs-variable-other-marker">$</span>this</span>-&gt;<span class="hljs-title invoke__">addLink</span>(<span class="hljs-variable"><span class="hljs-variable-other-marker">$</span>request</span>, <span class="hljs-keyword">new</span> <span class="hljs-title invoke__">Link</span>(<span class="hljs-string">'item'</span>, <span class="hljs-string">'/users/{id}'</span>));

        <span class="hljs-comment">// the response includes these headers:</span>
        <span class="hljs-comment">// Link: &lt;/app.css&gt;; rel="preload"; as="style"</span>
        <span class="hljs-comment">// Link-Template: "/users/{id}"; rel="item"</span>

        <span class="hljs-keyword">return</span> <span class="hljs-variable"><span class="hljs-variable-other-marker">$</span>this</span>-&gt;<span class="hljs-title invoke__">render</span>(<span class="hljs-string">'user/index.html.twig'</span>);
    }
}</code></pre>
    </div>
</div>
<p>You don't have to change anything in your application: the existing <code translate="no" class="notranslate">Link</code>
headers stay the same.</p>
</div>
<div class="section">
<h2 id="reading-link-template-headers"><a class="headerlink" href="#reading-link-template-headers" title="Permalink to this headline">Reading Link-Template Headers</a></h2>
<p>When consuming third-party APIs, use the new <code translate="no" class="notranslate">LinkTemplateHeaderParser</code> class
to turn the header back into <code translate="no" class="notranslate">Link</code> objects:</p>
<div translate="no" data-loc="9" class="notranslate codeblock codeblock-length-sm codeblock-php">
        <div class="codeblock-scroll">
        
        <pre class="codeblock-code"><code><span class="hljs-keyword">use</span> <span class="hljs-title">Symfony</span>\<span class="hljs-title">Component</span>\<span class="hljs-title">WebLink</span>\<span class="hljs-title">LinkTemplateHeaderParser</span>;

<span class="hljs-comment">// $response is the HttpClient response of the request made to the API</span>
<span class="hljs-variable"><span class="hljs-variable-other-marker">$</span>headers</span> = <span class="hljs-variable"><span class="hljs-variable-other-marker">$</span>response</span>-&gt;<span class="hljs-title invoke__">getHeaders</span>()[<span class="hljs-string">'link-template'</span>] ?? [];
<span class="hljs-variable"><span class="hljs-variable-other-marker">$</span>links</span> = <span class="hljs-keyword">new</span> <span class="hljs-title invoke__">LinkTemplateHeaderParser</span>()-&gt;<span class="hljs-title invoke__">parse</span>(<span class="hljs-variable"><span class="hljs-variable-other-marker">$</span>headers</span>)-&gt;<span class="hljs-title invoke__">getLinks</span>();

<span class="hljs-variable"><span class="hljs-variable-other-marker">$</span>links</span>[<span class="hljs-number">0</span>]-&gt;<span class="hljs-title invoke__">getHref</span>();     <span class="hljs-comment">// '/users/{id}'</span>
<span class="hljs-variable"><span class="hljs-variable-other-marker">$</span>links</span>[<span class="hljs-number">0</span>]-&gt;<span class="hljs-title invoke__">isTemplated</span>(); <span class="hljs-comment">// true</span>
<span class="hljs-variable"><span class="hljs-variable-other-marker">$</span>links</span>[<span class="hljs-number">0</span>]-&gt;<span class="hljs-title invoke__">getRels</span>();     <span class="hljs-comment">// ['item']</span></code></pre>
    </div>
</div>
</div>
<div class="section">
<h2 id="publishing-link-sets"><a class="headerlink" href="#publishing-link-sets" title="Permalink to this headline">Publishing Link Sets</a></h2>
<p>Headers are not always the right place for links: there may be too many of them,
or you may want to publish them without making clients request each resource.
A <em>link set</em> is a collection of links published as a <strong>standalone document</strong>.
For example, <a href="https://www.rfc-editor.org/rfc/rfc9727.html" class="reference external" rel="external noopener noreferrer" target="_blank">RFC 9727</a> uses link sets to list the APIs of a host at the
<code translate="no" class="notranslate">/.well-known/api-catalog</code> URL.</p>
<p>RFC 9264 defines two formats for these documents. The <code translate="no" class="notranslate">application/linkset</code>
format uses the same syntax as the <code translate="no" class="notranslate">Link</code> header, so the existing serializer
and parser already handle it. For the <code translate="no" class="notranslate">application/linkset+json</code> format,
inject the new <code translate="no" class="notranslate">JsonLinksetSerializer</code> class in your services and controllers:</p>
<div translate="no" data-loc="30" class="notranslate codeblock codeblock-length-md codeblock-php">
        <div class="codeblock-scroll">
        
        <pre class="codeblock-code"><code><span class="hljs-comment">// src/Controller/ApiCatalogController.php</span>
<span class="hljs-keyword">namespace</span> <span class="hljs-title">App</span>\<span class="hljs-title">Controller</span>;

<span class="hljs-keyword">use</span> <span class="hljs-title">Symfony</span>\<span class="hljs-title">Component</span>\<span class="hljs-title">HttpFoundation</span>\<span class="hljs-title">Response</span>;
<span class="hljs-keyword">use</span> <span class="hljs-title">Symfony</span>\<span class="hljs-title">Component</span>\<span class="hljs-title">Routing</span>\<span class="hljs-title">Attribute</span>\<span class="hljs-title">Route</span>;
<span class="hljs-keyword">use</span> <span class="hljs-title">Symfony</span>\<span class="hljs-title">Component</span>\<span class="hljs-title">WebLink</span>\<span class="hljs-title">JsonLinksetSerializer</span>;
<span class="hljs-keyword">use</span> <span class="hljs-title">Symfony</span>\<span class="hljs-title">Component</span>\<span class="hljs-title">WebLink</span>\<span class="hljs-title">Link</span>;

<span class="hljs-class"><span class="hljs-keyword">class</span> <span class="hljs-title">ApiCatalogController</span>
</span>{
    <span class="hljs-meta">#[Route(<span class="hljs-string">'/.well-known/api-catalog'</span>, <span class="hljs-attr">name</span>: <span class="hljs-string">'api_catalog'</span>)]</span>
    <span class="hljs-keyword">public</span> <span class="hljs-function"><span class="hljs-keyword">function</span> <span class="hljs-title">__invoke</span><span class="hljs-params">(JsonLinksetSerializer <span class="hljs-variable"><span class="hljs-variable-other-marker">$</span>serializer</span>)</span>: <span class="hljs-title">Response</span>
    </span>{
        <span class="hljs-variable"><span class="hljs-variable-other-marker">$</span>links</span> = [
            <span class="hljs-keyword">new</span> <span class="hljs-title invoke__">Link</span>(Link::<span class="hljs-variable constant_">REL_SERVICE_DESC</span>, <span class="hljs-string">'https://example.com/api/books/openapi.yaml'</span>)
                -&gt;<span class="hljs-title invoke__">withAttribute</span>(<span class="hljs-string">'anchor'</span>, <span class="hljs-string">'https://example.com/api/books'</span>)
                -&gt;<span class="hljs-title invoke__">withAttribute</span>(<span class="hljs-string">'type'</span>, <span class="hljs-string">'application/yaml'</span>),
            <span class="hljs-keyword">new</span> <span class="hljs-title invoke__">Link</span>(Link::<span class="hljs-variable constant_">REL_SERVICE_DOC</span>, <span class="hljs-string">'https://example.com/docs/books'</span>)
                -&gt;<span class="hljs-title invoke__">withAttribute</span>(<span class="hljs-string">'anchor'</span>, <span class="hljs-string">'https://example.com/api/books'</span>)
                -&gt;<span class="hljs-title invoke__">withAttribute</span>(<span class="hljs-string">'type'</span>, <span class="hljs-string">'text/html'</span>),
        ];

        <span class="hljs-comment">// the second argument is an optional bitmask of json_encode() options</span>
        <span class="hljs-variable"><span class="hljs-variable-other-marker">$</span>document</span> = <span class="hljs-variable"><span class="hljs-variable-other-marker">$</span>serializer</span>-&gt;<span class="hljs-title invoke__">serialize</span>(<span class="hljs-variable"><span class="hljs-variable-other-marker">$</span>links</span>, \JSON_UNESCAPED_SLASHES);

        <span class="hljs-keyword">return</span> <span class="hljs-keyword">new</span> <span class="hljs-title invoke__">Response</span>(<span class="hljs-variable"><span class="hljs-variable-other-marker">$</span>document</span>, <span class="hljs-attr">headers</span>: [
            <span class="hljs-string">'Content-Type'</span> =&gt; <span class="hljs-string">'application/linkset+json; profile="https://www.rfc-editor.org/info/rfc9727"'</span>,
        ]);
    }
}</code></pre>
    </div>
</div>
<p>In the resulting document (formatted here for readability), links are grouped by
link context (their <code translate="no" class="notranslate">anchor</code> attribute) and then by relation type:</p>
<div translate="no" data-loc="19" class="notranslate codeblock codeblock-length-md codeblock-json">
        <div class="codeblock-scroll">
        
        <pre class="codeblock-code"><code>{
    <span class="hljs-attr">"linkset"</span>: [
        {
            <span class="hljs-attr">"anchor"</span>: <span class="hljs-string">"https://example.com/api/books"</span>,
            <span class="hljs-attr">"service-desc"</span>: [
                {
                    <span class="hljs-attr">"href"</span>: <span class="hljs-string">"https://example.com/api/books/openapi.yaml"</span>,
                    <span class="hljs-attr">"type"</span>: <span class="hljs-string">"application/yaml"</span>
                }
            ],
            <span class="hljs-attr">"service-doc"</span>: [
                {
                    <span class="hljs-attr">"href"</span>: <span class="hljs-string">"https://example.com/docs/books"</span>,
                    <span class="hljs-attr">"type"</span>: <span class="hljs-string">"text/html"</span>
                }
            ]
        }
    ]
}</code></pre>
    </div>
</div>
</div>
<div class="section">
<h2 id="reading-and-advertising-link-sets"><a class="headerlink" href="#reading-and-advertising-link-sets" title="Permalink to this headline">Reading and Advertising Link Sets</a></h2>
<p>Use the new <code translate="no" class="notranslate">JsonLinksetParser</code> class to read link set documents:</p>
<div translate="no" data-loc="8" class="notranslate codeblock codeblock-length-sm codeblock-php">
        <div class="codeblock-scroll">
        
        <pre class="codeblock-code"><code><span class="hljs-keyword">use</span> <span class="hljs-title">Symfony</span>\<span class="hljs-title">Component</span>\<span class="hljs-title">WebLink</span>\<span class="hljs-title">JsonLinksetParser</span>;

<span class="hljs-variable"><span class="hljs-variable-other-marker">$</span>links</span> = <span class="hljs-keyword">new</span> <span class="hljs-title invoke__">JsonLinksetParser</span>()-&gt;<span class="hljs-title invoke__">parse</span>(<span class="hljs-variable"><span class="hljs-variable-other-marker">$</span>document</span>)-&gt;<span class="hljs-title invoke__">getLinks</span>();

<span class="hljs-variable"><span class="hljs-variable-other-marker">$</span>links</span>[<span class="hljs-number">0</span>]-&gt;<span class="hljs-title invoke__">getHref</span>(); <span class="hljs-comment">// 'https://example.com/api/books/openapi.yaml'</span>
<span class="hljs-variable"><span class="hljs-variable-other-marker">$</span>links</span>[<span class="hljs-number">0</span>]-&gt;<span class="hljs-title invoke__">getRels</span>(); <span class="hljs-comment">// ['service-desc']</span>
<span class="hljs-comment">// ['anchor' =&gt; 'https://example.com/api/books', 'type' =&gt; 'application/yaml']</span>
<span class="hljs-variable"><span class="hljs-variable-other-marker">$</span>links</span>[<span class="hljs-number">0</span>]-&gt;<span class="hljs-title invoke__">getAttributes</span>();</code></pre>
    </div>
</div>
<p>Finally, to tell clients that a resource has a link set, add a link with the
<code translate="no" class="notranslate">linkset</code> relation type to its response:</p>
<div translate="no" data-loc="2" class="notranslate codeblock codeblock-length-sm codeblock-php">
        <div class="codeblock-scroll">
        
        <pre class="codeblock-code"><code><span class="hljs-variable"><span class="hljs-variable-other-marker">$</span>this</span>-&gt;<span class="hljs-title invoke__">addLink</span>(<span class="hljs-variable"><span class="hljs-variable-other-marker">$</span>request</span>, <span class="hljs-keyword">new</span> <span class="hljs-title invoke__">Link</span>(Link::<span class="hljs-variable constant_">REL_LINKSET</span>, <span class="hljs-string">'/books/1234/links'</span>)
    -&gt;<span class="hljs-title invoke__">withAttribute</span>(<span class="hljs-string">'type'</span>, <span class="hljs-string">'application/linkset+json'</span>));</code></pre>
    </div>
</div>
</div>
                <hr style="margin-bottom: 5px" />
                <div style="font-size: 90%">
                    <a href="https://symfony.com/sponsor">Sponsor</a> the Symfony project.
                </div>
            ]]></content:encoded>
            <guid isPermaLink="false">https://symfony.com/blog/new-in-symfony-8-2-link-sets-and-link-templates?utm_source=Symfony%20Blog%20Feed&amp;utm_medium=feed</guid>
            <dc:creator><![CDATA[ Javier Eguiluz ]]></dc:creator>
            <pubDate>Sat, 14 Nov 2026 09:03:00 +0100</pubDate>
            <comments>https://symfony.com/blog/new-in-symfony-8-2-link-sets-and-link-templates?utm_source=Symfony%20Blog%20Feed&amp;utm_medium=feed#comments-list</comments>
        </item>
                        <item>
            <title>Symfony 8.2.0-BETA2 released</title>
            <link>https://symfony.com/blog/symfony-8-2-0-beta2-released?utm_source=Symfony%20Blog%20Feed&amp;utm_medium=feed</link>
            <description>Symfony 8.2.0-BETA2 has just been released.
This is a pre-release version of Symfony 8.2. If you want to test it
in your own applications before its final release, run the following commands:

        
        1
2
3
        $ composer config minimum-stability…</description>
            <content:encoded><![CDATA[
                                <p><a href="https://github.com/symfony/symfony/releases/tag/v8.2.0-BETA2" class="reference external" rel="external noopener noreferrer" target="_blank">Symfony 8.2.0-BETA2</a> has just been released.</p>
<p>This is a pre-release version of Symfony 8.2. If you want to test it
in your own applications before its final release, run the following commands:</p>
<div translate="no" data-loc="3" class="notranslate codeblock codeblock-length-sm codeblock-terminal codeblock-bash">
        <div class="codeblock-scroll">
        
        <pre class="codeblock-code"><code><span class="hljs-prompt">$ </span>composer config minimum-stability beta
<span class="hljs-prompt">$ </span>composer config extra.symfony.require <span class="hljs-string">"8.2.*"</span>
<span class="hljs-prompt">$ </span>composer update</code></pre>
    </div>
</div>
<p>These commands assume that all your Symfony dependencies in <code translate="no" class="notranslate">composer.json</code>
use <code translate="no" class="notranslate">*</code> as their version constraint. Otherwise, you will need to update
the version constraints of those Symfony dependencies to <code translate="no" class="notranslate">8.2.*</code>.</p>
<p>Read the <a href="https://symfony.com/doc/current/setup/upgrade_major.html" class="reference external">Symfony upgrade guide</a> to learn more about upgrading Symfony
and use the <a href="https://insight.symfony.com/" class="reference external">SymfonyInsight upgrade reports</a> to detect the code you will
need to change in your project.</p>
<div class="admonition admonition-tip ">
    <p class="admonition-title">
                    <svg xmlns="http://www.w3.org/2000/svg" fill="none" width="24" height="24" viewBox="0 0 24 24" stroke="currentColor"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9.663 17h4.673M12 3v1m6.364 1.636l-.707.707M21 12h-1M4 12H3m3.343-5.657l-.707-.707m2.828 9.9a5 5 0 117.072 0l-.548.547A3.374 3.374 0 0014 18.469V19a2 2 0 11-4 0v-.531c0-.895-.356-1.754-.988-2.386l-.548-.547z"></path></svg>
                <span>Tip</span>
    </p><p>Want to be notified whenever a new Symfony release is published? Or when a
version is not maintained anymore? Or only when a security issue is fixed?
Consider <a href="https://symfony.com/account/notifications" class="reference external">subscribing to the Symfony Roadmap Notifications</a>.</p>
</div>
<div class="section">
<h2 id="changelog-since-symfony-8-2-0-beta1"><a class="headerlink" href="#changelog-since-symfony-8-2-0-beta1" title="Permalink to this headline">Changelog Since Symfony 8.2.0-BETA1</a></h2>
<div class="section">
<h3 id="assetmapper"><a class="headerlink" href="#assetmapper" title="Permalink to this headline">AssetMapper</a></h3>
<ul>
    <li>bug <a href="https://github.com/symfony/symfony/pull/68081" class="reference external" rel="external noopener noreferrer" target="_blank">#68081</a> [AssetMapper] Fix comparing 0.x and pre-release versions in <a href="importmap:outdated" class="reference internal">importmap:outdated</a> and <a href="importmap:audit" class="reference internal">importmap:audit</a> (@nicolas-grekas)</li>
<li>bug <a href="https://github.com/symfony/symfony/pull/68076" class="reference external" rel="external noopener noreferrer" target="_blank">#68076</a> [AssetMapper] Compare pre-releases in <a href="importmap:outdated" class="reference internal">importmap:outdated</a> (@Amoifr)</li>
<li>bug <a href="https://github.com/symfony/symfony/pull/68023" class="reference external" rel="external noopener noreferrer" target="_blank">#68023</a> [AssetMapper] Resolve the env vars of asset_mapper.server when the container is compiled (@lazerg)</li>
<li>minor <a href="https://github.com/symfony/symfony/pull/68056" class="reference external" rel="external noopener noreferrer" target="_blank">#68056</a> [AssetMapper] Backdate the meta file too in CachedMappedAssetFactoryTest (@nicolas-grekas)</li>
</ul>
</div>
<div class="section">
<h3 id="browserkit"><a class="headerlink" href="#browserkit" title="Permalink to this headline">BrowserKit</a></h3>
<ul>
    <li>bug <a href="https://github.com/symfony/symfony/pull/68061" class="reference external" rel="external noopener noreferrer" target="_blank">#68061</a> [BrowserKit][HttpClient] Don't send credentials to other origins on redirects (@nicolas-grekas)</li>
</ul>
</div>
<div class="section">
<h3 id="cache"><a class="headerlink" href="#cache" title="Permalink to this headline">Cache</a></h3>
<ul>
    <li>bug <a href="https://github.com/symfony/symfony/pull/68129" class="reference external" rel="external noopener noreferrer" target="_blank">#68129</a> [Cache][FrameworkBundle] Fix async recomputation for chains and decorated pools (@X-Coder264)</li>
<li>bug <a href="https://github.com/symfony/symfony/pull/68123" class="reference external" rel="external noopener noreferrer" target="_blank">#68123</a> [Cache] Check cache keys even when assertions are disabled (@nicolas-grekas)</li>
<li>bug <a href="https://github.com/symfony/symfony/pull/68091" class="reference external" rel="external noopener noreferrer" target="_blank">#68091</a> [Cache] Fix ChainAdapter losing the expiry of items propagated from FilesystemAdapter (@skybleak333)</li>
<li>bug <a href="https://github.com/symfony/symfony/pull/68090" class="reference external" rel="external noopener noreferrer" target="_blank">#68090</a> [Cache] Fix items without expiry read back as expiring in 2090 (@skybleak333)</li>
<li>bug <a href="https://github.com/symfony/symfony/pull/68113" class="reference external" rel="external noopener noreferrer" target="_blank">#68113</a> [Cache][Messenger][Notifier] Fix AMQP, Memcached, Ntfy and Spot-Hit misreading DSN option values (@nicolas-grekas)</li>
<li>bug <a href="https://github.com/symfony/symfony/pull/68047" class="reference external" rel="external noopener noreferrer" target="_blank">#68047</a> [Cache][Messenger] Fix Redis connections and the Beanstalkd transport reading invalid option values as 0 or false (@nicolas-grekas)</li>
<li>bug <a href="https://github.com/symfony/symfony/pull/68039" class="reference external" rel="external noopener noreferrer" target="_blank">#68039</a> [Cache][Messenger] Fix Redis connections and Messenger transports misreading integer and boolean options (@nicolas-grekas)</li>
<li>bug <a href="https://github.com/symfony/symfony/pull/68038" class="reference external" rel="external noopener noreferrer" target="_blank">#68038</a> [Cache][HttpFoundation][Lock] Fix memcached items with a TTL ending after 2038 expiring at once (@nicolas-grekas)</li>
<li>bug <a href="https://github.com/symfony/symfony/pull/67924" class="reference external" rel="external noopener noreferrer" target="_blank">#67924</a> [Cache][FrameworkBundle][Routing][Serializer][Translation][TwigBundle][Validator] Preserve legacy types of moved services (@X-Coder264)</li>
<li>bug <a href="https://github.com/symfony/symfony/pull/67850" class="reference external" rel="external noopener noreferrer" target="_blank">#67850</a> [Cache] Declare the temporary tag set as KEYS[2] in RedisTagAwareAdapter::doInvalidate() (@srebb)</li>
<li>bug <a href="https://github.com/symfony/symfony/pull/67864" class="reference external" rel="external noopener noreferrer" target="_blank">#67864</a> [Cache] Fix fetching long keys with MemcachedAdapter::getItems() (@lazerg)</li>
</ul>
</div>
<div class="section">
<h3 id="ci"><a class="headerlink" href="#ci" title="Permalink to this headline">CI</a></h3>
<ul>
    <li>minor <a href="https://github.com/symfony/symfony/pull/67930" class="reference external" rel="external noopener noreferrer" target="_blank">#67930</a> [CI] Add the repository of patched packages to components that declare their own repositories (@nicolas-grekas)</li>
</ul>
</div>
<div class="section">
<h3 id="config"><a class="headerlink" href="#config" title="Permalink to this headline">Config</a></h3>
<ul>
    <li>bug <a href="https://github.com/symfony/symfony/pull/67960" class="reference external" rel="external noopener noreferrer" target="_blank">#67960</a> [Config] Compare resource freshness with cache build start (@X-Coder264)</li>
<li>bug <a href="https://github.com/symfony/symfony/pull/67977" class="reference external" rel="external noopener noreferrer" target="_blank">#67977</a> [Config][Routing] Fix excluded paths in XML route imports and in GlobResource ids (@nicolas-grekas)</li>
<li>bug <a href="https://github.com/symfony/symfony/pull/67968" class="reference external" rel="external noopener noreferrer" target="_blank">#67968</a> [Config] Compare the content of directory entries modified in the same second as the cache (@nicolas-grekas)</li>
<li>bug <a href="https://github.com/symfony/symfony/pull/67952" class="reference external" rel="external noopener noreferrer" target="_blank">#67952</a> [Config] Fix DirectoryResource checking the parent directory on Windows (@nicolas-grekas)</li>
<li>bug <a href="https://github.com/symfony/symfony/pull/67927" class="reference external" rel="external noopener noreferrer" target="_blank">#67927</a> [Config] Fix EnumNode error messages for INF, NAN and enum cases without a backing value (@nicolas-grekas)</li>
<li>bug <a href="https://github.com/symfony/symfony/pull/67911" class="reference external" rel="external noopener noreferrer" target="_blank">#67911</a> [Config] Do not treat NAN as a placeholder (@haraldpdl)</li>
<li>minor <a href="https://github.com/symfony/symfony/pull/68033" class="reference external" rel="external noopener noreferrer" target="_blank">#68033</a> [Config] Tell in config references when env vars are resolved at compile time (@nicolas-grekas)</li>
</ul>
</div>
<div class="section">
<h3 id="console"><a class="headerlink" href="#console" title="Permalink to this headline">Console</a></h3>
<ul>
    <li>bug <a href="https://github.com/symfony/symfony/pull/67934" class="reference external" rel="external noopener noreferrer" target="_blank">#67934</a> [Console] Fix formatting and wrapping text with escaped tag delimiters (@nicolas-grekas)</li>
<li>bug <a href="https://github.com/symfony/symfony/pull/67903" class="reference external" rel="external noopener noreferrer" target="_blank">#67903</a> [Console] Fix wrapping escaped tags and text wider than 138 columns (@nicolas-grekas)</li>
<li>bug <a href="https://github.com/symfony/symfony/pull/67897" class="reference external" rel="external noopener noreferrer" target="_blank">#67897</a> [Console] Fix the width of tags and URLs when wrapping text (@nicolas-grekas)</li>
<li>bug <a href="https://github.com/symfony/symfony/pull/67890" class="reference external" rel="external noopener noreferrer" target="_blank">#67890</a> [Console] Count wide characters as two columns when wrapping and truncating (@b84330808)</li>
</ul>
</div>
<div class="section">
<h3 id="dependencyinjection"><a class="headerlink" href="#dependencyinjection" title="Permalink to this headline">DependencyInjection</a></h3>
<ul>
    <li>bug <a href="https://github.com/symfony/symfony/pull/67976" class="reference external" rel="external noopener noreferrer" target="_blank">#67976</a> [DependencyInjection][Routing] Track the glob resource of import() so new files are detected (@abp002)</li>
<li>bug <a href="https://github.com/symfony/symfony/pull/67975" class="reference external" rel="external noopener noreferrer" target="_blank">#67975</a> [DependencyInjection][Routing][Translation] Track loaded files before reading them (@nicolas-grekas)</li>
<li>bug <a href="https://github.com/symfony/symfony/pull/67970" class="reference external" rel="external noopener noreferrer" target="_blank">#67970</a> [DependencyInjection] Fix parent::buildContainer() tracking the default bundles.php of a MicroKernelTrait kernel (@nicolas-grekas)</li>
<li>bug <a href="https://github.com/symfony/symfony/pull/67938" class="reference external" rel="external noopener noreferrer" target="_blank">#67938</a> [DependencyInjection][HttpKernel] Fix type-hinting file_locator and services_resetter with their deprecated HttpKernel types (@nicolas-grekas)</li>
<li>bug <a href="https://github.com/symfony/symfony/pull/67861" class="reference external" rel="external noopener noreferrer" target="_blank">#67861</a> [DependencyInjection] Fix resolving env placeholders with many env vars (@simoheinonen)</li>
<li>minor <a href="https://github.com/symfony/symfony/pull/68137" class="reference external" rel="external noopener noreferrer" target="_blank">#68137</a> [DependencyInjection] Fix attribute configurator phpdoc rejecting narrowed reflectors (@HypeMC)</li>
</ul>
</div>
<div class="section">
<h3 id="doctrinebridge"><a class="headerlink" href="#doctrinebridge" title="Permalink to this headline">DoctrineBridge</a></h3>
<ul>
    <li>bug <a href="https://github.com/symfony/symfony/pull/68142" class="reference external" rel="external noopener noreferrer" target="_blank">#68142</a> [DoctrineBridge] Fix UniqueEntity default error path when fields is a mapping (@lazerg)</li>
<li>minor <a href="https://github.com/symfony/symfony/pull/68104" class="reference external" rel="external noopener noreferrer" target="_blank">#68104</a> [DoctrineBridge] Use the schema editor API of Doctrine ORM in tests (@nicolas-grekas)</li>
</ul>
</div>
<div class="section">
<h3 id="finder"><a class="headerlink" href="#finder" title="Permalink to this headline">Finder</a></h3>
<ul>
    <li>bug <a href="https://github.com/symfony/symfony/pull/67926" class="reference external" rel="external noopener noreferrer" target="_blank">#67926</a> [Finder] Fix Glob::toRegex() when the delimiter is a slash (@nicolas-grekas)</li>
<li>bug <a href="https://github.com/symfony/symfony/pull/67915" class="reference external" rel="external noopener noreferrer" target="_blank">#67915</a> [Finder] Fix three bracket expressions Glob::toRegex() gets wrong (@KalimeroMK)</li>
</ul>
</div>
<div class="section">
<h3 id="form"><a class="headerlink" href="#form" title="Permalink to this headline">Form</a></h3>
<ul>
    <li>bug <a href="https://github.com/symfony/symfony/pull/67962" class="reference external" rel="external noopener noreferrer" target="_blank">#67962</a> [Form] Review Macedonian (mk) translations (@KalimeroMK)</li>
<li>bug <a href="https://github.com/symfony/symfony/pull/67865" class="reference external" rel="external noopener noreferrer" target="_blank">#67865</a> [Form] Let a validation_groups callable return false to disable validation (@KalimeroMK)</li>
<li>minor <a href="https://github.com/symfony/symfony/pull/68071" class="reference external" rel="external noopener noreferrer" target="_blank">#68071</a> [Form][Validator] Review Hungarian translations (@connorhu)</li>
<li>minor <a href="https://github.com/symfony/symfony/pull/67989" class="reference external" rel="external noopener noreferrer" target="_blank">#67989</a> [Form][Validator] Review Catalan (ca) translations (@Victor-369)</li>
<li>minor <a href="https://github.com/symfony/symfony/pull/67866" class="reference external" rel="external noopener noreferrer" target="_blank">#67866</a> [Form] Review Bulgarian (bg) translations (@alkinbg)</li>
</ul>
</div>
<div class="section">
<h3 id="frameworkbundle"><a class="headerlink" href="#frameworkbundle" title="Permalink to this headline">FrameworkBundle</a></h3>
<ul>
    <li>bug <a href="https://github.com/symfony/symfony/pull/68112" class="reference external" rel="external noopener noreferrer" target="_blank">#68112</a> [FrameworkBundle] Give the test session listener the same services as the real one (@nicolas-grekas)</li>
<li>bug <a href="https://github.com/symfony/symfony/pull/68065" class="reference external" rel="external noopener noreferrer" target="_blank">#68065</a> [FrameworkBundle][HttpClient] Match scopes against the URL without its userinfo (@nicolas-grekas)</li>
<li>bug <a href="https://github.com/symfony/symfony/pull/67891" class="reference external" rel="external noopener noreferrer" target="_blank">#67891</a> [FrameworkBundle] Lint and compile the $if expressions of #[RateLimit] (@HypeMC)</li>
<li>minor <a href="https://github.com/symfony/symfony/pull/67971" class="reference external" rel="external noopener noreferrer" target="_blank">#67971</a> [FrameworkBundle] Restore the APP_*_DIR server variables set by MicroKernelTraitTest (@nicolas-grekas)</li>
<li>minor <a href="https://github.com/symfony/symfony/pull/67899" class="reference external" rel="external noopener noreferrer" target="_blank">#67899</a> [FrameworkBundle] Check that controller.expression_language lists every Expression property of the HttpKernel attributes (@nicolas-grekas)</li>
</ul>
</div>
<div class="section">
<h3 id="htmlsanitizer"><a class="headerlink" href="#htmlsanitizer" title="Permalink to this headline">HtmlSanitizer</a></h3>
<ul>
    <li>bug <a href="https://github.com/symfony/symfony/pull/67886" class="reference external" rel="external noopener noreferrer" target="_blank">#67886</a> [HtmlSanitizer] Don't treat elements and attributes that act on the page as safe (@nicolas-grekas)</li>
<li>bug <a href="https://github.com/symfony/symfony/pull/67885" class="reference external" rel="external noopener noreferrer" target="_blank">#67885</a> [HtmlSanitizer] Block html and body in allowSafeElements() and don't let links expose window.opener (@nicolas-grekas)</li>
<li>bug <a href="https://github.com/symfony/symfony/pull/67879" class="reference external" rel="external noopener noreferrer" target="_blank">#67879</a> [HtmlSanitizer] Don't treat link, meta, plaintext and referrerpolicy as safe (@nicolas-grekas)</li>
</ul>
</div>
<div class="section">
<h3 id="httpclient"><a class="headerlink" href="#httpclient" title="Permalink to this headline">HttpClient</a></h3>
<ul>
    <li>bug <a href="https://github.com/symfony/symfony/pull/68130" class="reference external" rel="external noopener noreferrer" target="_blank">#68130</a> [HttpClient] Don't send an event source request again when its method is not idempotent (@skybleak333)</li>
<li>bug <a href="https://github.com/symfony/symfony/pull/68131" class="reference external" rel="external noopener noreferrer" target="_blank">#68131</a> [HttpClient] Fix parsing an SSE event with an empty type or an empty first data line (@skybleak333)</li>
<li>bug <a href="https://github.com/symfony/symfony/pull/68128" class="reference external" rel="external noopener noreferrer" target="_blank">#68128</a> [HttpClient] Fix CurlHttpClient resending request bodies on redirects (@nicolas-grekas)</li>
<li>bug <a href="https://github.com/symfony/symfony/pull/68125" class="reference external" rel="external noopener noreferrer" target="_blank">#68125</a> [HttpClient] Read Retry-After dates as HTTP-dates in RetryableHttpClient (@nicolas-grekas)</li>
<li>bug <a href="https://github.com/symfony/symfony/pull/68094" class="reference external" rel="external noopener noreferrer" target="_blank">#68094</a> [HttpClient] Fix taking invalid HTTP dates for valid ones (@skybleak333)</li>
<li>bug <a href="https://github.com/symfony/symfony/pull/68120" class="reference external" rel="external noopener noreferrer" target="_blank">#68120</a> [HttpClient] Don't report the user info of URLs (@nicolas-grekas)</li>
<li>bug <a href="https://github.com/symfony/symfony/pull/68109" class="reference external" rel="external noopener noreferrer" target="_blank">#68109</a> [HttpClient] Fix CachingHttpClient failing to stream no-store requests together with other requests (@nicolas-grekas)</li>
<li>bug <a href="https://github.com/symfony/symfony/pull/68114" class="reference external" rel="external noopener noreferrer" target="_blank">#68114</a> [HttpClient] Fix AmpHttpClient sending Content-Length: 0 for pipe bodies (@nicolas-grekas)</li>
<li>bug <a href="https://github.com/symfony/symfony/pull/68095" class="reference external" rel="external noopener noreferrer" target="_blank">#68095</a> [HttpClient] Fix sending an empty body when a stream body is sent again (@skybleak333, @nicolas-grekas)</li>
<li>bug <a href="https://github.com/symfony/symfony/pull/68093" class="reference external" rel="external noopener noreferrer" target="_blank">#68093</a> [HttpClient] Fix CachingHttpClient::stream() yielding a stream instead of its chunks (@skybleak333)</li>
<li>bug <a href="https://github.com/symfony/symfony/pull/67925" class="reference external" rel="external noopener noreferrer" target="_blank">#67925</a> [HttpClient] Keep the response decorated by TraceableResponse usable until it is freed (@lazerg)</li>
<li>bug <a href="https://github.com/symfony/symfony/pull/67922" class="reference external" rel="external noopener noreferrer" target="_blank">#67922</a> [HttpClient] Fix the allow list of NoPrivateNetworkHttpClient letting its whole address family through (@nicolas-grekas)</li>
<li>bug <a href="https://github.com/symfony/symfony/pull/67859" class="reference external" rel="external noopener noreferrer" target="_blank">#67859</a> [HttpClient] Reject CURLOPT_COOKIE and CURLOPT_UNRESTRICTED_AUTH in extra.curl (@nicolas-grekas)</li>
<li>bug <a href="https://github.com/symfony/symfony/pull/67851" class="reference external" rel="external noopener noreferrer" target="_blank">#67851</a> [HttpClient] Fix an inverted check in AmpResolverV5::query() (@nicolas-grekas)</li>
<li>bug <a href="https://github.com/symfony/symfony/pull/67842" class="reference external" rel="external noopener noreferrer" target="_blank">#67842</a> [HttpClient][Validator] Add the deprecated IPv6 site-local range to the private subnets (@nicolas-grekas)</li>
<li>bug <a href="https://github.com/symfony/symfony/pull/67849" class="reference external" rel="external noopener noreferrer" target="_blank">#67849</a> [HttpClient] Fix a typo in NoPrivateNetworkHttpClient (@Jontsa)</li>
<li>bug <a href="https://github.com/symfony/symfony/pull/67858" class="reference external" rel="external noopener noreferrer" target="_blank">#67858</a> [HttpClient] Use the first Location header in CurlHttpClient, like curl does (@nicolas-grekas)</li>
<li>minor <a href="https://github.com/symfony/symfony/pull/68102" class="reference external" rel="external noopener noreferrer" target="_blank">#68102</a> [HttpClient] Document that the proxy must block private destinations behind NoPrivateNetworkHttpClient (@nicolas-grekas)</li>
<li>minor <a href="https://github.com/symfony/symfony/pull/68119" class="reference external" rel="external noopener noreferrer" target="_blank">#68119</a> [HttpClient] Fix testing redirects with user info on libcurl &lt; 8.23 (@nicolas-grekas)</li>
<li>minor <a href="https://github.com/symfony/symfony/pull/67870" class="reference external" rel="external noopener noreferrer" target="_blank">#67870</a> [HttpClient] Conflict with amphp/amp &lt; 3.0.1, whose weakClosure() breaks on PHP 8.4 (@phcorp)</li>
</ul>
</div>
<div class="section">
<h3 id="httpfoundation"><a class="headerlink" href="#httpfoundation" title="Permalink to this headline">HttpFoundation</a></h3>
<ul>
    <li>bug <a href="https://github.com/symfony/symfony/pull/68121" class="reference external" rel="external noopener noreferrer" target="_blank">#68121</a> [HttpFoundation] Parse HTTP dates as RFC 9110 says (@nicolas-grekas)</li>
<li>bug <a href="https://github.com/symfony/symfony/pull/68106" class="reference external" rel="external noopener noreferrer" target="_blank">#68106</a> [HttpFoundation][RateLimiter] Fix combined limiters reporting a reset time before all their limiters are back to full capacity (@nicolas-grekas)</li>
<li>bug <a href="https://github.com/symfony/symfony/pull/67921" class="reference external" rel="external noopener noreferrer" target="_blank">#67921</a> [HttpFoundation] Check IPv4-mapped, 6to4, Teredo and NAT64 addresses as their IPv4 address in IpUtils::isPrivateIp() (@nicolas-grekas)</li>
<li>bug <a href="https://github.com/symfony/symfony/pull/67874" class="reference external" rel="external noopener noreferrer" target="_blank">#67874</a> [HttpFoundation] Cap the size of the cache of IpUtils (@nicolas-grekas)</li>
</ul>
</div>
<div class="section">
<h3 id="httpkernel"><a class="headerlink" href="#httpkernel" title="Permalink to this headline">HttpKernel</a></h3>
<ul>
    <li>bug <a href="https://github.com/symfony/symfony/pull/67985" class="reference external" rel="external noopener noreferrer" target="_blank">#67985</a> [HttpKernel] Normalize percent-encoding in the default #[RateLimit] key (@jack-worman)</li>
<li>bug <a href="https://github.com/symfony/symfony/pull/67966" class="reference external" rel="external noopener noreferrer" target="_blank">#67966</a> [HttpKernel] Fix the bundle cache dumped by parent::dumpContainer() in a MicroKernelTrait kernel (@lazerg)</li>
<li>bug <a href="https://github.com/symfony/symfony/pull/67950" class="reference external" rel="external noopener noreferrer" target="_blank">#67950</a> [HttpKernel] Fix HttpCache serving must-revalidate responses stale while another process revalidates them (@nicolas-grekas)</li>
<li>bug <a href="https://github.com/symfony/symfony/pull/67949" class="reference external" rel="external noopener noreferrer" target="_blank">#67949</a> [HttpKernel] Fix the HttpCache lock being released when another process stores the same URL (@nicolas-grekas)</li>
<li>bug <a href="https://github.com/symfony/symfony/pull/67946" class="reference external" rel="external noopener noreferrer" target="_blank">#67946</a> [HttpKernel] Fix HttpCache serving a 503 after validating a no-cache entry when the cache is locked (@nicolas-grekas)</li>
<li>bug <a href="https://github.com/symfony/symfony/pull/67944" class="reference external" rel="external noopener noreferrer" target="_blank">#67944</a> [HttpKernel] Release the cache lock when a revalidated response is not stored (@KalimeroMK)</li>
<li>bug <a href="https://github.com/symfony/symfony/pull/67847" class="reference external" rel="external noopener noreferrer" target="_blank">#67847</a> [HttpKernel][Security] Split methods on commas in #[IsGranted], #[IsCsrfTokenValid] and #[IsSignatureValid] (@nicolas-grekas)</li>
<li>minor <a href="https://github.com/symfony/symfony/pull/68152" class="reference external" rel="external noopener noreferrer" target="_blank">#68152</a> [HttpKernel] Warm property info for mapped controller arguments (@nicolas-grekas)</li>
<li>minor <a href="https://github.com/symfony/symfony/pull/67892" class="reference external" rel="external noopener noreferrer" target="_blank">#67892</a> [HttpKernel] Allow extending #[RateLimit] and #[Lock] attributes (@HypeMC)</li>
</ul>
</div>
<div class="section">
<h3 id="jsonschema"><a class="headerlink" href="#jsonschema" title="Permalink to this headline">JsonSchema</a></h3>
<ul>
    <li>feature <a href="https://github.com/symfony/symfony/pull/67853" class="reference external" rel="external noopener noreferrer" target="_blank">#67853</a> [JsonSchema] Preserve generic class arguments in schema definitions (@X-Coder264)</li>
<li>bug <a href="https://github.com/symfony/symfony/pull/68135" class="reference external" rel="external noopener noreferrer" target="_blank">#68135</a> [JsonSchema] Skip values that JSON cannot encode (@skybleak333)</li>
<li>bug <a href="https://github.com/symfony/symfony/pull/68134" class="reference external" rel="external noopener noreferrer" target="_blank">#68134</a> [JsonSchema] Use object keywords for Count, NotBlank and Choice on arrays described as objects (@skybleak333)</li>
<li>bug <a href="https://github.com/symfony/symfony/pull/68133" class="reference external" rel="external noopener noreferrer" target="_blank">#68133</a> [JsonSchema] Fix the schema of properties that have a serialized path (@skybleak333)</li>
<li>bug <a href="https://github.com/symfony/symfony/pull/67857" class="reference external" rel="external noopener noreferrer" target="_blank">#67857</a> [JsonSchema] Preserve serialized item types in list-shaped arrays (@X-Coder264)</li>
<li>minor <a href="https://github.com/symfony/symfony/pull/67954" class="reference external" rel="external noopener noreferrer" target="_blank">#67954</a> [JsonSchema] Cover untagged template inheritance with tests (@X-Coder264)</li>
</ul>
</div>
<div class="section">
<h3 id="jsonstreamer"><a class="headerlink" href="#jsonstreamer" title="Permalink to this headline">JsonStreamer</a></h3>
<ul>
    <li>bug <a href="https://github.com/symfony/symfony/pull/68004" class="reference external" rel="external noopener noreferrer" target="_blank">#68004</a> [JsonStreamer] Stop expanding generic types that get too long (@nicolas-grekas)</li>
<li>bug <a href="https://github.com/symfony/symfony/pull/67933" class="reference external" rel="external noopener noreferrer" target="_blank">#67933</a> [JsonStreamer][TypeInfo] Keep list shapes as lists (@nicolas-grekas)</li>
<li>bug <a href="https://github.com/symfony/symfony/pull/67932" class="reference external" rel="external noopener noreferrer" target="_blank">#67932</a> [JsonStreamer][TypeInfo] Fix resolving unions that repeat the same type (@nicolas-grekas)</li>
<li>bug <a href="https://github.com/symfony/symfony/pull/67931" class="reference external" rel="external noopener noreferrer" target="_blank">#67931</a> [JsonStreamer] Resolve the templates of nested generic types (@nicolas-grekas)</li>
<li>bug <a href="https://github.com/symfony/symfony/pull/67901" class="reference external" rel="external noopener noreferrer" target="_blank">#67901</a> [JsonStreamer] Resolve the templates of inherited properties when the streamed class is not generic (@nicolas-grekas)</li>
<li>bug <a href="https://github.com/symfony/symfony/pull/67855" class="reference external" rel="external noopener noreferrer" target="_blank">#67855</a> [JsonStreamer] Resolve the templates of inherited properties through @extends tags (@nicolas-grekas)</li>
</ul>
</div>
<div class="section">
<h3 id="keymanagement"><a class="headerlink" href="#keymanagement" title="Permalink to this headline">KeyManagement</a></h3>
<ul>
    <li>minor <a href="https://github.com/symfony/symfony/pull/68108" class="reference external" rel="external noopener noreferrer" target="_blank">#68108</a> [KeyManagement] Use the schema editor API of Doctrine ORM in tests (@nicolas-grekas)</li>
</ul>
</div>
<div class="section">
<h3 id="lock"><a class="headerlink" href="#lock" title="Permalink to this headline">Lock</a></h3>
<ul>
    <li>bug <a href="https://github.com/symfony/symfony/pull/68041" class="reference external" rel="external noopener noreferrer" target="_blank">#68041</a> [Lock] Fix MemcachedStore with keys that memcached rejects (@nicolas-grekas)</li>
<li>bug <a href="https://github.com/symfony/symfony/pull/68037" class="reference external" rel="external noopener noreferrer" target="_blank">#68037</a> [Lock][Semaphore] Fix RedisStore taking Predis error replies for a success (@nicolas-grekas)</li>
<li>bug <a href="https://github.com/symfony/symfony/pull/68029" class="reference external" rel="external noopener noreferrer" target="_blank">#68029</a> [Lock] Fix RedisStore taking Predis error replies for a success (@skybleak333)</li>
<li>bug <a href="https://github.com/symfony/symfony/pull/68028" class="reference external" rel="external noopener noreferrer" target="_blank">#68028</a> [Lock] Fix MemcachedStore locks with a TTL longer than 30 days expiring at once (@skybleak333)</li>
<li>bug <a href="https://github.com/symfony/symfony/pull/68027" class="reference external" rel="external noopener noreferrer" target="_blank">#68027</a> [Lock] Fix MongoDbStore::exists() failing before the store connected (@skybleak333)</li>
<li>bug <a href="https://github.com/symfony/symfony/pull/67996" class="reference external" rel="external noopener noreferrer" target="_blank">#67996</a> [Lock] Fix the PostgreSQL stores inheriting the locks of freed connections (@nicolas-grekas)</li>
<li>bug <a href="https://github.com/symfony/symfony/pull/67994" class="reference external" rel="external noopener noreferrer" target="_blank">#67994</a> [Lock] Fix DoctrineDbalPostgreSqlStore refusing locks after the session is lost (@skybleak333)</li>
<li>minor <a href="https://github.com/symfony/symfony/pull/68080" class="reference external" rel="external noopener noreferrer" target="_blank">#68080</a> [Lock] Freeze the clock in KeyTest (@nicolas-grekas)</li>
<li>minor <a href="https://github.com/symfony/symfony/pull/68031" class="reference external" rel="external noopener noreferrer" target="_blank">#68031</a> [Lock] Do not query the store when the key has no state (@GromNaN)</li>
</ul>
</div>
<div class="section">
<h3 id="mailer"><a class="headerlink" href="#mailer" title="Permalink to this headline">Mailer</a></h3>
<ul>
    <li>bug <a href="https://github.com/symfony/symfony/pull/68111" class="reference external" rel="external noopener noreferrer" target="_blank">#68111</a> [Mailer][Sweego] Do not send Bcc addresses as a header (@nicolas-grekas)</li>
<li>bug <a href="https://github.com/symfony/symfony/pull/68100" class="reference external" rel="external noopener noreferrer" target="_blank">#68100</a> [Mailer][AhaSend] Do not send Bcc addresses as a header (@Sameer1122)</li>
<li>bug <a href="https://github.com/symfony/symfony/pull/68084" class="reference external" rel="external noopener noreferrer" target="_blank">#68084</a> [Mailer][Postal] Keep the display names of the addresses (@abp002)</li>
<li>bug <a href="https://github.com/symfony/symfony/pull/68063" class="reference external" rel="external noopener noreferrer" target="_blank">#68063</a> [Mailer] Require TLS when more bridges connect with STARTTLS (@nicolas-grekas)</li>
<li>bug <a href="https://github.com/symfony/symfony/pull/68062" class="reference external" rel="external noopener noreferrer" target="_blank">#68062</a> [Mailer] Require TLS when bridges connect with STARTTLS (@nicolas-grekas)</li>
<li>bug <a href="https://github.com/symfony/symfony/pull/67979" class="reference external" rel="external noopener noreferrer" target="_blank">#67979</a> [Mailer][AhaSend] Take the Message-ID from message_id_header, without angle brackets (@Sameer1122)</li>
<li>bug <a href="https://github.com/symfony/symfony/pull/68044" class="reference external" rel="external noopener noreferrer" target="_blank">#68044</a> [Mailer][AhaSend] Use the Message-ID header as the id of messages sent over SMTP (@nicolas-grekas)</li>
<li>bug <a href="https://github.com/symfony/symfony/pull/67978" class="reference external" rel="external noopener noreferrer" target="_blank">#67978</a> [Mailer][AhaSend] Call api.ahasend.com for the API (@Sameer1122)</li>
<li>bug <a href="https://github.com/symfony/symfony/pull/67980" class="reference external" rel="external noopener noreferrer" target="_blank">#67980</a> [Mailer] Don't take a word of the SMTP reply as the message id (@nicolas-grekas)</li>
<li>minor <a href="https://github.com/symfony/symfony/pull/68117" class="reference external" rel="external noopener noreferrer" target="_blank">#68117</a> [Mailer][Notifier] Deprecate non-boolean verify_peer and auto_tls SMTP options, and validate the poll options of Instagram and Threads (@nicolas-grekas)</li>
</ul>
</div>
<div class="section">
<h3 id="messenger"><a class="headerlink" href="#messenger" title="Permalink to this headline">Messenger</a></h3>
<ul>
    <li>bug <a href="https://github.com/symfony/symfony/pull/68110" class="reference external" rel="external noopener noreferrer" target="_blank">#68110</a> [Messenger] Close AMQP connections when the transport closes (@dalerazimov)</li>
<li>bug <a href="https://github.com/symfony/symfony/pull/68012" class="reference external" rel="external noopener noreferrer" target="_blank">#68012</a> [Messenger] Close the CloseableTransportInterfaces when the worker stops (@wikando-ck)</li>
<li>bug <a href="https://github.com/symfony/symfony/pull/68045" class="reference external" rel="external noopener noreferrer" target="_blank">#68045</a> [Messenger] Fix parallel workers crashing or hanging on errors in their child processes (@nicolas-grekas)</li>
<li>bug <a href="https://github.com/symfony/symfony/pull/68043" class="reference external" rel="external noopener noreferrer" target="_blank">#68043</a> [Messenger] Fix the Redis transport ignoring the cluster option (@nicolas-grekas)</li>
<li>bug <a href="https://github.com/symfony/symfony/pull/67988" class="reference external" rel="external noopener noreferrer" target="_blank">#67988</a> [Messenger] Fix parallel workers crashing on errors that cannot be serialized (@lazerg)</li>
<li>bug <a href="https://github.com/symfony/symfony/pull/68022" class="reference external" rel="external noopener noreferrer" target="_blank">#68022</a> [Messenger] Fix RedisReceiver losing the rest of a batch when rejecting an entry without data fails (@skybleak333)</li>
<li>bug <a href="https://github.com/symfony/symfony/pull/68013" class="reference external" rel="external noopener noreferrer" target="_blank">#68013</a> [Messenger] Fix LISTEN/NOTIFY with the DBAL pgsql driver (@FluffyDiscord)</li>
<li>bug <a href="https://github.com/symfony/symfony/pull/68020" class="reference external" rel="external noopener noreferrer" target="_blank">#68020</a> [Messenger] Fix the Redis transport losing pending messages after a failed read (@skybleak333)</li>
<li>bug <a href="https://github.com/symfony/symfony/pull/67986" class="reference external" rel="external noopener noreferrer" target="_blank">#67986</a> [Messenger] Reset services after a failed parallel dispatch (@Stella050408)</li>
<li>bug <a href="https://github.com/symfony/symfony/pull/68017" class="reference external" rel="external noopener noreferrer" target="_blank">#68017</a> [Messenger] Fix the Redis keepalive check comparing milliseconds with seconds (@skybleak333)</li>
<li>bug <a href="https://github.com/symfony/symfony/pull/67993" class="reference external" rel="external noopener noreferrer" target="_blank">#67993</a> [Messenger] Keep alive the fetched messages that wait for their turn (@skybleak333)</li>
<li>bug <a href="https://github.com/symfony/symfony/pull/67987" class="reference external" rel="external noopener noreferrer" target="_blank">#67987</a> [Messenger] Fix replacing a parallel worker that reached its memory limit (@nicolas-grekas)</li>
<li>bug <a href="https://github.com/symfony/symfony/pull/67912" class="reference external" rel="external noopener noreferrer" target="_blank">#67912</a> [Messenger] Stop the worker when a signal arrives before it is created (@haraldpdl)</li>
</ul>
</div>
<div class="section">
<h3 id="mime"><a class="headerlink" href="#mime" title="Permalink to this headline">Mime</a></h3>
<ul>
    <li>bug <a href="https://github.com/symfony/symfony/pull/67871" class="reference external" rel="external noopener noreferrer" target="_blank">#67871</a> [Mime] Fix SMimeSigner splitting a CRLF across chunk boundaries (@w3dev-dk)</li>
</ul>
</div>
<div class="section">
<h3 id="notifier"><a class="headerlink" href="#notifier" title="Permalink to this headline">Notifier</a></h3>
<ul>
    <li>bug <a href="https://github.com/symfony/symfony/pull/68116" class="reference external" rel="external noopener noreferrer" target="_blank">#68116</a> [Notifier] Fix the Ntfy and Spot-Hit transports misreading secureHttp and smslongnbr (@nicolas-grekas)</li>
<li>bug <a href="https://github.com/symfony/symfony/pull/68105" class="reference external" rel="external noopener noreferrer" target="_blank">#68105</a> [Notifier][Brevo] Use the non-deprecated transactionalSMS/send endpoint (@amenophis)</li>
<li>bug <a href="https://github.com/symfony/symfony/pull/68103" class="reference external" rel="external noopener noreferrer" target="_blank">#68103</a> [Notifier][MicrosoftTeams] Fix text-only messages sent to Workflows webhooks and document their setup (@nicolas-grekas)</li>
</ul>
</div>
<div class="section">
<h3 id="objectmapper"><a class="headerlink" href="#objectmapper" title="Permalink to this headline">ObjectMapper</a></h3>
<ul>
    <li>bug <a href="https://github.com/symfony/symfony/pull/68118" class="reference external" rel="external noopener noreferrer" target="_blank">#68118</a> [ObjectMapper] Fix unmapped source properties being read needlessly (@GaryPEGEOT)</li>
<li>bug <a href="https://github.com/symfony/symfony/pull/67916" class="reference external" rel="external noopener noreferrer" target="_blank">#67916</a> [ObjectMapper] Resolve self and parent property types when inferring nested mappings (@nicolas-grekas)</li>
<li>bug <a href="https://github.com/symfony/symfony/pull/67889" class="reference external" rel="external noopener noreferrer" target="_blank">#67889</a> [ObjectMapper] Fix mapping nested objects into properties typed self or parent (@alexisLefebvre)</li>
</ul>
</div>
<div class="section">
<h3 id="propertyaccess"><a class="headerlink" href="#propertyaccess" title="Permalink to this headline">PropertyAccess</a></h3>
<ul>
    <li>bug <a href="https://github.com/symfony/symfony/pull/67902" class="reference external" rel="external noopener noreferrer" target="_blank">#67902</a> [PropertyAccess] Limit the caches that grow with the input (@nicolas-grekas)</li>
<li>minor <a href="https://github.com/symfony/symfony/pull/67937" class="reference external" rel="external noopener noreferrer" target="_blank">#67937</a> [PropertyAccess][Serializer] Declare the return type of __set() in tests (@nicolas-grekas)</li>
</ul>
</div>
<div class="section">
<h3 id="propertyinfo"><a class="headerlink" href="#propertyinfo" title="Permalink to this headline">PropertyInfo</a></h3>
<ul>
    <li>feature <a href="https://github.com/symfony/symfony/pull/68155" class="reference external" rel="external noopener noreferrer" target="_blank">#68155</a> [PropertyInfo][Serializer][Validator] Warm classes from tagged providers (@nicolas-grekas)</li>
<li>feature <a href="https://github.com/symfony/symfony/pull/67967" class="reference external" rel="external noopener noreferrer" target="_blank">#67967</a> [PropertyInfo][TypeInfo] Inherit PHPDoc types from parent classes, interfaces and abstract trait methods (@nicolas-grekas)</li>
<li>bug <a href="https://github.com/symfony/symfony/pull/68006" class="reference external" rel="external noopener noreferrer" target="_blank">#68006</a> [PropertyInfo][TypeInfo] Don't throw on docblock types with invalid array keys (@nicolas-grekas)</li>
<li>bug <a href="https://github.com/symfony/symfony/pull/67958" class="reference external" rel="external noopener noreferrer" target="_blank">#67958</a> [PropertyInfo] Fix reading the PHPDoc of abstract trait methods after a docblock on the use statement (@nicolas-grekas)</li>
<li>bug <a href="https://github.com/symfony/symfony/pull/67956" class="reference external" rel="external noopener noreferrer" target="_blank">#67956</a> [PropertyInfo] Fix reading the PHPDoc of trait members and of inherited promoted properties (@nicolas-grekas)</li>
<li>bug <a href="https://github.com/symfony/symfony/pull/67948" class="reference external" rel="external noopener noreferrer" target="_blank">#67948</a> [PropertyInfo] Fix resolving the PHPDoc types of trait methods and of classes using traits (@nicolas-grekas)</li>
<li>bug <a href="https://github.com/symfony/symfony/pull/67942" class="reference external" rel="external noopener noreferrer" target="_blank">#67942</a> [PropertyInfo] Fix resolving the PHPDoc types of trait methods (@nicolas-grekas)</li>
<li>bug <a href="https://github.com/symfony/symfony/pull/67943" class="reference external" rel="external noopener noreferrer" target="_blank">#67943</a> [PropertyInfo] Preserve inherited templates in trait contexts (@X-Coder264)</li>
<li>bug <a href="https://github.com/symfony/symfony/pull/67935" class="reference external" rel="external noopener noreferrer" target="_blank">#67935</a> [PropertyInfo] Fix resolving self, static, parent and $this with getType() and getTypeFromConstructor() (@nicolas-grekas)</li>
</ul>
</div>
<div class="section">
<h3 id="ratelimiter"><a class="headerlink" href="#ratelimiter" title="Permalink to this headline">RateLimiter</a></h3>
<ul>
    <li>bug <a href="https://github.com/symfony/symfony/pull/68088" class="reference external" rel="external noopener noreferrer" target="_blank">#68088</a> [RateLimiter] Fix TokenBucketLimiter counting the reset time from now (@skybleak333)</li>
<li>bug <a href="https://github.com/symfony/symfony/pull/68057" class="reference external" rel="external noopener noreferrer" target="_blank">#68057</a> [RateLimiter] Fix RateLimit::wait() for delays over 35 minutes on 32-bit platforms (@nicolas-grekas)</li>
<li>bug <a href="https://github.com/symfony/symfony/pull/68040" class="reference external" rel="external noopener noreferrer" target="_blank">#68040</a> [RateLimiter] Fix CompoundLimiter telling to retry before all its limiters accept the hit again (@nicolas-grekas)</li>
<li>bug <a href="https://github.com/symfony/symfony/pull/68021" class="reference external" rel="external noopener noreferrer" target="_blank">#68021</a> [RateLimiter] Fix SlidingWindowLimiter letting reservations through faster than the limit (@skybleak333)</li>
<li>bug <a href="https://github.com/symfony/symfony/pull/68019" class="reference external" rel="external noopener noreferrer" target="_blank">#68019</a> [RateLimiter] Fix TokenBucketLimiter counting the wait for the next tokens from now (@skybleak333)</li>
<li>bug <a href="https://github.com/symfony/symfony/pull/68016" class="reference external" rel="external noopener noreferrer" target="_blank">#68016</a> [RateLimiter] Fix CompoundLimiter accepting a hit that one limiter refused (@skybleak333)</li>
</ul>
</div>
<div class="section">
<h3 id="routing"><a class="headerlink" href="#routing" title="Permalink to this headline">Routing</a></h3>
<ul>
    <li>bug <a href="https://github.com/symfony/symfony/pull/68143" class="reference external" rel="external noopener noreferrer" target="_blank">#68143</a> [Routing] Reject route parameters named or mapped to "_firewall" and "_firewall_context" (@nicolas-grekas)</li>
<li>bug <a href="https://github.com/symfony/symfony/pull/68018" class="reference external" rel="external noopener noreferrer" target="_blank">#68018</a> [Routing] Fix compiled matchers accepting extra trailing slashes on static routes (@nicolas-grekas)</li>
<li>bug <a href="https://github.com/symfony/symfony/pull/68003" class="reference external" rel="external noopener noreferrer" target="_blank">#68003</a> [Routing] Use the host value of variables that are both in the host and the path in compiled matchers (@nicolas-grekas)</li>
<li>bug <a href="https://github.com/symfony/symfony/pull/68014" class="reference external" rel="external noopener noreferrer" target="_blank">#68014</a> [Routing] Fix the order of routes with host variables in compiled matchers (@nicolas-grekas)</li>
<li>bug <a href="https://github.com/symfony/symfony/pull/68002" class="reference external" rel="external noopener noreferrer" target="_blank">#68002</a> [Routing] Make named groups in requirements non-capturing, like unnamed ones (@nicolas-grekas)</li>
<li>bug <a href="https://github.com/symfony/symfony/pull/67947" class="reference external" rel="external noopener noreferrer" target="_blank">#67947</a> [Routing][TwigBundle] Keep routing.loader a DelegatingLoader in apps that use TwigBundle (@nicolas-grekas)</li>
<li>bug <a href="https://github.com/symfony/symfony/pull/67929" class="reference external" rel="external noopener noreferrer" target="_blank">#67929</a> [Routing] Prevent {_route} host placeholders from matching the path in compiled matchers (@nicolas-grekas)</li>
</ul>
</div>
<div class="section">
<h3 id="runtime"><a class="headerlink" href="#runtime" title="Permalink to this headline">Runtime</a></h3>
<ul>
    <li>bug <a href="https://github.com/symfony/symfony/pull/68107" class="reference external" rel="external noopener noreferrer" target="_blank">#68107</a> [Runtime] Reset the memory peak between FrankenPHP worker requests (@polem)</li>
</ul>
</div>
<div class="section">
<h3 id="scheduler"><a class="headerlink" href="#scheduler" title="Permalink to this headline">Scheduler</a></h3>
<ul>
    <li>bug <a href="https://github.com/symfony/symfony/pull/68089" class="reference external" rel="external noopener noreferrer" target="_blank">#68089</a> [Scheduler] Fix a message added to a running schedule running all its earlier slots at once (@skybleak333)</li>
<li>bug <a href="https://github.com/symfony/symfony/pull/68034" class="reference external" rel="external noopener noreferrer" target="_blank">#68034</a> [Scheduler] Fix losing or repeating runs, and truncating float intervals (@nicolas-grekas)</li>
<li>bug <a href="https://github.com/symfony/symfony/pull/68026" class="reference external" rel="external noopener noreferrer" target="_blank">#68026</a> [Scheduler] Fix ISO 8601 intervals with days, weeks or months being counted as a fixed number of seconds (@skybleak333)</li>
<li>bug <a href="https://github.com/symfony/symfony/pull/68025" class="reference external" rel="external noopener noreferrer" target="_blank">#68025</a> [Scheduler] Fix cron triggers without a timezone taking the one of the last run after a restart (@skybleak333)</li>
<li>bug <a href="https://github.com/symfony/symfony/pull/68030" class="reference external" rel="external noopener noreferrer" target="_blank">#68030</a> [Scheduler] Fix the worker crashing when its lock expired during a long run (@skybleak333)</li>
</ul>
</div>
<div class="section">
<h3 id="security"><a class="headerlink" href="#security" title="Permalink to this headline">Security</a></h3>
<ul>
    <li>bug <a href="https://github.com/symfony/symfony/pull/68144" class="reference external" rel="external noopener noreferrer" target="_blank">#68144</a> [Security] Refuse DPoP-bound access tokens presented as bearer tokens (@nicolas-grekas)</li>
<li>bug <a href="https://github.com/symfony/symfony/pull/68078" class="reference external" rel="external noopener noreferrer" target="_blank">#68078</a> [Security][SecurityBundle] Fix profiles listing the access decisions of previous requests (@nicolas-grekas)</li>
<li>bug <a href="https://github.com/symfony/symfony/pull/68008" class="reference external" rel="external noopener noreferrer" target="_blank">#68008</a> [Security] Count login attempts before checking their credentials (@nicolas-grekas)</li>
<li>bug <a href="https://github.com/symfony/symfony/pull/68010" class="reference external" rel="external noopener noreferrer" target="_blank">#68010</a> [Security] Limit login attempts of IPv6 clients by their /64 network (@nicolas-grekas)</li>
<li>bug <a href="https://github.com/symfony/symfony/pull/68007" class="reference external" rel="external noopener noreferrer" target="_blank">#68007</a> [Security] Keep the IP limit of login throttling on successful logins (@nicolas-grekas)</li>
<li>bug <a href="https://github.com/symfony/symfony/pull/67991" class="reference external" rel="external noopener noreferrer" target="_blank">#67991</a> [Security] Remove accents and invisible characters from login throttling keys (@nicolas-grekas)</li>
<li>bug <a href="https://github.com/symfony/symfony/pull/67845" class="reference external" rel="external noopener noreferrer" target="_blank">#67845</a> [Security] Fix the login throttling message announcing one minute too many (@lazerg)</li>
<li>bug <a href="https://github.com/symfony/symfony/pull/67875" class="reference external" rel="external noopener noreferrer" target="_blank">#67875</a> [Security] Reject X509 DNs whose identifier attribute appears more than once (@nicolas-grekas)</li>
<li>bug <a href="https://github.com/symfony/symfony/pull/67876" class="reference external" rel="external noopener noreferrer" target="_blank">#67876</a> [Security] Clear the pre-authenticated token when REMOTE_USER is empty (@nicolas-grekas)</li>
</ul>
</div>
<div class="section">
<h3 id="securitybundle"><a class="headerlink" href="#securitybundle" title="Permalink to this headline">SecurityBundle</a></h3>
<ul>
    <li>feature <a href="https://github.com/symfony/symfony/pull/67963" class="reference external" rel="external noopener noreferrer" target="_blank">#67963</a> [SecurityBundle] Default the audience of the oidc and oauth2 token handlers to the resource of resource_metadata (@KalimeroMK)</li>
<li>bug <a href="https://github.com/symfony/symfony/pull/68098" class="reference external" rel="external noopener noreferrer" target="_blank">#68098</a> [SecurityBundle] Avoid unintended session usage with remember-me on stateless routes (@isihussain)</li>
<li>bug <a href="https://github.com/symfony/symfony/pull/68075" class="reference external" rel="external noopener noreferrer" target="_blank">#68075</a> [SecurityBundle] Put the listeners of a lazy firewall context back after tracing them (@Amoifr)</li>
</ul>
</div>
<div class="section">
<h3 id="semaphore"><a class="headerlink" href="#semaphore" title="Permalink to this headline">Semaphore</a></h3>
<ul>
    <li>bug <a href="https://github.com/symfony/symfony/pull/68042" class="reference external" rel="external noopener noreferrer" target="_blank">#68042</a> [Semaphore] Fix RedisStore expiring semaphores too early (@nicolas-grekas)</li>
<li>bug <a href="https://github.com/symfony/symfony/pull/68011" class="reference external" rel="external noopener noreferrer" target="_blank">#68011</a> [Semaphore] Fix LockStore::save() trusting slots that were lost on the backend (@skybleak333)</li>
</ul>
</div>
<div class="section">
<h3 id="serializer"><a class="headerlink" href="#serializer" title="Permalink to this headline">Serializer</a></h3>
<ul>
    <li>bug <a href="https://github.com/symfony/symfony/pull/67913" class="reference external" rel="external noopener noreferrer" target="_blank">#67913</a> [Serializer] Refuse an object where an array of objects is expected (@haraldpdl)</li>
<li>bug <a href="https://github.com/symfony/symfony/pull/67883" class="reference external" rel="external noopener noreferrer" target="_blank">#67883</a> [Serializer] Don't read untyped attributes with deep_object_to_populate (@nicolas-grekas)</li>
<li>bug <a href="https://github.com/symfony/symfony/pull/67878" class="reference external" rel="external noopener noreferrer" target="_blank">#67878</a> [Serializer] Don't call methods named after the attributes being denormalized (@nicolas-grekas)</li>
<li>bug <a href="https://github.com/symfony/symfony/pull/67887" class="reference external" rel="external noopener noreferrer" target="_blank">#67887</a> [Serializer][Templating] Limit more caches that grow with the input (@nicolas-grekas)</li>
<li>bug <a href="https://github.com/symfony/symfony/pull/67888" class="reference external" rel="external noopener noreferrer" target="_blank">#67888</a> [Serializer] Limit the caches that grow with unknown keys (@nicolas-grekas)</li>
<li>bug <a href="https://github.com/symfony/symfony/pull/67884" class="reference external" rel="external noopener noreferrer" target="_blank">#67884</a> [Serializer][Templating] Limit the caches that grow with each input value (@nicolas-grekas)</li>
<li>bug <a href="https://github.com/symfony/symfony/pull/67882" class="reference external" rel="external noopener noreferrer" target="_blank">#67882</a> [Serializer] Apply ignored attributes to setter and adder aliases (@nicolas-grekas)</li>
<li>bug <a href="https://github.com/symfony/symfony/pull/67877" class="reference external" rel="external noopener noreferrer" target="_blank">#67877</a> [Serializer] Ignore undeclared property paths with brackets (@nicolas-grekas)</li>
</ul>
</div>
<div class="section">
<h3 id="translation"><a class="headerlink" href="#translation" title="Permalink to this headline">Translation</a></h3>
<ul>
    <li>minor <a href="https://github.com/symfony/symfony/pull/67957" class="reference external" rel="external noopener noreferrer" target="_blank">#67957</a> [Translation] Add the license terms of the XML schemas (@nicolas-grekas)</li>
</ul>
</div>
<div class="section">
<h3 id="tui"><a class="headerlink" href="#tui" title="Permalink to this headline">Tui</a></h3>
<ul>
    <li>bug <a href="https://github.com/symfony/symfony/pull/67997" class="reference external" rel="external noopener noreferrer" target="_blank">#67997</a> [Tui] Don't leave a style open at the end of a wrapped line (@nicolas-grekas)</li>
<li>bug <a href="https://github.com/symfony/symfony/pull/67998" class="reference external" rel="external noopener noreferrer" target="_blank">#67998</a> [Tui] Close a hyperlink at the end of a wrapped line and reopen it on the next one (@phcorp)</li>
<li>bug <a href="https://github.com/symfony/symfony/pull/67995" class="reference external" rel="external noopener noreferrer" target="_blank">#67995</a> [Tui] Don't carry a style that ends where a line wraps over to the next line (@phcorp)</li>
<li>bug <a href="https://github.com/symfony/symfony/pull/67893" class="reference external" rel="external noopener noreferrer" target="_blank">#67893</a> [Tui] Restore inherited styles after a styled sub-element (@nicolas-grekas)</li>
<li>bug <a href="https://github.com/symfony/symfony/pull/67869" class="reference external" rel="external noopener noreferrer" target="_blank">#67869</a> [Tui] Keep styled underlines (SGR 4:n) on wrapped lines (@phcorp)</li>
<li>bug <a href="https://github.com/symfony/symfony/pull/67868" class="reference external" rel="external noopener noreferrer" target="_blank">#67868</a> [Tui] Restore the widget style after a sub-element styled with applyElement() (@phcorp)</li>
<li>bug <a href="https://github.com/symfony/symfony/pull/67867" class="reference external" rel="external noopener noreferrer" target="_blank">#67867</a> [Tui] Fix the tracked rects of subtrees rendered without position tracking (@phcorp)</li>
</ul>
</div>
<div class="section">
<h3 id="twigbridge"><a class="headerlink" href="#twigbridge" title="Permalink to this headline">TwigBridge</a></h3>
<ul>
    <li>bug <a href="https://github.com/symfony/symfony/pull/68086" class="reference external" rel="external noopener noreferrer" target="_blank">#68086</a> [TwigBridge] Remove required class from expanded choice option labels (@X-Coder264)</li>
<li>bug <a href="https://github.com/symfony/symfony/pull/67999" class="reference external" rel="external noopener noreferrer" target="_blank">#67999</a> [TwigBridge] Check the domain and the position of trans_default_domain ... for _self and require Twig 3.29 (@nicolas-grekas)</li>
</ul>
</div>
<div class="section">
<h3 id="typeinfo"><a class="headerlink" href="#typeinfo" title="Permalink to this headline">TypeInfo</a></h3>
<ul>
    <li>feature <a href="https://github.com/symfony/symfony/pull/67856" class="reference external" rel="external noopener noreferrer" target="_blank">#67856</a> [TypeInfo][Serializer][JsonStreamer] Resolve templates inherited through @extends, @implements and @use tags (@nicolas-grekas)</li>
<li>bug <a href="https://github.com/symfony/symfony/pull/68005" class="reference external" rel="external noopener noreferrer" target="_blank">#68005</a> [TypeInfo] Fix Type::fromValue() for generators that yield boolean keys (@nicolas-grekas)</li>
<li>bug <a href="https://github.com/symfony/symfony/pull/67972" class="reference external" rel="external noopener noreferrer" target="_blank">#67972</a> [TypeInfo] Fix Type::fromValue() for string keys that name a callable (@nicolas-grekas)</li>
<li>bug <a href="https://github.com/symfony/symfony/pull/67965" class="reference external" rel="external noopener noreferrer" target="_blank">#67965</a> [TypeInfo] Throw UnsupportedException on malformed type strings (@nicolas-grekas)</li>
<li>bug <a href="https://github.com/symfony/symfony/pull/67964" class="reference external" rel="external noopener noreferrer" target="_blank">#67964</a> [TypeInfo] Fix infinite recursion when a type alias import uses another case for the class name (@nicolas-grekas)</li>
<li>bug <a href="https://github.com/symfony/symfony/pull/67974" class="reference external" rel="external noopener noreferrer" target="_blank">#67974</a> [TypeInfo] Fix infinite recursion in Type::fromValue() with cyclic values (@lazerg)</li>
<li>bug <a href="https://github.com/symfony/symfony/pull/67955" class="reference external" rel="external noopener noreferrer" target="_blank">#67955</a> [TypeInfo] Don't let the templates of a child class shadow the ones of its untagged parent (@nicolas-grekas)</li>
<li>bug <a href="https://github.com/symfony/symfony/pull/67951" class="reference external" rel="external noopener noreferrer" target="_blank">#67951</a> [TypeInfo] Fix resolving the PHPDoc types of a class with the imports of its traits (@nicolas-grekas)</li>
<li>bug <a href="https://github.com/symfony/symfony/pull/67920" class="reference external" rel="external noopener noreferrer" target="_blank">#67920</a> [TypeInfo] Keep distinct members when mapping unions and intersections (@nicolas-grekas)</li>
<li>bug <a href="https://github.com/symfony/symfony/pull/67918" class="reference external" rel="external noopener noreferrer" target="_blank">#67918</a> [TypeInfo] Collect contravariant templates and reduce redundant unions in Type::map() (@nicolas-grekas)</li>
<li>bug <a href="https://github.com/symfony/symfony/pull/67936" class="reference external" rel="external noopener noreferrer" target="_blank">#67936</a> [TypeInfo] Fix resolving the PHPDoc types of trait members (@nicolas-grekas)</li>
<li>bug <a href="https://github.com/symfony/symfony/pull/67904" class="reference external" rel="external noopener noreferrer" target="_blank">#67904</a> [TypeInfo] Preserve distinct union and intersection members (@X-Coder264)</li>
<li>minor <a href="https://github.com/symfony/symfony/pull/67953" class="reference external" rel="external noopener noreferrer" target="_blank">#67953</a> [TypeInfo] Cover untagged template inheritance with tests (@X-Coder264)</li>
</ul>
</div>
<div class="section">
<h3 id="validator"><a class="headerlink" href="#validator" title="Permalink to this headline">Validator</a></h3>
<ul>
    <li>bug <a href="https://github.com/symfony/symfony/pull/68097" class="reference external" rel="external noopener noreferrer" target="_blank">#68097</a> [Validator] Fix the IBAN formats sync script and synchronize formats (@egbavou)</li>
<li>bug <a href="https://github.com/symfony/symfony/pull/67984" class="reference external" rel="external noopener noreferrer" target="_blank">#67984</a> [Validator] Fix IBAN format for Côte d'Ivoire (@egbavou)</li>
<li>bug <a href="https://github.com/symfony/symfony/pull/67848" class="reference external" rel="external noopener noreferrer" target="_blank">#67848</a> [Validator] Sync the non-public subnets of the Ip constraint with IpUtils::PRIVATE_SUBNETS (@nicolas-grekas)</li>
</ul>
</div>
<div class="section">
<h3 id="vardumper"><a class="headerlink" href="#vardumper" title="Permalink to this headline">VarDumper</a></h3>
<ul>
    <li>bug <a href="https://github.com/symfony/symfony/pull/68060" class="reference external" rel="external noopener noreferrer" target="_blank">#68060</a> [VarDumper] Don't turn object property names into dump attributes and link only to http(s) URLs (@nicolas-grekas)</li>
<li>bug <a href="https://github.com/symfony/symfony/pull/68058" class="reference external" rel="external noopener noreferrer" target="_blank">#68058</a> [VarDumper] Escape the content type of images in HtmlDumper (@nicolas-grekas)</li>
</ul>
</div>
<div class="section">
<h3 id="webprofilerbundle"><a class="headerlink" href="#webprofilerbundle" title="Permalink to this headline">WebProfilerBundle</a></h3>
<ul>
    <li>bug <a href="https://github.com/symfony/symfony/pull/68059" class="reference external" rel="external noopener noreferrer" target="_blank">#68059</a> [WebProfilerBundle] Ignore debug headers of cross-origin responses and only link to http(s) URLs (@nicolas-grekas)</li>
</ul>
</div>
<div class="section">
<h3 id="workflow"><a class="headerlink" href="#workflow" title="Permalink to this headline">Workflow</a></h3>
<ul>
    <li>bug <a href="https://github.com/symfony/symfony/pull/68082" class="reference external" rel="external noopener noreferrer" target="_blank">#68082</a> [Workflow] Escape backslashes in Graphviz HTML labels (@fabpot)</li>
</ul>
</div>
<div class="section">
<h3 id="yaml"><a class="headerlink" href="#yaml" title="Permalink to this headline">Yaml</a></h3>
<ul>
    <li>bug <a href="https://github.com/symfony/symfony/pull/68077" class="reference external" rel="external noopener noreferrer" target="_blank">#68077</a> [Yaml] Fix anchors, aliases and unsupported entries in flow mapping keys (@nicolas-grekas)</li>
<li>bug <a href="https://github.com/symfony/symfony/pull/68069" class="reference external" rel="external noopener noreferrer" target="_blank">#68069</a> [Yaml] Keep spaces in plain flow mapping keys (@eyupcanakman)</li>
<li>bug <a href="https://github.com/symfony/symfony/pull/67973" class="reference external" rel="external noopener noreferrer" target="_blank">#67973</a> [Yaml] Encode schema paths in file URIs (@Tong-bit-art)</li>
<li>bug <a href="https://github.com/symfony/symfony/pull/68024" class="reference external" rel="external noopener noreferrer" target="_blank">#68024</a> [Yaml] Fix block scalars losing their trailing newline after leading comments (@eyupcanakman)</li>
<li>bug <a href="https://github.com/symfony/symfony/pull/67881" class="reference external" rel="external noopener noreferrer" target="_blank">#67881</a> [Yaml] Don't copy long nested blocks at each nesting level (@nicolas-grekas)</li>
<li>bug <a href="https://github.com/symfony/symfony/pull/67880" class="reference external" rel="external noopener noreferrer" target="_blank">#67880</a> [Yaml] Bound the number of nodes that collection aliases expand to (@nicolas-grekas)</li>
</ul>
</div>
<div class="section">
<h3 id="other"><a class="headerlink" href="#other" title="Permalink to this headline">Other</a></h3>
<ul>
    <li>minor <a href="https://github.com/symfony/symfony/pull/68085" class="reference external" rel="external noopener noreferrer" target="_blank">#68085</a> Missing translations for Albanian (sq) (@isihussain)</li>
</ul>
</div>
</div>
                <hr style="margin-bottom: 5px" />
                <div style="font-size: 90%">
                    <a href="https://symfony.com/sponsor">Sponsor</a> the Symfony project.
                </div>
            ]]></content:encoded>
            <guid isPermaLink="false">https://symfony.com/blog/symfony-8-2-0-beta2-released?utm_source=Symfony%20Blog%20Feed&amp;utm_medium=feed</guid>
            <dc:creator><![CDATA[ Fabien Potencier ]]></dc:creator>
            <pubDate>Fri, 13 Nov 2026 18:33:24 +0100</pubDate>
            <comments>https://symfony.com/blog/symfony-8-2-0-beta2-released?utm_source=Symfony%20Blog%20Feed&amp;utm_medium=feed#comments-list</comments>
        </item>
                        <item>
            <title>SymfonyCon Warsaw 2026: The building blocks of an agentic software factory</title>
            <link>https://symfony.com/blog/symfonycon-warsaw-2026-the-building-blocks-of-an-agentic-software-factory?utm_source=Symfony%20Blog%20Feed&amp;utm_medium=feed</link>
            <description>
    


Join the global Symfony ecosystem in Warsaw on November 26-27 for SymfonyCon Warsaw 2026. A relaxed environment to learn from 3 talk tracks and hang out with peer developers.



🎤 Speaker announcement

We&#039;re proud to feature Guillaume Moigneu, Field…</description>
            <content:encoded><![CDATA[
                                <p><a class="block text-center" href="https://live.symfony.com/2026-warsaw-con" title="Nl Blog Banner">
    <img src="https://symfony.com/uploads/assets/blog/NL-BLOG-Banner.png" alt="Nl Blog Banner">
</a></p>

<p>Join the global Symfony ecosystem in Warsaw on November 26-27 for <strong><a href="https://live.symfony.com/2026-warsaw-con/">SymfonyCon Warsaw 2026</a></strong>. A relaxed environment to learn from 3 talk tracks and hang out with peer developers.</p>

<hr />

<h3>🎤 Speaker announcement</h3>

<p>We're proud to feature <strong><a href="https://connect.symfony.com/profile/gmoigneu">Guillaume Moigneu</a></strong>, Field CTO, Upsun, presenting <strong><a href="https://live.symfony.com/2026-warsaw-con/schedule/the-building-blocks-of-an-agentic-software-factory">The building blocks of an agentic software factory</a></strong>. Get ready for a deep dive into real-time web capabilities!</p>

<p>"An agentic software factory connects the work of deciding what to build, implementing it, checking it, and running it. The coding agent is just a starting point. Around it, the factory expands in four directions. Intent and specifications give the work a purpose and clear constraints. Validation and verification establish whether the result works and solves the intended problem. Delivery and operations keep it running. Strategy uses evidence to decide what deserves attention next.</p>

<p>We will explore the building blocks that connect these responsibilities into a working system. Shared context, explicit handoffs, automated checks, and human decisions let each workflow use what the others learn. You'll leave with a conceptual map for building a real system around the coding agents your Symfony team already uses."</p>

<p>A special thanks to <strong><a href="https://upsun.com">Upsun</a></strong> for sponsoring this 3rd track on November 27th.</p>

<p>Click here to see more <strong><a href="https://live.symfony.com/2026-warsaw-con/schedule">talks</a></strong>. The full schedule will be unveiled step-by-step over the coming weeks. Stay tuned!</p>

<h3>Ready to join us?</h3>

<h3>🏨 Accommodation</h3>

<p>The official conference hotel offers special preferential rates and flexible conditions for our attendees. Make sure to use our <strong><a href="https://www.hilton.com/en/book/reservation/rooms/?ctyhocn=WAWHIHI&amp;arrivalDate=2026-11-23&amp;departureDate=2026-11-29&amp;groupCode=GSYMDP&amp;room1NumAdults=1">dedicated link</a></strong> to book your room and stay right where the action happens!</p>

<h3>🥳 Save the date for the Community Party!</h3>

<p>Because SymfonyCon isn't just about code, we are happy to confirm that our traditional Community Party will take place on the evening of <strong>Thursday, November 26</strong>. Get ready for a great night of networking, fun, and connecting with peers!</p>

<h3>💻 Hackday</h3>

<p>Ready to contribute? The Hackday on <strong>Saturday, November 28</strong> (free and open to all!) will take place at "The Brain Embassy - Czackiego" thanks to the support of <a href="https://baksla.sh/">Baksla.sh</a>. Bring your laptop and your good mood!</p>

<h3>🎟️ Get your tickets</h3>

<p>Tickets are available here: <strong><a href="https://live.symfony.com/2026-warsaw-con/registration">Secure your ticket today!</a></strong></p>

<hr />

<h3>Join us online!</h3>

<p>💡Follow the "conference" blog posts to not miss anything!</p>

<p>Want the latest Symfony updates? Follow us and tune in from wherever you are 🌎</p>

<p><a class="block text-center" href="https://linktr.ee/symfony">
   <img src="https://symfony.com/uploads/assets/blog/Banner-BLOG.png" alt="Banner Blog">
</a></p>

                <hr style="margin-bottom: 5px" />
                <div style="font-size: 90%">
                    <a href="https://symfony.com/sponsor">Sponsor</a> the Symfony project.
                </div>
            ]]></content:encoded>
            <guid isPermaLink="false">https://symfony.com/blog/symfonycon-warsaw-2026-the-building-blocks-of-an-agentic-software-factory?utm_source=Symfony%20Blog%20Feed&amp;utm_medium=feed</guid>
            <dc:creator><![CDATA[ Mélyne FREUZE ]]></dc:creator>
            <pubDate>Fri, 13 Nov 2026 14:30:00 +0100</pubDate>
            <comments>https://symfony.com/blog/symfonycon-warsaw-2026-the-building-blocks-of-an-agentic-software-factory?utm_source=Symfony%20Blog%20Feed&amp;utm_medium=feed#comments-list</comments>
        </item>
                        <item>
            <title>New in Symfony 8.2: Validator Improvements</title>
            <link>https://symfony.com/blog/new-in-symfony-8-2-validator-improvements?utm_source=Symfony%20Blog%20Feed&amp;utm_medium=feed</link>
            <description>
Inline Rules with the Callback Constraint

    
                    
                
            
            
    
        Contributed by
                    Javier Eguiluz
                                         in…</description>
            <content:encoded><![CDATA[
                                <div class="section">
<h2 id="inline-rules-with-the-callback-constraint"><a class="headerlink" href="#inline-rules-with-the-callback-constraint" title="Permalink to this headline">Inline Rules with the Callback Constraint</a></h2>
<div class="blog-post-contributor-info">
    <div class="blog-post-contributor-avatar">
                    <a target="_blank" href="https://connect.symfony.com/profile/javier.eguiluz">
                <img src="https://connect.symfony.com/profile/javier.eguiluz.picture" alt="Javier Eguiluz">
            </a>
            </div>
    <div class="blog-post-contributor-contents">
        <span>Contributed by</span>
                    <a target="_blank" class="blog-post-contributor-name" href="https://connect.symfony.com/profile/javier.eguiluz">Javier Eguiluz</a>
                                        <span class="blog-post-contributor-prs"> in
                                    <a target="_blank" href="https://github.com/symfony/symfony/pull/64779">#64779</a>
                                                </span>
            </div>
</div>
<p>The <a href="https://symfony.com/doc/current/reference/constraints/Callback.html" class="reference external">Callback constraint</a> is the usual way to define <strong>custom validation rules</strong>,
but it requires a lot of code for simple rules. In Symfony 8.2, the <code translate="no" class="notranslate">Callback</code>
constraint adds a <code translate="no" class="notranslate">message</code> option. When it's set, the callback only has to
return a boolean and Symfony creates the violation when it returns <code translate="no" class="notranslate">false</code>.</p>
<p>Combined with PHP 8.5, which allows static closures in constant expressions,
you can now <strong>define the whole rule inside the attribute</strong>:</p>
<div translate="no" data-loc="24" class="notranslate codeblock codeblock-length-md codeblock-php">
        <div class="codeblock-scroll">
        
        <pre class="codeblock-code"><code><span class="hljs-keyword">use</span> <span class="hljs-title">Symfony</span>\<span class="hljs-title">Component</span>\<span class="hljs-title">Validator</span>\<span class="hljs-title">Constraints</span> <span class="hljs-title">as</span> <span class="hljs-title">Assert</span>;
<span class="hljs-keyword">use</span> <span class="hljs-title">Symfony</span>\<span class="hljs-title">Component</span>\<span class="hljs-title">Validator</span>\<span class="hljs-title">Context</span>\<span class="hljs-title">ExecutionContextInterface</span>;

<span class="hljs-class"><span class="hljs-keyword">class</span> <span class="hljs-title">Order</span>
</span>{
    <span class="hljs-meta">#[Assert\Callback(
        static <span class="hljs-function"><span class="hljs-keyword">function</span> <span class="hljs-params">(\DateTimeImmutable <span class="hljs-variable"><span class="hljs-variable-other-marker">$</span>value</span>)</span>: <span class="hljs-title">bool</span> </span>{
            return <span class="hljs-variable"><span class="hljs-variable-other-marker">$</span>value</span> &gt; <span class="hljs-keyword">new</span> \<span class="hljs-title invoke__">DateTimeImmutable</span>(<span class="hljs-string">'today'</span>);
        },
        <span class="hljs-attr">message</span>: <span class="hljs-string">'The delivery date must be in the future.'</span>,
    )]</span>
    <span class="hljs-keyword">public</span> \DateTimeImmutable <span class="hljs-variable"><span class="hljs-variable-other-marker">$</span>deliveryDate</span>;

    <span class="hljs-keyword">public</span> <span class="hljs-keyword">int</span> <span class="hljs-variable"><span class="hljs-variable-other-marker">$</span>subtotal</span>;

    <span class="hljs-comment">// the closure gets the same arguments as before, so it can access the object</span>
    <span class="hljs-meta">#[Assert\Callback(
        static <span class="hljs-function"><span class="hljs-keyword">function</span> <span class="hljs-params">(<span class="hljs-keyword">int</span> <span class="hljs-variable"><span class="hljs-variable-other-marker">$</span>value</span>, ExecutionContextInterface <span class="hljs-variable"><span class="hljs-variable-other-marker">$</span>context</span>)</span>: <span class="hljs-title">bool</span> </span>{
            return <span class="hljs-variable"><span class="hljs-variable-other-marker">$</span>value</span> &gt;= <span class="hljs-variable"><span class="hljs-variable-other-marker">$</span>context</span>-&gt;<span class="hljs-title invoke__">getObject</span>()-&gt;subtotal;
        },
        <span class="hljs-attr">message</span>: <span class="hljs-string">'The total must be greater than or equal to the subtotal.'</span>,
    )]</span>
    <span class="hljs-keyword">public</span> <span class="hljs-keyword">int</span> <span class="hljs-variable"><span class="hljs-variable-other-marker">$</span>total</span>;
}</code></pre>
    </div>
</div>
</div>
<div class="section">
<h2 id="unique-constraint-with-object-properties"><a class="headerlink" href="#unique-constraint-with-object-properties" title="Permalink to this headline">Unique Constraint with Object Properties</a></h2>
<div class="blog-post-contributor-info">
    <div class="blog-post-contributor-avatar">
                    <a target="_blank" href="https://connect.symfony.com/profile/plfort">
                <img src="https://connect.symfony.com/profile/plfort.picture" alt="FORT Pierre-Louis">
            </a>
            </div>
    <div class="blog-post-contributor-contents">
        <span>Contributed by</span>
                    <a target="_blank" class="blog-post-contributor-name" href="https://connect.symfony.com/profile/plfort">FORT Pierre-Louis</a>
                                        <span class="blog-post-contributor-prs"> in
                                    <a target="_blank" href="https://github.com/symfony/symfony/pull/48951">#48951</a>
                                                </span>
            </div>
</div>
<p>The <code translate="no" class="notranslate">fields</code> option of the <a href="https://symfony.com/doc/current/reference/constraints/Unique.html" class="reference external">Unique constraint</a> checks the uniqueness of a
collection based only on some of its fields. However, it only worked for
collections of arrays. In Symfony 8.2, it also <strong>works for collections of objects</strong>:</p>
<div translate="no" data-loc="8" class="notranslate codeblock codeblock-length-sm codeblock-php">
        <div class="codeblock-scroll">
        
        <pre class="codeblock-code"><code><span class="hljs-keyword">use</span> <span class="hljs-title">Symfony</span>\<span class="hljs-title">Component</span>\<span class="hljs-title">Validator</span>\<span class="hljs-title">Constraints</span> <span class="hljs-title">as</span> <span class="hljs-title">Assert</span>;

<span class="hljs-class"><span class="hljs-keyword">class</span> <span class="hljs-title">Cart</span>
</span>{
    <span class="hljs-comment">/** <span class="hljs-doctag">@var</span> CartItem[] */</span>
    <span class="hljs-meta">#[Assert\Unique(<span class="hljs-attr">fields</span>: [<span class="hljs-string">'sku'</span>])]</span>
    <span class="hljs-keyword">public</span> <span class="hljs-keyword">array</span> <span class="hljs-variable"><span class="hljs-variable-other-marker">$</span>items</span> = [];
}</code></pre>
    </div>
</div>
<p>Public properties are read directly and the rest of the values are read with the
<a href="https://symfony.com/property-access" class="reference external">PropertyAccess component</a>, so getters and property paths work too.</p>
</div>
<div class="section">
<h2 id="arbitrary-precision-numbers"><a class="headerlink" href="#arbitrary-precision-numbers" title="Permalink to this headline">Arbitrary Precision Numbers</a></h2>
<div class="blog-post-contributor-info">
    <div class="blog-post-contributor-avatar">
                    <a target="_blank" href="https://connect.symfony.com/profile/ferozcse">
                <img src="https://connect.symfony.com/profile/ferozcse.picture" alt="MD. Saiful Islam Feroz">
            </a>
            </div>
    <div class="blog-post-contributor-contents">
        <span>Contributed by</span>
                    <a target="_blank" class="blog-post-contributor-name" href="https://connect.symfony.com/profile/ferozcse">MD. Saiful Islam Feroz</a>
                                        <span class="blog-post-contributor-prs"> in
                                    <a target="_blank" href="https://github.com/symfony/symfony/pull/65110">#65110</a>
                                                </span>
            </div>
</div>
<p>PHP 8.4 added the <code translate="no" class="notranslate">BcMath\Number</code> class to work with arbitrary precision
numbers, which is common in financial applications. In Symfony 8.2, the <code translate="no" class="notranslate">Range</code>
constraint and the comparison constraints (<code translate="no" class="notranslate">EqualTo</code>, <code translate="no" class="notranslate">NotEqualTo</code>,
<code translate="no" class="notranslate">GreaterThan</code>, <code translate="no" class="notranslate">GreaterThanOrEqual</code>, <code translate="no" class="notranslate">LessThan</code> and <code translate="no" class="notranslate">LessThanOrEqual</code>)
support these values:</p>
<div translate="no" data-loc="11" class="notranslate codeblock codeblock-length-md codeblock-php">
        <div class="codeblock-scroll">
        
        <pre class="codeblock-code"><code><span class="hljs-keyword">use</span> <span class="hljs-title">BcMath</span>\<span class="hljs-title">Number</span>;
<span class="hljs-keyword">use</span> <span class="hljs-title">Symfony</span>\<span class="hljs-title">Component</span>\<span class="hljs-title">Validator</span>\<span class="hljs-title">Constraints</span> <span class="hljs-title">as</span> <span class="hljs-title">Assert</span>;

<span class="hljs-class"><span class="hljs-keyword">class</span> <span class="hljs-title">Payment</span>
</span>{
    <span class="hljs-meta">#[Assert\Range(<span class="hljs-attr">min</span>: <span class="hljs-number">0.01</span>, <span class="hljs-attr">max</span>: <span class="hljs-number">10000</span>)]</span>
    <span class="hljs-keyword">public</span> Number <span class="hljs-variable"><span class="hljs-variable-other-marker">$</span>amount</span>;

    <span class="hljs-meta">#[Assert\GreaterThanOrEqual(<span class="hljs-string">'0.0001'</span>)]</span>
    <span class="hljs-keyword">public</span> Number <span class="hljs-variable"><span class="hljs-variable-other-marker">$</span>exchangeRate</span>;
}</code></pre>
    </div>
</div>
<p>Comparing a <code translate="no" class="notranslate">BcMath\Number</code> with a float in PHP truncates the float to an integer
(<code translate="no" class="notranslate">new Number('10.2') &gt; 10.5</code> is <code translate="no" class="notranslate">true</code>). That's why Symfony converts the limits
to <code translate="no" class="notranslate">BcMath\Number</code> objects before comparing them, so the precision is kept on
both sides.</p>
</div>
<div class="section">
<h2 id="non-string-violation-parameters"><a class="headerlink" href="#non-string-violation-parameters" title="Permalink to this headline">Non-String Violation Parameters</a></h2>
<div class="blog-post-contributor-info">
    <div class="blog-post-contributor-avatar">
                    <a target="_blank" href="https://connect.symfony.com/profile/amoifr">
                <img src="https://connect.symfony.com/profile/amoifr.picture" alt="Pascal CESCON">
            </a>
            </div>
    <div class="blog-post-contributor-contents">
        <span>Contributed by</span>
                    <a target="_blank" class="blog-post-contributor-name" href="https://connect.symfony.com/profile/amoifr">Pascal CESCON</a>
                                        <span class="blog-post-contributor-prs"> in
                                    <a target="_blank" href="https://github.com/symfony/symfony/pull/64367">#64367</a>
                                                </span>
            </div>
</div>
<p>When creating violations in <a href="https://symfony.com/doc/current/validation/custom_constraint.html" class="reference external">custom constraint validators</a>, the <code translate="no" class="notranslate">setParameter()</code>
method only accepted strings, while <code translate="no" class="notranslate">setParameters()</code> accepted any value. This
was inconsistent, especially when using the <a href="https://symfony.com/doc/current/reference/formats/message_format.html" class="reference external">ICU message format</a> in your
translations, which can format numbers and dates. In Symfony 8.2, <code translate="no" class="notranslate">setParameter()</code>
accepts <code translate="no" class="notranslate">string</code>, <code translate="no" class="notranslate">int</code>, <code translate="no" class="notranslate">float</code>, <code translate="no" class="notranslate">\Stringable</code> and <code translate="no" class="notranslate">\DateTimeInterface</code>
values:</p>
<div translate="no" data-loc="2" class="notranslate codeblock codeblock-length-sm codeblock-yaml">
        <div class="codeblock-scroll">
        
        <pre class="codeblock-code"><code><span class="hljs-comment"># translations/validators+intl-icu.en.yaml</span>
<span class="hljs-attr">booking.too_late:</span> <span class="hljs-string">'Bookings must be made before {deadline, date, long}.'</span></code></pre>
    </div>
</div>
<div translate="no" data-loc="3" class="notranslate codeblock codeblock-length-sm codeblock-php">
        <div class="codeblock-scroll">
        
        <pre class="codeblock-code"><code><span class="hljs-variable"><span class="hljs-variable-other-marker">$</span>this</span>-&gt;context-&gt;<span class="hljs-title invoke__">buildViolation</span>(<span class="hljs-string">'booking.too_late'</span>)
    -&gt;<span class="hljs-title invoke__">setParameter</span>(<span class="hljs-string">'deadline'</span>, <span class="hljs-variable"><span class="hljs-variable-other-marker">$</span>booking</span>-&gt;<span class="hljs-title invoke__">getEvent</span>()-&gt;<span class="hljs-title invoke__">getStartsAt</span>())
    -&gt;<span class="hljs-title invoke__">addViolation</span>();</code></pre>
    </div>
</div>
</div>
<div class="section">
<h2 id="group-sequence-improvements"><a class="headerlink" href="#group-sequence-improvements" title="Permalink to this headline">Group Sequence Improvements</a></h2>
<div class="blog-post-contributor-info">
    <div class="blog-post-contributor-avatar">
                    <a target="_blank" href="https://github.com/naxvog">
                <img src="https://github.com/naxvog.png" alt="naxvog">
            </a>
                    <a target="_blank" href="https://connect.symfony.com/profile/amoifr">
                <img src="https://connect.symfony.com/profile/amoifr.picture" alt="Pascal CESCON">
            </a>
            </div>
    <div class="blog-post-contributor-contents">
        <span>Contributed by</span>
                    <a target="_blank" class="blog-post-contributor-name" href="https://github.com/naxvog">naxvog</a>
             and                     <a target="_blank" class="blog-post-contributor-name" href="https://connect.symfony.com/profile/amoifr">Pascal CESCON</a>
                                        <span class="blog-post-contributor-prs"> in
                                    <a target="_blank" href="https://github.com/symfony/symfony/pull/63557">#63557</a>
                     and                                     <a target="_blank" href="https://github.com/symfony/symfony/pull/64641">#64641</a>
                                                </span>
            </div>
</div>
<p><a href="https://symfony.com/doc/current/validation/sequence_provider.html" class="reference external">Group sequences</a> validate the groups of a class step by step. In the sequence,
the group of the class itself had to be written as its short class name (e.g.
<code translate="no" class="notranslate">'Order'</code>), a plain string that is easy to miss when renaming the class. In
Symfony 8.2, you can use the <code translate="no" class="notranslate">::class</code> constant of the class instead.</p>
<p>In addition, when a class defines a group sequence, the objects referenced with
<code translate="no" class="notranslate">Valid</code> are validated only against the <code translate="no" class="notranslate">Default</code> group, so their constraints
in the other groups of the sequence never run. The new <code translate="no" class="notranslate">cascadeCurrentGroup</code>
option <strong>validates those objects against the current group of the sequence</strong> too:</p>
<div translate="no" data-loc="12" class="notranslate codeblock codeblock-length-md codeblock-php">
        <div class="codeblock-scroll">
        
        <pre class="codeblock-code"><code><span class="hljs-keyword">use</span> <span class="hljs-title">Symfony</span>\<span class="hljs-title">Component</span>\<span class="hljs-title">Validator</span>\<span class="hljs-title">Constraints</span> <span class="hljs-title">as</span> <span class="hljs-title">Assert</span>;

<span class="hljs-meta">#[Assert\GroupSequence([Order::<span class="hljs-variable language_">class</span>, <span class="hljs-string">'Shipping'</span>], <span class="hljs-attr">cascadeCurrentGroup</span>: <span class="hljs-keyword">true</span>)]</span>
<span class="hljs-class"><span class="hljs-keyword">class</span> <span class="hljs-title">Order</span>
</span>{
    <span class="hljs-comment">// the Address constraints that belong to the 'Shipping' group</span>
    <span class="hljs-comment">// are now checked in the 'Shipping' step of the sequence</span>
    <span class="hljs-meta">#[Assert\Valid]</span>
    <span class="hljs-keyword">public</span> Address <span class="hljs-variable"><span class="hljs-variable-other-marker">$</span>shippingAddress</span>;

    <span class="hljs-comment">// ...</span>
}</code></pre>
    </div>
</div>
<p>This option is also available in the YAML and XML formats, and in the
<code translate="no" class="notranslate">#[Assert\GroupSequenceProvider]</code> attribute for classes that compute their
sequence dynamically.</p>
</div>
<div class="section">
<h2 id="more-flexible-cascade-validation"><a class="headerlink" href="#more-flexible-cascade-validation" title="Permalink to this headline">More Flexible Cascade Validation</a></h2>
<div class="blog-post-contributor-info">
    <div class="blog-post-contributor-avatar">
                    <a target="_blank" href="https://connect.symfony.com/profile/nicolas-grekas">
                <img src="https://connect.symfony.com/profile/nicolas-grekas.picture" alt="Nicolas Grekas">
            </a>
                    <a target="_blank" href="https://connect.symfony.com/profile/x-coder264">
                <img src="https://connect.symfony.com/profile/x-coder264.picture" alt="Antonio Pauletich">
            </a>
            </div>
    <div class="blog-post-contributor-contents">
        <span>Contributed by</span>
                    <a target="_blank" class="blog-post-contributor-name" href="https://connect.symfony.com/profile/nicolas-grekas">Nicolas Grekas</a>
             and                     <a target="_blank" class="blog-post-contributor-name" href="https://connect.symfony.com/profile/x-coder264">Antonio Pauletich</a>
                                        <span class="blog-post-contributor-prs"> in
                                    <a target="_blank" href="https://github.com/symfony/symfony/pull/65104">#65104</a>
                     and                                     <a target="_blank" href="https://github.com/symfony/symfony/pull/66134">#66134</a>
                                                </span>
            </div>
</div>
<p>The <code translate="no" class="notranslate">groups</code> option of the <a href="https://symfony.com/doc/current/reference/constraints/Valid.html" class="reference external">Valid constraint</a> does two things at once: it
decides when to validate the nested object and it restricts which of its
constraints are checked. This makes it hard to create reusable nested objects,
because the parent object decides which constraints run on them. In Symfony 8.2,
set the new <code translate="no" class="notranslate">restrictGroups</code> option to <code translate="no" class="notranslate">false</code> to <strong>use the groups only to
trigger the cascade</strong>:</p>
<div translate="no" data-loc="11" class="notranslate codeblock codeblock-length-md codeblock-php">
        <div class="codeblock-scroll">
        
        <pre class="codeblock-code"><code><span class="hljs-keyword">use</span> <span class="hljs-title">Symfony</span>\<span class="hljs-title">Component</span>\<span class="hljs-title">Validator</span>\<span class="hljs-title">Constraints</span> <span class="hljs-title">as</span> <span class="hljs-title">Assert</span>;

<span class="hljs-class"><span class="hljs-keyword">class</span> <span class="hljs-title">Order</span>
</span>{
    <span class="hljs-meta">#[Assert\Valid(<span class="hljs-attr">groups</span>: [<span class="hljs-string">'alternateInvoiceAddress'</span>], <span class="hljs-attr">restrictGroups</span>: <span class="hljs-keyword">false</span>)]</span>
    <span class="hljs-keyword">public</span> Address <span class="hljs-variable"><span class="hljs-variable-other-marker">$</span>invoiceAddress</span>;
}

<span class="hljs-comment">// the address is only validated when 'alternateInvoiceAddress' is one of the</span>
<span class="hljs-comment">// validated groups, and then it's checked against all of them</span>
<span class="hljs-variable"><span class="hljs-variable-other-marker">$</span>validator</span>-&gt;<span class="hljs-title invoke__">validate</span>(<span class="hljs-variable"><span class="hljs-variable-other-marker">$</span>order</span>, <span class="hljs-keyword">null</span>, [<span class="hljs-string">'Default'</span>, <span class="hljs-string">'alternateInvoiceAddress'</span>]);</code></pre>
    </div>
</div>
<p>The other improvement is that <code translate="no" class="notranslate">Valid</code> can now be used inside the
<a href="https://symfony.com/doc/current/reference/constraints/Sequentially.html" class="reference external">Sequentially constraint</a>. This is useful for values that can have more than
one shape and should only be cascaded after checking some other constraint first:</p>
<div translate="no" data-loc="10" class="notranslate codeblock codeblock-length-md codeblock-php">
        <div class="codeblock-scroll">
        
        <pre class="codeblock-code"><code><span class="hljs-keyword">use</span> <span class="hljs-title">Symfony</span>\<span class="hljs-title">Component</span>\<span class="hljs-title">Validator</span>\<span class="hljs-title">Constraints</span> <span class="hljs-title">as</span> <span class="hljs-title">Assert</span>;

<span class="hljs-class"><span class="hljs-keyword">class</span> <span class="hljs-title">ImportRequest</span>
</span>{
    <span class="hljs-meta">#[Assert\Sequentially([
        <span class="hljs-keyword">new</span> Assert\<span class="hljs-title invoke__">Type</span>(Product::<span class="hljs-variable language_">class</span>),
        <span class="hljs-keyword">new</span> Assert\<span class="hljs-title invoke__">Valid</span>(),
    ])]</span>
    <span class="hljs-keyword">public</span> <span class="hljs-keyword">mixed</span> <span class="hljs-variable"><span class="hljs-variable-other-marker">$</span>payload</span>;
}</code></pre>
    </div>
</div>
<p>The nested <code translate="no" class="notranslate">Valid</code> constraint can't define its own groups; set them in the
<code translate="no" class="notranslate">Sequentially</code> constraint instead.</p>
</div>
                <hr style="margin-bottom: 5px" />
                <div style="font-size: 90%">
                    <a href="https://symfony.com/sponsor">Sponsor</a> the Symfony project.
                </div>
            ]]></content:encoded>
            <guid isPermaLink="false">https://symfony.com/blog/new-in-symfony-8-2-validator-improvements?utm_source=Symfony%20Blog%20Feed&amp;utm_medium=feed</guid>
            <dc:creator><![CDATA[ Javier Eguiluz ]]></dc:creator>
            <pubDate>Fri, 13 Nov 2026 09:16:00 +0100</pubDate>
            <comments>https://symfony.com/blog/new-in-symfony-8-2-validator-improvements?utm_source=Symfony%20Blog%20Feed&amp;utm_medium=feed#comments-list</comments>
        </item>
                        <item>
            <title>Changement de décor pour SymfonyLive Paris 2027 : direction l&#039;Espace 42 pour une édition renouvelée !</title>
            <link>https://symfony.com/blog/changement-de-decor-pour-symfonylive-paris-2027-direction-l-espace-42-pour-une-edition-renouvelee?utm_source=Symfony%20Blog%20Feed&amp;utm_medium=feed</link>
            <description>Pendant de belles années, la Cité Internationale Universitaire de Paris a été le théâtre de nos retrouvailles, de nos échanges passionnés et de nos plus beaux souvenirs de communauté. C&#039;était un chapitre incroyable mais, aujourd&#039;hui, il est temps de donner…</description>
            <content:encoded><![CDATA[
                                <p>Pendant de belles années, la Cité Internationale Universitaire de Paris a été le théâtre de nos retrouvailles, de nos échanges passionnés et de nos plus beaux souvenirs de communauté. C'était un chapitre incroyable mais, aujourd'hui, il est temps de donner un nouvel élan à notre événement parisien !</p>

<p>C'est avec une immense joie et beaucoup d'enthousiasme que nous vous annonçons le nouveau lieu de <strong><a href="https://live.symfony.com/2027-paris/">SymfonyLive Paris 2027</a></strong> : rendez-vous à l'<strong>Espace 42</strong> !</p>

<h3>Un cadre moderne et facile d'accès</h3>

<p>Quitter nos habitudes, c'est aussi l'opportunité de réinventer notre expérience ensemble. Nous avons cherché un endroit qui nous ressemble et où chacun se sentira immédiatement à son aise.</p>

<p>À l'Espace 42, vous serez plongés dans un univers stimulant au cœur de ce qui anime notre quotidien, entre technologie, ordinateurs et esprit d'innovation.</p>

<p>Nouvelle adresse : <a href="https://maps.app.goo.gl/bUbkeNcZ8GAuHBSa6">96 boulevard Bessières, 75017 Paris</a>.</p>

<p>Comment venir ? Le site est facilement accessible via le pôle multimodal Porte de Clichy (Métro lignes 13 et 14, RER C, Tramway T3b).</p>

<h3>Formez-vous avant la conférence : formations les 23 et 24 mars</h3>

<p>Envie de monter en compétences en petits groupes avant la conférence ? Deux journées complètes de formations pratiques animées se tiendront les 23 et 24 mars à Asnières-sur-Seine. Une occasion idéale pour approfondir des sujets pointus les mains dans le code avant de rejoindre l'Espace 42.</p>

<h3>Rejoignez l'aventure !</h3>

<p><a class="block text-center" href="https://linktr.ee/symfony">
   <img src="https://symfony.com/uploads/assets/blog/Banner-BLOG.png" alt="Banner Blog">
</a></p>

                <hr style="margin-bottom: 5px" />
                <div style="font-size: 90%">
                    <a href="https://symfony.com/sponsor">Sponsor</a> the Symfony project.
                </div>
            ]]></content:encoded>
            <guid isPermaLink="false">https://symfony.com/blog/changement-de-decor-pour-symfonylive-paris-2027-direction-l-espace-42-pour-une-edition-renouvelee?utm_source=Symfony%20Blog%20Feed&amp;utm_medium=feed</guid>
            <dc:creator><![CDATA[ Mélyne FREUZE ]]></dc:creator>
            <pubDate>Thu, 12 Nov 2026 14:30:00 +0100</pubDate>
            <comments>https://symfony.com/blog/changement-de-decor-pour-symfonylive-paris-2027-direction-l-espace-42-pour-une-edition-renouvelee?utm_source=Symfony%20Blog%20Feed&amp;utm_medium=feed#comments-list</comments>
        </item>
                        <item>
            <title>New in Symfony 8.2: Form Improvements</title>
            <link>https://symfony.com/blog/new-in-symfony-8-2-form-improvements?utm_source=Symfony%20Blog%20Feed&amp;utm_medium=feed</link>
            <description>Symfony 8.2 brings many improvements to the Form component, from new form
types and options to more flexible multi-step forms and form events.

Defining Ranges with BoundsType…</description>
            <content:encoded><![CDATA[
                                <p>Symfony 8.2 brings many improvements to the <a href="https://symfony.com/form" class="reference external">Form component</a>, from new form
types and options to more flexible multi-step forms and form events.</p>
<div class="section">
<h2 id="defining-ranges-with-boundstype"><a class="headerlink" href="#defining-ranges-with-boundstype" title="Permalink to this headline">Defining Ranges with BoundsType</a></h2>
<div class="blog-post-contributor-info">
    <div class="blog-post-contributor-avatar">
                    <a target="_blank" href="https://connect.symfony.com/profile/sebastien76">
                <img src="https://connect.symfony.com/profile/sebastien76.picture" alt="Sébastien JEAN">
            </a>
            </div>
    <div class="blog-post-contributor-contents">
        <span>Contributed by</span>
                    <a target="_blank" class="blog-post-contributor-name" href="https://connect.symfony.com/profile/sebastien76">Sébastien JEAN</a>
                                        <span class="blog-post-contributor-prs"> in
                                    <a target="_blank" href="https://github.com/symfony/symfony/pull/65928">#65928</a>
                                                </span>
            </div>
</div>
<p>Search and filter forms often ask for a range of values: a minimum and maximum
price, a start and end date, etc. Until now, you had to add two separate fields
and validate their order yourself. Symfony 8.2 adds a <code translate="no" class="notranslate">BoundsType</code> that renders
a lower and an upper bound of the same inner type, the same way <code translate="no" class="notranslate">RepeatedType</code>
renders the same type twice:</p>
<div translate="no" data-loc="18" class="notranslate codeblock codeblock-length-md codeblock-php">
        <div class="codeblock-scroll">
        
        <pre class="codeblock-code"><code><span class="hljs-keyword">use</span> <span class="hljs-title">Symfony</span>\<span class="hljs-title">Component</span>\<span class="hljs-title">Form</span>\<span class="hljs-title">Extension</span>\<span class="hljs-title">Core</span>\<span class="hljs-title">Type</span>\<span class="hljs-title">BoundsType</span>;
<span class="hljs-keyword">use</span> <span class="hljs-title">Symfony</span>\<span class="hljs-title">Component</span>\<span class="hljs-title">Form</span>\<span class="hljs-title">Extension</span>\<span class="hljs-title">Core</span>\<span class="hljs-title">Type</span>\<span class="hljs-title">DateType</span>;
<span class="hljs-keyword">use</span> <span class="hljs-title">Symfony</span>\<span class="hljs-title">Component</span>\<span class="hljs-title">Form</span>\<span class="hljs-title">Extension</span>\<span class="hljs-title">Core</span>\<span class="hljs-title">Type</span>\<span class="hljs-title">MoneyType</span>;

<span class="hljs-variable"><span class="hljs-variable-other-marker">$</span>builder</span>
    -&gt;<span class="hljs-title invoke__">add</span>(<span class="hljs-string">'price'</span>, BoundsType::<span class="hljs-variable language_">class</span>, [
        <span class="hljs-string">'type'</span> =&gt; MoneyType::<span class="hljs-variable language_">class</span>,
        <span class="hljs-comment">// options applied to both bounds</span>
        <span class="hljs-string">'options'</span> =&gt; [<span class="hljs-string">'currency'</span> =&gt; <span class="hljs-string">'EUR'</span>],
        <span class="hljs-comment">// options applied to only one of the bounds</span>
        <span class="hljs-string">'from_options'</span> =&gt; [<span class="hljs-string">'label'</span> =&gt; <span class="hljs-string">'Min. price'</span>],
        <span class="hljs-string">'to_options'</span> =&gt; [<span class="hljs-string">'label'</span> =&gt; <span class="hljs-string">'Max. price'</span>],
        <span class="hljs-comment">// checks that the lower bound is not greater than the upper bound</span>
        <span class="hljs-string">'compare'</span> =&gt; <span class="hljs-keyword">true</span>,
    ])
    -&gt;<span class="hljs-title invoke__">add</span>(<span class="hljs-string">'publishedAt'</span>, BoundsType::<span class="hljs-variable language_">class</span>, [
        <span class="hljs-string">'type'</span> =&gt; DateType::<span class="hljs-variable language_">class</span>,
    ]);</code></pre>
    </div>
</div>
<p>The two bounds are regular child forms called <code translate="no" class="notranslate">from</code> and <code translate="no" class="notranslate">to</code>, so they map
to an <code translate="no" class="notranslate">array{from: mixed, to: mixed}</code> property or to an object with those
properties. If your model uses other names, set <code translate="no" class="notranslate">property_path</code> in
<code translate="no" class="notranslate">from_options</code> and <code translate="no" class="notranslate">to_options</code> (e.g. <code translate="no" class="notranslate">minPrice</code> and <code translate="no" class="notranslate">maxPrice</code>).</p>
<p>The <code translate="no" class="notranslate">compare</code> option orders scalars, dates and enums (in their declaration
order) natively. For other values, pass a callable that compares the two bounds.
The error is reported on the lower bound, which is the one users usually change
to fix the range.</p>
</div>
<div class="section">
<h2 id="nested-and-grouped-steps-in-form-flows"><a class="headerlink" href="#nested-and-grouped-steps-in-form-flows" title="Permalink to this headline">Nested and Grouped Steps in Form Flows</a></h2>
<div class="blog-post-contributor-info">
    <div class="blog-post-contributor-avatar">
                    <a target="_blank" href="https://connect.symfony.com/profile/yonelceruto">
                <img src="https://connect.symfony.com/profile/yonelceruto.picture" alt="Yonel Ceruto">
            </a>
            </div>
    <div class="blog-post-contributor-contents">
        <span>Contributed by</span>
                    <a target="_blank" class="blog-post-contributor-name" href="https://connect.symfony.com/profile/yonelceruto">Yonel Ceruto</a>
                                        <span class="blog-post-contributor-prs"> in
                                    <a target="_blank" href="https://github.com/symfony/symfony/pull/63734">#63734</a>
                                                </span>
            </div>
</div>
<p><a href="https://symfony.com/blog/new-in-symfony-7-4-multi-step-forms" class="reference external">Form flows</a> (multi-step forms) only supported a single level of steps. In
Symfony 8.2, a step can contain other steps, so you can define a hierarchy of
steps. When a step only exists to group other steps, use the new
<code translate="no" class="notranslate">createStepGroup()</code> method:</p>
<div translate="no" data-loc="20" class="notranslate codeblock codeblock-length-md codeblock-php">
        <div class="codeblock-scroll">
        
        <pre class="codeblock-code"><code><span class="hljs-keyword">use</span> <span class="hljs-title">Symfony</span>\<span class="hljs-title">Component</span>\<span class="hljs-title">Form</span>\<span class="hljs-title">Flow</span>\<span class="hljs-title">AbstractFlowType</span>;
<span class="hljs-keyword">use</span> <span class="hljs-title">Symfony</span>\<span class="hljs-title">Component</span>\<span class="hljs-title">Form</span>\<span class="hljs-title">Flow</span>\<span class="hljs-title">FormFlowBuilderInterface</span>;
<span class="hljs-keyword">use</span> <span class="hljs-title">Symfony</span>\<span class="hljs-title">Component</span>\<span class="hljs-title">Form</span>\<span class="hljs-title">Flow</span>\<span class="hljs-title">Type</span>\<span class="hljs-title">NavigatorFlowType</span>;

<span class="hljs-class"><span class="hljs-keyword">class</span> <span class="hljs-title">FlightBookingType</span> <span class="hljs-keyword">extends</span> <span class="hljs-title">AbstractFlowType</span>
</span>{
    <span class="hljs-keyword">public</span> <span class="hljs-function"><span class="hljs-keyword">function</span> <span class="hljs-title">buildFormFlow</span><span class="hljs-params">(FormFlowBuilderInterface <span class="hljs-variable"><span class="hljs-variable-other-marker">$</span>builder</span>, <span class="hljs-keyword">array</span> <span class="hljs-variable"><span class="hljs-variable-other-marker">$</span>options</span>)</span>: <span class="hljs-title">void</span>
    </span>{
        <span class="hljs-variable"><span class="hljs-variable-other-marker">$</span>builder</span>
            -&gt;<span class="hljs-title invoke__">addStep</span>(
                <span class="hljs-variable"><span class="hljs-variable-other-marker">$</span>builder</span>-&gt;<span class="hljs-title invoke__">createStepGroup</span>(<span class="hljs-string">'flights'</span>)
                    -&gt;<span class="hljs-title invoke__">addStep</span>(<span class="hljs-string">'outbound'</span>, OutboundFlightType::<span class="hljs-variable language_">class</span>)
                    -&gt;<span class="hljs-title invoke__">addStep</span>(<span class="hljs-string">'return'</span>, ReturnFlightType::<span class="hljs-variable language_">class</span>)
            )
            -&gt;<span class="hljs-title invoke__">addStep</span>(<span class="hljs-string">'passengers'</span>, PassengersType::<span class="hljs-variable language_">class</span>)
            -&gt;<span class="hljs-title invoke__">addStep</span>(<span class="hljs-string">'payment'</span>, PaymentType::<span class="hljs-variable language_">class</span>);

        <span class="hljs-variable"><span class="hljs-variable-other-marker">$</span>builder</span>-&gt;<span class="hljs-title invoke__">add</span>(<span class="hljs-string">'navigator'</span>, NavigatorFlowType::<span class="hljs-variable language_">class</span>);
    }
}</code></pre>
    </div>
</div>
<p>Group steps don't render any form, so the flow moves directly to their child
steps. You can also call <code translate="no" class="notranslate">setSkip()</code> on a step to skip it and all its child
steps based on the submitted data. Nesting only changes the structure and the
navigation of the flow: all steps still map their data to the same underlying
object.</p>
</div>
<div class="section">
<h2 id="reacting-after-form-validation"><a class="headerlink" href="#reacting-after-form-validation" title="Permalink to this headline">Reacting After Form Validation</a></h2>
<div class="blog-post-contributor-info">
    <div class="blog-post-contributor-avatar">
                    <a target="_blank" href="https://connect.symfony.com/profile/seb33300">
                <img src="https://connect.symfony.com/profile/seb33300.picture" alt="Sébastien Alfaiate">
            </a>
            </div>
    <div class="blog-post-contributor-contents">
        <span>Contributed by</span>
                    <a target="_blank" class="blog-post-contributor-name" href="https://connect.symfony.com/profile/seb33300">Sébastien Alfaiate</a>
                                        <span class="blog-post-contributor-prs"> in
                                    <a target="_blank" href="https://github.com/symfony/symfony/pull/47210">#47210</a>
                     and                                     <a target="_blank" href="https://github.com/symfony/symfony/pull/65794">#65794</a>
                                                </span>
            </div>
</div>
<p>The form is validated once, when the root form dispatches its <code translate="no" class="notranslate">POST_SUBMIT</code>
event. Child forms dispatch that event before the root form, so a listener on a
child form could never know whether the form was valid. Symfony 8.2 adds a new
<code translate="no" class="notranslate">FormEvents::POST_VALIDATE</code> event (<code translate="no" class="notranslate">form.post_validate</code>), dispatched on each
form of the tree after the whole form has been validated:</p>
<div translate="no" data-loc="16" class="notranslate codeblock codeblock-length-md codeblock-php">
        <div class="codeblock-scroll">
        
        <pre class="codeblock-code"><code><span class="hljs-keyword">use</span> <span class="hljs-title">Symfony</span>\<span class="hljs-title">Component</span>\<span class="hljs-title">Form</span>\<span class="hljs-title">AbstractType</span>;
<span class="hljs-keyword">use</span> <span class="hljs-title">Symfony</span>\<span class="hljs-title">Component</span>\<span class="hljs-title">Form</span>\<span class="hljs-title">Event</span>\<span class="hljs-title">PostValidateEvent</span>;
<span class="hljs-keyword">use</span> <span class="hljs-title">Symfony</span>\<span class="hljs-title">Component</span>\<span class="hljs-title">Form</span>\<span class="hljs-title">FormBuilderInterface</span>;
<span class="hljs-keyword">use</span> <span class="hljs-title">Symfony</span>\<span class="hljs-title">Component</span>\<span class="hljs-title">Form</span>\<span class="hljs-title">FormEvents</span>;

<span class="hljs-class"><span class="hljs-keyword">class</span> <span class="hljs-title">CaptchaType</span> <span class="hljs-keyword">extends</span> <span class="hljs-title">AbstractType</span>
</span>{
    <span class="hljs-keyword">public</span> <span class="hljs-function"><span class="hljs-keyword">function</span> <span class="hljs-title">buildForm</span><span class="hljs-params">(FormBuilderInterface <span class="hljs-variable"><span class="hljs-variable-other-marker">$</span>builder</span>, <span class="hljs-keyword">array</span> <span class="hljs-variable"><span class="hljs-variable-other-marker">$</span>options</span>)</span>: <span class="hljs-title">void</span>
    </span>{
        <span class="hljs-variable"><span class="hljs-variable-other-marker">$</span>builder</span>-&gt;<span class="hljs-title invoke__">addEventListener</span>(FormEvents::<span class="hljs-variable constant_">POST_VALIDATE</span>, <span class="hljs-function"><span class="hljs-keyword">function</span> <span class="hljs-params">(PostValidateEvent <span class="hljs-variable"><span class="hljs-variable-other-marker">$</span>event</span>)</span>: <span class="hljs-title">void</span> </span>{
            if (!<span class="hljs-variable"><span class="hljs-variable-other-marker">$</span>event</span>-&gt;<span class="hljs-title invoke__">getForm</span>()-&gt;<span class="hljs-title invoke__">getRoot</span>()-&gt;<span class="hljs-title invoke__">isValid</span>()) {
                <span class="hljs-comment">// reset the captcha because the form will be displayed again</span>
            }
        });
    }
}</code></pre>
    </div>
</div>
<p>This event is meant for reusable form types like the one above. For
application logic, keep checking <code translate="no" class="notranslate">isValid()</code> in your controller after calling
<code translate="no" class="notranslate">handleRequest()</code>.</p>
<p>Symfony itself now uses this event to hash the password of <code translate="no" class="notranslate">PasswordType</code>
fields that define the <code translate="no" class="notranslate">hash_property_path</code> option. As a result, the
<code translate="no" class="notranslate">FormTypePasswordHasherExtension</code> class and the <code translate="no" class="notranslate">registerPassword()</code> and
<code translate="no" class="notranslate">hashPasswords()</code> methods of <code translate="no" class="notranslate">PasswordHasherListener</code> are deprecated and
will be removed in Symfony 9.0.</p>
</div>
<div class="section">
<h2 id="transforming-submitted-arrays"><a class="headerlink" href="#transforming-submitted-arrays" title="Permalink to this headline">Transforming Submitted Arrays</a></h2>
<div class="blog-post-contributor-info">
    <div class="blog-post-contributor-avatar">
                    <a target="_blank" href="https://connect.symfony.com/profile/nicolas-grekas">
                <img src="https://connect.symfony.com/profile/nicolas-grekas.picture" alt="Nicolas Grekas">
            </a>
            </div>
    <div class="blog-post-contributor-contents">
        <span>Contributed by</span>
                    <a target="_blank" class="blog-post-contributor-name" href="https://connect.symfony.com/profile/nicolas-grekas">Nicolas Grekas</a>
                                        <span class="blog-post-contributor-prs"> in
                                    <a target="_blank" href="https://github.com/symfony/symfony/pull/65515">#65515</a>
                                                </span>
            </div>
</div>
<p>When a form field that is neither compound nor <code translate="no" class="notranslate">multiple</code> receives an array,
the form rejects it before dispatching the <code translate="no" class="notranslate">PRE_SUBMIT</code> event. This prevents
you from transforming that data in a listener, which is a common need when
handling JSON payloads. Symfony 8.2 adds an <code translate="no" class="notranslate">allow_array_submission</code> option
to run your listeners first:</p>
<div translate="no" data-loc="14" class="notranslate codeblock codeblock-length-md codeblock-php">
        <div class="codeblock-scroll">
        
        <pre class="codeblock-code"><code><span class="hljs-keyword">use</span> <span class="hljs-title">Symfony</span>\<span class="hljs-title">Component</span>\<span class="hljs-title">Form</span>\<span class="hljs-title">Event</span>\<span class="hljs-title">PreSubmitEvent</span>;
<span class="hljs-keyword">use</span> <span class="hljs-title">Symfony</span>\<span class="hljs-title">Component</span>\<span class="hljs-title">Form</span>\<span class="hljs-title">Extension</span>\<span class="hljs-title">Core</span>\<span class="hljs-title">Type</span>\<span class="hljs-title">TextType</span>;
<span class="hljs-keyword">use</span> <span class="hljs-title">Symfony</span>\<span class="hljs-title">Component</span>\<span class="hljs-title">Form</span>\<span class="hljs-title">FormEvents</span>;

<span class="hljs-comment">// the JSON payload contains: "tags": ["symfony", "php", "forms"]</span>
<span class="hljs-variable"><span class="hljs-variable-other-marker">$</span>builder</span>-&gt;<span class="hljs-title invoke__">add</span>(<span class="hljs-string">'tags'</span>, TextType::<span class="hljs-variable language_">class</span>, [
    <span class="hljs-string">'allow_array_submission'</span> =&gt; <span class="hljs-keyword">true</span>,
]);

<span class="hljs-variable"><span class="hljs-variable-other-marker">$</span>builder</span>-&gt;<span class="hljs-title invoke__">get</span>(<span class="hljs-string">'tags'</span>)-&gt;<span class="hljs-title invoke__">addEventListener</span>(FormEvents::<span class="hljs-variable constant_">PRE_SUBMIT</span>, <span class="hljs-function"><span class="hljs-keyword">function</span> <span class="hljs-params">(PreSubmitEvent <span class="hljs-variable"><span class="hljs-variable-other-marker">$</span>event</span>)</span>: <span class="hljs-title">void</span> </span>{
    if (\<span class="hljs-title invoke__">is_array</span>(<span class="hljs-variable"><span class="hljs-variable-other-marker">$</span>tags</span> = <span class="hljs-variable"><span class="hljs-variable-other-marker">$</span>event</span>-&gt;<span class="hljs-title invoke__">getData</span>())) {
        <span class="hljs-variable"><span class="hljs-variable-other-marker">$</span>event</span>-&gt;<span class="hljs-title invoke__">setData</span>(<span class="hljs-title invoke__">implode</span>(<span class="hljs-string">','</span>, <span class="hljs-variable"><span class="hljs-variable-other-marker">$</span>tags</span>));
    }
}, <span class="hljs-number">10</span>);</code></pre>
    </div>
</div>
<p>The priority of the listener must be above <code translate="no" class="notranslate">0</code> so it runs before the
listeners of the form type. If the data is still an array after the listeners
run, the form fails with the same error as before. The option is <code translate="no" class="notranslate">false</code> by
default because, when you enable it, all the <code translate="no" class="notranslate">PRE_SUBMIT</code> listeners of that
field must be ready to receive arrays.</p>
</div>
<div class="section">
<h2 id="better-attributes-of-the-form-element"><a class="headerlink" href="#better-attributes-of-the-form-element" title="Permalink to this headline">Better Attributes of the Form Element</a></h2>
<div class="blog-post-contributor-info">
    <div class="blog-post-contributor-avatar">
                    <a target="_blank" href="https://connect.symfony.com/profile/ker0x">
                <img src="https://connect.symfony.com/profile/ker0x.picture" alt="Romain Monteil">
            </a>
                    <a target="_blank" href="https://connect.symfony.com/profile/nayte">
                <img src="https://connect.symfony.com/profile/nayte.picture" alt="Julien Robic">
            </a>
            </div>
    <div class="blog-post-contributor-contents">
        <span>Contributed by</span>
                    <a target="_blank" class="blog-post-contributor-name" href="https://connect.symfony.com/profile/ker0x">Romain Monteil</a>
             and                     <a target="_blank" class="blog-post-contributor-name" href="https://connect.symfony.com/profile/nayte">Julien Robic</a>
                                        <span class="blog-post-contributor-prs"> in
                                    <a target="_blank" href="https://github.com/symfony/symfony/pull/48013">#48013</a>
                     and                                     <a target="_blank" href="https://github.com/symfony/symfony/pull/63944">#63944</a>
                                                </span>
            </div>
</div>
<p>The <code translate="no" class="notranslate">form_attr</code> option adds the HTML <code translate="no" class="notranslate">form</code> attribute to a field, so you
can render it outside of the <code translate="no" class="notranslate">&lt;form&gt;</code> element. However, this attribute
referenced the id of the <code translate="no" class="notranslate">&lt;div&gt;</code> that wraps the fields instead of the id of
the <code translate="no" class="notranslate">&lt;form&gt;</code> element, so the option never worked. In Symfony 8.2, the
<code translate="no" class="notranslate">&lt;form&gt;</code> element renders an id when some field uses <code translate="no" class="notranslate">form_attr</code>:</p>
<div translate="no" data-loc="4" class="notranslate codeblock codeblock-length-sm codeblock-html">
        <div class="codeblock-scroll">
        
        <pre class="codeblock-code"><code><span class="hljs-tag">&lt;<span class="hljs-name">form</span> <span class="hljs-attr">name</span>=<span class="hljs-string">"post"</span> <span class="hljs-attr">method</span>=<span class="hljs-string">"post"</span> <span class="hljs-attr">id</span>=<span class="hljs-string">"form_post"</span>&gt;</span>
    <span class="hljs-tag">&lt;<span class="hljs-name">div</span> <span class="hljs-attr">id</span>=<span class="hljs-string">"post"</span>&gt;</span>
        <span class="hljs-tag">&lt;<span class="hljs-name">input</span> <span class="hljs-attr">id</span>=<span class="hljs-string">"post_title"</span> <span class="hljs-attr">name</span>=<span class="hljs-string">"post[title]"</span> <span class="hljs-attr">form</span>=<span class="hljs-string">"form_post"</span>&gt;</span>
        <span class="hljs-comment">&lt;!-- ... --&gt;</span></code></pre>
    </div>
</div>
<p>Forms that don't use <code translate="no" class="notranslate">form_attr</code> render the same HTML as before. To choose a
different id, set the <code translate="no" class="notranslate">id</code> attribute in the <code translate="no" class="notranslate">attr</code> option of the root form.
If your custom form theme overrides the <code translate="no" class="notranslate">form_start</code> block, update it to
render the new <code translate="no" class="notranslate">form_id</code> variable.</p>
<p>In addition, you can now override or remove the <code translate="no" class="notranslate">name</code> attribute of the
<code translate="no" class="notranslate">&lt;form&gt;</code> element with the <code translate="no" class="notranslate">attr</code> option, like any other attribute:</p>
<div translate="no" data-loc="1" class="notranslate codeblock codeblock-length-sm codeblock-twig">
        <div class="codeblock-scroll">
        
        <pre class="codeblock-code"><code><span class="hljs-template-variable">{{ form_start(form, {attr: {name: false}}</span><span class="xml">) }}</span></code></pre>
    </div>
</div>
</div>
<div class="section">
<h2 id="per-choice-help-and-sorted-choices"><a class="headerlink" href="#per-choice-help-and-sorted-choices" title="Permalink to this headline">Per-Choice Help and Sorted Choices</a></h2>
<div class="blog-post-contributor-info">
    <div class="blog-post-contributor-avatar">
                    <a target="_blank" href="https://connect.symfony.com/profile/amoifr">
                <img src="https://connect.symfony.com/profile/amoifr.picture" alt="Pascal CESCON">
            </a>
                    <a target="_blank" href="https://connect.symfony.com/profile/sebastien76">
                <img src="https://connect.symfony.com/profile/sebastien76.picture" alt="Sébastien JEAN">
            </a>
            </div>
    <div class="blog-post-contributor-contents">
        <span>Contributed by</span>
                    <a target="_blank" class="blog-post-contributor-name" href="https://connect.symfony.com/profile/amoifr">Pascal CESCON</a>
             and                     <a target="_blank" class="blog-post-contributor-name" href="https://connect.symfony.com/profile/sebastien76">Sébastien JEAN</a>
                                        <span class="blog-post-contributor-prs"> in
                                    <a target="_blank" href="https://github.com/symfony/symfony/pull/63819">#63819</a>
                     and                                     <a target="_blank" href="https://github.com/symfony/symfony/pull/66227">#66227</a>
                                                </span>
            </div>
</div>
<p>Form fields can display a help message with the <code translate="no" class="notranslate">help</code> option, but in a
<code translate="no" class="notranslate">ChoiceType</code> field the help applied to the whole field. Symfony 8.2 adds a
<code translate="no" class="notranslate">choice_help</code> option to describe each choice. It works like <code translate="no" class="notranslate">choice_label</code>,
so it accepts an array, a callable or a property path:</p>
<div translate="no" data-loc="7" class="notranslate codeblock codeblock-length-sm codeblock-php">
        <div class="codeblock-scroll">
        
        <pre class="codeblock-code"><code><span class="hljs-variable"><span class="hljs-variable-other-marker">$</span>builder</span>-&gt;<span class="hljs-title invoke__">add</span>(<span class="hljs-string">'plan'</span>, ChoiceType::<span class="hljs-variable language_">class</span>, [
    <span class="hljs-string">'choices'</span> =&gt; <span class="hljs-variable"><span class="hljs-variable-other-marker">$</span>plans</span>,
    <span class="hljs-string">'choice_label'</span> =&gt; <span class="hljs-string">'name'</span>,
    <span class="hljs-comment">// calls the getDescription() method of each Plan object</span>
    <span class="hljs-string">'choice_help'</span> =&gt; <span class="hljs-string">'description'</span>,
    <span class="hljs-string">'expanded'</span> =&gt; <span class="hljs-keyword">true</span>,
]);</code></pre>
    </div>
</div>
<p>Each radio button or checkbox now renders its help message, linked to the input
with an <code translate="no" class="notranslate">aria-describedby</code> attribute for accessibility. The help is translated
with <code translate="no" class="notranslate">choice_translation_domain</code>, like the labels. Collapsed <code translate="no" class="notranslate">&lt;select&gt;</code>
fields don't render it, because <code translate="no" class="notranslate">&lt;option&gt;</code> elements can't contain other elements.</p>
<p>In addition, the new <code translate="no" class="notranslate">sort_choices</code> option sorts the choices alphabetically by
their translated label, using the rules of the current locale. This is useful
for <code translate="no" class="notranslate">EnumType</code> fields, whose cases are listed in their declaration order:</p>
<div translate="no" data-loc="4" class="notranslate codeblock codeblock-length-sm codeblock-php">
        <div class="codeblock-scroll">
        
        <pre class="codeblock-code"><code><span class="hljs-variable"><span class="hljs-variable-other-marker">$</span>builder</span>-&gt;<span class="hljs-title invoke__">add</span>(<span class="hljs-string">'sport'</span>, EnumType::<span class="hljs-variable language_">class</span>, [
    <span class="hljs-string">'class'</span> =&gt; Sport::<span class="hljs-variable language_">class</span>,
    <span class="hljs-string">'sort_choices'</span> =&gt; <span class="hljs-keyword">true</span>,
]);</code></pre>
    </div>
</div>
<p>Sorting uses the <code translate="no" class="notranslate">Collator</code> class of the <code translate="no" class="notranslate">intl</code> PHP extension, so accents,
case and numbers are handled correctly (e.g. <code translate="no" class="notranslate">Level 2</code> goes before <code translate="no" class="notranslate">Level 10</code>).
Choice groups and preferred choices are sorted too.</p>
</div>
                <hr style="margin-bottom: 5px" />
                <div style="font-size: 90%">
                    <a href="https://symfony.com/sponsor">Sponsor</a> the Symfony project.
                </div>
            ]]></content:encoded>
            <guid isPermaLink="false">https://symfony.com/blog/new-in-symfony-8-2-form-improvements?utm_source=Symfony%20Blog%20Feed&amp;utm_medium=feed</guid>
            <dc:creator><![CDATA[ Javier Eguiluz ]]></dc:creator>
            <pubDate>Thu, 12 Nov 2026 09:06:00 +0100</pubDate>
            <comments>https://symfony.com/blog/new-in-symfony-8-2-form-improvements?utm_source=Symfony%20Blog%20Feed&amp;utm_medium=feed#comments-list</comments>
        </item>
                        <item>
            <title>SymfonyCon Warsaw 2026: Beyond Mocks</title>
            <link>https://symfony.com/blog/symfonycon-warsaw-2026-beyond-mocks?utm_source=Symfony%20Blog%20Feed&amp;utm_medium=feed</link>
            <description>
    


Come be part of the conversation at SymfonyCon Warsaw 2026 on November 26-27. Two days, 3 parallel tracks, and a warm community atmosphere in Poland.



🎤 Speaker announcement

We are delighted to welcome Imen Ezzine, Developer, Sensiolabs, as she…</description>
            <content:encoded><![CDATA[
                                <p><a class="block text-center" href="https://live.symfony.com/2026-warsaw-con" title="Nl Blog Banner">
    <img src="https://symfony.com/uploads/assets/blog/NL-BLOG-Banner.png" alt="Nl Blog Banner">
</a></p>

<p>Come be part of the conversation at <strong><a href="https://live.symfony.com/2026-warsaw-con/">SymfonyCon Warsaw 2026</a></strong> on November 26-27. Two days, 3 parallel tracks, and a warm community atmosphere in Poland.</p>

<hr />

<h3>🎤 Speaker announcement</h3>

<p>We are delighted to welcome <strong><a href="https://connect.symfony.com/profile/imen-ezzine">Imen Ezzine</a></strong>, Developer, Sensiolabs, as she takes the stage with her talk <strong><a href="https://live.symfony.com/2026-warsaw-con/schedule/beyond-mocks">Beyond Mocks</a></strong>. We can't wait to share her insights with you!</p>

<p>"Symfony applications rarely live alone. They communicate with payment providers, identity services, messaging platforms, AI APIs, and countless external systems. But as these integrations grow, testing them becomes increasingly difficult: too many mocks, fragile fixtures, outdated assumptions, and tests that no longer reflect reality.</p>

<p>In this talk, we will explore modern approaches to testing HTTP integrations in Symfony applications. We will go beyond traditional mocking strategies and discover how to build tests that are both reliable and maintainable.</p>

<p>Using Symfony HttpClient as a foundation, we will look at practical techniques to improve the developer experience: from controlling HTTP responses, to recording and replaying real interactions, to validating that our application still respects external API contracts.</p>

<p>You will learn how to design a testing strategy that gives confidence without sacrificing speed, making your integrations easier to evolve and safer to maintain."</p>

<p>A special thanks to <strong><a href="https://smile.eu/en/smile-group/open-source">Smile</a></strong> for sponsoring this 3rd track on November 26th.</p>

<p>Click here to see more <strong><a href="https://live.symfony.com/2026-warsaw-con/schedule">talks</a></strong>. The full schedule will be unveiled step-by-step over the coming weeks. Stay tuned!</p>

<h3>Ready to join us?</h3>

<h3>🏨 Accommodation</h3>

<p>The official conference hotel offers special preferential rates and flexible conditions for our attendees. Make sure to use our <strong><a href="https://www.hilton.com/en/book/reservation/rooms/?ctyhocn=WAWHIHI&amp;arrivalDate=2026-11-23&amp;departureDate=2026-11-29&amp;groupCode=GSYMDP&amp;room1NumAdults=1">dedicated link</a></strong> to book your room and stay right where the action happens!</p>

<h3>🥳 Save the date for the Community Party!</h3>

<p>Because SymfonyCon isn't just about code, we are happy to confirm that our traditional Community Party will take place on the evening of <strong>Thursday, November 26</strong>. Get ready for a great night of networking, fun, and connecting with peers!</p>

<h3>💻 Hackday</h3>

<p>Ready to contribute? The Hackday on <strong>Saturday, November 28</strong> (free and open to all!) will take place at "The Brain Embassy - Czackiego" thanks to the support of <a href="https://baksla.sh/">Baksla.sh</a>. Bring your laptop and your good mood!</p>

<h3>🎟️ Get your tickets</h3>

<p>Tickets are available here: <strong><a href="https://live.symfony.com/2026-warsaw-con/registration">Secure your ticket today!</a></strong></p>

<hr />

<h3>Join us online!</h3>

<p>💡Follow the "conference" blog posts to not miss anything!</p>

<p>Want the latest Symfony updates? Follow us and tune in from wherever you are 🌎</p>

<p><a class="block text-center" href="https://linktr.ee/symfony">
   <img src="https://symfony.com/uploads/assets/blog/Banner-BLOG.png" alt="Banner Blog">
</a></p>

                <hr style="margin-bottom: 5px" />
                <div style="font-size: 90%">
                    <a href="https://symfony.com/sponsor">Sponsor</a> the Symfony project.
                </div>
            ]]></content:encoded>
            <guid isPermaLink="false">https://symfony.com/blog/symfonycon-warsaw-2026-beyond-mocks?utm_source=Symfony%20Blog%20Feed&amp;utm_medium=feed</guid>
            <dc:creator><![CDATA[ Mélyne FREUZE ]]></dc:creator>
            <pubDate>Wed, 11 Nov 2026 14:30:00 +0100</pubDate>
            <comments>https://symfony.com/blog/symfonycon-warsaw-2026-beyond-mocks?utm_source=Symfony%20Blog%20Feed&amp;utm_medium=feed#comments-list</comments>
        </item>
                        <item>
            <title>New in Symfony 8.2: Messenger Flows</title>
            <link>https://symfony.com/blog/new-in-symfony-8-2-messenger-flows?utm_source=Symfony%20Blog%20Feed&amp;utm_medium=feed</link>
            <description>Many business processes involve several messages: process a podcast, then
optimize it, then release it; charge a card, then ship the order, and cancel it
if anything goes wrong. In Messenger, these flows are usually built by having
each handler dispatch the…</description>
            <content:encoded><![CDATA[
                                <p>Many business processes involve several messages: process a podcast, then
optimize it, then release it; charge a card, then ship the order, and cancel it
if anything goes wrong. In <a href="https://symfony.com/messenger" class="reference external">Messenger</a>, these flows are usually built by having
each handler dispatch the next message, so the sequence is scattered across
handlers and each handler is coupled to the step that follows it.</p>
<p>Inspired by an <a href="https://blog.ecotone.tech/ecotone-vs-symfony-messenger-the-real-difference/" class="reference external" rel="external noopener noreferrer" target="_blank">article comparing Messenger and Ecotone</a>, Symfony 8.2 adds a set
of stamps that let you <strong>declare these flows when dispatching the first message</strong>.</p>
<div class="section">
<h2 id="carrying-context-across-a-flow"><a class="headerlink" href="#carrying-context-across-a-flow" title="Permalink to this headline">Carrying Context Across a Flow</a></h2>
<div class="blog-post-contributor-info">
    <div class="blog-post-contributor-avatar">
                    <a target="_blank" href="https://connect.symfony.com/profile/nicolas-grekas">
                <img src="https://connect.symfony.com/profile/nicolas-grekas.picture" alt="Nicolas Grekas">
            </a>
            </div>
    <div class="blog-post-contributor-contents">
        <span>Contributed by</span>
                    <a target="_blank" class="blog-post-contributor-name" href="https://connect.symfony.com/profile/nicolas-grekas">Nicolas Grekas</a>
                                        <span class="blog-post-contributor-prs"> in
                                    <a target="_blank" href="https://github.com/symfony/symfony/pull/65899">#65899</a>
                                                </span>
            </div>
</div>
<p>When a handler dispatches a follow-up message, that message starts with an empty
envelope. So data like a tenant ID or a trace ID often ends up as a property of
every message in the flow, only to pass it along.</p>
<p>In Symfony 8.2, stamps that implement the new <code translate="no" class="notranslate">PropagatedStampInterface</code> are
copied automatically to every message dispatched while handling the message that
carries them. In addition, handlers can now get stamps (or the whole
<code translate="no" class="notranslate">Envelope</code>) as arguments after the message:</p>
<div translate="no" data-loc="22" class="notranslate codeblock codeblock-length-md codeblock-php">
        <div class="codeblock-scroll">
        
        <pre class="codeblock-code"><code><span class="hljs-keyword">use</span> <span class="hljs-title">Symfony</span>\<span class="hljs-title">Component</span>\<span class="hljs-title">Messenger</span>\<span class="hljs-title">Stamp</span>\<span class="hljs-title">PropagatedStampInterface</span>;

<span class="hljs-class"><span class="hljs-keyword">class</span> <span class="hljs-title">TenantStamp</span> <span class="hljs-keyword">implements</span> <span class="hljs-title">PropagatedStampInterface</span>
</span>{
    <span class="hljs-keyword">public</span> <span class="hljs-function"><span class="hljs-keyword">function</span> <span class="hljs-title">__construct</span><span class="hljs-params">(
        <span class="hljs-keyword">public</span> <span class="hljs-keyword">readonly</span> <span class="hljs-keyword">string</span> <span class="hljs-variable"><span class="hljs-variable-other-marker">$</span>id</span>,
    )</span> </span>{
    }
}

<span class="hljs-variable"><span class="hljs-variable-other-marker">$</span>bus</span>-&gt;<span class="hljs-title invoke__">dispatch</span>(<span class="hljs-keyword">new</span> <span class="hljs-title invoke__">ImportCatalog</span>(<span class="hljs-variable"><span class="hljs-variable-other-marker">$</span>path</span>), [<span class="hljs-keyword">new</span> <span class="hljs-title invoke__">TenantStamp</span>(<span class="hljs-variable"><span class="hljs-variable-other-marker">$</span>tenant</span>-&gt;id)]);

<span class="hljs-comment">// the ImportCatalog handler dispatches ImportRow messages without dealing</span>
<span class="hljs-comment">// with tenants, but they still receive the TenantStamp</span>
<span class="hljs-meta">#[AsMessageHandler]</span>
<span class="hljs-class"><span class="hljs-keyword">class</span> <span class="hljs-title">ImportRowHandler</span>
</span>{
    <span class="hljs-keyword">public</span> <span class="hljs-function"><span class="hljs-keyword">function</span> <span class="hljs-title">__invoke</span><span class="hljs-params">(ImportRow <span class="hljs-variable"><span class="hljs-variable-other-marker">$</span>row</span>, TenantStamp <span class="hljs-variable"><span class="hljs-variable-other-marker">$</span>tenant</span>)</span>: <span class="hljs-title">void</span>
    </span>{
        <span class="hljs-variable"><span class="hljs-variable-other-marker">$</span>this</span>-&gt;catalogs-&gt;<span class="hljs-keyword">for</span>(<span class="hljs-variable"><span class="hljs-variable-other-marker">$</span>tenant</span>-&gt;id)-&gt;<span class="hljs-title invoke__">add</span>(<span class="hljs-variable"><span class="hljs-variable-other-marker">$</span>row</span>);
    }
}</code></pre>
    </div>
</div>
</div>
<div class="section">
<h2 id="identity-stamps"><a class="headerlink" href="#identity-stamps" title="Permalink to this headline">Identity Stamps</a></h2>
<div class="blog-post-contributor-info">
    <div class="blog-post-contributor-avatar">
                    <a target="_blank" href="https://connect.symfony.com/profile/nicolas-grekas">
                <img src="https://connect.symfony.com/profile/nicolas-grekas.picture" alt="Nicolas Grekas">
            </a>
            </div>
    <div class="blog-post-contributor-contents">
        <span>Contributed by</span>
                    <a target="_blank" class="blog-post-contributor-name" href="https://connect.symfony.com/profile/nicolas-grekas">Nicolas Grekas</a>
                                        <span class="blog-post-contributor-prs"> in
                                    <a target="_blank" href="https://github.com/symfony/symfony/pull/65899">#65899</a>
                                                </span>
            </div>
</div>
<p>When a flow involves many messages, debugging it requires knowing which
messages belong to it and which message dispatched each one. Symfony 8.2 can
add this information automatically with the new <code translate="no" class="notranslate">identity_stamps</code> option:</p>
<div translate="no" data-loc="4" class="notranslate codeblock codeblock-length-sm codeblock-yaml">
        <div class="codeblock-scroll">
        
        <pre class="codeblock-code"><code><span class="hljs-comment"># config/packages/messenger.yaml</span>
<span class="hljs-attr">framework:</span>
    <span class="hljs-attr">messenger:</span>
        <span class="hljs-attr">identity_stamps:</span> <span class="hljs-literal">true</span></code></pre>
    </div>
</div>
<p>When enabled, every message gets a <code translate="no" class="notranslate">MessageIdStamp</code> with a unique ID that is
kept across retries and replays. Messages dispatched by a handler also get a
<code translate="no" class="notranslate">CausationStamp</code> with the ID of the message being handled, and all the
messages of the flow share the same <code translate="no" class="notranslate">CorrelationStamp</code> (the following example
uses short IDs for readability; real IDs are 32-character random strings):</p>
<div translate="no" data-loc="3" class="notranslate codeblock codeblock-length-sm codeblock-text">
        <div class="codeblock-scroll">
        
        <pre class="codeblock-code"><code>ImportCatalog   id: a1   correlation: a1
├── ImportRow   id: b2   correlation: a1   causation: a1
└── ImportRow   id: c3   correlation: a1   causation: a1</code></pre>
    </div>
</div>
<p>As with any other stamp, handlers can get them as arguments (e.g. to add the
correlation ID to your logs). The option is disabled by default because it
changes the serialized envelopes. It's also required by the <a href="https://symfony.com/blog/new-in-symfony-8-2-messenger-inbox" class="reference external">Messenger inbox</a>.</p>
</div>
<div class="section">
<h2 id="chaining-messages"><a class="headerlink" href="#chaining-messages" title="Permalink to this headline">Chaining Messages</a></h2>
<div class="blog-post-contributor-info">
    <div class="blog-post-contributor-avatar">
                    <a target="_blank" href="https://connect.symfony.com/profile/nicolas-grekas">
                <img src="https://connect.symfony.com/profile/nicolas-grekas.picture" alt="Nicolas Grekas">
            </a>
            </div>
    <div class="blog-post-contributor-contents">
        <span>Contributed by</span>
                    <a target="_blank" class="blog-post-contributor-name" href="https://connect.symfony.com/profile/nicolas-grekas">Nicolas Grekas</a>
                                        <span class="blog-post-contributor-prs"> in
                                    <a target="_blank" href="https://github.com/symfony/symfony/pull/65903">#65903</a>
                                                </span>
            </div>
</div>
<p>The new <code translate="no" class="notranslate">ChainStamp</code> lets you define the sequence of a flow in a single place.
Each message is dispatched only after the previous one has been handled by all
its handlers:</p>
<div translate="no" data-loc="10" class="notranslate codeblock codeblock-length-md codeblock-php">
        <div class="codeblock-scroll">
        
        <pre class="codeblock-code"><code><span class="hljs-keyword">use</span> <span class="hljs-title">Symfony</span>\<span class="hljs-title">Component</span>\<span class="hljs-title">Messenger</span>\<span class="hljs-title">Envelope</span>;
<span class="hljs-keyword">use</span> <span class="hljs-title">Symfony</span>\<span class="hljs-title">Component</span>\<span class="hljs-title">Messenger</span>\<span class="hljs-title">Stamp</span>\<span class="hljs-title">ChainStamp</span>;
<span class="hljs-keyword">use</span> <span class="hljs-title">Symfony</span>\<span class="hljs-title">Component</span>\<span class="hljs-title">Messenger</span>\<span class="hljs-title">Stamp</span>\<span class="hljs-title">DelayStamp</span>;

<span class="hljs-variable"><span class="hljs-variable-other-marker">$</span>bus</span>-&gt;<span class="hljs-title invoke__">dispatch</span>(ChainStamp::<span class="hljs-title invoke__">envelope</span>(
    <span class="hljs-keyword">new</span> <span class="hljs-title invoke__">ProcessPodcast</span>(<span class="hljs-variable"><span class="hljs-variable-other-marker">$</span>id</span>),
    <span class="hljs-keyword">new</span> <span class="hljs-title invoke__">OptimizePodcast</span>(<span class="hljs-variable"><span class="hljs-variable-other-marker">$</span>id</span>),
    <span class="hljs-comment">// pass an Envelope to add stamps to a step</span>
    <span class="hljs-keyword">new</span> <span class="hljs-title invoke__">Envelope</span>(<span class="hljs-keyword">new</span> <span class="hljs-title invoke__">ReleasePodcast</span>(<span class="hljs-variable"><span class="hljs-variable-other-marker">$</span>id</span>), [<span class="hljs-keyword">new</span> <span class="hljs-title invoke__">DelayStamp</span>(<span class="hljs-number">3</span>_600_000)]),
));</code></pre>
    </div>
</div>
<p>The remaining steps travel with the message inside the stamp, so a retried step
continues the chain from where it stopped. A step without its own routing goes
to the transport that the previous step was received from, so each step is
retried independently. If a step fails, the chain stops.</p>
</div>
<div class="section">
<h2 id="dispatching-a-message-when-another-one-fails"><a class="headerlink" href="#dispatching-a-message-when-another-one-fails" title="Permalink to this headline">Dispatching a Message When Another One Fails</a></h2>
<div class="blog-post-contributor-info">
    <div class="blog-post-contributor-avatar">
                    <a target="_blank" href="https://connect.symfony.com/profile/nicolas-grekas">
                <img src="https://connect.symfony.com/profile/nicolas-grekas.picture" alt="Nicolas Grekas">
            </a>
            </div>
    <div class="blog-post-contributor-contents">
        <span>Contributed by</span>
                    <a target="_blank" class="blog-post-contributor-name" href="https://connect.symfony.com/profile/nicolas-grekas">Nicolas Grekas</a>
                                        <span class="blog-post-contributor-prs"> in
                                    <a target="_blank" href="https://github.com/symfony/symfony/pull/65917">#65917</a>
                                                </span>
            </div>
</div>
<p>The new <code translate="no" class="notranslate">DispatchOnFailureStamp</code> defines a message to dispatch when the
message it's attached to fails permanently (after all its retries in a worker, or
when the exception is thrown in a synchronous dispatch). Combined with chains,
you can define compensation logic for the entire flow:</p>
<div translate="no" data-loc="18" class="notranslate codeblock codeblock-length-md codeblock-php">
        <div class="codeblock-scroll">
        
        <pre class="codeblock-code"><code><span class="hljs-keyword">use</span> <span class="hljs-title">Symfony</span>\<span class="hljs-title">Component</span>\<span class="hljs-title">Messenger</span>\<span class="hljs-title">Stamp</span>\<span class="hljs-title">ChainStamp</span>;
<span class="hljs-keyword">use</span> <span class="hljs-title">Symfony</span>\<span class="hljs-title">Component</span>\<span class="hljs-title">Messenger</span>\<span class="hljs-title">Stamp</span>\<span class="hljs-title">DispatchOnFailureStamp</span>;
<span class="hljs-keyword">use</span> <span class="hljs-title">Symfony</span>\<span class="hljs-title">Component</span>\<span class="hljs-title">Messenger</span>\<span class="hljs-title">Stamp</span>\<span class="hljs-title">ErrorDetailsStamp</span>;
<span class="hljs-keyword">use</span> <span class="hljs-title">Symfony</span>\<span class="hljs-title">Component</span>\<span class="hljs-title">Messenger</span>\<span class="hljs-title">Stamp</span>\<span class="hljs-title">FailedMessageStamp</span>;

<span class="hljs-variable"><span class="hljs-variable-other-marker">$</span>bus</span>-&gt;<span class="hljs-title invoke__">dispatch</span>(
    ChainStamp::<span class="hljs-title invoke__">envelope</span>(<span class="hljs-keyword">new</span> <span class="hljs-title invoke__">ChargeCard</span>(<span class="hljs-variable"><span class="hljs-variable-other-marker">$</span>orderId</span>), <span class="hljs-keyword">new</span> <span class="hljs-title invoke__">ShipOrder</span>(<span class="hljs-variable"><span class="hljs-variable-other-marker">$</span>orderId</span>))
        -&gt;<span class="hljs-title invoke__">with</span>(<span class="hljs-keyword">new</span> <span class="hljs-title invoke__">DispatchOnFailureStamp</span>(<span class="hljs-keyword">new</span> <span class="hljs-title invoke__">CancelOrder</span>(<span class="hljs-variable"><span class="hljs-variable-other-marker">$</span>orderId</span>)))
);

<span class="hljs-meta">#[AsMessageHandler]</span>
<span class="hljs-class"><span class="hljs-keyword">class</span> <span class="hljs-title">CancelOrderHandler</span>
</span>{
    <span class="hljs-keyword">public</span> <span class="hljs-function"><span class="hljs-keyword">function</span> <span class="hljs-title">__invoke</span><span class="hljs-params">(CancelOrder <span class="hljs-variable"><span class="hljs-variable-other-marker">$</span>message</span>, FailedMessageStamp <span class="hljs-variable"><span class="hljs-variable-other-marker">$</span>failed</span>, ErrorDetailsStamp <span class="hljs-variable"><span class="hljs-variable-other-marker">$</span>error</span>)</span>: <span class="hljs-title">void</span>
    </span>{
        <span class="hljs-comment">// $failed-&gt;getMessage() is the ChargeCard or ShipOrder message that failed</span>
    }
}</code></pre>
    </div>
</div>
<p>Each step of the chain passes the stamp to the next one, so <code translate="no" class="notranslate">CancelOrder</code> is
dispatched only once, whichever step fails. This stamp also replaces the
failure transport: the failed message is only sent to the failure transport when
<code translate="no" class="notranslate">CancelOrder</code> can't be dispatched.</p>
</div>
<div class="section">
<h2 id="retries-and-failure-transport-for-synchronous-messages"><a class="headerlink" href="#retries-and-failure-transport-for-synchronous-messages" title="Permalink to this headline">Retries and Failure Transport for Synchronous Messages</a></h2>
<div class="blog-post-contributor-info">
    <div class="blog-post-contributor-avatar">
                    <a target="_blank" href="https://connect.symfony.com/profile/nicolas-grekas">
                <img src="https://connect.symfony.com/profile/nicolas-grekas.picture" alt="Nicolas Grekas">
            </a>
            </div>
    <div class="blog-post-contributor-contents">
        <span>Contributed by</span>
                    <a target="_blank" class="blog-post-contributor-name" href="https://connect.symfony.com/profile/nicolas-grekas">Nicolas Grekas</a>
                                        <span class="blog-post-contributor-prs"> in
                                    <a target="_blank" href="https://github.com/symfony/symfony/pull/65902">#65902</a>
                                                </span>
            </div>
</div>
<p>Retries and the failure transport were only available to messages handled by
workers. Messages handled with the <code translate="no" class="notranslate">sync://</code> transport (e.g. a payment webhook
processed during the request) weren't retried, and the <code translate="no" class="notranslate">retry_strategy</code> and
<code translate="no" class="notranslate">failure_transport</code> options were silently ignored.</p>
<p>In Symfony 8.2, the <code translate="no" class="notranslate">sync://</code> transport supports both features with the new
<code translate="no" class="notranslate">retry</code> and <code translate="no" class="notranslate">failure_transport</code> options:</p>
<div translate="no" data-loc="12" class="notranslate codeblock codeblock-length-md codeblock-yaml">
        <div class="codeblock-scroll">
        
        <pre class="codeblock-code"><code><span class="hljs-comment"># config/packages/messenger.yaml</span>
<span class="hljs-attr">framework:</span>
    <span class="hljs-attr">messenger:</span>
        <span class="hljs-attr">transports:</span>
            <span class="hljs-attr">webhooks:</span>
                <span class="hljs-attr">dsn:</span> <span class="hljs-string">'sync://?retry=true&amp;failure_transport=true'</span>
                <span class="hljs-attr">retry_strategy:</span>
                    <span class="hljs-attr">max_retries:</span> <span class="hljs-number">2</span>
                <span class="hljs-attr">failure_transport:</span> <span class="hljs-string">failed</span>

        <span class="hljs-attr">routing:</span>
            <span class="hljs-string">App\Webhook\PaymentReceived:</span> <span class="hljs-string">webhooks</span></code></pre>
    </div>
</div>
<p>Failed messages are retried immediately, ignoring the delays of the retry
strategy. If the message still fails, it's sent to the failure transport
instead of throwing an exception, so you can inspect it with
<code translate="no" class="notranslate">messenger:failed:show</code> and retry it with <code translate="no" class="notranslate">messenger:failed:retry</code> as usual.</p>
</div>
<div class="section">
<h2 id="stamps-in-scheduled-tasks"><a class="headerlink" href="#stamps-in-scheduled-tasks" title="Permalink to this headline">Stamps in Scheduled Tasks</a></h2>
<div class="blog-post-contributor-info">
    <div class="blog-post-contributor-avatar">
                    <a target="_blank" href="https://github.com/KalimeroMK">
                <img src="https://github.com/KalimeroMK.png" alt="Zoran Shefot Bogoevski">
            </a>
            </div>
    <div class="blog-post-contributor-contents">
        <span>Contributed by</span>
                    <a target="_blank" class="blog-post-contributor-name" href="https://github.com/KalimeroMK">Zoran Shefot Bogoevski</a>
                                        <span class="blog-post-contributor-prs"> in
                                    <a target="_blank" href="https://github.com/symfony/symfony/pull/66782">#66782</a>
                                                </span>
            </div>
</div>
<p>Adding stamps to the messages of scheduled tasks required a custom schedule
provider. In Symfony 8.2, the <code translate="no" class="notranslate">#[AsCronTask]</code> and <code translate="no" class="notranslate">#[AsPeriodicTask]</code>
attributes include a new <code translate="no" class="notranslate">stamps</code> option. List the stamp class names and, when
a stamp needs constructor arguments, map the class to those arguments:</p>
<div translate="no" data-loc="14" class="notranslate codeblock codeblock-length-md codeblock-php">
        <div class="codeblock-scroll">
        
        <pre class="codeblock-code"><code><span class="hljs-keyword">use</span> <span class="hljs-title">Symfony</span>\<span class="hljs-title">Component</span>\<span class="hljs-title">Messenger</span>\<span class="hljs-title">Stamp</span>\<span class="hljs-title">DelayStamp</span>;
<span class="hljs-keyword">use</span> <span class="hljs-title">Symfony</span>\<span class="hljs-title">Component</span>\<span class="hljs-title">Scheduler</span>\<span class="hljs-title">Attribute</span>\<span class="hljs-title">AsCronTask</span>;

<span class="hljs-meta">#[AsCronTask(<span class="hljs-string">'0 2 * * *'</span>, <span class="hljs-attr">transports</span>: <span class="hljs-string">'async'</span>, <span class="hljs-attr">stamps</span>: [
    DelayStamp::<span class="hljs-variable language_">class</span> =&gt; <span class="hljs-number">5000</span>,
    TenantStamp::<span class="hljs-variable language_">class</span> =&gt; [<span class="hljs-string">'id'</span> =&gt; <span class="hljs-string">'acme'</span>],
])]</span>
<span class="hljs-class"><span class="hljs-keyword">class</span> <span class="hljs-title">GenerateDailyReport</span>
</span>{
    <span class="hljs-keyword">public</span> <span class="hljs-function"><span class="hljs-keyword">function</span> <span class="hljs-title">__invoke</span><span class="hljs-params">()</span>: <span class="hljs-title">void</span>
    </span>{
        <span class="hljs-comment">// ...</span>
    }
}</code></pre>
    </div>
</div>
<p>Stamps used when sending messages (such as <code translate="no" class="notranslate">DelayStamp</code>) only apply when the
task goes through a transport (via the <code translate="no" class="notranslate">transports</code> or
<code translate="no" class="notranslate">use_messenger_routing</code> options).</p>
</div>
                <hr style="margin-bottom: 5px" />
                <div style="font-size: 90%">
                    <a href="https://symfony.com/sponsor">Sponsor</a> the Symfony project.
                </div>
            ]]></content:encoded>
            <guid isPermaLink="false">https://symfony.com/blog/new-in-symfony-8-2-messenger-flows?utm_source=Symfony%20Blog%20Feed&amp;utm_medium=feed</guid>
            <dc:creator><![CDATA[ Javier Eguiluz ]]></dc:creator>
            <pubDate>Wed, 11 Nov 2026 09:16:00 +0100</pubDate>
            <comments>https://symfony.com/blog/new-in-symfony-8-2-messenger-flows?utm_source=Symfony%20Blog%20Feed&amp;utm_medium=feed#comments-list</comments>
        </item>
                        <item>
            <title>SymfonyCon Warsaw 2026: From 30% to 100%: Fifteen Years of Hearing Loss and Tech</title>
            <link>https://symfony.com/blog/symfonycon-warsaw-2026-from-30-to-100-fifteen-years-of-hearing-loss-and-tech?utm_source=Symfony%20Blog%20Feed&amp;utm_medium=feed</link>
            <description>
    


Interested in where PHP and Symfony are heading? Meet up with the community at SymfonyCon Warsaw 2026 on November 26-27 for two full days of talks and discussions.



🎤 Speaker announcement

We are thrilled to present Florian Margaine, Field CTO,…</description>
            <content:encoded><![CDATA[
                                <p><a class="block text-center" href="https://live.symfony.com/2026-warsaw-con" title="Nl Blog Banner">
    <img src="https://symfony.com/uploads/assets/blog/NL-BLOG-Banner.png" alt="Nl Blog Banner">
</a></p>

<p>Interested in where PHP and Symfony are heading? Meet up with the community at <strong><a href="https://live.symfony.com/2026-warsaw-con/">SymfonyCon Warsaw 2026</a></strong> on November 26-27 for two full days of talks and discussions.</p>

<hr />

<h3>🎤 Speaker announcement</h3>

<p>We are thrilled to present <strong><a href="https://connect.symfony.com/profile/ralt">Florian Margaine</a></strong>, Field CTO, Upsun, and his presentation <strong><a href="https://live.symfony.com/2026-warsaw-con/schedule/evolution-of-a-hard-of-hearing-person-with-technology">From 30% to 100%: Fifteen Years of Hearing Loss and Tech</a></strong>. Looking forward to an incredible session!</p>

<p>"I'm Field CTO at Upsun, with profound hearing loss since birth. My primary job is to help our teams collaborate better in order to solve our customers’ problems. An ironic position given my disability.</p>

<p>In this personal presentation, I share six technological advancements that transformed my career over 15 years: hearing aids, subtitles, text-based communication, Bluetooth connectivity, live captions, and smart glasses.</p>

<p>These technologies increased my comprehension from 30% to 90-100% in meetings, enabling me to thrive in a fully remote company for 11 years. But here's the challenge: we have the technology, yet accessibility is rarely the default.</p>

<p>I'll demonstrate how accessibility features benefit everyone (subtitles in noisy environments, text communication for time zones, searchable captions), and provide three concrete actions developers can take tomorrow to make technology more inclusive. Every developer choice either includes or excludes 15% of users. Choose inclusion."</p>

<p>A special thanks to <strong><a href="https://upsun.com">Upsun</a></strong> for sponsoring this 3rd track on November 27th.</p>

<p>Click here to see more <strong><a href="https://live.symfony.com/2026-warsaw-con/schedule">talks</a></strong>. The full schedule will be unveiled step-by-step over the coming weeks. Stay tuned!</p>

<h3>Ready to join us?</h3>

<h3>🏨 Accommodation</h3>

<p>The official conference hotel offers special preferential rates and flexible conditions for our attendees. Make sure to use our <strong><a href="https://www.hilton.com/en/book/reservation/rooms/?ctyhocn=WAWHIHI&amp;arrivalDate=2026-11-23&amp;departureDate=2026-11-29&amp;groupCode=GSYMDP&amp;room1NumAdults=1">dedicated link</a></strong> to book your room and stay right where the action happens!</p>

<h3>🥳 Save the date for the Community Party!</h3>

<p>Because SymfonyCon isn't just about code, we are happy to confirm that our traditional Community Party will take place on the evening of <strong>Thursday, November 26</strong>. Get ready for a great night of networking, fun, and connecting with peers!</p>

<h3>💻 Hackday</h3>

<p>Ready to contribute? The Hackday on <strong>Saturday, November 28</strong> (free and open to all!) will take place at "The Brain Embassy - Czackiego" thanks to the support of <a href="https://baksla.sh/">Baksla.sh</a>. Bring your laptop and your good mood!</p>

<h3>🎟️ Get your tickets</h3>

<p>Tickets are available here: <strong><a href="https://live.symfony.com/2026-warsaw-con/registration">Secure your ticket today!</a></strong></p>

<hr />

<h3>Join us online!</h3>

<p>💡Follow the "conference" blog posts to not miss anything!</p>

<p>Want the latest Symfony updates? Follow us and tune in from wherever you are 🌎</p>

<p><a class="block text-center" href="https://linktr.ee/symfony">
   <img src="https://symfony.com/uploads/assets/blog/Banner-BLOG.png" alt="Banner Blog">
</a></p>

                <hr style="margin-bottom: 5px" />
                <div style="font-size: 90%">
                    <a href="https://symfony.com/sponsor">Sponsor</a> the Symfony project.
                </div>
            ]]></content:encoded>
            <guid isPermaLink="false">https://symfony.com/blog/symfonycon-warsaw-2026-from-30-to-100-fifteen-years-of-hearing-loss-and-tech?utm_source=Symfony%20Blog%20Feed&amp;utm_medium=feed</guid>
            <dc:creator><![CDATA[ Mélyne FREUZE ]]></dc:creator>
            <pubDate>Tue, 10 Nov 2026 14:30:00 +0100</pubDate>
            <comments>https://symfony.com/blog/symfonycon-warsaw-2026-from-30-to-100-fifteen-years-of-hearing-loss-and-tech?utm_source=Symfony%20Blog%20Feed&amp;utm_medium=feed#comments-list</comments>
        </item>
                        <item>
            <title>New in Symfony 8.2: AssetMapper Improvements</title>
            <link>https://symfony.com/blog/new-in-symfony-8-2-assetmapper-improvements?utm_source=Symfony%20Blog%20Feed&amp;utm_medium=feed</link>
            <description>AssetMapper lets you use modern JavaScript and CSS without a build step,
relying on native browser features like import maps. Symfony 8.2 improves it in
several areas: security of third-party packages, control over what the import
map exposes, and a smoother…</description>
            <content:encoded><![CDATA[
                                <p><a href="https://symfony.com/doc/current/frontend/asset_mapper.html" class="reference external">AssetMapper</a> lets you use modern JavaScript and CSS without a build step,
relying on native browser features like import maps. Symfony 8.2 improves it in
several areas: security of third-party packages, control over what the import
map exposes, and a smoother development experience.</p>
<div class="section">
<h2 id="subresource-integrity-for-import-maps"><a class="headerlink" href="#subresource-integrity-for-import-maps" title="Permalink to this headline">Subresource Integrity for Import Maps</a></h2>
<div class="blog-post-contributor-info">
    <div class="blog-post-contributor-avatar">
                    <a target="_blank" href="https://connect.symfony.com/profile/oby">
                <img src="https://connect.symfony.com/profile/oby.picture" alt="Ousama Ben Younes">
            </a>
            </div>
    <div class="blog-post-contributor-contents">
        <span>Contributed by</span>
                    <a target="_blank" class="blog-post-contributor-name" href="https://connect.symfony.com/profile/oby">Ousama Ben Younes</a>
                                        <span class="blog-post-contributor-prs"> in
                                    <a target="_blank" href="https://github.com/symfony/symfony/pull/65078">#65078</a>
                                                </span>
            </div>
</div>
<p><a href="https://developer.mozilla.org/en-US/docs/Web/Security/Subresource_Integrity" class="reference external" rel="external noopener noreferrer" target="_blank">Subresource Integrity</a> (SRI) lets browsers check that the files they download
haven't been tampered with, by comparing them with a cryptographic hash that you
provide. Symfony 8.2 adds a new option to generate these hashes for the
resources of your import map:</p>
<div class="configuration-block">
    <div role="tablist" aria-label="Configuration formats" class="configuration-tabs configuration-tabs-length-2">
                    <button role="tab" type="button" data-language="yaml" aria-controls="configuration-block-tabpanel-33c085292d7c86e2ff700999eac756812ec692cc" aria-selected="true" data-active="true">
                <span>YAML</span>
            </button>
                    <button role="tab" type="button" data-language="php" aria-controls="configuration-block-tabpanel-42d393e73bc1d5d4f41114138367b3e9cd561f69" aria-selected="false" tabindex="-1">
                <span>PHP</span>
            </button>
            </div>

            <div role="tabpanel" id="configuration-block-tabpanel-33c085292d7c86e2ff700999eac756812ec692cc" aria-label="YAML" class="configuration-codeblock" data-language="yaml" style="">
            <div translate="no" data-loc="4" class="notranslate codeblock codeblock-length-sm codeblock-yaml">
        <div class="codeblock-scroll">
        
        <pre class="codeblock-code"><code><span class="hljs-comment"># config/packages/asset_mapper.yaml</span>
<span class="hljs-attr">framework:</span>
    <span class="hljs-attr">asset_mapper:</span>
        <span class="hljs-attr">importmap_integrity_algorithms:</span> <span class="hljs-string">['sha384']</span></code></pre>
    </div>
</div>
        </div>
            <div role="tabpanel" id="configuration-block-tabpanel-42d393e73bc1d5d4f41114138367b3e9cd561f69" aria-label="PHP" class="configuration-codeblock" data-language="php" style="display: none">
            <div translate="no" data-loc="10" class="notranslate codeblock codeblock-length-md codeblock-php">
        <div class="codeblock-scroll">
        
        <pre class="codeblock-code"><code><span class="hljs-comment">// config/packages/asset_mapper.php</span>
<span class="hljs-keyword">namespace</span> <span class="hljs-title">Symfony</span>\<span class="hljs-title">Component</span>\<span class="hljs-title">DependencyInjection</span>\<span class="hljs-title">Loader</span>\<span class="hljs-title">Configurator</span>;

<span class="hljs-keyword">return</span> App::<span class="hljs-title invoke__">config</span>([
    <span class="hljs-string">'framework'</span> =&gt; [
        <span class="hljs-string">'asset_mapper'</span> =&gt; [
            <span class="hljs-string">'importmap_integrity_algorithms'</span> =&gt; [<span class="hljs-string">'sha384'</span>],
        ],
    ],
]);</code></pre>
    </div>
</div>
        </div>
    </div>
<p>The supported algorithms are <code translate="no" class="notranslate">sha256</code>, <code translate="no" class="notranslate">sha384</code> and <code translate="no" class="notranslate">sha512</code>. When this
option is enabled, the <code translate="no" class="notranslate">importmap()</code> Twig function adds the <code translate="no" class="notranslate">integrity</code> key
to the rendered import map and the <code translate="no" class="notranslate">integrity</code> attribute to the
<code translate="no" class="notranslate">modulepreload</code> and stylesheet links:</p>
<div translate="no" data-loc="2" class="notranslate codeblock codeblock-length-sm codeblock-html">
        <div class="codeblock-scroll">
        
        <pre class="codeblock-code"><code><span class="hljs-tag">&lt;<span class="hljs-name">link</span> <span class="hljs-attr">rel</span>=<span class="hljs-string">"stylesheet"</span> <span class="hljs-attr">href</span>=<span class="hljs-string">"/assets/styles/app-1b4f0a2c.css"</span> <span class="hljs-attr">integrity</span>=<span class="hljs-string">"sha384-..."</span>&gt;</span>
<span class="hljs-tag">&lt;<span class="hljs-name">link</span> <span class="hljs-attr">rel</span>=<span class="hljs-string">"modulepreload"</span> <span class="hljs-attr">href</span>=<span class="hljs-string">"/assets/app-3e8b5c1d.js"</span> <span class="hljs-attr">integrity</span>=<span class="hljs-string">"sha384-..."</span>&gt;</span></code></pre>
    </div>
</div>
</div>
<div class="section">
<h2 id="minimum-release-age-for-package-updates"><a class="headerlink" href="#minimum-release-age-for-package-updates" title="Permalink to this headline">Minimum Release Age for Package Updates</a></h2>
<div class="blog-post-contributor-info">
    <div class="blog-post-contributor-avatar">
                    <a target="_blank" href="https://connect.symfony.com/profile/oby">
                <img src="https://connect.symfony.com/profile/oby.picture" alt="Ousama Ben Younes">
            </a>
            </div>
    <div class="blog-post-contributor-contents">
        <span>Contributed by</span>
                    <a target="_blank" class="blog-post-contributor-name" href="https://connect.symfony.com/profile/oby">Ousama Ben Younes</a>
                                        <span class="blog-post-contributor-prs"> in
                                    <a target="_blank" href="https://github.com/symfony/symfony/pull/65074">#65074</a>
                                                </span>
            </div>
</div>
<p>Supply chain attacks usually target freshly published package versions. If you
wait a few days before installing a new version, a compromised release has time
to be detected and removed. Tools like npm, pnpm and yarn already provide this
feature, and Symfony 8.2 adds it to AssetMapper:</p>
<div class="configuration-block">
    <div role="tablist" aria-label="Configuration formats" class="configuration-tabs configuration-tabs-length-2">
                    <button role="tab" type="button" data-language="yaml" aria-controls="configuration-block-tabpanel-9f7217c3a19312e0ebd5be82e1b6ae2f55b297d8" aria-selected="true" data-active="true">
                <span>YAML</span>
            </button>
                    <button role="tab" type="button" data-language="php" aria-controls="configuration-block-tabpanel-2faee1f0d87ccdb866b4f99f78839fca0db50f8c" aria-selected="false" tabindex="-1">
                <span>PHP</span>
            </button>
            </div>

            <div role="tabpanel" id="configuration-block-tabpanel-9f7217c3a19312e0ebd5be82e1b6ae2f55b297d8" aria-label="YAML" class="configuration-codeblock" data-language="yaml" style="">
            <div translate="no" data-loc="5" class="notranslate codeblock codeblock-length-sm codeblock-yaml">
        <div class="codeblock-scroll">
        
        <pre class="codeblock-code"><code><span class="hljs-comment"># config/packages/asset_mapper.yaml</span>
<span class="hljs-attr">framework:</span>
    <span class="hljs-attr">asset_mapper:</span>
        <span class="hljs-comment"># in seconds (7 days); the default value (0) disables this check</span>
        <span class="hljs-attr">minimum_release_age:</span> <span class="hljs-number">604800</span></code></pre>
    </div>
</div>
        </div>
            <div role="tabpanel" id="configuration-block-tabpanel-2faee1f0d87ccdb866b4f99f78839fca0db50f8c" aria-label="PHP" class="configuration-codeblock" data-language="php" style="display: none">
            <div translate="no" data-loc="11" class="notranslate codeblock codeblock-length-md codeblock-php">
        <div class="codeblock-scroll">
        
        <pre class="codeblock-code"><code><span class="hljs-comment">// config/packages/asset_mapper.php</span>
<span class="hljs-keyword">namespace</span> <span class="hljs-title">Symfony</span>\<span class="hljs-title">Component</span>\<span class="hljs-title">DependencyInjection</span>\<span class="hljs-title">Loader</span>\<span class="hljs-title">Configurator</span>;

<span class="hljs-keyword">return</span> App::<span class="hljs-title invoke__">config</span>([
    <span class="hljs-string">'framework'</span> =&gt; [
        <span class="hljs-string">'asset_mapper'</span> =&gt; [
            <span class="hljs-comment">// in seconds (7 days); the default value (0) disables this check</span>
            <span class="hljs-string">'minimum_release_age'</span> =&gt; <span class="hljs-number">604800</span>,
        ],
    ],
]);</code></pre>
    </div>
</div>
        </div>
    </div>
<p>With this option, the <code translate="no" class="notranslate">importmap:update</code> command ignores the versions that are
newer than the given age (and also prerelease versions and the ones above the
<code translate="no" class="notranslate">latest</code> tag). The <code translate="no" class="notranslate">importmap:outdated</code> command shows the versions held back
in a new <code translate="no" class="notranslate">Withheld</code> column:</p>
<div translate="no" data-loc="7" class="notranslate codeblock codeblock-length-sm codeblock-terminal codeblock-bash">
        <div class="codeblock-scroll">
        
        <pre class="codeblock-code"><code><span class="hljs-prompt">$ </span>php bin/console importmap:outdated

 ----------- --------- -------- ----------
  Package     Current   Latest   Withheld
 ----------- --------- -------- ----------
  bootstrap   5.3.1     5.3.2    5.3.3
 ----------- --------- -------- ----------</code></pre>
    </div>
</div>
<p>This check doesn't apply to <code translate="no" class="notranslate">importmap:require</code>, so you can still install a
recent version when you need an urgent upgrade. Keep in mind that, to know when
each version was published, update checks now download the full npm metadata of
each package, which is much larger than the abbreviated one used by default.</p>
</div>
<div class="section">
<h2 id="requiring-raw-esm-packages"><a class="headerlink" href="#requiring-raw-esm-packages" title="Permalink to this headline">Requiring Raw ESM Packages</a></h2>
<div class="blog-post-contributor-info">
    <div class="blog-post-contributor-avatar">
                    <a target="_blank" href="https://connect.symfony.com/profile/oby">
                <img src="https://connect.symfony.com/profile/oby.picture" alt="Ousama Ben Younes">
            </a>
            </div>
    <div class="blog-post-contributor-contents">
        <span>Contributed by</span>
                    <a target="_blank" class="blog-post-contributor-name" href="https://connect.symfony.com/profile/oby">Ousama Ben Younes</a>
                                        <span class="blog-post-contributor-prs"> in
                                    <a target="_blank" href="https://github.com/symfony/symfony/pull/65075">#65075</a>
                                                </span>
            </div>
</div>
<p>When you require a third-party package, AssetMapper downloads the ESM build that
jsDelivr generates for it. Sometimes this generated build is broken, so Symfony
8.2 adds a <code translate="no" class="notranslate">--no-esm</code> option to download the file published by the package
as-is:</p>
<div translate="no" data-loc="1" class="notranslate codeblock codeblock-length-sm codeblock-terminal codeblock-bash">
        <div class="codeblock-scroll">
        
        <pre class="codeblock-code"><code><span class="hljs-prompt">$ </span>php bin/console importmap:require <span class="hljs-string">"fullcalendar/index.global.js=fullcalendar"</span> --no-esm</code></pre>
    </div>
</div>
<p>This adds an <code translate="no" class="notranslate">esm</code> key to the package entry in <code translate="no" class="notranslate">importmap.php</code>:</p>
<div translate="no" data-loc="9" class="notranslate codeblock codeblock-length-sm codeblock-php">
        <div class="codeblock-scroll">
        
        <pre class="codeblock-code"><code><span class="hljs-comment">// importmap.php</span>
<span class="hljs-keyword">return</span> [
    <span class="hljs-comment">// ...</span>
    <span class="hljs-string">'fullcalendar'</span> =&gt; [
        <span class="hljs-string">'version'</span> =&gt; <span class="hljs-string">'7.0.0'</span>,
        <span class="hljs-string">'package_specifier'</span> =&gt; <span class="hljs-string">'fullcalendar/index.global.js'</span>,
        <span class="hljs-string">'esm'</span> =&gt; <span class="hljs-keyword">false</span>,
    ],
];</code></pre>
    </div>
</div>
<p>When using this option, you must pass the path of the file inside the package.
AssetMapper also downloads the files imported with relative paths (e.g.
<code translate="no" class="notranslate">import './chunk/calendar.js'</code>) and adds them to the import map. However, bare
imports such as <code translate="no" class="notranslate">import { h } from 'preact'</code> are not resolved, so you must
require those packages yourself.</p>
</div>
<div class="section">
<h2 id="ignoring-compiled-assets-in-debug-mode"><a class="headerlink" href="#ignoring-compiled-assets-in-debug-mode" title="Permalink to this headline">Ignoring Compiled Assets in Debug Mode</a></h2>
<div class="blog-post-contributor-info">
    <div class="blog-post-contributor-avatar">
                    <a target="_blank" href="https://connect.symfony.com/profile/simonandre">
                <img src="https://connect.symfony.com/profile/simonandre.picture" alt="Simon André">
            </a>
            </div>
    <div class="blog-post-contributor-contents">
        <span>Contributed by</span>
                    <a target="_blank" class="blog-post-contributor-name" href="https://connect.symfony.com/profile/simonandre">Simon André</a>
                                        <span class="blog-post-contributor-prs"> in
                                    <a target="_blank" href="https://github.com/symfony/symfony/pull/64852">#64852</a>
                                                </span>
            </div>
</div>
<p>In production, AssetMapper reads the metadata files generated by the
<code translate="no" class="notranslate">asset-map:compile</code> command. If you ran that command on your local machine,
the development environment also used those files, so your changes to the
source assets were ignored until you removed the <code translate="no" class="notranslate">public/assets/</code> directory.</p>
<p>In Symfony 8.2, AssetMapper ignores the compiled metadata when the debug mode
is enabled, so assets are always resolved from their source files in your
development environment. The <code translate="no" class="notranslate">asset-map:compile</code> command also displays a note
to remind you about this behavior when you run it in debug mode.</p>
</div>
<div class="section">
<h2 id="rendering-only-the-reachable-import-map-entries"><a class="headerlink" href="#rendering-only-the-reachable-import-map-entries" title="Permalink to this headline">Rendering Only the Reachable Import Map Entries</a></h2>
<div class="blog-post-contributor-info">
    <div class="blog-post-contributor-avatar">
                    <a target="_blank" href="https://connect.symfony.com/profile/amoifr">
                <img src="https://connect.symfony.com/profile/amoifr.picture" alt="Pascal CESCON">
            </a>
            </div>
    <div class="blog-post-contributor-contents">
        <span>Contributed by</span>
                    <a target="_blank" class="blog-post-contributor-name" href="https://connect.symfony.com/profile/amoifr">Pascal CESCON</a>
                                        <span class="blog-post-contributor-prs"> in
                                    <a target="_blank" href="https://github.com/symfony/symfony/pull/65622">#65622</a>
                                                </span>
            </div>
</div>
<p>The <code translate="no" class="notranslate">importmap()</code> Twig function renders all the entries of <code translate="no" class="notranslate">importmap.php</code>.
In applications with several entrypoints, this means that a public page (e.g.
the login page) reveals the entrypoints of other sections (e.g. the admin
backend) and their dependencies.</p>
<p>Symfony 8.2 adds an option to only render the entries reachable from the
entrypoints of the page:</p>
<div class="configuration-block">
    <div role="tablist" aria-label="Configuration formats" class="configuration-tabs configuration-tabs-length-2">
                    <button role="tab" type="button" data-language="yaml" aria-controls="configuration-block-tabpanel-9a337fffb9c1f4cdaff68cb5871bac0fac1ecf82" aria-selected="true" data-active="true">
                <span>YAML</span>
            </button>
                    <button role="tab" type="button" data-language="php" aria-controls="configuration-block-tabpanel-591880f46e9d38872db12eab585c44c6040f2208" aria-selected="false" tabindex="-1">
                <span>PHP</span>
            </button>
            </div>

            <div role="tabpanel" id="configuration-block-tabpanel-9a337fffb9c1f4cdaff68cb5871bac0fac1ecf82" aria-label="YAML" class="configuration-codeblock" data-language="yaml" style="">
            <div translate="no" data-loc="5" class="notranslate codeblock codeblock-length-sm codeblock-yaml">
        <div class="codeblock-scroll">
        
        <pre class="codeblock-code"><code><span class="hljs-comment"># config/packages/asset_mapper.yaml</span>
<span class="hljs-attr">framework:</span>
    <span class="hljs-attr">asset_mapper:</span>
        <span class="hljs-comment"># the default value is 'all'</span>
        <span class="hljs-attr">importmap_entries:</span> <span class="hljs-string">reachable</span></code></pre>
    </div>
</div>
        </div>
            <div role="tabpanel" id="configuration-block-tabpanel-591880f46e9d38872db12eab585c44c6040f2208" aria-label="PHP" class="configuration-codeblock" data-language="php" style="display: none">
            <div translate="no" data-loc="11" class="notranslate codeblock codeblock-length-md codeblock-php">
        <div class="codeblock-scroll">
        
        <pre class="codeblock-code"><code><span class="hljs-comment">// config/packages/asset_mapper.php</span>
<span class="hljs-keyword">namespace</span> <span class="hljs-title">Symfony</span>\<span class="hljs-title">Component</span>\<span class="hljs-title">DependencyInjection</span>\<span class="hljs-title">Loader</span>\<span class="hljs-title">Configurator</span>;

<span class="hljs-keyword">return</span> App::<span class="hljs-title invoke__">config</span>([
    <span class="hljs-string">'framework'</span> =&gt; [
        <span class="hljs-string">'asset_mapper'</span> =&gt; [
            <span class="hljs-comment">// the default value is 'all'</span>
            <span class="hljs-string">'importmap_entries'</span> =&gt; <span class="hljs-string">'reachable'</span>,
        ],
    ],
]);</code></pre>
    </div>
</div>
        </div>
    </div>
<p>The reachable entries include both static and dynamic imports, so lazy Stimulus
controllers keep working. The only exception is dynamic imports whose
specifier is a variable (e.g. <code translate="no" class="notranslate">import(someVariable)</code>), which can't be traced.
That's why this option is disabled by default.</p>
</div>
<div class="section">
<h2 id="configurable-metadata-directory"><a class="headerlink" href="#configurable-metadata-directory" title="Permalink to this headline">Configurable Metadata Directory</a></h2>
<div class="blog-post-contributor-info">
    <div class="blog-post-contributor-avatar">
                    <a target="_blank" href="https://connect.symfony.com/profile/simonandre">
                <img src="https://connect.symfony.com/profile/simonandre.picture" alt="Simon André">
            </a>
            </div>
    <div class="blog-post-contributor-contents">
        <span>Contributed by</span>
                    <a target="_blank" class="blog-post-contributor-name" href="https://connect.symfony.com/profile/simonandre">Simon André</a>
                                        <span class="blog-post-contributor-prs"> in
                                    <a target="_blank" href="https://github.com/symfony/symfony/pull/65642">#65642</a>
                                                </span>
            </div>
</div>
<p>The <code translate="no" class="notranslate">asset-map:compile</code> command generates the <code translate="no" class="notranslate">manifest.json</code>,
<code translate="no" class="notranslate">importmap.json</code> and <code translate="no" class="notranslate">entrypoint.*.json</code> files in the public assets
directory. They are only read by PHP, but they are publicly accessible because
of their location. Symfony 8.2 adds an option to store them in any other
directory:</p>
<div class="configuration-block">
    <div role="tablist" aria-label="Configuration formats" class="configuration-tabs configuration-tabs-length-2">
                    <button role="tab" type="button" data-language="yaml" aria-controls="configuration-block-tabpanel-fab227d5e320cbb9104216d661a7fadc89eac513" aria-selected="true" data-active="true">
                <span>YAML</span>
            </button>
                    <button role="tab" type="button" data-language="php" aria-controls="configuration-block-tabpanel-c80b0b48da6b973d85ec0a8435ed2e0b4b9d74eb" aria-selected="false" tabindex="-1">
                <span>PHP</span>
            </button>
            </div>

            <div role="tabpanel" id="configuration-block-tabpanel-fab227d5e320cbb9104216d661a7fadc89eac513" aria-label="YAML" class="configuration-codeblock" data-language="yaml" style="">
            <div translate="no" data-loc="4" class="notranslate codeblock codeblock-length-sm codeblock-yaml">
        <div class="codeblock-scroll">
        
        <pre class="codeblock-code"><code><span class="hljs-comment"># config/packages/asset_mapper.yaml</span>
<span class="hljs-attr">framework:</span>
    <span class="hljs-attr">asset_mapper:</span>
        <span class="hljs-attr">metadata_dir:</span> <span class="hljs-string">'%kernel.project_dir%/var/assets'</span></code></pre>
    </div>
</div>
        </div>
            <div role="tabpanel" id="configuration-block-tabpanel-c80b0b48da6b973d85ec0a8435ed2e0b4b9d74eb" aria-label="PHP" class="configuration-codeblock" data-language="php" style="display: none">
            <div translate="no" data-loc="10" class="notranslate codeblock codeblock-length-md codeblock-php">
        <div class="codeblock-scroll">
        
        <pre class="codeblock-code"><code><span class="hljs-comment">// config/packages/asset_mapper.php</span>
<span class="hljs-keyword">namespace</span> <span class="hljs-title">Symfony</span>\<span class="hljs-title">Component</span>\<span class="hljs-title">DependencyInjection</span>\<span class="hljs-title">Loader</span>\<span class="hljs-title">Configurator</span>;

<span class="hljs-keyword">return</span> App::<span class="hljs-title invoke__">config</span>([
    <span class="hljs-string">'framework'</span> =&gt; [
        <span class="hljs-string">'asset_mapper'</span> =&gt; [
            <span class="hljs-string">'metadata_dir'</span> =&gt; <span class="hljs-string">'%kernel.project_dir%/var/assets'</span>,
        ],
    ],
]);</code></pre>
    </div>
</div>
        </div>
    </div>
<p>The default value of this option doesn't change, so these files stay in the
public assets directory unless you configure it.</p>
</div>
                <hr style="margin-bottom: 5px" />
                <div style="font-size: 90%">
                    <a href="https://symfony.com/sponsor">Sponsor</a> the Symfony project.
                </div>
            ]]></content:encoded>
            <guid isPermaLink="false">https://symfony.com/blog/new-in-symfony-8-2-assetmapper-improvements?utm_source=Symfony%20Blog%20Feed&amp;utm_medium=feed</guid>
            <dc:creator><![CDATA[ Javier Eguiluz ]]></dc:creator>
            <pubDate>Tue, 10 Nov 2026 09:14:00 +0100</pubDate>
            <comments>https://symfony.com/blog/new-in-symfony-8-2-assetmapper-improvements?utm_source=Symfony%20Blog%20Feed&amp;utm_medium=feed#comments-list</comments>
        </item>
            </channel>
</rss>
