Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Console] Better error handling when misuse of ArgvInput with arrays #53838

Closed
wants to merge 8,156 commits into from
This pull request is big! We’re only showing the most recent 250 commits.

Commits on Feb 3, 2024

  1. Merge branch '6.4' into 7.0

    * 6.4:
      [Console] Fix color support
    fabpot committed Feb 3, 2024
    Configuration menu
    Copy the full SHA
    f554b57 View commit details
    Browse the repository at this point in the history
  2. Merge branch '7.0' into 7.1

    * 7.0:
      fix tests
      fix tests
      [Console] Fix color support
    fabpot committed Feb 3, 2024
    Configuration menu
    Copy the full SHA
    db5021f View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    a1be5df View commit details
    Browse the repository at this point in the history
  4. feature symfony#48276 [Security] add CAS 2.0 AccessToken handler (nac…

    …orp)
    
    This PR was squashed before being merged into the 7.1 branch.
    
    Discussion
    ----------
    
    [Security] add CAS 2.0 AccessToken handler
    
    | Q             | A
    | ------------- | ---
    | Branch?       | 6.3
    | Bug fix?      | no
    | New feature?  | yes
    | Deprecations? | no
    | Tickets       |
    | License       | MIT
    | Doc PR        | in progress
    
    Hello,
    
    Thanks to the new access token, I've added the [CAS](https://apereo.github.io/cas/6.6.x/protocol/CAS-Protocol-V2-Specification.html) one.
    
    In order to make it work :
    
    services.yaml
    
    ```yaml
        Symfony\Component\Security\Http\AccessToken\Handler\CasHandler:
            arguments:
                $validationUrl: '%env(CAS_SERVER_VALIDATION_URL)%'
    
        security.access_token_extractor.cas:
            class: Symfony\Component\Security\Http\AccessToken\QueryAccessTokenExtractor
            arguments:
                - 'ticket'
    ```
    
    Thank you `@welcoMattic` for the conference at the SymfonyCon  and `@jeremyFreeAgent` for your support on my first PR on this project!
    
    Commits
    -------
    
    a1be5df [Security] add CAS 2.0 AccessToken handler
    fabpot committed Feb 3, 2024
    Configuration menu
    Copy the full SHA
    3a4889f View commit details
    Browse the repository at this point in the history
  5. feature symfony#52230 [Yaml] Allow to get all the enum cases (phansys)

    This PR was merged into the 7.1 branch.
    
    Discussion
    ----------
    
    [Yaml] Allow to get all the enum cases
    
    | Q             | A
    | ------------- | ---
    | Branch?       | 7.1
    | Bug fix?      | no
    | New feature?  | yes
    | Deprecations? | no
    | Issues        | n/a
    | License       | MIT
    
    <!--
    Replace this notice by a description of your feature/bugfix.
    This will help reviewers and should be a good start for the documentation.
    
    Additionally (see https://symfony.com/releases):
     - Always add tests and ensure they pass.
     - Bug fixes must be submitted against the lowest maintained branch where they apply
       (lowest branches are regularly merged to upper ones so they get the fixes too).
     - Features and deprecations must be submitted against the latest branch.
     - For new features, provide some code snippets to help understand usage.
     - Changelog entry should follow https://symfony.com/doc/current/contributing/code/conventions.html#writing-a-changelog-entry
     - Never break backward compatibility (see https://symfony.com/bc).
    -->
    
    With this addition, the `!php/enum` syntax is allowed to expose an array with all the enum cases (the result from [`UnitEnum::cases()`](https://www.php.net/manual/en/unitenum.cases.php)). This is useful for cases like `choices` option from the `Choice` validation constraint:
    
    **BEFORE**:
    ```yaml
    App\Entity\User:
        properties:
            status:
                - Choice:
                    choices:
                        - !php/enum 'App\Entity\Enum\UserStatus::Enabled'
                        - !php/enum 'App\Entity\Enum\UserStatus::Disabled'
                        - !php/enum 'App\Entity\Enum\UserStatus::Blocked'
    ```
    
    **AFTER**:
    ```yaml
    App\Entity\User:
        properties:
            status:
                - Choice:
                    choices: !php/enum 'App\Entity\Enum\UserStatus'
    ```
    
    Prior to the support for enumerations, this was allowed by array constants:
    
    ```yaml
    App\Entity\User:
        properties:
            status:
                - Choice:
                    choices: !php/const 'App\Entity\User::AVAILABLE_STATUSES'
    ```
    
    Commits
    -------
    
    3286539 [Yaml] Allow Yaml component to get all the enum cases
    fabpot committed Feb 3, 2024
    Configuration menu
    Copy the full SHA
    d00444c View commit details
    Browse the repository at this point in the history
  6. [Validator] Add additional versions (*_NO_PUBLIC, *_ONLY_PRIV & `…

    …*_ONLY_RES`) in IP address & CIDR constraint
    Ninos authored and fabpot committed Feb 3, 2024
    Configuration menu
    Copy the full SHA
    291ef1c View commit details
    Browse the repository at this point in the history
  7. feature symfony#52658 [Validator] Add additional versions (`*_NO_PUBL…

    …IC`, `*_ONLY_PRIV` & `*_ONLY_RES`) in IP address & CIDR constraint (Ninos)
    
    This PR was squashed before being merged into the 7.1 branch.
    
    Discussion
    ----------
    
    [Validator] Add additional versions  (`*_NO_PUBLIC`, `*_ONLY_PRIV` & `*_ONLY_RES`) in IP address & CIDR constraint
    
    | Q             | A
    | ------------- | ---
    | Branch?       | 7.1
    | Bug fix?      | no
    | New feature?  | yes
    | Deprecations? | no
    | License       | MIT
    
    Possibility to allow no public, only private or only reserved ips.
    
    - Enhancement: Add `*_NO_PUBLIC`, `*_ONLY_PRIV` & `*_ONLY_RES` as possible versions in `Ip` constraint
    - Enhancement: Possibility to use all `Ip` versions in `Cidr` constraint
    
    See also old MR: symfony#51777
    
    Commits
    -------
    
    291ef1c [Validator] Add additional versions  (`*_NO_PUBLIC`, `*_ONLY_PRIV` & `*_ONLY_RES`) in IP address & CIDR constraint
    fabpot committed Feb 3, 2024
    Configuration menu
    Copy the full SHA
    a770fae View commit details
    Browse the repository at this point in the history
  8. [Serializer] Add default groups

    mtarld authored and fabpot committed Feb 3, 2024
    Configuration menu
    Copy the full SHA
    de58759 View commit details
    Browse the repository at this point in the history
  9. feature symfony#51514 [Serializer] Add Default and "class name" defau…

    …lt groups (mtarld)
    
    This PR was merged into the 7.1 branch.
    
    Discussion
    ----------
    
    [Serializer] Add Default and "class name" default groups
    
    | Q             | A
    | ------------- | ---
    | Branch?       | 7.1
    | Bug fix?      | no
    | New feature?  | yes
    | Deprecations? | no
    | Tickets       | Fix symfony#32622
    | License       | MIT
    | Doc PR        | TODO
    
    Add `Default` and "class name" groups to the (de)normalization context, following Validator's component naming convention.
    
    Commits
    -------
    
    de58759 [Serializer] Add default groups
    fabpot committed Feb 3, 2024
    Configuration menu
    Copy the full SHA
    87f1a34 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    fdf207c View commit details
    Browse the repository at this point in the history
  11. minor symfony#52054 [Console] InputArgument and InputOption code …

    …cleanup (jnoordsij)
    
    This PR was merged into the 7.1 branch.
    
    Discussion
    ----------
    
    [Console] `InputArgument` and `InputOption` code cleanup
    
    | Q             | A
    | ------------- | ---
    | Branch?       | 7.1
    | Bug fix?      | no
    | New feature?  | no
    | Deprecations? | no
    | Tickets       | n/a
    | License       | MIT
    
    This updates the `InputOption` and `InputArgument` classes to be slightly more consistent. Moreover it adds some additional dockblocks that were not present yet.
    
    Commits
    -------
    
    fdf207c [Console] `InputArgument` and `InputOption` code cleanup
    fabpot committed Feb 3, 2024
    Configuration menu
    Copy the full SHA
    4d8c8bc View commit details
    Browse the repository at this point in the history
  12. feature symfony#51324 [HttpFoundation] Add `QueryParameterRequestMatc…

    …her` (alexandre-daubois)
    
    This PR was merged into the 7.1 branch.
    
    Discussion
    ----------
    
    [HttpFoundation] Add `QueryParameterRequestMatcher`
    
    | Q             | A
    | ------------- | ---
    | Branch?       | 7.1
    | Bug fix?      | no
    | New feature?  | yes
    | Deprecations? | no
    | Tickets       | _NA_
    | License       | MIT
    | Doc PR        | Todo
    
    We know we need a `authorizationCode` query parameter to support a request in our authenticator. We would love to use only the `ChainRequestMatcher` to do so. I'd like to add this `QueryParameterRequestMatcher` in order to do the following:
    
    ```php
    class OurAuthenticator extends AbstractAuthenticator
    {
        public function supports(Request $request): ?bool
        {
            return (new ChainRequestMatcher([
                // ...
                new PathRequestMatcher('/sso/provider'),
                new QueryParameterRequestMatcher('authorizationCode')
            ]))->matches($request);
        }
    
        // ...
    }
    ```
    
    Which would match the following: `/sso/provider?authorizationCode=...`
    
    Commits
    -------
    
    448c2b1 [HttpFoundation] Add `QueryParameterRequestMatcher`
    fabpot committed Feb 3, 2024
    Configuration menu
    Copy the full SHA
    3feccf7 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    49625a1 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    62b5a34 View commit details
    Browse the repository at this point in the history
  15. feature symfony#51343 [HttpFoundation] Add HeaderRequestMatcher (al…

    …exandre-daubois)
    
    This PR was merged into the 7.1 branch.
    
    Discussion
    ----------
    
    [HttpFoundation] Add `HeaderRequestMatcher`
    
    | Q             | A
    | ------------- | ---
    | Branch?       | 7.1
    | Bug fix?      | no
    | New feature?  | yes
    | Deprecations? | no
    | Tickets       | _NA_
    | License       | MIT
    | Doc PR        | Todo
    
    This a follow up to:
    - symfony#51324
    
    After `@norkunas`' [comment](symfony#51324 (comment))
    
    Commits
    -------
    
    62b5a34 [HttpFoundation] Add `HeaderRequestMatcher`
    fabpot committed Feb 3, 2024
    Configuration menu
    Copy the full SHA
    1e358d9 View commit details
    Browse the repository at this point in the history
  16. Allow custom meta location in ResourceCheckerConfigCache

    This makes it possible to put the meta file in a different location.
    
    One use case can be to write a file to `src` while keeping the meta file in `var`.
    ruudk authored and fabpot committed Feb 3, 2024
    Configuration menu
    Copy the full SHA
    ae4f8e8 View commit details
    Browse the repository at this point in the history
  17. feature symfony#52043 [Config] Allow custom meta location in `Resourc…

    …eCheckerConfigCache` (ruudk)
    
    This PR was merged into the 7.1 branch.
    
    Discussion
    ----------
    
    [Config] Allow custom meta location in `ResourceCheckerConfigCache`
    
    | Q             | A
    | ------------- | ---
    | Branch?       | 7.1
    | Bug fix?      | no
    | New feature?  | yes
    | Deprecations? |no
    | Tickets       |
    | License       | MIT
    
    This makes it possible to put the meta file in a different location.
    
    One use case can be to write a file to `src` while keeping the meta file in `var`.
    
    Commits
    -------
    
    ae4f8e8 Allow custom meta location in `ResourceCheckerConfigCache`
    fabpot committed Feb 3, 2024
    Configuration menu
    Copy the full SHA
    29632fd View commit details
    Browse the repository at this point in the history
  18. [Messenger] helpful exception when requesting an AMQP queue that is n…

    …ot configured
    dbu authored and fabpot committed Feb 3, 2024
    Configuration menu
    Copy the full SHA
    0d0749e View commit details
    Browse the repository at this point in the history
  19. minor symfony#51311 [Messenger] helpful exception when requesting an …

    …AMQP queue that is not configured (dbu)
    
    This PR was squashed before being merged into the 7.1 branch.
    
    Discussion
    ----------
    
    [Messenger] helpful exception when requesting an AMQP queue that is not configured
    
    without this check, running `messenger:consume --queue=notexisting` gives an "undefined array key" PHP error with no helpful context at all.
    
    | Q             | A
    | ------------- | ---
    | Branch?       | 6.4
    | Bug fix?      | no
    | New feature?  | no
    | BC breaks?    | no
    | Deprecations? | no
    | Tests pass?   | yes
    | Fixed tickets | -
    | License       | MIT
    | Doc PR        | -
    
    just struggled a bit to figure out what the problem was, until i realized my typo in the queue name on the cli...
    
    this could also be added to older versions of symfony as its not a new feature but a sanity check that replaces a PHP error with a meaningful exception. happy to adjust my pull request if you want me to.
    
    Commits
    -------
    
    0d0749e [Messenger] helpful exception when requesting an AMQP queue that is not configured
    fabpot committed Feb 3, 2024
    Configuration menu
    Copy the full SHA
    a856e03 View commit details
    Browse the repository at this point in the history
  20. Fix typo

    fabpot committed Feb 3, 2024
    Configuration menu
    Copy the full SHA
    e38f806 View commit details
    Browse the repository at this point in the history
  21. bug symfony#53741 [Console] re-add accidentally removed property (xab…

    …buh)
    
    This PR was merged into the 7.1 branch.
    
    Discussion
    ----------
    
    [Console] re-add accidentally removed property
    
    | Q             | A
    | ------------- | ---
    | Branch?       | 7.1
    | Bug fix?      | yes
    | New feature?  | no
    | Deprecations? | no
    | Issues        |
    | License       | MIT
    
    Commits
    -------
    
    49625a1 re-add accidentally removed property
    fabpot committed Feb 3, 2024
    Configuration menu
    Copy the full SHA
    e9e05e3 View commit details
    Browse the repository at this point in the history
  22. feature symfony#52510 [TypeInfo] Introduce component (mtarld)

    This PR was merged into the 7.1 branch.
    
    Discussion
    ----------
    
    [TypeInfo] Introduce component
    
    | Q             | A
    | ------------- | ---
    | Branch?       | 7.1
    | Bug fix?      | no
    | New feature?  | yes
    | Deprecations? | no
    | Tickets       |
    | License       | MIT
    | Doc PR        | TODO
    
    Introducing the brand new `TypeInfo` component
    
    This work has been done with `@Korbeil`
    
    ## State of the art
    
    ### Scope of the current `Symfony\Component\PropertyInfo\Type` class
    Nowadays, when we need to work with types within Symfony, we have to use the `Type` class of the `PropertyInfo` component.
    
    But what if we want to represent the type of a function's return type?
    
    We still can use that `Type` class, but it won't make much sense as the `Symfony\Component\PropertyInfo\Type` is closely related to a property (as the namespace suggests).
    
    Plus, when we need to extract types, we must use the `PropertyTypeExtractorInterface` service:
    
    ```php
    readonly class Person
    {
      public function __construct(
        public string $firstName,
      ) {
      }
    }
    
    // will return an array with a single Type object representing a string
    $types = $this->propertyTypeExtractor->getTypes(Person::class, 'firstName');
    ```
    
    Therefore, type retrieval in Symfony is limited to properties only.
    
    ### `Symfony\Component\PropertyInfo\Type`'s conceptual limitations
    
    On top of that, there is a clear limitation of the current `Type` class where unions, intersections or
    even generics can't be properly described.
    
    The actual workaround is that the `PropertyTypeExtractorInterface` is returning an array of `Type`, which can be interpreted as a union type.
    
    ## The `TypeInfo` component
    
    All these reasons bring us to create the `TypeInfo` component.
    
    The aim here is to address these issues and:
    
    - Have a powerful `Type` definition that can handle union, intersections, and generics (and could be even more extended)
    - Being able to get types from anything, such as properties, method arguments, return types, and raw strings (and can also be extended).
    
    ### `Type` classes
    
    To ensure a powerful `Type` definition, we defined multiple classes:
    ![Type classes](https://i.imgur.com/Exs5gcY.png)
    
    The base `Type` class is an abstract one, so you'll always need to use one of the classes that inherit it.
    Other types of classes are kinda self-explanatory.
    
    ### Type resolving
    
    In the `TypeInfo` component, we added a `TypeResolverInterface`, and several implementations which allow developers to get a `Type` from many things:
    - `ReflectionParameterTypeResolver` to resolve a function/method parameter type thanks to reflection
    - `ReflectionPropertyTypeResolver` to resolve a property type thanks to reflection
    - `ReflectionReturnTypeResolver` to resolve a function/method return type thanks to reflection
    - `ReflectionTypeResolver` to resolve a `ReflectionNamedType`
    - `StringTypeResolver` to resolve a type string representation. This can greatly work in combination with PHP documentation.
      > That resolver will only be available if the `phpstan/phpdoc-parser` package is installed.
    - `ChainTypeResolver` to iterate over resolvers and to return a type as soon as a nested resolver succeeds in resolving.
    
    ### Type Creation
    
    We also improved a lot the DX for the type creation with factories:
    ```php
    <?php
    
    use Symfony\Component\TypeInfo\Type;
    
    Type::int();
    Type::nullable(Type::string());
    Type::generic(Type::object(Collection::class), Type::int());
    Type::list(Type::bool());
    Type::intersection(Type::object(\Stringable::class), Type::object(\Iterator::class));
    
    // Many others are available and can be
    // found in Symfony\Component\TypeInfo\TypeFactoryTrait
    ```
    
    ### Upgrade path
    
    This PR only introduces the `TypeInfo` component, but another one (which is already ready) will deprecate the `Symfony\Component\PropertyInfo\Type` in favor of `Symfony\Component\TypeInfo\Type`.
    
    Commits
    -------
    
    6de7d7d [TypeInfo] Introduce component
    fabpot committed Feb 3, 2024
    Configuration menu
    Copy the full SHA
    e4cfb66 View commit details
    Browse the repository at this point in the history
  23. fix tests

    xabbuh committed Feb 3, 2024
    Configuration menu
    Copy the full SHA
    3883a07 View commit details
    Browse the repository at this point in the history
  24. Fxi markdown

    fabpot committed Feb 3, 2024
    Configuration menu
    Copy the full SHA
    ce0c18f View commit details
    Browse the repository at this point in the history
  25. Configuration menu
    Copy the full SHA
    c083e1d View commit details
    Browse the repository at this point in the history
  26. feature symfony#48803 [CssSelector] add support for :is() and :where(…

    …) (Jean-Beru)
    
    This PR was squashed before being merged into the 7.1 branch.
    
    Discussion
    ----------
    
    [CssSelector] add support for :is() and :where()
    
    | Q             | A
    | ------------- | ---
    | Branch?       | 7.1
    | Bug fix?      | no
    | New feature?  | yes
    | Deprecations? | no
    | Tickets       | Fix symfony#48772
    | License       | MIT
    | Doc PR        | symfony/symfony-docs#17628
    
    This PR adds support for [:is()](https://developer.mozilla.org/en-US/docs/Web/CSS/:is) and  [:where()](https://developer.mozilla.org/en-US/docs/Web/CSS/:where) pseudo-classes.
    
    Commits
    -------
    
    c083e1d [CssSelector] add support for :is() and :where()
    fabpot committed Feb 3, 2024
    Configuration menu
    Copy the full SHA
    d2d36b5 View commit details
    Browse the repository at this point in the history
  27. Configuration menu
    Copy the full SHA
    21cec3f View commit details
    Browse the repository at this point in the history
  28. feature symfony#48022 [Yaml] Fix Yaml Parser with quote end in a new …

    …line (maxbeckers)
    
    This PR was submitted for the 5.4 branch but it was merged into the 7.1 branch instead.
    
    Discussion
    ----------
    
    [Yaml] Fix Yaml Parser with quote end in a new line
    
    | Q             | A
    | ------------- | ---
    | Branch?       | 5.4
    | Bug fix?      | yes
    | New feature?  | no
    | Deprecations? | no
    | Tickets       | Fix symfony#33082
    | License       | MIT
    | Doc PR        | N/A
    
    This is a fix for issue symfony#33082.
    
    The bug described in the ticket breaks on a ending quote in a new line:
    ```
    foo:
      bar: 'baz
    
    '
      baz: 'Lorem'
    ```
    Before the fix:
    `Symfony\Component\Yaml\Exception\ParseException: Malformed inline YAML string: 'baz at line 4.`
    
    There was already a PR symfony#33119, which was closed because of problems.
    
    Commits
    -------
    
    21cec3f [Yaml] Fix Yaml Parser with quote end in a new line
    fabpot committed Feb 3, 2024
    Configuration menu
    Copy the full SHA
    40a2cfb View commit details
    Browse the repository at this point in the history
  29. Configuration menu
    Copy the full SHA
    85e0c42 View commit details
    Browse the repository at this point in the history
  30. feature symfony#50864 [TwigBridge] Allow twig:lint to excludes dirs…

    … (94noni)
    
    This PR was merged into the 7.1 branch.
    
    Discussion
    ----------
    
    [TwigBridge] Allow `twig:lint` to excludes dirs
    
    | Q             | A
    | ------------- | ---
    | Branch?       | 6.4
    | Bug fix?      | no
    | New feature?  | yes
    | Deprecations? | no
    | Tickets       | Read PR desc
    | License       | MIT
    | Doc PR        |
    
    >**Note** if it is already possible somehow and I did not found, please feel free to answer and close PR
    
    I added a twig file related to [data_collector](https://symfony.com/doc/current/profiler.html#creating-a-data-collector) and used a profiler_dump inside it (in dev env this function exists) ([PR doc pending](symfony/symfony-docs#18470))
    
    I do have a CI checks running this `twig:lint` on my `templates`, and since I’ve added the twig file inside it for a dev profiler data collector, it crashs with `>> Unknown "profiler_dump" function.`
    
    (FYI i do have severals directories in this `templates/` I do not want to list them all)
    
    This PR (opened just to see how it goes) adds an optional option as array to excludes dirs like `--excludes=data_collector`
    
    before:
    
    `APP_DEBUG=0 APP_ENV=preprod symfony console lint:twig templates` 🔴
    
    after:
    
    `APP_DEBUG=0 APP_ENV=preprod symfony console lint:twig templates --excludes=data_collector` 🟢
    
    Commits
    -------
    
    85e0c42 [TwigBridge] Allow `twig:lint` to excludes dirs
    fabpot committed Feb 3, 2024
    Configuration menu
    Copy the full SHA
    f9bdfb2 View commit details
    Browse the repository at this point in the history
  31. rework the way excluded directories are handled

    This change ensures that we not break BC by reverting the signature change
    made to the protected findFiles() method.
    xabbuh committed Feb 3, 2024
    Configuration menu
    Copy the full SHA
    3074fe8 View commit details
    Browse the repository at this point in the history
  32. Configuration menu
    Copy the full SHA
    867eb07 View commit details
    Browse the repository at this point in the history
  33. Revert "feature symfony#48022 [Yaml] Fix Yaml Parser with quote end i…

    …n a new line (maxbeckers)"
    
    This reverts commit 40a2cfb, reversing
    changes made to d2d36b5.
    xabbuh committed Feb 3, 2024
    Configuration menu
    Copy the full SHA
    d709af0 View commit details
    Browse the repository at this point in the history
  34. fix DoctrineCaster tests

    The order in which the properties are handled has changed with the usage
    of CPP for the entity manager in doctrine/orm#11205.
    xabbuh committed Feb 3, 2024
    Configuration menu
    Copy the full SHA
    e7e41b0 View commit details
    Browse the repository at this point in the history
  35. Configuration menu
    Copy the full SHA
    f0ddd8d View commit details
    Browse the repository at this point in the history
  36. fix markdown

    xabbuh committed Feb 3, 2024
    Configuration menu
    Copy the full SHA
    6bf18a1 View commit details
    Browse the repository at this point in the history
  37. feature symfony#53747 [Yaml] Revert "feature symfony#48022 Fix Yaml P…

    …arser with quote end in a newline (maxbeckers)" (xabbuh)
    
    This PR was merged into the 7.1 branch.
    
    Discussion
    ----------
    
    [Yaml] Revert "feature symfony#48022  Fix Yaml Parser with quote end in a newline (maxbeckers)"
    
    | Q             | A
    | ------------- | ---
    | Branch?       | 7.1
    | Bug fix?      | yes
    | New feature?  | no
    | Deprecations? | no
    | Issues        |
    | License       | MIT
    
    Unfortunately, the features as implemented breaks tests in other bundles (see https://github.com/symfony/symfony/actions/runs/7768721075/job/21186968515?pr=53745#step:8:3092).
    
    Commits
    -------
    
    d709af0 Revert "feature symfony#48022 [Yaml] Fix Yaml Parser with quote end in a new line (maxbeckers)"
    fabpot committed Feb 3, 2024
    Configuration menu
    Copy the full SHA
    acb4372 View commit details
    Browse the repository at this point in the history
  38. minor symfony#53748 [VarDumper] fix DoctrineCaster tests (xabbuh)

    This PR was merged into the 6.4 branch.
    
    Discussion
    ----------
    
    [VarDumper] fix DoctrineCaster tests
    
    | Q             | A
    | ------------- | ---
    | Branch?       | 6.4
    | Bug fix?      | no
    | New feature?  | no
    | Deprecations? | no
    | Issues        |
    | License       | MIT
    
    The order in which the properties are handled has changed with the usage of CPP for the entity manager in doctrine/orm#11205.
    
    Commits
    -------
    
    e7e41b0 fix DoctrineCaster tests
    fabpot committed Feb 3, 2024
    Configuration menu
    Copy the full SHA
    fe75cfc View commit details
    Browse the repository at this point in the history
  39. bug symfony#53745 [TwigBridge] rework the way excluded directories ar…

    …e handled (xabbuh)
    
    This PR was merged into the 7.1 branch.
    
    Discussion
    ----------
    
    [TwigBridge] rework the way excluded directories are handled
    
    | Q             | A
    | ------------- | ---
    | Branch?       | 7.1
    | Bug fix?      | yes
    | New feature?  | no
    | Deprecations? | no
    | Issues        |
    | License       | MIT
    
    This change ensures that we not break BC by reverting the signature change made to the protected findFiles() method.
    
    Commits
    -------
    
    3074fe8 rework the way excluded directories are handled
    fabpot committed Feb 3, 2024
    Configuration menu
    Copy the full SHA
    2e90215 View commit details
    Browse the repository at this point in the history
  40. bug symfony#53744 [SecurityBundle] add missing partition attribute to…

    … the schema definition (xabbuh)
    
    This PR was merged into the 6.4 branch.
    
    Discussion
    ----------
    
    [SecurityBundle] add missing partition attribute to the schema definition
    
    | Q             | A
    | ------------- | ---
    | Branch?       | 6.4
    | Bug fix?      | yes
    | New feature?  | no
    | Deprecations? | no
    | Issues        |
    | License       | MIT
    
    Commits
    -------
    
    867eb07 add missing partition attribute to the schema definition
    fabpot committed Feb 3, 2024
    Configuration menu
    Copy the full SHA
    0ba5558 View commit details
    Browse the repository at this point in the history
  41. minor symfony#53742 [DependencyInjection] fix tests (xabbuh)

    This PR was merged into the 7.1 branch.
    
    Discussion
    ----------
    
    [DependencyInjection] fix tests
    
    | Q             | A
    | ------------- | ---
    | Branch?       | 7.1
    | Bug fix?      | no
    | New feature?  | no
    | Deprecations? | no
    | Issues        |
    | License       | MIT
    
    Commits
    -------
    
    3883a07 fix tests
    fabpot committed Feb 3, 2024
    Configuration menu
    Copy the full SHA
    b899c13 View commit details
    Browse the repository at this point in the history
  42. Merge branch '6.4' into 7.0

    * 6.4:
      fix DoctrineCaster tests
      add missing partition attribute to the schema definition
    xabbuh committed Feb 3, 2024
    Configuration menu
    Copy the full SHA
    69a1688 View commit details
    Browse the repository at this point in the history
  43. Merge branch '7.0' into 7.1

    * 7.0:
      fix DoctrineCaster tests
      add missing partition attribute to the schema definition
    fabpot committed Feb 3, 2024
    Configuration menu
    Copy the full SHA
    8d4faaa View commit details
    Browse the repository at this point in the history
  44. Configuration menu
    Copy the full SHA
    bb2e7fd View commit details
    Browse the repository at this point in the history
  45. bug symfony#53704 Fix client side connection timeout breaks mail auth…

    …entication (bytestream)
    
    This PR was squashed before being merged into the 6.4 branch.
    
    Discussion
    ----------
    
    Fix client side connection timeout breaks mail authentication
    
    | Q             | A
    | ------------- | ---
    | Branch?       | 6.4
    | Bug fix?      | yes
    | New feature?  | no
    | Deprecations? | no
    | Issues        | Fix symfony#53647
    | License       | MIT
    
    The authentication loop should only continue when an unexpected response has been received. Any other exception, for example,  `throw new TransportException('Connection to "localhost" timed out.'));` should be treated as fatal and thrown.
    
    As demonstrated in symfony#53647, when anything other than a server response is skipped it results in later commands not matching their expected response codes.
    
    Commits
    -------
    
    bb2e7fd Fix client side connection timeout breaks mail authentication
    fabpot committed Feb 3, 2024
    Configuration menu
    Copy the full SHA
    03ebef7 View commit details
    Browse the repository at this point in the history
  46. Merge branch '6.4' into 7.0

    * 6.4:
      Fix client side connection timeout breaks mail authentication
    fabpot committed Feb 3, 2024
    Configuration menu
    Copy the full SHA
    66f94b2 View commit details
    Browse the repository at this point in the history
  47. Merge branch '7.0' into 7.1

    * 7.0:
      Fix client side connection timeout breaks mail authentication
    fabpot committed Feb 3, 2024
    Configuration menu
    Copy the full SHA
    b9a04fe View commit details
    Browse the repository at this point in the history
  48. Configuration menu
    Copy the full SHA
    050fe20 View commit details
    Browse the repository at this point in the history

Commits on Feb 4, 2024

  1. replace CPP with non-nullable property

    Using constructor property promotion for the $metaFile property does not
    make much sense for two reasons:
    
    * We need to declare it nullable just for the sake of the constructor
      accepting null while the property itself will always receive a string.
    * The initially set value is immediately overwritten in the constructor.
    xabbuh committed Feb 4, 2024
    Configuration menu
    Copy the full SHA
    9c19bfe View commit details
    Browse the repository at this point in the history
  2. minor symfony#53753 [Config] replace CPP with non-nullable property (…

    …xabbuh)
    
    This PR was merged into the 7.1 branch.
    
    Discussion
    ----------
    
    [Config] replace CPP with non-nullable property
    
    | Q             | A
    | ------------- | ---
    | Branch?       | 7.1
    | Bug fix?      | no
    | New feature?  | no
    | Deprecations? | no
    | Issues        |
    | License       | MIT
    
    Using constructor property promotion for the `$metaFile` property does not make much sense for two reasons:
    
    * We need to declare it nullable just for the sake of the constructor accepting `null` while the property itself will always receive a string.
    * The initially set value is immediately overwritten in the constructor.
    
    Commits
    -------
    
    9c19bfe replace CPP with non-nullable property
    fabpot committed Feb 4, 2024
    Configuration menu
    Copy the full SHA
    f450a49 View commit details
    Browse the repository at this point in the history
  3. bug symfony#53751 [AssetMapper] Improve import_polyfill configuration…

    … error (smnandre)
    
    This PR was merged into the 6.4 branch.
    
    Discussion
    ----------
    
    [AssetMapper] Improve import_polyfill configuration error
    
    | Q             | A
    | ------------- | ---
    | Branch?       | 6.4
    | Bug fix?      | yes
    | New feature?  | no
    | Deprecations? | no
    | Issues        | Fix symfony#53725
    | License       | MIT
    
    Add missing error when 'asset_mapper.importmap_polyfill' is set to true
    (only false and string are allowed)
    
    Commits
    -------
    
    050fe20 [AssetMapper] Improve import_polyfill configuration error
    fabpot committed Feb 4, 2024
    Configuration menu
    Copy the full SHA
    2fcd5be View commit details
    Browse the repository at this point in the history
  4. Merge branch '6.4' into 7.0

    * 6.4:
      [AssetMapper] Improve import_polyfill configuration error
    fabpot committed Feb 4, 2024
    Configuration menu
    Copy the full SHA
    ba00f93 View commit details
    Browse the repository at this point in the history
  5. Merge branch '7.0' into 7.1

    * 7.0:
      [AssetMapper] Improve import_polyfill configuration error
    fabpot committed Feb 4, 2024
    Configuration menu
    Copy the full SHA
    3c60a03 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    53a637c View commit details
    Browse the repository at this point in the history
  7. feature symfony#53706 [Mailer] Add timestamp to SMTP debug log (bytes…

    …tream)
    
    This PR was squashed before being merged into the 7.1 branch.
    
    Discussion
    ----------
    
    [Mailer] Add timestamp to SMTP debug log
    
    | Q             | A
    | ------------- | ---
    | Branch?       | 7.1
    | Bug fix?      | no
    | New feature?  | yes
    | Deprecations? | no
    | Issues        |
    | License       | MIT
    
    When debugging symfony#53647, the lack of a timestamp made it difficult to understand why the `RSET` was happening before a response had been received. The timestamps gave a clue towards the problem. The timestamps also help show slow connections which you're otherwise not aware of.
    
    Commits
    -------
    
    53a637c [Mailer] Add timestamp to SMTP debug log
    fabpot committed Feb 4, 2024
    Configuration menu
    Copy the full SHA
    4b4962a View commit details
    Browse the repository at this point in the history
  8. Merge branch '5.4' into 6.4

    * 5.4:
      forward-compatibility with field mappings in Doctrine ORM 4
    fabpot committed Feb 4, 2024
    Configuration menu
    Copy the full SHA
    15f1642 View commit details
    Browse the repository at this point in the history
  9. Merge branch '6.4' into 7.0

    * 6.4:
      forward-compatibility with field mappings in Doctrine ORM 4
    fabpot committed Feb 4, 2024
    Configuration menu
    Copy the full SHA
    e3aeb7f View commit details
    Browse the repository at this point in the history
  10. Merge branch '7.0' into 7.1

    * 7.0:
      forward-compatibility with field mappings in Doctrine ORM 4
    fabpot committed Feb 4, 2024
    Configuration menu
    Copy the full SHA
    ce30982 View commit details
    Browse the repository at this point in the history
  11. fix typo

    xabbuh committed Feb 4, 2024
    Configuration menu
    Copy the full SHA
    204c741 View commit details
    Browse the repository at this point in the history

Commits on Feb 5, 2024

  1. Merge branch '5.4' into 6.4

    * 5.4:
      [Validator] Missing translations for Russian (ru) symfony#53775
      fix syntax errors on PHP 7
    xabbuh committed Feb 5, 2024
    Configuration menu
    Copy the full SHA
    7badf1a View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    7cda7b4 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    7b6ad2c View commit details
    Browse the repository at this point in the history
  4. feature symfony#49144 [HttpFoundation] Add support for `\SplTempFileO…

    …bject` in `BinaryFileResponse` (alexandre-daubois)
    
    This PR was merged into the 7.1 branch.
    
    Discussion
    ----------
    
    [HttpFoundation] Add support for `\SplTempFileObject` in `BinaryFileResponse`
    
    | Q             | A
    | ------------- | ---
    | Branch?       | 6.4
    | Bug fix?      | no
    | New feature?  | yes
    | Deprecations? | no
    | Tickets       | Fix symfony#48530
    | License       | MIT
    | Doc PR        | Todo
    
    Add support for `\SplTempFileObject` in `BinaryFileResponse`
    
    Commits
    -------
    
    7b6ad2c [HttpFoundation] Add support for `\SplTempFileObject` in `BinaryFileResponse`
    fabpot committed Feb 5, 2024
    Configuration menu
    Copy the full SHA
    d9d6024 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    00b857a View commit details
    Browse the repository at this point in the history

Commits on Feb 6, 2024

  1. bug symfony#53796 [TypeInfo] Remove unneeded method (javaDeveloperKid)

    This PR was merged into the 7.1 branch.
    
    Discussion
    ----------
    
    [TypeInfo] Remove unneeded method
    
    | Q             | A
    | ------------- | ---
    | Branch?       | 7.1 <!-- see below -->
    | Bug fix?      | no
    | New feature?  | no <!-- please update src/**/CHANGELOG.md files -->
    | Deprecations? | no <!-- please update UPGRADE-*.md and src/**/CHANGELOG.md files -->
    | Issues        | n/a <!-- prefix each issue number with "Fix #", no need to create an issue if none exists, explain below instead -->
    | License       | MIT
    
    <!--
    Replace this notice by a description of your feature/bugfix.
    This will help reviewers and should be a good start for the documentation.
    
    Additionally (see https://symfony.com/releases):
     - Always add tests and ensure they pass.
     - Bug fixes must be submitted against the lowest maintained branch where they apply
       (lowest branches are regularly merged to upper ones so they get the fixes too).
     - Features and deprecations must be submitted against the latest branch.
     - For new features, provide some code snippets to help understand usage.
     - Changelog entry should follow https://symfony.com/doc/current/contributing/code/conventions.html#writing-a-changelog-entry
     - Never break backward compatibility (see https://symfony.com/bc).
    -->
    I believe this method should not be here.
    
    Commits
    -------
    
    00b857a remove unneeded method
    fabpot committed Feb 6, 2024
    Configuration menu
    Copy the full SHA
    749ad6e View commit details
    Browse the repository at this point in the history
  2. [HttpKernel] Use CPP

    derrabus committed Feb 6, 2024
    Configuration menu
    Copy the full SHA
    54faed6 View commit details
    Browse the repository at this point in the history
  3. minor symfony#53718 [HttpKernel] Use CPP (derrabus)

    This PR was merged into the 7.1 branch.
    
    Discussion
    ----------
    
    [HttpKernel] Use CPP
    
    | Q             | A
    | ------------- | ---
    | Branch?       | 7.1
    | Bug fix?      | no
    | New feature?  | no
    | Deprecations? | no
    | Issues        | N/A
    | License       | MIT
    
    Commits
    -------
    
    54faed6 [HttpKernel] Use CPP
    derrabus committed Feb 6, 2024
    Configuration menu
    Copy the full SHA
    815df93 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    c6182c0 View commit details
    Browse the repository at this point in the history
  5. feature symfony#53806 [ExpressionLanguage] Add more configurability t…

    …o the parsing/linting methods (fabpot)
    
    This PR was merged into the 7.1 branch.
    
    Discussion
    ----------
    
    [ExpressionLanguage] Add more configurability to the parsing/linting methods
    
    | Q             | A
    | ------------- | ---
    | Branch?       | 7.1
    | Bug fix?      | no
    | New feature?  | yes
    | Deprecations? | yes
    | Issues        | Fixes symfony#50144
    | License       | MIT
    
    When linting/parsing an expression, two kinds of errors can be thrown: a syntax error (for which the parser cannot recover) or an unknown variable/function error (which does not block the parser).
    
    When linting an expression, currently you can ignore unknown variables by passing `null` instead of the valid variable names to `lint()` or `parse()`, but you cannot ignore unknown functions. For some use cases, it might be needed to just validate the syntax.
    
    This PR allows developers to ignore functions and/or variables the "proper way" with flags as a new argument to these methods:
    
    ```php
    $parser->lint($expr, flags: Parser::IGNORE_UNKNOWN_FUNCTIONS | Parser::IGNORE_UNKNOWN_VARIABLES);
    $parser->parse($expr, flags: Parser::IGNORE_UNKNOWN_FUNCTIONS | Parser::IGNORE_UNKNOWN_VARIABLES);
    ```
    
    Passing `null` to the `$names` argument is deprecated:
    
    **Before**:
    ```php
    $parser->lint($expr, null);
    ```
    
    **After**:
    
    ```php
    $parser->lint($expr, flags: Parser::IGNORE_UNKNOWN_VARIABLES);
    ```
    
    Commits
    -------
    
    c6182c0 [ExpressionLanguage] Add more configurability to the parsing/linting methods
    fabpot committed Feb 6, 2024
    Configuration menu
    Copy the full SHA
    550130c View commit details
    Browse the repository at this point in the history
  6. [DependencyInjection] Add CheckAliasValidityPass to check interface…

    … compatibility
    n-valverde authored and fabpot committed Feb 6, 2024
    Configuration menu
    Copy the full SHA
    c5dff26 View commit details
    Browse the repository at this point in the history
  7. feature symfony#50745 [DependencyInjection] Add `CheckAliasValidityPa…

    …ss` to check interface compatibility (n-valverde)
    
    This PR was squashed before being merged into the 7.1 branch.
    
    Discussion
    ----------
    
    [DependencyInjection] Add `CheckAliasValidityPass` to check interface compatibility
    
    | Q             | A
    | ------------- | ---
    | Branch?       | 7.1
    | Bug fix?      | no
    | New feature?  | yes<!-- please update src/**/CHANGELOG.md files -->
    | Deprecations? | no
    | Tickets       | /
    | License       | MIT
    | Doc PR        | TODO
    
    Hello, I would like to propose adding a pass to the compiler, to make sure that when defining an alias which happens to be an interface, the resolved service actually implements that interface. See example below.
    
    ```xml
    <services>
    
        <service id="a_vendor.service" class="Foo\Bar" />
        <service id="Foo\BarInterface" alias="a_vendor.service" />
    
    </services>
    ```
    
    ```php
    namespace Foo;
    
    interface BarInterface {}
    interface BazInterface {}
    
    class Bar implements BazInterface
    {
    }
    ```
    
    ```php
    public function __construct(private BarInterface $bar) // Type error, $bar must be of type BarInterface
    ```
    
    Currently the above situation is allowed, and will ultimately lead to a type error at runtime when trying to inject `BarInterface`, because `Bar` is not compatible. I think this situation should be raised as a configuration error, as I can't think of any valid use case for this.
    
    I might be missing some use cases, and this might have been already discussed in some way, so any input appreciated, even if you think this is a bad idea for some reason 🙃
    Thanks!
    
    Commits
    -------
    
    c5dff26 [DependencyInjection] Add `CheckAliasValidityPass` to check interface compatibility
    fabpot committed Feb 6, 2024
    Configuration menu
    Copy the full SHA
    f233668 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    563780a View commit details
    Browse the repository at this point in the history

Commits on Feb 7, 2024

  1. Configuration menu
    Copy the full SHA
    8d27007 View commit details
    Browse the repository at this point in the history
  2. [Messenger] Add config option 'arguments' for delay queues

    Thomas Beaujean authored and nicolas-grekas committed Feb 7, 2024
    Configuration menu
    Copy the full SHA
    94ee8a2 View commit details
    Browse the repository at this point in the history
  3. feature symfony#48603 [Messenger][Amqp] Add config option 'arguments'…

    … for delay queues (Thomas Beaujean)
    
    This PR was merged into the 7.1 branch.
    
    Discussion
    ----------
    
    [Messenger][Amqp] Add config option 'arguments' for delay queues
    
    | Q             | A
    | ------------- | ---
    | Branch?       | 6.3
    | Bug fix?      | no
    | New feature?  | yes
    | Deprecations? | no
    | Tickets       | Fix symfony#44186 symfony#46254
    | License       | MIT
    | Doc PR        | symfony/symfony-docs#17553
    
    Hi, this PR to allow to add extra arguments to the amqp delay queues that are automatically created.
    
    The use case:
    - I do not know in advance the name of the queues (handled by env variables)
    - The queues are created automatically by symfony if needed
    - I need the deduplication plugin in both the queue and the associated delays queues (enabled with the x-message-deduplication argument)
    - I do not want to rewrite all delay arguments, I just want to be able to add or rewrite some
    
    The associated configuration in messenger.yaml
    ```
            transports:
                async:
                    dsn: '%env(MESSENGER_DSN)%'
                    options:
                        queues:
                            '%env(MESSENGER_ASYNC_QUEUE_NAME)%':
                                arguments:
                                    x-queue-type: 'classic'
                                    x-message-deduplication: true
                        delay:
                            arguments:
                                x-queue-type: 'classic'
                                x-message-deduplication: true
    ```
    
    Commits
    -------
    
    94ee8a2 [Messenger] Add config option 'arguments' for delay queues
    nicolas-grekas committed Feb 7, 2024
    Configuration menu
    Copy the full SHA
    4573f3b View commit details
    Browse the repository at this point in the history
  4. minor symfony#53822 [Validator] revert accepting any scalar value (xa…

    …bbuh)
    
    This PR was merged into the 7.1 branch.
    
    Discussion
    ----------
    
    [Validator] revert accepting any scalar value
    
    | Q             | A
    | ------------- | ---
    | Branch?       | 7.1
    | Bug fix?      | no
    | New feature?  | no
    | Deprecations? | no
    | Issues        |
    | License       | MIT
    
    This change sneaked into the codebase in symfony#52658.
    
    Commits
    -------
    
    8d27007 revert accepting any scalar value
    nicolas-grekas committed Feb 7, 2024
    Configuration menu
    Copy the full SHA
    97b6064 View commit details
    Browse the repository at this point in the history
  5. [Mailer][Postmark][Webhook] Don't require tag and metadata

    Both fields are optional and will be missing from the payload if they
    were not set for the outgoing email.
    aleho committed Feb 7, 2024
    Configuration menu
    Copy the full SHA
    7127ede View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    db3a9dd View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    31cf4f8 View commit details
    Browse the repository at this point in the history
  8. Merge branch '5.4' into 6.4

    * 5.4:
      Skip Twig v3.9-dev for now
      [Validator] Update Dutch (nl) translation
      Update Albanian translations
      [Validator] Update translation
      [FrameworkBundle] Prevent silenced warning by checking if /proc/mount exists
      [VarDumper][PhpUnitBridge] Fix color detection
      prevent throwing NOT_FOUND error when tube is empty
      [Validator] Update missing validator translation for Swedish
      [FrameworkBundle] Fix eager-loading of env vars in ConfigBuilderCacheWarmer
      [Messenger] Fix failing Redis test
      [Validator] Update Italian (it) translations
      [Validator] Missing translations for Hungarian (hu) symfony#53769
    nicolas-grekas committed Feb 7, 2024
    Configuration menu
    Copy the full SHA
    2868d0d View commit details
    Browse the repository at this point in the history
  9. Merge branch '6.4' into 7.0

    * 6.4:
      Skip Twig v3.9-dev for now
      [Validator] Update Dutch (nl) translation
      Update Albanian translations
      [Validator] Update translation
      [FrameworkBundle] Prevent silenced warning by checking if /proc/mount exists
      [VarDumper][PhpUnitBridge] Fix color detection
      prevent throwing NOT_FOUND error when tube is empty
      [Validator] Update missing validator translation for Swedish
      [FrameworkBundle] Fix eager-loading of env vars in ConfigBuilderCacheWarmer
      [Messenger] Fix failing Redis test
      [Validator] Update Italian (it) translations
      [Validator] Missing translations for Hungarian (hu) symfony#53769
      revert to native PHP union types
      [Validator] Missing translations for Russian (ru) symfony#53775
      fix syntax errors on PHP 7
    nicolas-grekas committed Feb 7, 2024
    Configuration menu
    Copy the full SHA
    b5c7fc9 View commit details
    Browse the repository at this point in the history
  10. Merge branch '7.0' into 7.1

    * 7.0:
      Skip Twig v3.9-dev for now
      [Validator] Update Dutch (nl) translation
      Update Albanian translations
      [Validator] Update translation
      [FrameworkBundle] Prevent silenced warning by checking if /proc/mount exists
      [VarDumper][PhpUnitBridge] Fix color detection
      prevent throwing NOT_FOUND error when tube is empty
      [Validator] Update missing validator translation for Swedish
      [FrameworkBundle] Fix eager-loading of env vars in ConfigBuilderCacheWarmer
      [Messenger] Fix failing Redis test
      [Validator] Update Italian (it) translations
      [Validator] Missing translations for Hungarian (hu) symfony#53769
      revert to native PHP union types
      [Validator] Missing translations for Russian (ru) symfony#53775
      fix syntax errors on PHP 7
    nicolas-grekas committed Feb 7, 2024
    Configuration menu
    Copy the full SHA
    39e4f04 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    9372d95 View commit details
    Browse the repository at this point in the history
  12. Fix merge

    nicolas-grekas committed Feb 7, 2024
    Configuration menu
    Copy the full SHA
    28e6563 View commit details
    Browse the repository at this point in the history
  13. Merge branch '7.0' into 7.1

    * 7.0:
      Fix merge
    nicolas-grekas committed Feb 7, 2024
    Configuration menu
    Copy the full SHA
    87186b2 View commit details
    Browse the repository at this point in the history

Commits on Feb 8, 2024

  1. Merge branch '5.4' into 6.4

    * 5.4:
      [PhpUnitBridge][VarDumper] fix color detection
      [CI] Make sure we preserve file->header when we run sync-translations.php
      Review validators.sl.xlf
    nicolas-grekas committed Feb 8, 2024
    Configuration menu
    Copy the full SHA
    5e44cfc View commit details
    Browse the repository at this point in the history
  2. bug symfony#53846 [Cache] Fix BC layer with pre-6.1 cache items (nico…

    …las-grekas)
    
    This PR was merged into the 6.4 branch.
    
    Discussion
    ----------
    
    [Cache] Fix BC layer with pre-6.1 cache items
    
    | Q             | A
    | ------------- | ---
    | Branch?       | 6.4
    | Bug fix?      | yes
    | New feature?  | no
    | Deprecations? | no
    | Issues        | Fix symfony#53825
    | License       | MIT
    
    Issue introduced in symfony#42997
    
    Commits
    -------
    
    9372d95 [Cache] Fix BC layer with pre-6.1 cache items
    nicolas-grekas committed Feb 8, 2024
    Configuration menu
    Copy the full SHA
    f68d816 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    5c275fe View commit details
    Browse the repository at this point in the history
  4. bug symfony#53824 [Mailer][Postmark][Webhook] Don't require tag and m…

    …etadata (aleho)
    
    This PR was merged into the 6.4 branch.
    
    Discussion
    ----------
    
    [Mailer][Postmark][Webhook] Don't require tag and metadata
    
    | Q             | A
    | ------------- | ---
    | Branch?       | 6.4
    | Bug fix?      | yes
    | New feature?  | no
    | Deprecations? | no
    | License       | MIT
    
    Postmark webhooks will fail if metadata or tag are missing. As both are optional they should not be required in parsing as well.
    
    This was observed in our setup with all webhooks failing because `Tag` was missing.
    
    Commits
    -------
    
    7127ede [Mailer][Postmark][Webhook] Don't require tag and metadata
    nicolas-grekas committed Feb 8, 2024
    Configuration menu
    Copy the full SHA
    8f98550 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    266ab4e View commit details
    Browse the repository at this point in the history
  6. bug symfony#53842 [VarDumper] Fix configuring CliDumper with SYMFONY_…

    …IDE env var (nicolas-grekas)
    
    This PR was merged into the 6.4 branch.
    
    Discussion
    ----------
    
    [VarDumper] Fix configuring CliDumper with SYMFONY_IDE env var
    
    | Q             | A
    | ------------- | ---
    | Branch?       | 6.4
    | Bug fix?      | yes
    | New feature?  | no
    | Deprecations? | no
    | Issues        | -
    | License       | MIT
    
    When using `dump()` in a plain PHP script, `SYMFONY_IDE` is currently ignored. This fixes it when `FileLinkFormatter` is available.
    
    Commits
    -------
    
    266ab4e [VarDumper] Fix configuring CliDumper with SYMFONY_IDE env var
    nicolas-grekas committed Feb 8, 2024
    Configuration menu
    Copy the full SHA
    22efc29 View commit details
    Browse the repository at this point in the history
  7. bug symfony#53817 [Scheduler] Fix messenger receiver with no alias (H…

    …ypeMC)
    
    This PR was merged into the 6.4 branch.
    
    Discussion
    ----------
    
    [Scheduler] Fix messenger receiver with no alias
    
    | Q             | A
    | ------------- | ---
    | Branch?       | 6.4
    | Bug fix?      | yes
    | New feature?  | no
    | Deprecations? | no
    | Issues        | Fix symfony#53811
    | License       | MIT
    
    Commits
    -------
    
    563780a [Scheduler] Fix messenger receiver with no alias
    nicolas-grekas committed Feb 8, 2024
    Configuration menu
    Copy the full SHA
    f53f279 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    ca5db79 View commit details
    Browse the repository at this point in the history
  9. bug symfony#53733 [HttpFoundation] Prevent duplicated headers when us…

    …ing Early Hints (dunglas)
    
    This PR was squashed before being merged into the 6.4 branch.
    
    Discussion
    ----------
    
    [HttpFoundation] Prevent duplicated headers when using Early Hints
    
    | Q             | A
    | ------------- | ---
    | Branch?       | 6.4
    | Bug fix?      | yes
    | New feature?  | no <!-- please update src/**/CHANGELOG.md files -->
    | Deprecations? | no <!-- please update UPGRADE-*.md and src/**/CHANGELOG.md files -->
    | Issues        | n/a
    | License       | MIT
    
    Currently, headers are being duplicated in the final response if a 103 response has previously been sent. This patch fixes the issue.
    
    Before:
    
    ```
    < HTTP/2 103
    < alt-svc: h3=":443"; ma=2592000
    < cache-control: no-cache, private
    < date: Fri, 02 Feb 2024 15:21:00 GMT
    < link: </style.css>; rel=preload; as=style
    < server: Caddy
    < x-powered-by: PHP/8.3.1
    < HTTP/2 200
    < cache-control: no-cache, private
    < cache-control: no-cache, private
    < content-type: text/html; charset=UTF-8
    < date: Fri, 02 Feb 2024 15:21:00 GMT
    < date: Fri, 02 Feb 2024 15:21:00 GMT
    < link: </style.css>; rel=preload; as=style
    < link: </style.css>; rel=preload; as=style
    ```
    
    Commits
    -------
    
    ca5db79 [HttpFoundation] Prevent duplicated headers when using Early Hints
    nicolas-grekas committed Feb 8, 2024
    Configuration menu
    Copy the full SHA
    fa843ce View commit details
    Browse the repository at this point in the history
  10. [Mailer][Postmark][Webhook] Make allowed IPs configurable

    Adding "127.0.0.1" to webhooks doesn't always cut it. Testing in e.g.
    dockerized setups the IP address will most certainly not be 127.0.0.1
    when testing requests originate from the host.
    aleho committed Feb 8, 2024
    Configuration menu
    Copy the full SHA
    5a2bcdd View commit details
    Browse the repository at this point in the history
  11. [Mailer][Postmark][Webhook] Accept different date formats

    Postmark webhooks sometimes use "plain" ISO 6801 format, sometimes
    including 7 digits microseconds. As the PHP parameter only allows for 6
    digits neither would parse without fallbacks.
    
    Fixes symfony#53788
    aleho committed Feb 8, 2024
    Configuration menu
    Copy the full SHA
    8af3d02 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    f188a24 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    56e2a41 View commit details
    Browse the repository at this point in the history
  14. Merge branch '5.4' into 6.4

    * 5.4:
      [Validator] Missing translations for Estonian (et)
    xabbuh committed Feb 8, 2024
    Configuration menu
    Copy the full SHA
    cf78ca0 View commit details
    Browse the repository at this point in the history
  15. Merge branch '6.4' into 7.0

    * 6.4:
      [Validator] Missing translations for Estonian (et)
      [HttpFoundation] Prevent duplicated headers when using Early Hints
      [VarDumper] Fix configuring CliDumper with SYMFONY_IDE env var
      [Cache] improve BC with 5.4 pools
      [PhpUnitBridge][VarDumper] fix color detection
      [CI] Make sure we preserve file->header when we run sync-translations.php
      [Cache] Fix BC layer with pre-6.1 cache items
      Review validators.sl.xlf
      [Mailer][Postmark][Webhook] Don't require tag and metadata
      [Scheduler] Fix messenger receiver with no alias
    xabbuh committed Feb 8, 2024
    Configuration menu
    Copy the full SHA
    2443bfe View commit details
    Browse the repository at this point in the history
  16. Merge branch '7.0' into 7.1

    * 7.0:
      [Validator] Missing translations for Estonian (et)
      [HttpFoundation] Prevent duplicated headers when using Early Hints
      [VarDumper] Fix configuring CliDumper with SYMFONY_IDE env var
      [Cache] improve BC with 5.4 pools
      [PhpUnitBridge][VarDumper] fix color detection
      [CI] Make sure we preserve file->header when we run sync-translations.php
      [Cache] Fix BC layer with pre-6.1 cache items
      Review validators.sl.xlf
      [Mailer][Postmark][Webhook] Don't require tag and metadata
      [Scheduler] Fix messenger receiver with no alias
    xabbuh committed Feb 8, 2024
    Configuration menu
    Copy the full SHA
    8733c99 View commit details
    Browse the repository at this point in the history

Commits on Feb 9, 2024

  1. Configuration menu
    Copy the full SHA
    5197b47 View commit details
    Browse the repository at this point in the history
  2. bug symfony#53876 [DependencyInjection] fix unable to make lazy servi…

    …ce from readonly class (kor3k)
    
    This PR was merged into the 6.4 branch.
    
    Discussion
    ----------
    
    [DependencyInjection] fix unable to make lazy service from readonly class
    
    [DependencyInjection] unable to make lazy service from readonly class symfony#53843
    
    | Q             | A
    | ------------- | ---
    | Branch?       | 6.4 <!-- see below -->
    | Bug fix?      | yes
    | New feature?  | no <!-- please update src/**/CHANGELOG.md files -->
    | Deprecations? | no <!-- please update UPGRADE-*.md and src/**/CHANGELOG.md files -->
    | Issues        | Fix symfony#53843 <!-- prefix each issue number with "Fix #", no need to create an issue if none exists, explain below instead -->
    | License       | MIT
    
    <!--
    Replace this notice by a description of your feature/bugfix.
    This will help reviewers and should be a good start for the documentation.
    
    Additionally (see https://symfony.com/releases):
     - Always add tests and ensure they pass.
     - Bug fixes must be submitted against the lowest maintained branch where they apply
       (lowest branches are regularly merged to upper ones so they get the fixes too).
     - Features and deprecations must be submitted against the latest branch.
     - For new features, provide some code snippets to help understand usage.
     - Changelog entry should follow https://symfony.com/doc/current/contributing/code/conventions.html#writing-a-changelog-entry
     - Never break backward compatibility (see https://symfony.com/bc).
    -->
    
    Commits
    -------
    
    5197b47 [DependencyInjection] fix unable to make lazy service from readonly class
    nicolas-grekas committed Feb 9, 2024
    Configuration menu
    Copy the full SHA
    84c231e View commit details
    Browse the repository at this point in the history
  3. minor symfony#53871 [Security] Update CAS 2.0 AccessTokenHandler chan…

    …gelog version (alamirault)
    
    This PR was merged into the 7.1 branch.
    
    Discussion
    ----------
    
    [Security] Update CAS 2.0 AccessTokenHandler changelog version
    
    | Q             | A
    | ------------- | ---
    | Branch?       | 7.1
    | Bug fix?      | no
    | New feature?  | no <!-- please update src/**/CHANGELOG.md files -->
    | Deprecations? | no <!-- please update UPGRADE-*.md and src/**/CHANGELOG.md files -->
    | Issues        | Fix #... <!-- prefix each issue number with "Fix #", no need to create an issue if none exists, explain below instead -->
    | License       | MIT
    
    symfony#48276 has been merged in 7.1, not 6.4
    
    Commits
    -------
    
    56e2a41 [Security] Update CAS 2.0 AccessTokenHandler changelog version
    nicolas-grekas committed Feb 9, 2024
    Configuration menu
    Copy the full SHA
    9c0cb67 View commit details
    Browse the repository at this point in the history
  4. bug symfony#53870 [Dotenv] Specify envKey while loading variables wit…

    …h the dotenv:dump (scruwi)
    
    This PR was merged into the 6.4 branch.
    
    Discussion
    ----------
    
    [Dotenv] Specify envKey while loading variables with the dotenv:dump
    
    | Q             | A
    | ------------- | ---
    | Branch?       | 6.4
    | Bug fix?      | yes
    | New feature?  | no
    | Deprecations? | no
    | Issues        | Fix symfony#53864
    | License       | MIT
    
    `bin/console dotenv:dump` incorrectly detected envKey if it differs from APP_ENV
    
    Commits
    -------
    
    f188a24 [Dotenv] Specify envKey while loading variables with the dotenv:dump command
    nicolas-grekas committed Feb 9, 2024
    Configuration menu
    Copy the full SHA
    b45ebf9 View commit details
    Browse the repository at this point in the history
  5. fix tests

    xabbuh committed Feb 9, 2024
    Configuration menu
    Copy the full SHA
    d6352f8 View commit details
    Browse the repository at this point in the history
  6. minor symfony#53878 [DependencyInjection] fix tests (xabbuh)

    This PR was merged into the 6.4 branch.
    
    Discussion
    ----------
    
    [DependencyInjection] fix tests
    
    | Q             | A
    | ------------- | ---
    | Branch?       | 6.4
    | Bug fix?      | yes
    | New feature?  | no
    | Deprecations? | no
    | Issues        | see the test failures after symfony#53876
    | License       | MIT
    
    Commits
    -------
    
    d6352f8 fix tests
    nicolas-grekas committed Feb 9, 2024
    Configuration menu
    Copy the full SHA
    b449929 View commit details
    Browse the repository at this point in the history
  7. minor symfony#53833 [SecurityBundle] Fix failing tests (alexandre-dau…

    …bois)
    
    This PR was merged into the 7.1 branch.
    
    Discussion
    ----------
    
    [SecurityBundle] Fix failing tests
    
    | Q             | A
    | ------------- | ---
    | Branch?       | 7.1
    | Bug fix?      | yes
    | New feature?  | no
    | Deprecations? | no
    | Issues        | Fix CI
    | License       | MIT
    
    After symfony#53806
    
    Commits
    -------
    
    31cf4f8 [SecurityBundle] Fix failing tests
    nicolas-grekas committed Feb 9, 2024
    Configuration menu
    Copy the full SHA
    dfe4aa5 View commit details
    Browse the repository at this point in the history
  8. bug symfony#53829 [Mailer][Postmark][Webhook] Accept different date f…

    …ormats (aleho)
    
    This PR was merged into the 6.4 branch.
    
    Discussion
    ----------
    
    [Mailer][Postmark][Webhook] Accept different date formats
    
    | Q             | A
    | ------------- | ---
    | Branch?       | 6.4
    | Bug fix?      | yes
    | New feature?  | no
    | Deprecations? | no
    | Issues        | Fix symfony#53788
    | License       | MIT
    
    Postmark webhooks sometimes use "plain" ISO 6801 format, sometimes including 7 digits microseconds.
    We're currently seeing `2024-02-07T09:41:16.7048881Z` for example.
    
    As the PHP parameter only allows for 6 digits neither would parse without fallbacks.
    
    Commits
    -------
    
    8af3d02 [Mailer][Postmark][Webhook] Accept different date formats
    nicolas-grekas committed Feb 9, 2024
    Configuration menu
    Copy the full SHA
    adbe494 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    4c405d5 View commit details
    Browse the repository at this point in the history
  10. minor symfony#53879 [SecurityBundle] Fix failing tests (alexandre-dau…

    …bois)
    
    This PR was merged into the 6.4 branch.
    
    Discussion
    ----------
    
    [SecurityBundle] Fix failing tests
    
    | Q             | A
    | ------------- | ---
    | Branch?       | 6.4
    | Bug fix?      | no
    | New feature?  | no
    | Deprecations? | no
    | Issues        |
    | License       | MIT
    
    cherry-picking symfony#53833 for 6.4
    
    Commits
    -------
    
    4c405d5 [SecurityBundle] Fix failing tests
    xabbuh committed Feb 9, 2024
    Configuration menu
    Copy the full SHA
    6362885 View commit details
    Browse the repository at this point in the history
  11. fix test

    xabbuh committed Feb 9, 2024
    Configuration menu
    Copy the full SHA
    c478206 View commit details
    Browse the repository at this point in the history
  12. minor symfony#53880 [VarExporter] fix test (xabbuh)

    This PR was merged into the 6.4 branch.
    
    Discussion
    ----------
    
    [VarExporter] fix test
    
    | Q             | A
    | ------------- | ---
    | Branch?       | 6.4
    | Bug fix?      | no
    | New feature?  | no
    | Deprecations? | no
    | Issues        |
    | License       | MIT
    
    Commits
    -------
    
    c478206 fix test
    xabbuh committed Feb 9, 2024
    Configuration menu
    Copy the full SHA
    306964d View commit details
    Browse the repository at this point in the history
  13. fix test

    xabbuh committed Feb 9, 2024
    Configuration menu
    Copy the full SHA
    7b5366e View commit details
    Browse the repository at this point in the history
  14. minor symfony#53881 [VarDumper] fix test (xabbuh)

    This PR was merged into the 6.4 branch.
    
    Discussion
    ----------
    
    [VarDumper] fix test
    
    | Q             | A
    | ------------- | ---
    | Branch?       | 6.4
    | Bug fix?      | no
    | New feature?  | no
    | Deprecations? | no
    | Issues        |
    | License       | MIT
    
    Commits
    -------
    
    7b5366e fix test
    nicolas-grekas committed Feb 9, 2024
    Configuration menu
    Copy the full SHA
    ac9b684 View commit details
    Browse the repository at this point in the history
  15. Merge branch '6.4' into 7.0

    * 6.4:
      fix test
      fix test
      [SecurityBundle] Fix failing tests
      fix tests
      [DependencyInjection] fix unable to make lazy service from readonly class
      [Dotenv] Specify envKey while loading variables with the dotenv:dump command
      [Mailer][Postmark][Webhook] Accept different date formats
    xabbuh committed Feb 9, 2024
    Configuration menu
    Copy the full SHA
    fcb3150 View commit details
    Browse the repository at this point in the history
  16. bug symfony#53144 [Mailer] Fix Azure bridge double encoding attachmen…

    …ts' content (alexandre-daubois)
    
    This PR was merged into the 7.1 branch.
    
    Discussion
    ----------
    
    [Mailer] Fix Azure bridge double encoding attachments' content
    
    | Q             | A
    | ------------- | ---
    | Branch?       | 7.1
    | Bug fix?      | yes
    | New feature?  | no
    | Deprecations? | no
    | Issues        | Fix symfony#53132
    | License       | MIT
    
    Commits
    -------
    
    64f9896 [Mailer] Fix Azure bridge double encoding attachements' content
    nicolas-grekas committed Feb 9, 2024
    Configuration menu
    Copy the full SHA
    c8cccfd View commit details
    Browse the repository at this point in the history
  17. bug symfony#53869 [Mailer][Postmark][Webhook] Fix webhook testing in …

    …dockerized setups (aleho)
    
    This PR was merged into the 6.4 branch.
    
    Discussion
    ----------
    
    [Mailer][Postmark][Webhook] Fix webhook testing in dockerized setups
    
    | Q             | A
    | ------------- | ---
    | Branch?       | 6.4
    | Bug fix?      | yes
    | New feature?  | no
    | Deprecations? | no
    | License       | MIT
    
    Adding "127.0.0.1" to webhooks doesn't always cut it. Testing in e.g. dockerized setups the IP address will most certainly not be 127.0.0.1 when testing requests originate from the host.
    
    I wasn't sure whether this is a bug or a feature. For us it's a bug (we cannot test webhooks here, if "test" means testing in our development environment). On the other hand, it could also be a feature (and "127.0.0.1" removed completely), if by "testing" only the Symfony tests were meant.
    
    What do you think? Bug? Feature?
    
    Commits
    -------
    
    5a2bcdd [Mailer][Postmark][Webhook] Make allowed IPs configurable
    nicolas-grekas committed Feb 9, 2024
    Configuration menu
    Copy the full SHA
    3d832bd View commit details
    Browse the repository at this point in the history
  18. bug symfony#53826 [DomCrawler][Form] Fix the exclusion of <template> …

    …(mpiot)
    
    This PR was merged into the 6.4 branch.
    
    Discussion
    ----------
    
    [DomCrawler][Form] Fix the exclusion of <template>
    
    | Q             | A
    | ------------- | ---
    | Branch?       | 6.4 <!-- see below -->
    | Bug fix?      | yes
    | New feature?  | no
    | Deprecations? | no
    | Issues        | Fix symfony#53823
    | License       | MIT
    
    In the DomCrawler, the way to get fields via xPath avoid to find elements inside a `<template>` element:
    ```html
    <form>
        <template>
            <input type="text" name="not_selected_because_in_template" />
        </template>
    
        <input type="text" name="selected_because_out_of_template" />
    </form>
    ```
    
    But, it appear it also exclude form elements if the `<form>` is in a `<template>` (eg: in a `<turbo-stream>`), that bug-fix keep the previous behavior but allow the following:
    ```html
    <turbo-stream>
        <template>
            <form>
                <input type="text" name="selected_because_in_turbo_stream_1" />
                <input type="text" name="selected_because_in_turbo_stream_2" />
            </form>
        </template>
    </turbo-stream>
    ```
    
    As mentioned in symfony#53823, an alternative should be to use `[not(ancestor::template/ancestor::form)]` in the xPath to allow:
    ```html
    <template>
        <form>
            <input type="text" name="selected_because_parent_is_form_1" />
            <input type="text" name="selected_because_parent_is_form_2" />
        </form>
    </template>
    ```
    
    Commits
    -------
    
    db3a9dd [DomCrawler] [Form] Fix the exclusion of <template>
    nicolas-grekas committed Feb 9, 2024
    Configuration menu
    Copy the full SHA
    cff8011 View commit details
    Browse the repository at this point in the history
  19. Configuration menu
    Copy the full SHA
    eacb74c View commit details
    Browse the repository at this point in the history
  20. feature symfony#53868 [Config] Allow custom meta location in `ConfigC…

    …ache` (alamirault)
    
    This PR was squashed before being merged into the 7.1 branch.
    
    Discussion
    ----------
    
    [Config] Allow custom meta location in `ConfigCache`
    
    | Q             | A
    | ------------- | ---
    | Branch?       | 7.1
    | Bug fix?      | no
    | New feature?  | yes <!-- please update src/**/CHANGELOG.md files -->
    | Deprecations? | no <!-- please update UPGRADE-*.md and src/**/CHANGELOG.md files -->
    | Issues        | Fix #... <!-- prefix each issue number with "Fix #", no need to create an issue if none exists, explain below instead -->
    | License       | MIT
    
    symfony#52043 allow to configure meta location in `ResourceCheckerConfigCache`
    `ConfigCache` extends this file.
    
    This PR allow to configure meta location in `ConfigCache`
    
    Commits
    -------
    
    eacb74c [Config] Allow custom meta location in `ConfigCache`
    nicolas-grekas committed Feb 9, 2024
    Configuration menu
    Copy the full SHA
    7699a91 View commit details
    Browse the repository at this point in the history
  21. [Messenger] Add message ID logs

    ro0NL authored and nicolas-grekas committed Feb 9, 2024
    Configuration menu
    Copy the full SHA
    b3ed0cc View commit details
    Browse the repository at this point in the history
  22. minor symfony#53808 [Messenger] Add message ID logs (ro0NL)

    This PR was submitted for the 6.4 branch but it was merged into the 7.1 branch instead.
    
    Discussion
    ----------
    
    [Messenger] Add message ID logs
    
    | Q             | A
    | ------------- | ---
    | Branch?       | 7.1
    | Bug fix?      | no
    | New feature?  | no
    | Deprecations? | no
    | Issues        | -
    | License       | MIT
    
    so we can find related logs in prod by message ID
    
    part of debugging symfony#53642 (comment)
    
    Commits
    -------
    
    b3ed0cc [Messenger] Add message ID logs
    nicolas-grekas committed Feb 9, 2024
    Configuration menu
    Copy the full SHA
    259c881 View commit details
    Browse the repository at this point in the history
  23. fix merge

    xabbuh committed Feb 9, 2024
    Configuration menu
    Copy the full SHA
    80f5383 View commit details
    Browse the repository at this point in the history
  24. Merge branch '7.0' into 7.1

    * 7.0:
      fix merge
      fix test
      fix test
      [SecurityBundle] Fix failing tests
      fix tests
      [DependencyInjection] fix unable to make lazy service from readonly class
      [Dotenv] Specify envKey while loading variables with the dotenv:dump command
      [Mailer][Postmark][Webhook] Accept different date formats
    xabbuh committed Feb 9, 2024
    Configuration menu
    Copy the full SHA
    ff9ab3a View commit details
    Browse the repository at this point in the history
  25. Configuration menu
    Copy the full SHA
    e248c61 View commit details
    Browse the repository at this point in the history
  26. minor symfony#53882 [ExpressionLanguage][Validator]  document depreca…

    …tion and fix test (xabbuh)
    
    This PR was merged into the 7.1 branch.
    
    Discussion
    ----------
    
    [ExpressionLanguage][Validator]  document deprecation and fix test
    
    | Q             | A
    | ------------- | ---
    | Branch?       | 7.1
    | Bug fix?      | no
    | New feature?  | no
    | Deprecations? | no
    | Issues        |
    | License       | MIT
    
    Commits
    -------
    
    e248c61 document deprecation and fix test
    nicolas-grekas committed Feb 9, 2024
    Configuration menu
    Copy the full SHA
    d995693 View commit details
    Browse the repository at this point in the history
  27. Configuration menu
    Copy the full SHA
    ed30d81 View commit details
    Browse the repository at this point in the history
  28. [FrameworkBundle] Use CPP

    derrabus committed Feb 9, 2024
    Configuration menu
    Copy the full SHA
    d6637b7 View commit details
    Browse the repository at this point in the history
  29. minor symfony#53861 [FrameworkBundle] Use CPP (derrabus)

    This PR was merged into the 7.1 branch.
    
    Discussion
    ----------
    
    [FrameworkBundle] Use CPP
    
    | Q             | A
    | ------------- | ---
    | Branch?       | 7.1
    | Bug fix?      | no
    | New feature?  | no
    | Deprecations? | no
    | Issues        | N/A
    | License       | MIT
    
    Commits
    -------
    
    d6637b7 [FrameworkBundle] Use CPP
    nicolas-grekas committed Feb 9, 2024
    Configuration menu
    Copy the full SHA
    bc2d994 View commit details
    Browse the repository at this point in the history

Commits on Feb 11, 2024

  1. Configuration menu
    Copy the full SHA
    41a3489 View commit details
    Browse the repository at this point in the history
  2. bug symfony#53893 [AssetMapper] Ignore comment lines in JavaScriptImp…

    …ortPathCompiler (smnandre)
    
    This PR was squashed before being merged into the 6.4 branch.
    
    Discussion
    ----------
    
    [AssetMapper] Ignore comment lines in JavaScriptImportPathCompiler
    
    | Q             | A
    | ------------- | ---
    | Branch?       | 6.4
    | Bug fix?      | yes
    | New feature?  | no
    | Deprecations? | no
    | Issues        | Fix symfony#53849
    | License       | MIT
    
    The following code was wrongly treated as _one_ line of comment
    
    ```js
    // import
    import "foo.js"
    ```
    
    This PR updates the regexp to ignore comment lines (and fix symfony#53849)
    
    Also added a comment explaining how the regexp works for future maintenance.
    
    Commits
    -------
    
    41a3489 [AssetMapper] Ignore comment lines in JavaScriptImportPathCompiler
    fabpot committed Feb 11, 2024
    Configuration menu
    Copy the full SHA
    ca8c10d View commit details
    Browse the repository at this point in the history
  3. feature symfony#53866 [Workflow] determines places from transitions (…

    …lyrixx)
    
    This PR was merged into the 7.1 branch.
    
    Discussion
    ----------
    
    [Workflow] determines places from transitions
    
    | Q             | A
    | ------------- | ---
    | Branch?       | 7.1
    | Bug fix?      | no
    | New feature?  | yes
    | Deprecations? | no
    | Issues        | Fix symfony#52378
    | License       | MIT
    
    Commits
    -------
    
    ed30d81 [workflow] determines places form transitions
    fabpot committed Feb 11, 2024
    Configuration menu
    Copy the full SHA
    0c362d2 View commit details
    Browse the repository at this point in the history

Commits on Feb 12, 2024

  1. [VarExporter] Uniform unitialized property error message under ghost …

    …and non-ghost objects
    priyadi authored and nicolas-grekas committed Feb 12, 2024
    Configuration menu
    Copy the full SHA
    fa3a112 View commit details
    Browse the repository at this point in the history
  2. bug symfony#53890 [VarExporter] Uniform unitialized property error me…

    …ssage under ghost and non-ghost objects (priyadi)
    
    This PR was squashed before being merged into the 6.4 branch.
    
    Discussion
    ----------
    
    [VarExporter] Uniform unitialized property error message under ghost and non-ghost objects
    
    | Q             | A
    | ------------- | ---
    | Branch?       | 6.4
    | Bug fix?      | yes
    | New feature?  | no
    | Deprecations? | no
    | Issues        |
    | License       | MIT
    
    Accessing an uninitialized property will previously give us a different error message on a lazy ghost and the real object. This PR changes so that doing it on a lazy ghost gives us the same error message as that with the real object.
    
    Commits
    -------
    
    fa3a112 [VarExporter] Uniform unitialized property error message under ghost and non-ghost objects
    nicolas-grekas committed Feb 12, 2024
    Configuration menu
    Copy the full SHA
    7cbf1fc View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    3ffd495 View commit details
    Browse the repository at this point in the history
  4. Merge branch '5.4' into 6.4

    * 5.4:
      Update configuration path in help message
      [Validator] Review Albanian translation
      [Process] Fix Inconsistent Exit Status in proc_get_status for PHP Versions Below 8.3
      [Validator] Update Czech (cz) translation
      Sync translations
      Review portuguese translations
      [Validator] Fix fields without constraints in `Collection`
      deal with fields for which no constraints have been configured
    derrabus committed Feb 12, 2024
    Configuration menu
    Copy the full SHA
    fadce17 View commit details
    Browse the repository at this point in the history
  5. Merge branch '6.4' into 7.0

    * 6.4:
      [VarExporter] Uniform unitialized property error message under ghost and non-ghost objects
      [AssetMapper] Ignore comment lines in JavaScriptImportPathCompiler
      Update configuration path in help message
      [Validator] Review Albanian translation
      [Process] Fix Inconsistent Exit Status in proc_get_status for PHP Versions Below 8.3
      [Validator] Update Czech (cz) translation
      Sync translations
      [Mailer][Postmark][Webhook] Make allowed IPs configurable
      Review portuguese translations
      [Validator] Fix fields without constraints in `Collection`
      deal with fields for which no constraints have been configured
      [DomCrawler] [Form] Fix the exclusion of <template>
    derrabus committed Feb 12, 2024
    Configuration menu
    Copy the full SHA
    7877f70 View commit details
    Browse the repository at this point in the history
  6. Merge branch '7.0' into 7.1

    * 7.0:
      [VarExporter] Uniform unitialized property error message under ghost and non-ghost objects
      [AssetMapper] Ignore comment lines in JavaScriptImportPathCompiler
      Update configuration path in help message
      [Validator] Review Albanian translation
      [Process] Fix Inconsistent Exit Status in proc_get_status for PHP Versions Below 8.3
      [Validator] Update Czech (cz) translation
      Sync translations
      [Mailer][Postmark][Webhook] Make allowed IPs configurable
      Review portuguese translations
      [Validator] Fix fields without constraints in `Collection`
      deal with fields for which no constraints have been configured
      [DomCrawler] [Form] Fix the exclusion of <template>
    derrabus committed Feb 12, 2024
    Configuration menu
    Copy the full SHA
    ba614ef View commit details
    Browse the repository at this point in the history

Commits on Feb 13, 2024

  1. Merge branch '5.4' into 6.4

    * 5.4:
      [Process] Fix failing tests causing segfaults
    xabbuh committed Feb 13, 2024
    Configuration menu
    Copy the full SHA
    29df289 View commit details
    Browse the repository at this point in the history
  2. Merge branch '6.4' into 7.0

    * 6.4:
      [Process] Fix failing tests causing segfaults
    xabbuh committed Feb 13, 2024
    Configuration menu
    Copy the full SHA
    ac77ba6 View commit details
    Browse the repository at this point in the history
  3. Merge branch '7.0' into 7.1

    * 7.0:
      [Process] Fix failing tests causing segfaults
    xabbuh committed Feb 13, 2024
    Configuration menu
    Copy the full SHA
    e3b1aea View commit details
    Browse the repository at this point in the history
  4. bug symfony#53906 [VarDumper] Fix serialization of stubs with null or…

    … uninitialized values (derrabus)
    
    This PR was merged into the 6.4 branch.
    
    Discussion
    ----------
    
    [VarDumper] Fix serialization of stubs with null or uninitialized values
    
    | Q             | A
    | ------------- | ---
    | Branch?       | 6.4
    | Bug fix?      | yes
    | New feature?  | no
    | Deprecations? | no
    | Issues        | Fix symfony#53905
    | License       | MIT
    
    The`Stub::__sleep()` implementation excludes properties from the serialized representation that are set to their defaults, but it cannot tell apart properties with a null value from properties that don't have a default. This is an issue for typed properties that are uninitialized by default.
    
    Commits
    -------
    
    3ffd495 [VarDumper] Fix serialization of stubs with null or uninitialized values
    derrabus committed Feb 13, 2024
    Configuration menu
    Copy the full SHA
    9f692c6 View commit details
    Browse the repository at this point in the history
  5. Merge branch '6.4' into 7.0

    * 6.4:
      [VarDumper] Fix serialization of stubs with null or uninitialized values
    derrabus committed Feb 13, 2024
    Configuration menu
    Copy the full SHA
    728053a View commit details
    Browse the repository at this point in the history
  6. Merge branch '7.0' into 7.1

    * 7.0:
      [VarDumper] Fix serialization of stubs with null or uninitialized values
    derrabus committed Feb 13, 2024
    Configuration menu
    Copy the full SHA
    fd53091 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    e650ef3 View commit details
    Browse the repository at this point in the history

Commits on Feb 14, 2024

  1. Configuration menu
    Copy the full SHA
    8188d42 View commit details
    Browse the repository at this point in the history
  2. AssetMapper: Remove 'auto-generated' info

    This is to bring AssetMaper's `importmap` commands inline with symfony/recipes#1287
    kaznovac committed Feb 14, 2024
    Configuration menu
    Copy the full SHA
    2296445 View commit details
    Browse the repository at this point in the history
  3. Add new Pushy notifier bridge

    stloyd committed Feb 14, 2024
    Configuration menu
    Copy the full SHA
    b8f666d View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    3e5b677 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    cae256b View commit details
    Browse the repository at this point in the history
  6. bug symfony#53891 [PropertyAccess] Fixes getValue() on an unitialized…

    … object property on a lazy ghost (priyadi)
    
    This PR was squashed before being merged into the 6.4 branch.
    
    Discussion
    ----------
    
    [PropertyAccess] Fixes getValue() on an unitialized object property on a lazy ghost
    
    | Q             | A
    | ------------- | ---
    | Branch?       | 6.4
    | Bug fix?      | yes
    | New feature?  | no
    | Deprecations? | no
    | Issues        |
    | License       | MIT
    
    With a lazy ghost that has an uninitialized property that should contain an object, attempting to `$propertyAccessor->getValue()` on it will previously throw `Error`, not the expected `UninitializedPropertyException`. This PR fixes the problem.
    
    Commits
    -------
    
    cae256b [PropertyAccess] Fixes getValue() on an unitialized object property on a lazy ghost
    nicolas-grekas committed Feb 14, 2024
    Configuration menu
    Copy the full SHA
    931de58 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    50c4151 View commit details
    Browse the repository at this point in the history
  8. minor symfony#53922 [Scheduler] fix documentation link (luchaninov)

    This PR was submitted for the 7.0 branch but it was merged into the 6.4 branch instead.
    
    Discussion
    ----------
    
    [Scheduler] fix documentation link
    
    | Q             | A
    | ------------- | ---
    | Branch?       | 7.0
    | Bug fix?      | no
    | New feature?  | no
    | Deprecations? | no
    | Issues        | no, simple url change at php.net site
    | License       | MIT
    
    Link was broken, I've changed to the updated one
    
    Commits
    -------
    
    50c4151 [Scheduler] fix documentation link
    nicolas-grekas committed Feb 14, 2024
    Configuration menu
    Copy the full SHA
    293f165 View commit details
    Browse the repository at this point in the history
  9. minor symfony#53930 [HtmlSanitizer] Fix fetching data in `W3CReferenc…

    …eTest` on AppVeyor (stloyd)
    
    This PR was merged into the 6.4 branch.
    
    Discussion
    ----------
    
    [HtmlSanitizer] Fix fetching data in `W3CReferenceTest` on AppVeyor
    
    | Q             | A
    | ------------- | ---
    | Branch?       | 6.4
    | Bug fix?      | yes
    | New feature?  | no <!-- please update src/**/CHANGELOG.md files -->
    | Deprecations? | no <!-- please update UPGRADE-*.md and src/**/CHANGELOG.md files -->
    | License       | MIT
    
    Fix for issue on AppVeyor:
    ```
    PHPUnit 9.6.16 by Sebastian Bergmann and contributors.
    Testing C:\projects\symfony\src\Symfony\Component\HtmlSanitizer
    E.
    Time: 00:28.765, Memory: 4.00 MB
    There was 1 error:
    1) Symfony\Component\HtmlSanitizer\Tests\Reference\W3CReferenceTest::testElements
    file_get_contents(): SSL operation failed with code 1. OpenSSL Error messages:
    error:0A000086:SSL routines::certificate verify failed
    C:\projects\symfony\src\Symfony\Component\HtmlSanitizer\Tests\Reference\W3CReferenceTest.php:39
    ERRORS!
    ```
    
    Working tests on AppVeyor (seems like PR has not the latest linked): https://ci.appveyor.com/project/fabpot/symfony/builds/49178473
    
    <!--
    Replace this notice by a description of your feature/bugfix.
    This will help reviewers and should be a good start for the documentation.
    
    Additionally (see https://symfony.com/releases):
     - Always add tests and ensure they pass.
     - Bug fixes must be submitted against the lowest maintained branch where they apply
       (lowest branches are regularly merged to upper ones so they get the fixes too).
     - Features and deprecations must be submitted against the latest branch.
     - For new features, provide some code snippets to help understand usage.
     - Changelog entry should follow https://symfony.com/doc/current/contributing/code/conventions.html#writing-a-changelog-entry
     - Never break backward compatibility (see https://symfony.com/bc).
    -->
    
    Commits
    -------
    
    e650ef3 Fix fetching data in `W3CReferenceTest` on AppVeyor
    nicolas-grekas committed Feb 14, 2024
    Configuration menu
    Copy the full SHA
    0abae82 View commit details
    Browse the repository at this point in the history
  10. bug symfony#53935 [Mailer] [Mailgun] Fix expecting payload without ta…

    …gs or user variables (norkunas)
    
    This PR was merged into the 6.4 branch.
    
    Discussion
    ----------
    
    [Mailer] [Mailgun] Fix expecting payload without tags or user variables
    
    | Q             | A
    | ------------- | ---
    | Branch?       | 6.4
    | Bug fix?      | yes
    | New feature?  | no
    | Deprecations? | no
    | Issues        | Fix symfony#53862
    | License       | MIT
    
    Commits
    -------
    
    8188d42 [Mailer] [Mailgun] Fix expecting payload without tags or user variables
    nicolas-grekas committed Feb 14, 2024
    Configuration menu
    Copy the full SHA
    db9bcd8 View commit details
    Browse the repository at this point in the history
  11. minor symfony#53936 [AssetMapper] Remove 'auto-generated' info (kazno…

    …vac)
    
    This PR was merged into the 6.4 branch.
    
    Discussion
    ----------
    
    [AssetMapper] Remove 'auto-generated' info
    
    This is to bring AssetMaper's `importmap` commands inline with symfony/recipes#1287
    
    | Q             | A
    | ------------- | ---
    | Branch?       | 6.4
    | Bug fix?      | yes
    | New feature?  | no <!-- please update src/**/CHANGELOG.md files -->
    | Deprecations? | no <!-- please update UPGRADE-*.md and src/**/CHANGELOG.md files -->
    | Issues        | Fix #... <!-- prefix each issue number with "Fix #", no need to create an issue if none exists, explain below instead -->
    | License       | MIT
    
    <!--
    Replace this notice by a description of your feature/bugfix.
    This will help reviewers and should be a good start for the documentation.
    
    Additionally (see https://symfony.com/releases):
     - Always add tests and ensure they pass.
     - Bug fixes must be submitted against the lowest maintained branch where they apply
       (lowest branches are regularly merged to upper ones so they get the fixes too).
     - Features and deprecations must be submitted against the latest branch.
     - For new features, provide some code snippets to help understand usage.
     - Changelog entry should follow https://symfony.com/doc/current/contributing/code/conventions.html#writing-a-changelog-entry
     - Never break backward compatibility (see https://symfony.com/bc).
    -->
    
    Commits
    -------
    
    2296445 AssetMapper: Remove 'auto-generated' info
    nicolas-grekas committed Feb 14, 2024
    Configuration menu
    Copy the full SHA
    21721ed View commit details
    Browse the repository at this point in the history
  12. Merge branch '5.4' into 6.4

    * 5.4:
      Do not produce notice/warning when consuming from multiple transports and explicitly listed queues
      [FrameworkBundle] Check if the _route attribute exists on the request
      [HttpClient] Make retry strategy work again
      [Mailer] Fix signed emails breaking the profiler
      [Validator] Update Spanish (es) translations
      Fix SQS visibility_timeout type
    nicolas-grekas committed Feb 14, 2024
    Configuration menu
    Copy the full SHA
    7080b83 View commit details
    Browse the repository at this point in the history

Commits on Feb 15, 2024

  1. feature symfony#53927 [Notifier] Add new Pushy notifier bridge (stloyd)

    This PR was merged into the 7.1 branch.
    
    Discussion
    ----------
    
    [Notifier] Add new Pushy notifier bridge
    
    | Q             | A
    | ------------- | ---
    | Branch?       | 7.1
    | Bug fix?      | no
    | New feature?  | yes <!-- please update src/**/CHANGELOG.md files -->
    | Deprecations? | no <!-- please update UPGRADE-*.md and src/**/CHANGELOG.md files -->
    | License       | MIT
    
    This PR adds a new bridge for [Pushy](https://pushy.me). Based on documentation available: https://pushy.me/docs/api/send-notifications
    <!--
    Replace this notice by a description of your feature/bugfix.
    This will help reviewers and should be a good start for the documentation.
    
    Additionally (see https://symfony.com/releases):
     - Always add tests and ensure they pass.
     - Bug fixes must be submitted against the lowest maintained branch where they apply
       (lowest branches are regularly merged to upper ones so they get the fixes too).
     - Features and deprecations must be submitted against the latest branch.
     - For new features, provide some code snippets to help understand usage.
     - Changelog entry should follow https://symfony.com/doc/current/contributing/code/conventions.html#writing-a-changelog-entry
     - Never break backward compatibility (see https://symfony.com/bc).
    -->
    
    Commits
    -------
    
    b8f666d Add new Pushy notifier bridge
    fabpot committed Feb 15, 2024
    Configuration menu
    Copy the full SHA
    b15a479 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    c5830b4 View commit details
    Browse the repository at this point in the history
  3. bug symfony#53819 [Doctrine Messenger] Fix support for pgsql + pgboun…

    …cer. (jwage)
    
    This PR was squashed before being merged into the 6.4 branch.
    
    Discussion
    ----------
    
    [Doctrine Messenger] Fix support for pgsql + pgbouncer.
    
    | Q             | A
    | ------------- | ---
    | Branch?       | 6.4
    | Bug fix?      | yes
    | New feature?  | no
    | Deprecations? | no
    | Issues        |
    | License       | MIT
    
    ## Problem
    
    When you use PgBouncer in front of a PostgreSQL server with transaction pooling mode enabled, the `INSERT` and the `lastInsertId()` happen in separate transactions which are separate connections/sessions when using PgBouncer. So the call to `lastInsertId()` fails with the following exception:
    
    ```
    [Doctrine\DBAL\Exception\DriverException (7)]
    An exception occurred in the driver: SQLSTATE[55000]: Object not in prerequisite state: 7 ERROR:  lastval is not yet defined in this session
    
    Exception trace:
     at /app/vendor/doctrine/dbal/src/Driver/API/PostgreSQL/ExceptionConverter.php:87
    Doctrine\DBAL\Driver\API\PostgreSQL\ExceptionConverter->convert() at /app/vendor/doctrine/dbal/src/Connection.php:1938
    Doctrine\DBAL\Connection->handleDriverException() at /app/vendor/doctrine/dbal/src/Connection.php:1886
    Doctrine\DBAL\Connection->convertException() at /app/vendor/doctrine/dbal/src/Connection.php:1253
    Doctrine\DBAL\Connection->lastInsertId() at /app/vendor/symfony/doctrine-messenger/Transport/Connection.php:156
    Symfony\Component\Messenger\Bridge\Doctrine\Transport\Connection->send() at /app/vendor/symfony/doctrine-messenger/Transport/DoctrineSender.php:46
    Symfony\Component\Messenger\Bridge\Doctrine\Transport\DoctrineSender->send() at /app/vendor/symfony/doctrine-messenger/Transport/DoctrineTransport.php:72
    Symfony\Component\Messenger\Bridge\Doctrine\Transport\DoctrineTransport->send() at /app/vendor/symfony/messenger/EventListener/SendFailedMessageForRetryListener.php:81
    Symfony\Component\Messenger\EventListener\SendFailedMessageForRetryListener->onMessageFailed() at /app/vendor/symfony/event-dispatcher/EventDispatcher.php:220
    Symfony\Component\EventDispatcher\EventDispatcher->callListeners() at /app/vendor/symfony/event-dispatcher/EventDispatcher.php:56
    Symfony\Component\EventDispatcher\EventDispatcher->dispatch() at /app/vendor/symfony/messenger/Worker.php:198
    Symfony\Component\Messenger\Worker->ack() at /app/vendor/symfony/messenger/Worker.php:174
    Symfony\Component\Messenger\Worker->handleMessage() at /app/vendor/symfony/messenger/Worker.php:109
    ```
    
    ## Solution
    
    Wrap the `INSERT` and `lastInsertId()` with a single transaction, then when `lastInsertId()` is called, it will be within the same session that the message was inserted in.
    
    In addition, this PR adds the ability to use PostgresSQL `RETURNING id` clause instead of calling `lastInsertId()` so we can get the id of the inserted message in one operation instead of two.
    
    TODO:
    
    - [x] Add test for table not found scenario when inserting a message.
    - [x] Add tests for when lastInsertId returns false, int and string.
    - [x] Is there a place where I can write an integration test for this behavior that already exists?
    - [x] Investigate using pgsql RETURNING clause to simplify this. The insert can return the id after the message is inserted.
    - [ ] Squash commits to one clean commit before merge.
    
    Commits
    -------
    
    c5830b4 [Doctrine Messenger] Fix support for pgsql + pgbouncer.
    fabpot committed Feb 15, 2024
    Configuration menu
    Copy the full SHA
    189bfeb View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    2b8707e View commit details
    Browse the repository at this point in the history
  5. Merge branch '5.4' into 6.4

    * 5.4:
      [TwigBridge] Fix compat with Twig v3.9
      [Mailer] Simplify fix
    nicolas-grekas committed Feb 15, 2024
    Configuration menu
    Copy the full SHA
    7fe91b6 View commit details
    Browse the repository at this point in the history
  6. [TwigBridge] foundation 5 layout: use form_label_content block for ch…

    …eckbox and radio labels
    wetternest authored and nicolas-grekas committed Feb 15, 2024
    Configuration menu
    Copy the full SHA
    e4eca7c View commit details
    Browse the repository at this point in the history
  7. bug symfony#53926 [TwigBridge] foundation 5 layout: use form_label_co…

    …ntent block for checkbox and radio labels (wetternest)
    
    This PR was squashed before being merged into the 6.4 branch.
    
    Discussion
    ----------
    
    [TwigBridge] foundation 5 layout: use form_label_content block for checkbox and radio labels
    
    …dio labels
    
    | Q             | A
    | ------------- | ---
    | Branch?       | 6.4
    | Bug fix?      | yes
    | New feature?  | no
    | Deprecations? | no
    | Issues        | Fix symfony#53925
    | License       | MIT
    
    [Twig Bridge] Foundation5 Form Layout
    
    use the block `form_label_content` to display the label content of checkboxes and radios in order to support the `label_html` flag
    
    Commits
    -------
    
    e4eca7c [TwigBridge] foundation 5 layout: use form_label_content block for checkbox and radio labels
    nicolas-grekas committed Feb 15, 2024
    Configuration menu
    Copy the full SHA
    e81547b View commit details
    Browse the repository at this point in the history
  8. minor symfony#53951 [Cache] Sync the Redis proxies with upstream (ale…

    …xandre-daubois)
    
    This PR was merged into the 6.4 branch.
    
    Discussion
    ----------
    
    [Cache] Sync the Redis proxies with upstream
    
    | Q             | A
    | ------------- | ---
    | Branch?       | 6.4
    | Bug fix?      | yes
    | New feature?  | no
    | Deprecations? | no
    | Issues        | Fix CI
    | License       | MIT
    
    Following phpredis/phpredis#2444
    
    Commits
    -------
    
    2b8707e [Cache] Sync the Redis proxies with upstream
    nicolas-grekas committed Feb 15, 2024
    Configuration menu
    Copy the full SHA
    32d67d3 View commit details
    Browse the repository at this point in the history
  9. Merge branch '6.4' into 7.0

    * 6.4:
      [TwigBridge] foundation 5 layout: use form_label_content block for checkbox and radio labels
      [TwigBridge] Fix compat with Twig v3.9
      [Cache] Sync the Redis proxies with upstream
      [Doctrine Messenger] Fix support for pgsql + pgbouncer.
      [Mailer] Simplify fix
      Do not produce notice/warning when consuming from multiple transports and explicitly listed queues
      [FrameworkBundle] Check if the _route attribute exists on the request
      [Scheduler] fix documentation link
      [PropertyAccess] Fixes getValue() on an unitialized object property on a lazy ghost
      [HttpClient] Make retry strategy work again
      AssetMapper: Remove 'auto-generated' info
      [Mailer] Fix signed emails breaking the profiler
      [Mailer] [Mailgun] Fix expecting payload without tags or user variables
      [Validator] Update Spanish (es) translations
      Fix fetching data in `W3CReferenceTest` on AppVeyor
      Fix SQS visibility_timeout type
      [VarDumper] Fix serialization of stubs with null or uninitialized values
    nicolas-grekas committed Feb 15, 2024
    Configuration menu
    Copy the full SHA
    c290fc0 View commit details
    Browse the repository at this point in the history
  10. Merge branch '7.0' into 7.1

    * 7.0:
      [TwigBridge] foundation 5 layout: use form_label_content block for checkbox and radio labels
      [TwigBridge] Fix compat with Twig v3.9
      [Cache] Sync the Redis proxies with upstream
      [Doctrine Messenger] Fix support for pgsql + pgbouncer.
      [Mailer] Simplify fix
      Do not produce notice/warning when consuming from multiple transports and explicitly listed queues
      [FrameworkBundle] Check if the _route attribute exists on the request
      [Scheduler] fix documentation link
      [PropertyAccess] Fixes getValue() on an unitialized object property on a lazy ghost
      [HttpClient] Make retry strategy work again
      AssetMapper: Remove 'auto-generated' info
      [Mailer] Fix signed emails breaking the profiler
      [Mailer] [Mailgun] Fix expecting payload without tags or user variables
      [Validator] Update Spanish (es) translations
      Fix fetching data in `W3CReferenceTest` on AppVeyor
      Fix SQS visibility_timeout type
    nicolas-grekas committed Feb 15, 2024
    Configuration menu
    Copy the full SHA
    242c7dd View commit details
    Browse the repository at this point in the history
  11. Fix merge

    nicolas-grekas committed Feb 15, 2024
    Configuration menu
    Copy the full SHA
    b167190 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    27002c2 View commit details
    Browse the repository at this point in the history

Commits on Feb 16, 2024

  1. fix tests

    xabbuh committed Feb 16, 2024
    Configuration menu
    Copy the full SHA
    e8fcaf4 View commit details
    Browse the repository at this point in the history
  2. minor symfony#53970 [PropertyAccess]  fix tests (xabbuh)

    This PR was merged into the 6.4 branch.
    
    Discussion
    ----------
    
    [PropertyAccess]  fix tests
    
    | Q             | A
    | ------------- | ---
    | Branch?       | 6.4
    | Bug fix?      | no
    | New feature?  | no
    | Deprecations? | no
    | Issues        |
    | License       | MIT
    
    Commits
    -------
    
    e8fcaf4 fix tests
    xabbuh committed Feb 16, 2024
    Configuration menu
    Copy the full SHA
    d352e98 View commit details
    Browse the repository at this point in the history
  3. Merge branch '6.4' into 7.0

    * 6.4:
      fix tests
    xabbuh committed Feb 16, 2024
    Configuration menu
    Copy the full SHA
    61cf2b0 View commit details
    Browse the repository at this point in the history
  4. Merge branch '7.0' into 7.1

    * 7.0:
      fix tests
    xabbuh committed Feb 16, 2024
    Configuration menu
    Copy the full SHA
    db21ee4 View commit details
    Browse the repository at this point in the history

Commits on Feb 20, 2024

  1. [Uid] Minor updates

    smnandre authored and fabpot committed Feb 20, 2024
    Configuration menu
    Copy the full SHA
    a2e5dca View commit details
    Browse the repository at this point in the history
  2. minor symfony#53978 [Uid] Minor updates (smnandre)

    This PR was squashed before being merged into the 7.1 branch.
    
    Discussion
    ----------
    
    [Uid] Minor updates
    
    | Q             | A
    | ------------- | ---
    | Branch?       | 7.1
    | Bug fix?      | no
    | New feature?  | no
    | Deprecations? | no
    | Issues        | Fix #
    | License       | MIT
    
    Some minor things i found while [playing with UuidV4](symfony#53963).
    
    In those places, calling the polyfill cost us a lot of operations, as we already did most of the checks, might as well running directly the expected code.
    
    Full disclosure: at first, i wanted to remove entirely the uuid_ pecl / polyfill dependencies. But uuid_create is still used for UuidV1 / V7 generation, and more perorfmant than the polyfill.
    
    After this PR, the extension (or the polyfills) are still used via 2 methods: `uuid_create` and `uuid_compare`.
    
    Commits
    -------
    
    a2e5dca [Uid] Minor updates
    fabpot committed Feb 20, 2024
    Configuration menu
    Copy the full SHA
    b6d7264 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    eecaac4 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    2b73f0c View commit details
    Browse the repository at this point in the history
  5. bug symfony#54006 [Process] Fix the command -v exception (kayw-geek)

    This PR was submitted for the 7.1 branch but it was merged into the 6.4 branch instead.
    
    Discussion
    ----------
    
    [Process] Fix the `command -v` exception
    
    | Q             | A
    | ------------- | ---
    | Branch?       |  6.4
    | Bug fix?      | yes
    | New feature?  | no
    | Deprecations? | no
    | Issues        | Fix symfony#53479
    | License       | MIT
    
    This PR is a continuation of the fixes made in PR symfony#53481 to address the issue. The previous PR partially addressed the problem, but after further review and testing, it was determined that additional changes were needed.
    
    Fix the `command -v` exception when the command option with a dash prefix.
    
    Commits
    -------
    
    2b73f0c Fix the `command -v` exception when the command option with a dash prefix
    nicolas-grekas committed Feb 20, 2024
    Configuration menu
    Copy the full SHA
    faac38c View commit details
    Browse the repository at this point in the history
  6. bug symfony#54005 Fix a minor design issue in the Welcome Page (javie…

    …reguiluz)
    
    This PR was merged into the 7.0 branch.
    
    Discussion
    ----------
    
    Fix a minor design issue in the Welcome Page
    
    | Q             | A
    | ------------- | ---
    | Branch?       | 7.0
    | Bug fix?      | yes
    | New feature?  | no
    | Deprecations? | no
    | Issues        | -
    | License       | MIT
    
    This was spotted by `@nicolas`-grekas. In the Welcome Page, the toolbar needs a `position` CSS property because otherwise, the `z-index` property is ignored and the following happens:
    
    https://github.com/symfony/symfony/assets/73419/e4fe8516-40b1-4cb4-8b67-e85ea6feb37f
    
    Commits
    -------
    
    eecaac4 Fix a minor design issue in the Welcome Page
    nicolas-grekas committed Feb 20, 2024
    Configuration menu
    Copy the full SHA
    635a9f1 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    e9b0faa View commit details
    Browse the repository at this point in the history
  8. [Translation] Fix extracting qualified t() function calls

    Richard van Velzen committed Feb 20, 2024
    Configuration menu
    Copy the full SHA
    eb5ac71 View commit details
    Browse the repository at this point in the history
  9. [Uid] Optimize UuidV4 generation

    smnandre authored and fabpot committed Feb 20, 2024
    Configuration menu
    Copy the full SHA
    7b5c57b View commit details
    Browse the repository at this point in the history
  10. minor symfony#53963 [Uid] Optimize UuidV4 generation (smnandre)

    This PR was squashed before being merged into the 7.1 branch.
    
    Discussion
    ----------
    
    [Uid] Optimize UuidV4 generation
    
    | Q             | A
    | ------------- | ---
    | Branch?       | 7.1
    | Bug fix?      | no
    | New feature?  | no
    | Deprecations? | no
    | Issues        | Fix #
    | License       | MIT
    
    I tried to optimize as much as I could the [UuidV4 generation](https://github.com/symfony/symfony/blob/7.1/src/Symfony/Component/Uid/UuidV4.php).
    
    According to local tests, the code is now between `35%` and `40%` faster.
    
    (But to be fair... we are talking nanoseconds here 😅)
    
    Thanks `@nicolas`-grekas for the help in this ~~useless~~ fun quest  😃
    
    --
    
    --> Bench (& results): https://github.com/smnandre/uuid-bench
    
    Commits
    -------
    
    7b5c57b [Uid] Optimize UuidV4 generation
    fabpot committed Feb 20, 2024
    Configuration menu
    Copy the full SHA
    86b07f0 View commit details
    Browse the repository at this point in the history
  11. bug symfony#54009 [Console] Fix display of vertical Table on Windows …

    …OS (VincentLanglet)
    
    This PR was merged into the 6.4 branch.
    
    Discussion
    ----------
    
    [Console] Fix display of vertical Table on Windows OS
    
    | Q             | A
    | ------------- | ---
    | Branch?       | 6.4
    | Bug fix?      | yes
    | New feature?  | no
    | Deprecations? | no
    | Issues        | Fix #... <!-- prefix each issue number with "Fix #", no need to create an issue if none exists, explain below instead -->
    | License       | MIT
    
    Similar to symfony#54001
    but the feature was introduced in 6.4 with symfony#50691
    
    Commits
    -------
    
    e9b0faa Fix vertical table on windows
    nicolas-grekas committed Feb 20, 2024
    Configuration menu
    Copy the full SHA
    243db27 View commit details
    Browse the repository at this point in the history

Commits on Feb 21, 2024

  1. Configuration menu
    Copy the full SHA
    c4e4843 View commit details
    Browse the repository at this point in the history
  2. bug symfony#54010 [Translation] Fix extracting qualified t() functi…

    …on calls (rvanvelzen)
    
    This PR was merged into the 6.4 branch.
    
    Discussion
    ----------
    
    [Translation] Fix extracting qualified `t()` function calls
    
    | Q             | A
    | ------------- | ---
    | Branch?       | 6.4
    | Bug fix?      | yes
    | New feature?  | no
    | Deprecations? | no
    | Issues        | Fix symfony#53835
    | License       | MIT
    
    `t()` calls are generally qualified. The visitor used to look at the full name for the function call, but since symfony#53624 this is replaced by the qualified name.
    
    This PR adjusts the comparison to only look at the last part of the qualified name.
    
    Commits
    -------
    
    eb5ac71 [Translation] Fix extracting qualified t() function calls
    fabpot committed Feb 21, 2024
    Configuration menu
    Copy the full SHA
    fce2d88 View commit details
    Browse the repository at this point in the history
  3. minor symfony#53966 [OptionsResolver][PasswordHasher][PropertyAccess]…

    …[Semaphore][Stopwatch][Yaml] use constructor property promotion (xabbuh)
    
    This PR was merged into the 7.1 branch.
    
    Discussion
    ----------
    
    [OptionsResolver][PasswordHasher][PropertyAccess][Semaphore][Stopwatch][Yaml] use constructor property promotion
    
    | Q             | A
    | ------------- | ---
    | Branch?       | 7.1
    | Bug fix?      | no
    | New feature?  | no
    | Deprecations? | no
    | Issues        |
    | License       | MIT
    
    Commits
    -------
    
    c4e4843 use constructor property promotion
    fabpot committed Feb 21, 2024
    Configuration menu
    Copy the full SHA
    8d352bc View commit details
    Browse the repository at this point in the history
  4. [AssetMapper] Fix enquoted string pattern

    smnandre authored and fabpot committed Feb 21, 2024
    Configuration menu
    Copy the full SHA
    df618bd View commit details
    Browse the repository at this point in the history
  5. bug symfony#54014 [AssetMapper] Fix enquoted string pattern (smnandre)

    This PR was squashed before being merged into the 6.4 branch.
    
    Discussion
    ----------
    
    [AssetMapper] Fix enquoted string pattern
    
    | Q             | A
    | ------------- | ---
    | Branch?       | 6.4
    | Bug fix?      | yes
    | New feature?  | no
    | Deprecations? | no
    | Issues        | Fix symfony#54012
    | License       | MIT
    
    Alternative to symfony#54012 (fixes the bug and avoid a revert that will reintroduce other previous bugs / missmatches)
    
    + add a test to check things work as expected with the standard `app.js` file
    
    cc `@weaverryan` `@nicolas`-grekas
    
    Commits
    -------
    
    df618bd [AssetMapper] Fix enquoted string pattern
    fabpot committed Feb 21, 2024
    Configuration menu
    Copy the full SHA
    2735cf4 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    1cfd6df View commit details
    Browse the repository at this point in the history
  7. feature symfony#53986 [Console] Add descriptions to Fish completion o…

    …utput (adriaanzon)
    
    This PR was squashed before being merged into the 7.1 branch.
    
    Discussion
    ----------
    
    [Console] Add descriptions to Fish completion output
    
    | Q             | A
    | ------------- | ---
    | Branch?       | 7.1
    | Bug fix?      | no
    | New feature?  | no
    | Deprecations? | no
    | Issues        | N/A
    | License       | MIT
    
    This improves the completion output for the Fish shell to include descriptions. The `-a` option of Fish's [complete](https://fishshell.com/docs/current/cmds/complete.html) command accepts a list where each line is an argument with an optional description, separated by a tab. The fish script doesn't need to change, making this change backwards compatible.
    
    Since the output is now identical to that of `ZshCompletionOutput`, code duplication could still be reduced by extracting to an abstract class (e.g. `TabSeparatedCompletionOutput`) that gets extended by `FishCompletionOutput` and `ZshCompletionOutput`.
    
    Commits
    -------
    
    1cfd6df [Console] Add descriptions to Fish completion output
    fabpot committed Feb 21, 2024
    Configuration menu
    Copy the full SHA
    73f8713 View commit details
    Browse the repository at this point in the history

Commits on Feb 22, 2024

  1. Merge branch '5.4' into 6.4

    * 5.4:
      [DependencyInjection] Fix computing error messages involving service locators
      [Serializer] Fix unknown types normalization type when know type
      [ErrorHandler] Fix parsing messages that contain anonymous classes on PHP >= 8.3.3
      [Validator] Review Romanian (ro) translations
      [Console] Fix display of Table on Windows OS
      [FrameworkBundle] Fix config builder with extensions extended in `build()`
      [WebProfilerBundle] disable turbo in web profiler toolbar to avoid link prefetching
      explicitly cast boolean SSL stream options
      return the unchanged text if preg_replace_callback() fails
      the 'use_notify' option is on the factory, not on the postgres connection class
      review translations
    nicolas-grekas committed Feb 22, 2024
    Configuration menu
    Copy the full SHA
    9caa541 View commit details
    Browse the repository at this point in the history
  2. Merge branch '6.4' into 7.0

    * 6.4:
      [DependencyInjection] Fix computing error messages involving service locators
      [Serializer] Fix unknown types normalization type when know type
      [ErrorHandler] Fix parsing messages that contain anonymous classes on PHP >= 8.3.3
      [AssetMapper] Fix enquoted string pattern
      [Validator] Review Romanian (ro) translations
      [Console] Fix display of Table on Windows OS
      [FrameworkBundle] Fix config builder with extensions extended in `build()`
      [Translation] Fix extracting qualified t() function calls
      Fix vertical table on windows
      Fix the `command -v` exception when the command option with a dash prefix
      [WebProfilerBundle] disable turbo in web profiler toolbar to avoid link prefetching
      explicitly cast boolean SSL stream options
      return the unchanged text if preg_replace_callback() fails
      the 'use_notify' option is on the factory, not on the postgres connection class
      review translations
    nicolas-grekas committed Feb 22, 2024
    Configuration menu
    Copy the full SHA
    d95ed09 View commit details
    Browse the repository at this point in the history
  3. Merge branch '7.0' into 7.1

    * 7.0:
      [DependencyInjection] Fix computing error messages involving service locators
      [Serializer] Fix unknown types normalization type when know type
      [ErrorHandler] Fix parsing messages that contain anonymous classes on PHP >= 8.3.3
      [AssetMapper] Fix enquoted string pattern
      [Validator] Review Romanian (ro) translations
      [Console] Fix display of Table on Windows OS
      [FrameworkBundle] Fix config builder with extensions extended in `build()`
      [Translation] Fix extracting qualified t() function calls
      Fix vertical table on windows
      Fix the `command -v` exception when the command option with a dash prefix
      Fix a minor design issue in the Welcome Page
      [WebProfilerBundle] disable turbo in web profiler toolbar to avoid link prefetching
      explicitly cast boolean SSL stream options
      return the unchanged text if preg_replace_callback() fails
      the 'use_notify' option is on the factory, not on the postgres connection class
      review translations
    nicolas-grekas committed Feb 22, 2024
    Configuration menu
    Copy the full SHA
    7e02b52 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    31d831d View commit details
    Browse the repository at this point in the history

Commits on Feb 23, 2024

  1. bug symfony#53948 [Form] Throw error if the number is too high on mon…

    …eyTransformer (Fan2Shrek)
    
    This PR was merged into the 7.1 branch.
    
    Discussion
    ----------
    
    [Form] Throw error if the number is too high on moneyTransformer
    
    | Q             | A
    | ------------- | ---
    | Branch?       | 7.1
    | Bug fix?      | yes
    | New feature?  | no
    | Deprecations? | no
    | Issues        | Fix symfony#53929
    | License       | MIT
    
    The `MoneyType` does not handle high numbers when using `'model_type' => 'integer` this leads to unexpected results :
    
    Inputing for instance `111111111111111110,00` gets cast back to `9223372036854775807`.
    
    I have added a verification with `\PHP_INT_MAX` to throw an error in such case
    I'm not sure if this is the best approach.
    
    Commits
    -------
    
    27002c2 Throw error if the number is too high on moneyTransformer
    fabpot committed Feb 23, 2024
    Configuration menu
    Copy the full SHA
    6719e0a View commit details
    Browse the repository at this point in the history
  2. feature symfony#53942 [Clock] Add get/setMicroseconds() (nicolas-grekas)

    This PR was merged into the 7.1 branch.
    
    Discussion
    ----------
    
    [Clock] Add get/setMicroseconds()
    
    | Q             | A
    | ------------- | ---
    | Branch?       | 7.1
    | Bug fix?      | no
    | New feature?  | yes
    | Deprecations? | no
    | Issues        | -
    | License       | MIT
    
    Polyfilling php/php-src#12557
    
    Commits
    -------
    
    3e5b677 [Clock] Add get/setMicroseconds()
    fabpot committed Feb 23, 2024
    Configuration menu
    Copy the full SHA
    e9c4a6c View commit details
    Browse the repository at this point in the history
  3. minor symfony#54040 [FrameworkBundle] Merge test from 5.4 (HypeMC)

    This PR was merged into the 6.4 branch.
    
    Discussion
    ----------
    
    [FrameworkBundle] Merge test from 5.4
    
    | Q             | A
    | ------------- | ---
    | Branch?       | 6.4
    | Bug fix?      | no
    | New feature?  | no
    | Deprecations? | no
    | Issues        | Fix symfony#53989 (comment)
    | License       | MIT
    
    Commits
    -------
    
    31d831d [FrameworkBundle] Merge test from 5.4
    fabpot committed Feb 23, 2024
    Configuration menu
    Copy the full SHA
    923ee21 View commit details
    Browse the repository at this point in the history
  4. [Notifier] Add SMSense bridge

    jimiero authored and fabpot committed Feb 23, 2024
    Configuration menu
    Copy the full SHA
    a1748de View commit details
    Browse the repository at this point in the history
  5. feature symfony#53734 [Notifier] Add SMSense bridge (jimiero)

    This PR was squashed before being merged into the 7.1 branch.
    
    Discussion
    ----------
    
    [Notifier] Add SMSense bridge
    
    | Q             | A
    | ------------- | ---
    | Branch?       | 7.1
    | Bug fix?      | no
    | New feature?  | yes
    | Deprecations? | no
    | Issues        | none
    | License       | MIT
    
    [SMSense](https://smsense.com) is a Romanian sms provider.
    
    Commits
    -------
    
    a1748de [Notifier] Add SMSense bridge
    fabpot committed Feb 23, 2024
    Configuration menu
    Copy the full SHA
    17c5508 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    056b4a5 View commit details
    Browse the repository at this point in the history
  7. feature symfony#53892 [Messenger][AMQP] Automatically reconnect on co…

    …nnection loss (ostrolucky)
    
    This PR was merged into the 7.1 branch.
    
    Discussion
    ----------
    
    [Messenger][AMQP] Automatically reconnect on connection loss
    
    | Q             | A
    | ------------- | ---
    | Branch?       | 7.1
    | Bug fix?      |no
    | New feature?  | no
    | Deprecations? | no
    | Issues        |
    | License       | MIT
    
    When using Rabbitmq in cluster, there is a common need of having to upgrade the nodes, while keeping the existing connections. The way this is normally done is by putting nodes in cluster to `maintenance mode`, ensuring cluster is healthy at all times. However, symfony/messenger nor php-amqp handle this use case at the moment. What happens instead is that exception when getting the message is thrown, worker crashes, error is logged and process manager has to respin it. This all happens without having a way in user space to handle this case better. Messenger's retry mechanism does not work here, because that one kicks in only when exception is thrown in handlers. Concrete exception is following:
    
    >  [AMQPConnectionException (320)]
    >  Server connection error: 320, message: CONNECTION_FORCED - Node was put into maintenance mode
    
    What I'm proposing in this PR is that if connection error is detected _try to reconnect once_ before throwing exception. That should handle the outlined case. This goes line in line with recommendation from AWS's support we got:
    > kindly ensure that the client connecting to the broker attempts a retry in case the above error message is observed during a maintenance window. In RabbitMQ cluster deployments, the nodes are restarted one-by-one, meaning at least two nodes will be up and running at all times. Even if a connection is severed, a connection retry will result in the other nodes accepting the connection, and the clients can keep using the broker.
    
    I've also reported issue at php-amqplib/php-amqplib#1161 with hope that this could be fixed at some point upstream, but I don't give it a big chance.
    
    Commits
    -------
    
    056b4a5 [Messenger] AMQP:Automatically reconnect on connection loss
    fabpot committed Feb 23, 2024
    Configuration menu
    Copy the full SHA
    f78f932 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    02bf53b View commit details
    Browse the repository at this point in the history

Commits on Feb 24, 2024

  1. minor symfony#54047 [DependencyInjection] Make AutowirePass reentrant…

    … (nicolas-grekas)
    
    This PR was merged into the 7.1 branch.
    
    Discussion
    ----------
    
    [DependencyInjection] Make AutowirePass reentrant
    
    | Q             | A
    | ------------- | ---
    | Branch?       | 7.1
    | Bug fix?      | no
    | New feature?  | no
    | Deprecations? | no
    | Issues        | -
    | License       | MIT
    
    This PR is making some ground work to unlock symfony#52820.
    
    It makes AutowirePass not rely on properties for passing state between its methods, thus making the pass reentrant (aka able to analyze nested Definition objects).
    
    Commits
    -------
    
    02bf53b [DependencyInjection] Make AutowirePass reentrant
    nicolas-grekas committed Feb 24, 2024
    Configuration menu
    Copy the full SHA
    82acd7a View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    8dba632 View commit details
    Browse the repository at this point in the history

Commits on Feb 25, 2024

  1. bug symfony#54050 [Messenger] Revert "Resend failed retries back to f…

    …ailure transport " (ro0NL)
    
    This PR was merged into the 6.4 branch.
    
    Discussion
    ----------
    
    [Messenger] Revert "Resend failed retries back to failure transport "
    
    Reverts symfony#51848
    
    | Q             | A
    | ------------- | ---
    | Branch?       | 6.4
    | Bug fix?      | yes
    | New feature?  | no
    | Deprecations? | no
    | Issues        | Fix #... <!-- prefix each issue number with "Fix #", no need to create an issue if none exists, explain below instead -->
    | License       | MIT
    
    See symfony#53216, it's complex :')
    
    I suggest to get rid of confusion between `messenger:consume failed` vs. `bin/console messenger:failed:retry` somehow.
    
    cc `@beermeat` `@guelosuperstart` `@javaDeveloperKid` `@fabpot`
    
    Commits
    -------
    
    8dba632 [Messenger] Revert "Resend failed retries back to failure transport "
    fabpot committed Feb 25, 2024
    Configuration menu
    Copy the full SHA
    509aa06 View commit details
    Browse the repository at this point in the history

Commits on Feb 26, 2024

  1. Merge branch '5.4' into 6.4

    * 5.4:
      [Config][Messenger][Security] Don't turn deprecations into exceptions when unserializing
    fabpot committed Feb 26, 2024
    Configuration menu
    Copy the full SHA
    8ec8741 View commit details
    Browse the repository at this point in the history
  2. Merge branch '6.4' into 7.0

    * 6.4:
      [Messenger] Revert "Resend failed retries back to failure transport "
      [Config][Messenger][Security] Don't turn deprecations into exceptions when unserializing
      [FrameworkBundle] Merge test from 5.4
    fabpot committed Feb 26, 2024
    Configuration menu
    Copy the full SHA
    9425d4f View commit details
    Browse the repository at this point in the history
  3. Merge branch '7.0' into 7.1

    * 7.0:
      [Messenger] Revert "Resend failed retries back to failure transport "
      [Config][Messenger][Security] Don't turn deprecations into exceptions when unserializing
      [FrameworkBundle] Merge test from 5.4
    fabpot committed Feb 26, 2024
    Configuration menu
    Copy the full SHA
    4471e09 View commit details
    Browse the repository at this point in the history
  4. bugfix php jit issue with ternary operator

    see symfony#54053 for more context
    verfriemelt-dot-org authored and nicolas-grekas committed Feb 26, 2024
    Configuration menu
    Copy the full SHA
    b9a9d35 View commit details
    Browse the repository at this point in the history
  5. bug symfony#54054 [VarExporter] Bugfix/workaround jit issue (verfriem…

    …elt-dot-org)
    
    This PR was merged into the 6.4 branch.
    
    Discussion
    ----------
    
    [VarExporter] Bugfix/workaround jit issue
    
    | Q             | A
    | ------------- | ---
    | Branch?       | 6.4
    | Bug fix?      | yes
    | New feature?  | no
    | Deprecations? | no
    | Issues        | Fixes/Workaround for symfony#54053
    | License       | MIT
    
    I managed to fix the erratically behavior with this patch, but i have no idea how one would test this.
    It seems tracing jit has some issues with the ternary operator.
    
    Let me know what you think, i have no idea how to work with that properly :)
    
    Commits
    -------
    
    b9a9d35 bugfix php jit issue with ternary operator
    nicolas-grekas committed Feb 26, 2024
    Configuration menu
    Copy the full SHA
    2e4de58 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    7d2eb5a View commit details
    Browse the repository at this point in the history
  7. bug symfony#53985 [HttpKernel] Allow tagged controllers in Controller…

    …Resolver (marein)
    
    This PR was squashed before being merged into the 6.4 branch.
    
    Discussion
    ----------
    
    [HttpKernel] Allow tagged controllers in ControllerResolver
    
    | Q             | A
    | ------------- | ---
    | Branch?       | 6.4
    | Bug fix?      | yes
    | New feature?  | no
    | Deprecations? | no
    | Issues        | Fix symfony#52471
    | License       | MIT
    
    If the request attribute `_check_controller_is_allowed` is set, only `TemplateController`, children of `AbstractController` and controllers that have the attribute `#[AsController]` are allowed by default. This change also adds controllers tagged with `controller.service_arguments` to the mix. It allows them to be used with different fragment renderers (e.g. `esi` and `ssi`) without having to add any of the above conditions.
    
    This pull request is a follow up of [this discussion](symfony#52471 (comment)).
    
    Commits
    -------
    
    7d2eb5a [HttpKernel] Allow tagged controllers in ControllerResolver
    nicolas-grekas committed Feb 26, 2024
    Configuration menu
    Copy the full SHA
    b701ca3 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    e711f3e View commit details
    Browse the repository at this point in the history
  9. Merge branch '6.4' into 7.0

    * 6.4:
      [HttpKernel] Fix deps=low
      [HttpKernel] Allow tagged controllers in ControllerResolver
      bugfix php jit issue with ternary operator
    nicolas-grekas committed Feb 26, 2024
    Configuration menu
    Copy the full SHA
    27760c5 View commit details
    Browse the repository at this point in the history
  10. Merge branch '7.0' into 7.1

    * 7.0:
      [HttpKernel] Fix deps=low
      [HttpKernel] Allow tagged controllers in ControllerResolver
      bugfix php jit issue with ternary operator
    nicolas-grekas committed Feb 26, 2024
    Configuration menu
    Copy the full SHA
    de93ccd View commit details
    Browse the repository at this point in the history
  11. chore: simplify PHP CS Fixer config

    requires ^3.50 of Fixer
    keradus committed Feb 26, 2024
    Configuration menu
    Copy the full SHA
    7e62355 View commit details
    Browse the repository at this point in the history

Commits on Feb 27, 2024

  1. Update CHANGELOG for 6.4.4

    fabpot committed Feb 27, 2024
    Configuration menu
    Copy the full SHA
    b88d19d View commit details
    Browse the repository at this point in the history
  2. Update VERSION for 6.4.4

    fabpot committed Feb 27, 2024
    Configuration menu
    Copy the full SHA
    0837d07 View commit details
    Browse the repository at this point in the history
  3. Merge pull request symfony#54075 from fabpot/release-6.4.4

    released v6.4.4
    fabpot committed Feb 27, 2024
    Configuration menu
    Copy the full SHA
    1f58f8d View commit details
    Browse the repository at this point in the history
  4. Bump Symfony version to 6.4.5

    fabpot committed Feb 27, 2024
    Configuration menu
    Copy the full SHA
    038e28c View commit details
    Browse the repository at this point in the history
  5. Update CHANGELOG for 7.0.4

    fabpot committed Feb 27, 2024
    Configuration menu
    Copy the full SHA
    1ca1d69 View commit details
    Browse the repository at this point in the history
  6. Update VERSION for 7.0.4

    fabpot committed Feb 27, 2024
    Configuration menu
    Copy the full SHA
    f68e1b2 View commit details
    Browse the repository at this point in the history
  7. Merge pull request symfony#54076 from fabpot/release-7.0.4

    released v7.0.4
    fabpot committed Feb 27, 2024
    Configuration menu
    Copy the full SHA
    60cf2ee View commit details
    Browse the repository at this point in the history
  8. Bump Symfony version to 7.0.5

    fabpot committed Feb 27, 2024
    Configuration menu
    Copy the full SHA
    3f86426 View commit details
    Browse the repository at this point in the history
  9. Merge branch '5.4' into 6.4

    * 5.4:
      Bump Symfony version to 5.4.37
      Update VERSION for 5.4.36
      Update CONTRIBUTORS for 5.4.36
      Update CHANGELOG for 5.4.36
    derrabus committed Feb 27, 2024
    Configuration menu
    Copy the full SHA
    df1db90 View commit details
    Browse the repository at this point in the history
  10. Merge branch '6.4' into 7.0

    * 6.4:
      Bump Symfony version to 6.4.5
      Update VERSION for 6.4.4
      Update CHANGELOG for 6.4.4
      Bump Symfony version to 5.4.37
      Update VERSION for 5.4.36
      Update CONTRIBUTORS for 5.4.36
      Update CHANGELOG for 5.4.36
    derrabus committed Feb 27, 2024
    Configuration menu
    Copy the full SHA
    b8efddb View commit details
    Browse the repository at this point in the history
  11. Merge branch '7.0' into 7.1

    * 7.0:
      Bump Symfony version to 7.0.5
      Update VERSION for 7.0.4
      Update CHANGELOG for 7.0.4
      Bump Symfony version to 6.4.5
      Update VERSION for 6.4.4
      Update CHANGELOG for 6.4.4
      Bump Symfony version to 5.4.37
      Update VERSION for 5.4.36
      Update CONTRIBUTORS for 5.4.36
      Update CHANGELOG for 5.4.36
    derrabus committed Feb 27, 2024
    Configuration menu
    Copy the full SHA
    ce08ba1 View commit details
    Browse the repository at this point in the history
  12. Merge branch '5.4' into 6.4

    * 5.4:
      Safeguard dynamic access to Doctrine metadata properties
      Enhance error handling in StaticPrefixCollection for compatibility with libpcre2-10.43
    derrabus committed Feb 27, 2024
    Configuration menu
    Copy the full SHA
    3e296f1 View commit details
    Browse the repository at this point in the history
  13. Merge branch '6.4' into 7.0

    * 6.4:
      Safeguard dynamic access to Doctrine metadata properties
      Enhance error handling in StaticPrefixCollection for compatibility with libpcre2-10.43
    derrabus committed Feb 27, 2024
    Configuration menu
    Copy the full SHA
    8debf88 View commit details
    Browse the repository at this point in the history
  14. Merge branch '7.0' into 7.1

    * 7.0:
      Safeguard dynamic access to Doctrine metadata properties
      Enhance error handling in StaticPrefixCollection for compatibility with libpcre2-10.43
    derrabus committed Feb 27, 2024
    Configuration menu
    Copy the full SHA
    cf5b5c1 View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    c24e3e7 View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    22600d0 View commit details
    Browse the repository at this point in the history
  17. feature symfony#54084 [Lock] Make NoLock implement the SharedLockInte…

    …rface (mbabker)
    
    This PR was merged into the 7.1 branch.
    
    Discussion
    ----------
    
    [Lock] Make NoLock implement the SharedLockInterface
    
    | Q             | A
    | ------------- | ---
    | Branch?       | 7.1
    | Bug fix?      | no
    | New feature?  | yes
    | Deprecations? | no
    | Issues        | Fix symfony#53713
    | License       | MIT
    
    This PR updates the `Symfony\Component\Lock\NoLock` stub to implement `Symfony\Component\Lock\SharedLockInterface` and returns it to being compatible with the `Symfony\Component\Lock\LockFactory` return types.
    
    Commits
    -------
    
    22600d0 Make NoLock implement the SharedLockInterface
    nicolas-grekas committed Feb 27, 2024
    Configuration menu
    Copy the full SHA
    9e810de View commit details
    Browse the repository at this point in the history
  18. minor symfony#54062 [Validator] Simplify `NoSuspiciousCharactersValid…

    …ator` (MatTheCat)
    
    This PR was merged into the 7.0 branch.
    
    Discussion
    ----------
    
    [Validator] Simplify `NoSuspiciousCharactersValidator`
    
    | Q             | A
    | ------------- | ---
    | Branch?       | 7.0
    | Bug fix?      | no
    | New feature?  | no
    | Deprecations? | no
    | Issues        | N/A
    | License       | MIT
    
    php/php-src#10647 has been fixed in PHP 8.1.17. Now that Symfony requires PHP ≥ 8.2, we can avoid calling `Spoofchecker::isSuspicious` for every check by leveraging its `$errorCode` parameter.
    
    Commits
    -------
    
    c24e3e7 [Validator] Simplify `NoSuspiciousCharactersValidator`
    nicolas-grekas committed Feb 27, 2024
    Configuration menu
    Copy the full SHA
    f8611cf View commit details
    Browse the repository at this point in the history
  19. [Mailer][Brevo] Remove tags from mandatory event arguments

    'tags' in not mandatory part of an event
    therefore it got removed from the validation process
    palgalik committed Feb 27, 2024
    Configuration menu
    Copy the full SHA
    dfb41cd View commit details
    Browse the repository at this point in the history

Commits on Feb 28, 2024

  1. bug symfony#54089 [Mailer] [Brevo] Remove tags from mandatory event a…

    …rguments (palgalik)
    
    This PR was merged into the 6.4 branch.
    
    Discussion
    ----------
    
    [Mailer] [Brevo] Remove tags from mandatory event arguments
    
    'tags' in not mandatory part of an event
    therefore it got removed from the validation process
    
    | Q             | A
    | ------------- | ---
    | Branch?       |  6.4
    | Bug fix?      | yes
    | New feature?  | no
    | Deprecations? | no
    | Issues        | Fix [54088](symfony#54088)
    | License       | MIT
    
    Commits
    -------
    
    dfb41cd [Mailer][Brevo] Remove tags from mandatory event arguments
    fabpot committed Feb 28, 2024
    Configuration menu
    Copy the full SHA
    182e93e View commit details
    Browse the repository at this point in the history

Commits on Feb 29, 2024

  1. minor symfony#54073 chore: simplify PHP CS Fixer config (keradus)

    This PR was merged into the 7.1 branch.
    
    Discussion
    ----------
    
    chore: simplify PHP CS Fixer config
    
    requires ^3.50 of Fixer
    
    | Q             | A
    | ------------- | ---
    | Branch?       | 7.1
    | Bug fix?      | no
    | New feature?  | no <!-- please update src/**/CHANGELOG.md files -->
    | Deprecations? | no <!-- please update UPGRADE-*.md and src/**/CHANGELOG.md files -->
    | Issues        | Fix complex config
    | License       | MIT
    
    <!--
    Replace this notice by a description of your feature/bugfix.
    This will help reviewers and should be a good start for the documentation.
    
    Additionally (see https://symfony.com/releases):
     - Always add tests and ensure they pass.
     - Bug fixes must be submitted against the lowest maintained branch where they apply
       (lowest branches are regularly merged to upper ones so they get the fixes too).
     - Features and deprecations must be submitted against the latest branch.
     - For new features, provide some code snippets to help understand usage.
     - Changelog entry should follow https://symfony.com/doc/current/contributing/code/conventions.html#writing-a-changelog-entry
     - Never break backward compatibility (see https://symfony.com/bc).
    -->
    
    Commits
    -------
    
    7e62355 chore: simplify PHP CS Fixer config
    fabpot committed Feb 29, 2024
    Configuration menu
    Copy the full SHA
    3a02e21 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ae16b2d View commit details
    Browse the repository at this point in the history
  3. bug symfony#54079 [AssetMapper] Fix JavaScriptImportPathCompiler re…

    …gression in regex (PhilETaylor)
    
    This PR was squashed before being merged into the 6.4 branch.
    
    Discussion
    ----------
    
    [AssetMapper] Fix `JavaScriptImportPathCompiler` regression in regex
    
    | Q             | A
    | ------------- | ---
    | Branch?       | 6.4
    | Bug fix?      | yes
    | New feature?  | no <!-- please update src/**/CHANGELOG.md files -->
    | Deprecations? | no <!-- please update UPGRADE-*.md and src/**/CHANGELOG.md files -->
    | Issues        | Fix symfony#54078
    | License       | MIT
    
    Fixes regression in regex, fix provided by `@nicolas`-grekas in symfony#54078
    
    Commits
    -------
    
    ae16b2d [AssetMapper] Fix `JavaScriptImportPathCompiler` regression in regex
    nicolas-grekas committed Feb 29, 2024
    Configuration menu
    Copy the full SHA
    91278da View commit details
    Browse the repository at this point in the history

Commits on Mar 1, 2024

  1. [Clock] Add PHPUnit 10 attributes

    PHPUnit 11 will complain with the following deprecation:
    ```
    Metadata in doc-comments is deprecated and will no longer be supported in PHPUnit 12.
    Update your test code to use attributes instead.
    ```
    
    If we add the attribute too, it stops complaining. So this most be a way to support PHPUnit 11 and
    older versions.
    ruudk committed Mar 1, 2024
    Configuration menu
    Copy the full SHA
    0478d54 View commit details
    Browse the repository at this point in the history
  2. bug symfony#54129 [Clock] Add attributes to support PHPUnit 10 + 11 (…

    …ruudk)
    
    This PR was merged into the 6.4 branch.
    
    Discussion
    ----------
    
    [Clock] Add attributes to support PHPUnit 10 + 11
    
    | Q             | A
    | ------------- | ---
    | Branch?       | 6.4
    | Bug fix?      | yes
    | New feature?  | no
    | Deprecations? | no
    | Issues        | Fix #... <!-- prefix each issue number with "Fix #", no need to create an issue if none exists, explain below instead -->
    | License       | MIT
    
    While upgrading to PHPUnit 11 I noticed the following deprecation:
    
    > Metadata in doc-comments is deprecated and will no longer be supported in PHPUnit 12. Update your test code to use attributes instead.
    
    If we add the attribute too, it stops complaining. So this most be a way to support PHPUnit 11 and older versions.
    
    Commits
    -------
    
    0478d54 [Clock] Add PHPUnit 10 attributes
    nicolas-grekas committed Mar 1, 2024
    Configuration menu
    Copy the full SHA
    ff08e9e View commit details
    Browse the repository at this point in the history

Commits on Mar 2, 2024

  1. Merge branch '5.4' into 6.4

    * 5.4:
      [Security][Tests] Update functional tests to better reflect end-user scenarios
      [HttpClient] Fix deprecation on PHP 8.3
    wouterj committed Mar 2, 2024
    Configuration menu
    Copy the full SHA
    a184a18 View commit details
    Browse the repository at this point in the history
  2. Merge branch '6.4' into 7.0

    * 6.4:
      [Security][Tests] Update functional tests to better reflect end-user scenarios
      [Clock] Add PHPUnit 10 attributes
      [AssetMapper] Fix `JavaScriptImportPathCompiler` regression in regex
      [HttpClient] Fix deprecation on PHP 8.3
      [Mailer][Brevo] Remove tags from mandatory event arguments
    wouterj committed Mar 2, 2024
    Configuration menu
    Copy the full SHA
    e770fba View commit details
    Browse the repository at this point in the history
  3. Merge branch '7.0' into 7.1

    * 7.0:
      [Security][Tests] Update functional tests to better reflect end-user scenarios
      [Clock] Add PHPUnit 10 attributes
      [AssetMapper] Fix `JavaScriptImportPathCompiler` regression in regex
      [HttpClient] Fix deprecation on PHP 8.3
      [Mailer][Brevo] Remove tags from mandatory event arguments
      [Validator] Simplify `NoSuspiciousCharactersValidator`
    wouterj committed Mar 2, 2024
    Configuration menu
    Copy the full SHA
    9482c97 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    9af1f34 View commit details
    Browse the repository at this point in the history
  5. feature symfony#54125 [AssetMapper] Deprecate unused method `splitPac…

    …kageNameAndFilePath` (smnandre)
    
    This PR was squashed before being merged into the 7.1 branch.
    
    Discussion
    ----------
    
    [AssetMapper] Deprecate unused method `splitPackageNameAndFilePath`
    
    | Q             | A
    | ------------- | ---
    | Branch?       | 7.1
    | Bug fix?      | no
    | New feature?  | no
    | Deprecations? | yes
    | Issues        | Fix symfony#54123
    | License       | MIT
    
    This method is not used in the codebase, and duplicates` ImportMapEntry::splitPackageNameAndFilePath()`
    
    Commits
    -------
    
    9af1f34 [AssetMapper] Deprecate unused method `splitPackageNameAndFilePath`
    fabpot committed Mar 2, 2024
    Configuration menu
    Copy the full SHA
    31a9b35 View commit details
    Browse the repository at this point in the history

Commits on Mar 4, 2024

  1. Configuration menu
    Copy the full SHA
    08aa64a View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    7b5899e View commit details
    Browse the repository at this point in the history