docs(release): extend 2.22.0 notes to cover Factory(cache=) feature + deprecation (#259)#262
Merged
Merged
Conversation
…2.0 notes The 2.22.0 draft only covered the ContainerClosedWarning change (#261). Factory(cache=...) and the cache_settings= deprecation (#259) are also unreleased since 2.21.1 and belong in the same release. Broaden the headline, add a Feature section and a cache_settings= deprecation bullet, and note the unreleased integration-docs additions. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The
planning/releases/2.22.0.mddraft (from #261) only documented theContainerClosedWarningchange. But #259 —Factory(cache=…)ergonomics and thecache_settings=deprecation — is also unreleased since2.21.1and ships in the same 2.22.0.This broadens the notes to cover both user-facing code changes:
Factory(cache=True | CacheSettings(...) | False | None)(feat: ergonomic Factory(cache=...) toggle, deprecate cache_settings= #259).cache_settings=→cache=(DeprecationWarning; passing both raisesTypeError) (feat: ergonomic Factory(cache=...) toggle, deprecate cache_settings= #259), alongside the existing closed-container reuse deprecation (feat: soften ContainerClosedError to a self-healing ContainerClosedWarning (restore hard error in 3.0) #261).Verified: the only user-facing
modern_di/package changes since2.21.1are #259 and #261, so these notes now cover the full release.just check-planningpasses.🤖 Generated with Claude Code