Skip to content

Conversation

@zamderax
Copy link
Contributor

@zamderax zamderax commented Oct 11, 2025

Fixed typo: Add loadFilteredPolicy(_:) convenience method

  • Added correctly spelled loadFilteredPolicy(_:) method
  • Deprecated the misspelled loadFitleredPolicy(_:) with rename guidance
  • New method forwards to existing implementation for backward compatibility
  • Fixes the typo in the method name (Fitldered → Filtered)
  • Non-breaking: keeps the protocol requirement intact while offering the correct spelling
  • Improves discoverability and autocomplete for users
  • All tests pass locally (Swift 6.1.2)

zamderax and others added 3 commits October 11, 2025 11:11
…deprecate misspelled variant\n\n- New convenience method forwards to existing implementation\n- Avoids source break; CoreApi remains unchanged
@hsluoyz hsluoyz merged commit cbdec5f into casbin:master Oct 11, 2025
4 checks passed
@hsluoyz
Copy link
Member

hsluoyz commented Oct 11, 2025

🎉 This PR is included in version 1.11.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants