Skip to content

Release 1.1.0#125

Merged
danielparks merged 3 commits intomainfrom
release-1.1.0
Apr 13, 2026
Merged

Release 1.1.0#125
danielparks merged 3 commits intomainfrom
release-1.1.0

Conversation

@danielparks
Copy link
Copy Markdown
Owner

  • CHANGELOG.md: add security note about recent PR.

  • Make REPLACEMENT_CHAR_BYTES public again.

  • Release 1.1.0

    • Major performance improvements when unescaping text in many cases (for both
      the unescape and unescape_fast features).
    • Major improvements in build time for the unescape_fast features (went from
      8 seconds to 3 seconds on my laptop).
    • Add BARE_ENTITY_MAX_LENGTH constant that contains the length of the longest
      entity without a semicolon (enabled with feature entities).
    • Clarify examples in documentation and README.
    • Fix a few spelling mistakes in documentation.

    Security

* Major performance improvements when unescaping text in many cases (for both
  the `unescape` and `unescape_fast` features).
* Major improvements in build time for the `unescape_fast` features (went from
  8 seconds to 3 seconds on my laptop).
* Add `BARE_ENTITY_MAX_LENGTH` constant that contains the length of the longest
  entity without a semicolon (enabled with feature `entities`).
* Clarify examples in documentation and README.
* Fix a few spelling mistakes in documentation.

### Security

* [RUSTSEC-2026-0097]: the [rand] crate was unsound in certain circumstances.
  Htmlize depends on [rand] via [phf] and couldn’t trigger the unsoundness on
  its own. Thanks to [MarkusPettersson98] for the [PR][#124]!

[RUSTSEC-2026-0097]: https://rustsec.org/advisories/RUSTSEC-2026-0097
[rand]: https://crates.io/crates/rand
[phf]: https://crates.io/crates/phf
[MarkusPettersson98]: https://github.com/MarkusPettersson98
[#124]: #124
@danielparks danielparks merged commit 35e2d11 into main Apr 13, 2026
7 checks passed
@danielparks danielparks deleted the release-1.1.0 branch April 13, 2026 17:57
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.

1 participant