Skip to content

Commit

Permalink
Update canonical output warning.
Browse files Browse the repository at this point in the history
  • Loading branch information
davidlehn committed May 3, 2023
1 parent 9f4a9f6 commit 38cc7eb
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,17 @@

### Changed
- **BREAKING**: Use latest [rdf-canon][] N-Quads canonical form. This can
change the canonical output! There is an expanded set of control characters
that are escaped as an `ECHAR` or `UCHAR` instead of using a native
representation.
change the canonical output! There is an expanded set of literal string
control characters that are escaped as an `ECHAR` or `UCHAR` instead of using
a native representation.
- Previously: the canonical N-Quads form used here was encoding `\u000A`
(`\n`), `\u000D` (`\r`), `\u0022` (`"`), and `\u005C` (`\`) as `ECHARs`:
`\n`, `\r`, `\"`, and `\\`, All other characters were represented as native
Unicode.
- Now: the output also encodes `\u0008` (`\b`), `\u0009` (`\t`), `\u000C`
(`\f`) as `ECHARs` `\b`, `\t`, and `\f`, and encodes the "control"
characters in the range of `\u0000-\u001F` and `\u007F` as `UCHARs`
`\u00xx`. All other characters are representation as native Unicode.
- **BREAKING**: Use `globalThis` to access `crypto` in browsers. Use a polyfill
if your environment doesn't support `globalThis`.
- Update tooling.
Expand Down

0 comments on commit 38cc7eb

Please sign in to comment.