Skip to content

πŸ”– v2.1.1

Compare
Choose a tag to compare
@alexaubry alexaubry released this 05 Jan 20:48
· 103 commits to main since this release

This minor release focuses on code, security and performance improvements.

New APIs

  • You can now perform custom escaping by escaping Unicode scalars individually.

Improvements

  • Further improved the escaping algorithm, which is now up to 6 times faster.
  • Changed the escaping strategy: special characters are now escaped with decimal sequences. This allows for better compatibility with browsers (HTML 4.0 compatible) and better speed
  • Changed the Unicode escaping strategy: only escape characters that could cause an XSS injection
  • Added an asymptotic complexity approximation calculator (every algorithm is now O(N))

Fixed

  • Removed .DS_Store