Skip to content

feat!: remove BackendProxy.get_backend() and set_backend() - #398

Merged
allen0099 merged 1 commit into
masterfrom
remove/70-backend-proxy-aliases
Sep 29, 2026
Merged

allen0099 merged 1 commit into
masterfrom
remove/70-backend-proxy-aliases

Conversation

@allen0099

Copy link
Copy Markdown
Owner

Fixes #70.

BackendProxy.get_backend() and set_backend() have warned since 0.3.0 that 0.4.0 removes them. This PR removes both methods, the warnings import only they used, and their two alias tests.

Migration: BackendProxy.get() / BackendProxy.set().

Changelog: changelog.d/70.removed.md.

Both have emitted a DeprecationWarning since 0.3.0. Use BackendProxy.get()
and BackendProxy.set() instead.

Closes #70
@allen0099 allen0099 added this to the 0.4.0 milestone Sep 29, 2026
@allen0099 allen0099 added backends Cache backends and their atomic primitives breaking-change Changes public behaviour or API; needs a minor/major release labels Sep 29, 2026
@allen0099
allen0099 merged commit 25fa3a9 into master Sep 29, 2026
15 checks passed
@allen0099
allen0099 deleted the remove/70-backend-proxy-aliases branch September 29, 2026 14:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backends Cache backends and their atomic primitives breaking-change Changes public behaviour or API; needs a minor/major release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0.4.0: remove BackendProxy.get_backend() / set_backend()

1 participant