Responses without an explicit freshness lifetime (no max-age, s-maxage
or Expires header) and where heuristic freshness did not apply were
previously stored with no expiration date, resulting in items that
never self-expired.
This change ensures every cached response now receives a finite usable
TTL (max-age + stale-while-revalidate + stale-if-error) and is
guaranteed to self-expire after that lifetime:
- Responses with a computed usable TTL of zero are no longer stored
- A safety buffer is always added when a positive TTL exists
* 7.4:
[HttpFoundation] Fix session cookie_lifetime not applied in mock session storage
[Validator] Fix test
[Serializer] Fix denormalization of magic `__set` properties
[Config] Fix NodeDefinition template to be covariant
Add 'sms' to hostless schemes
[Validator] Fix required options check when extending a constraint with a simplified constructor
[Validator] Skip ExpressionLanguage requirement in When constraint for closure expressions
[Cache] Add timeout and slot eviction to LockRegistry stampede prevention
[Console] Fix OUTPUT_RAW corrupting binary content on Windows
[Form] Fix session data contamination by non-serializable objects in form flow
[Mime] Use shell_exec() instead of passthru() in FileBinaryMimeTypeGuesser
[HttpClient] Fix streaming from CachingHttpClient
[DoctrineBridge] Rename `_schema_subscriber_check` table to `schema_subscriber_check_` for Oracle compatibility
[HttpClient] Fix CachingHttpClient compatibility with decorator clients on 304 responses
[FrameworkBundle] Fix stale container after reboot in KernelTestCase
[Form] Fix duplicate validation errors when ValidatorExtension is instantiated multiple times
* 7.3:
fix merge
do not use PHPUnit mock objects without configured expectations
do not use PHPUnit mock objects without configured expectations
Typo
[HttpClient] Fix and test replacing repeated headers with CachingHttpClient
[Messenger] Fix processing batches
do not use PHPUnit mock objects without configured expectations
do not use PHPUnit mock objects without configured expectations
* 6.4:
do not use PHPUnit mock objects without configured expectations
do not use PHPUnit mock objects without configured expectations
[HttpClient] Fix and test replacing repeated headers with CachingHttpClient
[Messenger] Fix processing batches
do not use PHPUnit mock objects without configured expectations
do not use PHPUnit mock objects without configured expectations
* 7.3:
[HttpKernel] Fix using HTTP Cache in worker mode
bug #62535 [HttpKernel] Don't reset services between fragments redering when using in HttpCache (nicolas-grekas)
Fix existing headers must be replaced in CachingHttpClient
* 6.4:
[HttpKernel] Fix using HTTP Cache in worker mode
bug #62535 [HttpKernel] Don't reset services between fragments redering when using in HttpCache (nicolas-grekas)
Fix existing headers must be replaced in CachingHttpClient
* 7.4:
do not use PHPUnit mock objects without configured expectations
do not use PHPUnit mock objects without configured expectations
do not use PHPUnit mock objects without configured expectations
do not use PHPUnit mock objects without configured expectations
[HttpClient] update chunk items' expiration on revalidation
[FrameworkBundle] Better deprecation message when running `bin/console debug:container --show-arguments`
[PropertyAccess][PropertyInfo][Serializer] Skip methods that look like getters but return void or never
[Form][TwigBridge] Prevent cached block prefixes from leaking across nested collections
[Uid] Remove $uid from InvalidArgumentException message
* 7.4:
[HttpClient] mark response stale when age equals freshness lifetime
[PropertyInfo] Fix typo
[PropertyInfo] Fix upmerge
empty string condition for place name
* 7.4:
[Workflow] Add missing `@param` on Transition
[HttpFoundation] Fix issue where ServerEvent with "0" data is not sent
[HttpClient] Don't store response with authentication headers in shared mode
* 7.4:
[Messenger] Allow to use custom http client for sqs messenger transport
[JsonStreamer] Merge `PropertyMetadata` value transformers
[Mailer] Relax regexp to parse message ids
[Mailer] Fix parsing message ids in SMTP responses
Reviewed translations
[HttpClient] Consider cached responses without expiration as immediately stale
[Routing] Indicate type of rejected object in CompiledUrlMatcherDumper
[Workflow] Extract code from the data collector to a dedicated class
[Messenger] Add `MessageSentToTransportsEvent`
Add FormFlow for multistep forms management
[HttpKernel][DebugBundle] Collect dumps when console profiling is enabled
* 7.1:
fix CS
Update deprecations baseline
[Mailer][MailJet] Fix parameters for TrackClicks and TrackOpens
[Doctrine][Messenger] Oracle sequences are suffixed with `_seq`
drop existing schema if tests create it explicitly
synchronize line numbers in deprecations baseline
[HttpClient] Fix class requirement message
Add integration test for RememberMe with pg connection
fix: DoctrineTokenProvider not oracle compatible
* 6.4:
Update deprecations baseline
[Mailer][MailJet] Fix parameters for TrackClicks and TrackOpens
[Doctrine][Messenger] Oracle sequences are suffixed with `_seq`
drop existing schema if tests create it explicitly
synchronize line numbers in deprecations baseline
[HttpClient] Fix class requirement message
Add integration test for RememberMe with pg connection
fix: DoctrineTokenProvider not oracle compatible
* 6.4:
Fix implicitly-required parameters
minor #53524 [Messenger] [AmazonSqs] Allow `async-aws/sqs` version 2 (smoench)
Fix bad merge
List CS fix in .git-blame-ignore-revs
Fix implicitly-required parameters
List CS fix in .git-blame-ignore-revs
Apply php-cs-fixer fix --rules nullable_type_declaration_for_default_null_value
[Messenger][AmazonSqs] Allow async-aws/sqs version 2
* 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
...
* 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
* 4.3:
[travis] Fix build-packages script
[HttpClient] bugfix exploding values of headers
Remove useless testCanCheckIfTerminalIsInteractive test case
[Validator] Add the missing translations for the Thai (\"th\") locale
[Routing] gracefully handle docref_root ini setting
[Validator] Fix ValidValidator group cascading usage