Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[READY] V2.x - Nokogiri Upgrade Part 3 - Shim XMLSecurity so it raises deprecation warnings and errors #748

Merged

Conversation

johnnyshields
Copy link
Collaborator

@johnnyshields johnnyshields commented Mar 11, 2025

Previously for 2.x I was trying to make XMLSecurity backwards compatible. With the upcoming Nokogiri refactor, this is more difficult to do than I realized.

A better approach will be to simply shim the old XMLSecurity classes so they raise clear deprecations and NoMethodErrors if any one tries to use them--assuming they have any basic tests in their app, the tests will fail. Since XMLSecurity functionality is not the main focus of RubySaml anyway, this should be safe to do.

It may be possible to restore functionality to some of these methods after the Nokogiri migration is complete. We'll have to see.

@johnnyshields johnnyshields changed the title [READY] V2.x - Shim XMLSecurity so it raises deprecation warnings and errors [READY] V2.x - Nokogiri Upgrade Part 3 - Shim XMLSecurity so it raises deprecation warnings and errors Mar 11, 2025
@johnnyshields
Copy link
Collaborator Author

@pitbulk this is ready. Please merge in #754 first, then this one.

@pitbulk pitbulk merged commit 3b0a71b into SAML-Toolkits:v2.x Mar 13, 2025
29 checks passed
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.

6 participants