Skip to content

v6.0.0

Latest
Compare
Choose a tag to compare
@scriptsbot scriptsbot released this 02 Jul 21:58
· 1 commit to main since this release
afbc0fe

6.0.0 (2024-07-02)

Bug Fixes

Features

BREAKING CHANGES

  • The default segment has been split into identifier and whitespace
    segments. There's also a new unknown segment that will only show up for malformed
    SQL such as an unclosed string.

However, the highlight() function works largely the same as before, both normal mode and HTML mode,
except for the bug fix to stop classifying identifiers as strings. In other words, SQL like

select * from EMP where NAME="John Smith"

will get highlighted the same as before, i.e. no syntax highlighting for EMP or NAME.