Skip to content

Releases: scriptcoded/sql-highlight

v6.0.0

02 Jul 21:58
afbc0fe
Compare
Choose a tag to compare

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.

v5.0.0

23 Jun 11:45
Compare
Choose a tag to compare

5.0.0 (2024-06-23)

  • chore!: add support for Node 22 (628360f)

BREAKING CHANGES

  • drop support for Node 14.

v4.4.2

10 Mar 12:49
7f1874d
Compare
Choose a tag to compare

4.4.2 (2024-03-10)

Bug Fixes

v4.4.1

10 Mar 12:46
f69ef26
Compare
Choose a tag to compare
v4.4.1 Pre-release
Pre-release

4.4.1 (2024-03-10)

Bug Fixes

v4.4.0

04 Oct 12:09
Compare
Choose a tag to compare

4.4.0 (2023-10-04)

Features

Performance Improvements

v4.3.3

18 Apr 14:17
421f0b8
Compare
Choose a tag to compare

4.3.3 (2023-04-14)

Bug Fixes

v4.3.2

16 Mar 17:53
Compare
Choose a tag to compare

4.3.2 (2023-03-16)

Bug Fixes

  • change number regex to not use lookbehind (#106) (8e52120)

v4.3.1

16 Feb 11:19
Compare
Choose a tag to compare

4.3.1 (2023-02-16)

Miscellaneous Chores

v4.3.0

13 Jan 12:19
Compare
Choose a tag to compare

4.3.0 (2023-01-13)

Features

v4.2.2

27 Dec 18:09
Compare
Choose a tag to compare

4.2.2 (2022-12-22)

Bug Fixes