Skip to content

Releases: scriptcoded/sql-highlight

v6.1.0

Choose a tag to compare

@scriptsbot scriptsbot released this 06 Jun 10:53
330fbe8

6.1.0 (2025-06-06)

Features

  • added declare for procedual plsql as keyword (812dfec)

v6.0.0

Choose a tag to compare

@scriptsbot scriptsbot released this 02 Jul 21:58
afbc0fe

6.0.0 (2024-07-02)

Note

These features were supposed to be included in the 5.0.0 release, but due to some issues with the release flow they got released separately. NPM didn't allow publishing in this case, causing two major bumps.

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

Choose a tag to compare

@scriptsbot scriptsbot released this 23 Jun 11:45

5.0.0 (2024-06-23)

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

BREAKING CHANGES

  • drop support for Node 14.

v4.4.2

Choose a tag to compare

@scriptsbot scriptsbot released this 10 Mar 12:49
7f1874d

4.4.2 (2024-03-10)

Bug Fixes

v4.4.1

v4.4.1 Pre-release
Pre-release

Choose a tag to compare

@scriptsbot scriptsbot released this 10 Mar 12:46
f69ef26

4.4.1 (2024-03-10)

Bug Fixes

v4.4.0

Choose a tag to compare

@scriptsbot scriptsbot released this 04 Oct 12:09

4.4.0 (2023-10-04)

Features

Performance Improvements

v4.3.3

Choose a tag to compare

@scriptsbot scriptsbot released this 18 Apr 14:17
421f0b8

4.3.3 (2023-04-14)

Bug Fixes

v4.3.2

Choose a tag to compare

@scriptsbot scriptsbot released this 16 Mar 17:53

4.3.2 (2023-03-16)

Bug Fixes

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

v4.3.1

Choose a tag to compare

@scriptcoded scriptcoded released this 16 Feb 11:19

4.3.1 (2023-02-16)

Miscellaneous Chores

v4.3.0

Choose a tag to compare

@github-actions github-actions released this 13 Jan 12:19

4.3.0 (2023-01-13)

Features