Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 0 additions & 9 deletions .changeset/selective-languages-and-rendering.md

This file was deleted.

10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
# @tanstack/highlight

## 1.2.0

### Minor Changes

- 36fc879: Add 40 independently importable language definitions, bringing the built-in registry to 79 including plaintext. Named language-barrel imports and direct language subpaths are checked for tree shaking. New definitions provide lightweight lexical coverage using shared scanning helpers and vendored Highlight.js vocabularies, without adding runtime dependencies. The full registry grows; existing selective language imports do not retain the new definitions.

Serialize ordinary HTML blocks directly and avoid replacement work for text that needs no HTML escaping. Keep token output and decorated rendering unchanged. Measured local docs highlighting takes 20% less time in Node and 27% less in Bun for 73 additional gzip bytes in core.

Preserve all existing language names and aliases, including `cmd` for `shell`. The new Windows Batch definition uses `batch`, `bat`, and `dos`.

## 1.1.0

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@tanstack/highlight",
"version": "1.1.0",
"version": "1.2.0",
"description": "Tiny class-based syntax highlighting for documentation.",
"keywords": [
"syntax-highlighting",
Expand Down
4 changes: 2 additions & 2 deletions skills/_artifacts/domain_map.yaml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
# domain_map.yaml
# Generated by skill-domain-discovery
# Library: @tanstack/highlight
# Version: 1.1.0
# Version: 1.2.0
# Date: 2026-07-22
# Status: reviewed

library:
name: '@tanstack/highlight'
version: '1.1.0'
version: '1.2.0'
repository: 'https://github.com/TanStack/highlight'
description: 'Dependency-free, class-based syntax highlighting for documentation code.'
primary_framework: 'framework-agnostic'
Expand Down
2 changes: 1 addition & 1 deletion skills/_artifacts/skill_tree.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# skills/_artifacts/skill_tree.yaml
library:
name: '@tanstack/highlight'
version: '1.1.0'
version: '1.2.0'
repository: 'https://github.com/TanStack/highlight'
description: 'Dependency-free, class-based syntax highlighting for documentation code.'
generated_from:
Expand Down
2 changes: 1 addition & 1 deletion skills/configure-selective-highlighting/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ description: >
metadata:
type: core
library: '@tanstack/highlight'
library_version: '1.1.0'
library_version: '1.2.0'
sources:
- 'TanStack/highlight:docs/guides/language-registration.md'
- 'TanStack/highlight:docs/guides/ssr-and-client.md'
Expand Down
2 changes: 1 addition & 1 deletion skills/extend-language-support/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ description: >
metadata:
type: core
library: '@tanstack/highlight'
library_version: '1.1.0'
library_version: '1.2.0'
requires:
- 'configure-selective-highlighting'
sources:
Expand Down
2 changes: 1 addition & 1 deletion skills/integrate-framework-code-blocks/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ description: >
metadata:
type: composition
library: '@tanstack/highlight'
library_version: '1.1.0'
library_version: '1.2.0'
requires:
- 'configure-selective-highlighting'
- 'integrate-markdown-pipelines'
Expand Down
2 changes: 1 addition & 1 deletion skills/integrate-markdown-pipelines/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ description: >
metadata:
type: composition
library: '@tanstack/highlight'
library_version: '1.1.0'
library_version: '1.2.0'
requires:
- 'configure-selective-highlighting'
sources:
Expand Down
2 changes: 1 addition & 1 deletion skills/theme-and-annotate-code/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ description: >
metadata:
type: core
library: '@tanstack/highlight'
library_version: '1.1.0'
library_version: '1.2.0'
sources:
- 'TanStack/highlight:docs/guides/themes.md'
- 'TanStack/highlight:docs/guides/annotations.md'
Expand Down
Loading