Skip to content

Add Endpoint::withCache and deprecate Endpoint::cache - #24

Merged
andrepimpao merged 1 commit into
3.xfrom
PAS-18-add-endpoint-withcache-and-deprecate-endpoint-cache
Aug 7, 2026
Merged

Add Endpoint::withCache and deprecate Endpoint::cache#24
andrepimpao merged 1 commit into
3.xfrom
PAS-18-add-endpoint-withcache-and-deprecate-endpoint-cache

Conversation

@andrepimpao

Copy link
Copy Markdown
Contributor

Summary

  • Add Endpoint::withCache() as the preferred endpoint-level cache modifier.
  • Keep Endpoint::cache() as a deprecated alias for compatibility.
  • Update docs and upgrade examples to use withCache() for endpoint cache defaults.
  • Add test coverage confirming the deprecated cache() alias still configures endpoint cache behavior.

Migration Notes

Endpoint::cache() is deprecated since 3.2.0. SDK authors should use Endpoint::withCache() for endpoint-specific cache defaults.

@andrepimpao
andrepimpao merged commit f1a1bf9 into 3.x Aug 7, 2026
5 checks passed
@andrepimpao
andrepimpao deleted the PAS-18-add-endpoint-withcache-and-deprecate-endpoint-cache branch August 7, 2026 14:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant