Releases: iherman/rdfjs-c14n
Releases · iherman/rdfjs-c14n
v3.1.3
Registered in Zenodo
v3.1.2 Improved documentation a bit
Change usage of Sets & minor API change
- The usage of the
Set()
object may have been a source of problems if the input data contained duplicate quads. This has been settled. - The external API has been slightly modified to use
Iterable<rdf.Quad>
instead of enumerating sets or arrays. This gives more flexibility to library users. - Updated the rdf references to
@rdfjs/types
Switched to WebCrypto
The package relies now on WebCrypto, which is implemented in modern browsers, node.js (version 21 and up), and deno (version 1.38 and up). I.e., there is no dependency on either the node.js runtime, or the crypto-js package (that has been discontinued).
One consequence is that all canonicalization and hashing methods/functions are now asynchronous. In this respect, this version is backward incompatible with the previous versions.
Finalizing option for hash function change, including with test suite
Finalized the list of hash functions that can be used, and improved the code of setting/changing them. Tested it with the new tests defined for the spec.
Update with spec evolution
- Includes a defense against poison graphs
- Code improvement
Alignments with the official return term names
v2.0.1 Release date update
Alignment with spec, version June 2023
v2.0.0 Update to latest draft (June 2023) (#4)