From a71b07a2c3cb28c2863dc9c2c15feb498b0b257f Mon Sep 17 00:00:00 2001 From: Thanga Ganapathy Date: Wed, 26 Aug 2026 20:11:14 +0530 Subject: [PATCH] chore(release): @opentf/syntax-highlighter@0.4.0 --- CHANGELOG.md | 2 ++ packages/syntax-highlighter/package.json | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9b0dbc5..2481571 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), ## [Unreleased] +## [0.4.0] - 2026-08-26 + ### Fixed - **HIGH:** Fixed boolean/null/constant literals being misclassified as `keyword` — `classifyIdentifier` now checks `nulls`/`booleans`/`constants` *before* `keywords`, so a word listed in both (e.g. `true`/`false`/`null`/`nil` in Rust, C#, C++, TypeScript, Ruby, Bash, etc.) is tagged with its literal type and gets the correct theme color instead of collapsing to `keyword`. diff --git a/packages/syntax-highlighter/package.json b/packages/syntax-highlighter/package.json index 2444db9..8134fce 100644 --- a/packages/syntax-highlighter/package.json +++ b/packages/syntax-highlighter/package.json @@ -1,6 +1,6 @@ { "name": "@opentf/syntax-highlighter", - "version": "0.3.0", + "version": "0.4.0", "description": "Modern, renderer-agnostic syntax highlighting with one tokenizer powering browser, HTML/SSR, JSON, and ANSI output.", "type": "module", "types": "./dist/index.d.ts",