packagist symfony/rate-limiter v8.2.0-BETA1

5 days ago

Changelog (v8.1.11...v8.2.0-BETA1)

  • bug #67220 Fix RateLimit::getResetAt() being up to one second early (@nicolas-grekas)
  • minor #66857 Build the current date from time() so that ClockMock moves it (@nicolas-grekas)
  • minor #66836 Use getTimestamp() and getMicrosecond() instead of formatting dates to read their timestamp (@nicolas-grekas)
  • feature #66801 Reset the rate limiters between tests (@nicolas-grekas)
  • minor #66832 Use DateTimeImmutable::createFromTimestamp() to build dates from timestamps (@nicolas-grekas)
  • bug #66760 Describe the shorthands that list limiters and resources under their section in the JSON schema (@nicolas-grekas)
  • minor #66566 Improve the hints shown by debug:autowiring (@nicolas-grekas)
  • minor #66535 Register RateLimitAttributeListener in FrameworkBundle (@Brajk19)
  • feature #65981 Add the "container.remove_if_missing" tag (@nicolas-grekas)
  • minor #65940 Add RateLimiterBundle (@nicolas-grekas)
  • feature #63389 Allow overriding the key of a compound limiter's sub-limiters (@NicolasJourdan)
  • minor #65796 Stop consuming from the remaining limiters once one rejects the hit (@nicolas-grekas)
  • feature #65600 Add option to expose X-RateLimit-* headers for the # attribute (@ayyoub-afwallah)
  • feature #60084 Add RateLimiterBuilder (@kbond)
  • feature #65161 Dispatch a RateLimitExceededEvent when the # attribute rejects a request (@mariecharles)

Don't miss a new rate-limiter release

NewReleases is sending notifications on new releases.