Skip to content

Releases: scriptcoded/sql-highlight

v5.0.0

23 Jun 11:45
eb431fc
Compare
Choose a tag to compare
v5.0.0 Pre-release
Pre-release

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

v5.0.0-beta.2

24 Oct 14:12
5900186
Compare
Choose a tag to compare
v5.0.0-beta.2 Pre-release
Pre-release

5.0.0-beta.2 (2023-10-24)

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-beta.1

24 Oct 11:32
9f9fbe3
Compare
Choose a tag to compare
v5.0.0-beta.1 Pre-release
Pre-release

5.0.0-beta.1 (2023-10-24)

Features

  • add support for Node.js 20 (eb12c85)

BREAKING CHANGES

  • Dropping support for Node.js 14

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