Skip to content

Conversation

@mielvds
Copy link
Collaborator

@mielvds mielvds commented Dec 16, 2025

This PR moves the canonicalization algorithms, the nquads parsing and the IdentifierIssuer in a separate modules. This is the first step of eventually moving the canonicalization algorithms out of this library.

Because it no longer makes sense that an nquad parser or canonicalization algorithm raises JSON-LD errors, they have their own neutral UnknownFormatError and ParserError.

@mielvds mielvds changed the base branch from master to code-improvements December 16, 2025 12:53
@mielvds mielvds force-pushed the code-improvements branch 2 times, most recently from 9fd53c5 to 013c3ad Compare December 17, 2025 08:17
@mielvds mielvds marked this pull request as ready for review December 17, 2025 10:30
Copy link
Member

@davidlehn davidlehn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • Might have been better to do the cause commit as another PR, but that's fine.
  • Needs changelog entries for the breaking (I assume) cause API change and nquads API change.

Base automatically changed from code-improvements to master December 18, 2025 20:56
@mielvds mielvds changed the base branch from master to exception-chaining December 19, 2025 08:49
@mielvds
Copy link
Collaborator Author

mielvds commented Dec 19, 2025

You're right @davidlehn, I split off the exception chaining in #224. The nquads API doesn't change because I kept the methods. For the canon and IdentifierIssuer, I added entries to the changelog

@mielvds mielvds requested a review from davidlehn December 19, 2025 08:52
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.

4 participants