1. 06 Apr, 2022 1 commit
  2. 18 Nov, 2021 1 commit
  3. 17 Nov, 2021 3 commits
    • Nicolas Grekas's avatar
      Merge branch '5.4' into 6.0 · 1e5340da
      Nicolas Grekas authored
      * 5.4: (22 commits)
        fix cs
        Update validators.lv.xlf
        Fix API gateway service name
        Improve recommendation message for "composer req"
        Fix CS in composer.json
        [DependencyInjection] fix preloading
        Update validators.uz.xlf
        AddMake ExpressionVoter Cacheable
        Add framework config for DBAL cache adapter
        [ExpressionLanguage] Fix LexerTest number types
        [Process] intersect with getenv() to populate default envs
        Improve CI script a bit
        Fix deprecation message placeholders
        [Cache] Fix calculate ttl in couchbase sdk 3.0
        Fix Loco Provider
        [Cache] fix dbindex Redis
        Fix typos in a test message
        [Cache] fix releasing not acquired locks
        [DependencyInjection] fix creating 2nd container instances
        Never rely on dynamic properties
        ...
      1e5340da
    • Nicolas Grekas's avatar
      Merge branch '5.3' into 5.4 · 49c7c124
      Nicolas Grekas authored
      * 5.3:
        fix cs
        Update validators.lv.xlf
        Fix API gateway service name
        Fix CS in composer.json
        Update validators.uz.xlf
        [ExpressionLanguage] Fix LexerTest number types
        [Process] intersect with getenv() to populate default envs
        Improve CI script a bit
        Fix Loco Provider
        [Cache] fix dbindex Redis
        Fix typos in a test message
        Never rely on dynamic properties
      49c7c124
    • Nicolas Grekas's avatar
      Merge branch '4.4' into 5.3 · 7cc3b20d
      Nicolas Grekas authored
      * 4.4:
        fix cs
        Update validators.lv.xlf
        Update validators.uz.xlf
        [ExpressionLanguage] Fix LexerTest number types
        [Process] intersect with getenv() to populate default envs
        Improve CI script a bit
        [Cache] fix dbindex Redis
        Never rely on dynamic properties
      7cc3b20d
  4. 15 Nov, 2021 1 commit
  5. 14 Nov, 2021 2 commits
  6. 12 Nov, 2021 1 commit
    • Nicolas Grekas's avatar
      Merge branch '5.4' into 6.0 · 02706d23
      Nicolas Grekas authored
      * 5.4:
        Fix tests on PHP 8.1
        [Cache] Fix memory leak
        [Config] Add missing use statement in generated config builder classes
        [DependencyInjection] fix inlining when non-shared services are involved
        [FrameworkBundle] fix deprecation message
        [DoctrineBridge] add support for the JSON type
        [PHPUnitBridge] Fix Uncaught ValueError
        [HttpClient] Implement ResetInterface for all http clients
        [HttpKernel] allow ignoring kernel.reset methods that don't exist
        [FrameworkBundle] fix registering late resettable services
        [Validator] Missing translations for Greek (el)
        translate for japanese 101,102,103
        Use symfony-*-bridge instead of symfony-bridge for component bridges
        Fix Loco Provider
        [HttpClient] Curl http client has to reinit curl multi handle on reset
        [SecurityBundle] Fix compat with symfony/security-core:^6 (ter)
        [Validator] Add Swedish translation for issue #43737
      02706d23
  7. 09 Nov, 2021 1 commit
  8. 05 Nov, 2021 7 commits
  9. 04 Nov, 2021 3 commits
    • Alexander M. Turek's avatar
      Merge branch '5.4' into 6.0 · 11ab05d7
      Alexander M. Turek authored
      
      * 5.4: (27 commits)
        feat: add completion for DebugAutowiring search argument
        [Routing] Add support for aliasing routes
        [DependencyInjection] only allow `ReflectionNamedType` for `ServiceSubscriberTrait`
        Fix CS
        [Console] Open CompleteCommand for custom outputs
        [Intl] Update the ICU data to 70.1
        [Messenger] Add completion for failed messages commands.
        Fix tests
        Fixing missing full_stack variable that's needed by toolbar.html.twig
        [PropertyInfo] Bump phpstan/phpdoc-parser
        [Security] Backport type fixes
        [VarExporter] escape unicode chars involved in directionality
        [Framework] Add completion to debug:container
        [Messenger] Add completion to command messenger:consume
        [Intl] Update the ICU data to 70.1
        Fix more generic types
        Default access_decision_manager.strategy option with merge.
        Fix typos
        Update validators.ca.xlf
        Add missing Validator translations for Estonian
        ...
      
      Signed-off-by: default avatarAlexander M. Turek <me@derrabus.de>
      11ab05d7
    • Fabien Potencier's avatar
      minor #43903 Fix more generic types (derrabus) · 42ecb786
      Fabien Potencier authored
      This PR was merged into the 5.4 branch.
      
      Discussion
      ----------
      
      Fix more generic types
      
      | Q             | A
      | ------------- | ---
      | Branch?       | 5.4
      | Bug fix?      | no
      | New feature?  | no
      | Deprecations? | no
      | Tickets       | N/A
      | License       | MIT
      | Doc PR        | N/A
      
      Some changes I wanted to push to #42471, but then it got merged already. 😇
      
      Commits
      -------
      
      c54d61e9af Fix more generic types
      42ecb786
    • Fabien Potencier's avatar
      Merge branch '5.3' into 5.4 · 5e9882c0
      Fabien Potencier authored
      * 5.3:
        Fix tests
        [VarExporter] escape unicode chars involved in directionality
        [Intl] Update the ICU data to 70.1
        Fix typos
        Update validators.ca.xlf
        Add missing Validator translations for Estonian
        Fix `Request::getUserInfo()` return type
        [VarDumper] Make dumping DateInterval instances timezone-independent
        Add missing validators translation in Brazillian Portuguese
        I heard you like some Finnish translations #43432
        fix typo and improve TH translation
        Added missing translations for Thai (th)
        [Messenger] Use `TransportMessageIdStamp` in `InMemoryTransport` allows retrying
      5e9882c0
  10. 03 Nov, 2021 5 commits
    • Jérémy Derussé's avatar
      Merge branch '4.4' into 5.3 · 57e54e9d
      Jérémy Derussé authored
      * 4.4:
        [VarExporter] escape unicode chars involved in directionality
        [Intl] Update the ICU data to 70.1
        Fix typos
        Update validators.ca.xlf
        Add missing Validator translations for Estonian
        Fix `Request::getUserInfo()` return type
        [VarDumper] Make dumping DateInterval instances timezone-independent
        Add missing validators translation in Brazillian Portuguese
        I heard you like some Finnish translations #43432
        fix typo and improve TH translation
        Added missing translations for Thai (th)
        [Messenger] Use `TransportMessageIdStamp` in `InMemoryTransport` allows retrying
      57e54e9d
    • Alexander M. Turek's avatar
      Merge branch '5.4' into 6.0 · bc5de5a5
      Alexander M. Turek authored
      * 5.4:
        [Console] Restore psr/log >= 3.0 conflict
        [Security] Make the abstract Voter class implement CacheableVoterInterface
        Add generic types to traversable implementations
        [Security] Fix TypeError message
        [Security] Fix deprecation layer
        [FrameworkBundle] Add completion for workflow:dump
        Fix cancel button
        Fix misleading error on missing provider with authenticator manager
        Don't limit retries of toolbar loading
      bc5de5a5
    • Alexander M. Turek's avatar
      Fix more generic types · c8ffbda3
      Alexander M. Turek authored
      
      Signed-off-by: default avatarAlexander M. Turek <me@derrabus.de>
      c8ffbda3
    • Alexander M. Turek's avatar
      9b581621
    • Antoine Makdessi's avatar
      Fix typos · 73636d99
      Antoine Makdessi authored
      73636d99
  11. 30 Oct, 2021 6 commits
    • Alexander M. Turek's avatar
      Merge branch '5.4' into 6.0 · 47fe11ea
      Alexander M. Turek authored
      * 5.4:
        [FrameworkBundle][HttpKernel] Add the ability to enable the profiler using a parameter
        [FrameworkBundle] Trigger deprecations on stderr instead of using trigger_deprecation call
        Add PhpStanExtractor
        [Messenger] allow processing messages in batches
        [Console] Fix backslash escaping in bash completion
        Add missing validators translation
        add suggestions for debug:firewall, debug:form, debug:messenger, debug:router
        [SecurityBundle] Deprecate not configuring explicitly a provider for custom_authenticators when there is more than one registered provider
        [Inflector] Fix inflector for "zombies"
        [Config] Add some cache on SelfCheckingResourceChecker
        fix AJAX request unit spacing
        fix ErrorExcception in CacheWarmerAggregate
        Prevent FormLoginAuthenticator from responding to requests that should be handled by JsonLoginAuthenticator
        Fix wait duration for fixed window policy
        Add exact command used to trigger invocation to the completion debug log
        [Translation] correctly handle intl domains with TargetOperation
        Allow using param as connection atribute in `*.event_subscriber` and `*.event_listener` tags
      47fe11ea
    • Fabien Potencier's avatar
      feature #43138 [FrameworkBundle][HttpKernel] Add the ability to enable the... · a9f8989b
      Fabien Potencier authored
      feature #43138 [FrameworkBundle][HttpKernel] Add the ability to enable the profiler using a parameter (dunglas)
      
      This PR was squashed before being merged into the 5.4 branch.
      
      Discussion
      ----------
      
      [FrameworkBundle][HttpKernel] Add the ability to enable the profiler using a parameter
      
      | Q             | A
      | ------------- | ---
      | Branch?       | 5.4
      | Bug fix?      | no
      | New feature?  | yes
      | Deprecations? | no
      | Tickets       | n/a
      | License       | MIT
      | Doc PR        | todo
      
      The Symfony Profiler is a convenient development tool, however, in some cases, it has a huge overhead.
      I used Blackfire to benchmark a development environment on a real-world project and noticed that the average response time was reduced by 30% just by disabling the profiler.
      
      This PR adds a new configuration option allowing to enable and disable the profiler on a per request basis using a query parameter, a form field (for `POST` requests), or a request attribute. This PR allows keeping the benefit of this tool while improving the developer experience.
      
      To enable it:
      
      ```yaml
      framework:
          profiler:
              collect: false # Disable collection by default
              collect_parameter: profile # Enable it if the parameter is set
      ```
      
      Note: it's also possible to enable the collection by default and to disable it using the parameter
      
      Then, to have the profiler, the user just has to add `?profile=1` to any URL.
      
      Commits
      -------
      
      eecff075fe [FrameworkBundle][HttpKernel] Add the ability to enable the profiler using a parameter
      a9f8989b
    • Kévin Dunglas's avatar
    • Fabien Potencier's avatar
      Merge branch '5.3' into 5.4 · dfb48c3b
      Fabien Potencier authored
      * 5.3:
        Add missing validators translation
        [Inflector] Fix inflector for "zombies"
        fix ErrorExcception in CacheWarmerAggregate
        [Translation] correctly handle intl domains with TargetOperation
      dfb48c3b
    • Fabien Potencier's avatar
      Merge branch '4.4' into 5.3 · 31b284c8
      Fabien Potencier authored
      * 4.4:
        Add missing validators translation
        [Inflector] Fix inflector for "zombies"
        fix ErrorExcception in CacheWarmerAggregate
        [Translation] correctly handle intl domains with TargetOperation
      31b284c8
    • Fabien Potencier's avatar
      bug #43501 [HttpKernel] fix ErrorException in CacheWarmerAggregate (Ahummeling) · 2ac1ef60
      Fabien Potencier authored
      This PR was merged into the 4.4 branch.
      
      Discussion
      ----------
      
      [HttpKernel] fix ErrorException in CacheWarmerAggregate
      
      | Q             | A
      | ------------- | ---
      | Branch?       | 4.4
      | Bug fix?      | yes
      | New feature?  | no
      | Deprecations? | no
      | Tickets      |
      | License       | MIT
      | Doc PR        |
      
      I ran into an `ErrorException` reloading after some changes. I suppose this triggered a cache warmup call. This didn't go as expected, because `$previousLogs = unserialize(file_get_contents($this->deprecationLogsFilepath));` set `$previousLogs` to `false` instead of the expected array. I think it makes sense to only call `array_merge` if `$previousLogs` was successfully instantiated as an array.
      
      My IDE also pointed out that `$collectedLogs` was possible undefined, so moving its declaration outside of the if block resolved that.
      
      Stacktrace:
      ```
      ErrorException:
      Warning: array_merge(): Expected parameter 1 to be an array, bool given
      
        at /srv/vendor/symfony/http-kernel/CacheWarmer/CacheWarmerAggregate.php:106
        at Symfony\Component\HttpKernel\CacheWarmer\CacheWarmerAggregate->warmUp('/srv/var/cache/local')
           (/srv/vendor/symfony/http-kernel/Kernel.php:584)
        at Symfony\Component\HttpKernel\Kernel->initializeContainer()
           (/srv/vendor/symfony/http-kernel/Kernel.php:786)
        at Symfony\Component\HttpKernel\Kernel->preBoot()
           (/srv/vendor/symfony/http-kernel/Kernel.php:187)
        at Symfony\Component\HttpKernel\Kernel->handle(object(Request))
           (/srv/public/index.php:44)
      ```
      
      Commits
      -------
      
      2eaa19f46f fix ErrorExcception in CacheWarmerAggregate
      2ac1ef60
  12. 29 Oct, 2021 5 commits
  13. 27 Oct, 2021 4 commits