Skip to content

Latest commit

 

History

History
75 lines (46 loc) · 7.74 KB

CHANGELOG.md

File metadata and controls

75 lines (46 loc) · 7.74 KB

@node-core/doc-kit-legacy

1.1.2

Patch Changes

  • #1186 5598f92 Thanks @btea! - Fix template value replacement treating $ sequences (such as $$ in Makefile snippets) as special replacement patterns, which corrupted the rendered output.

  • #1179 b8d7b77 Thanks @ovflowd! - Builds use less memory, most of all with few threads: each worker's young generation is limited to 96MB, a single thread processes one chunk at a time and lets go of the pages' code before rendering them, and Vite's native bundler gets as many threads as doc-kit and returns the memory it frees. On the Node.js API docs, --threads 1 now builds with Node.js's --max-old-space-size=512, and no longer crashes when legacy-html is built alongside other targets.

  • Updated dependencies [e49eb52, b8d7b77, 92efbbe, 9e21017, 854a944, 0321911]:

1.1.1

Patch Changes

  • #1169 dc73c34 Thanks @araujogui! - legacy-html builds about 30% faster: Shiki no longer parses its themes again for every code block.

1.1.0

Minor Changes

  • #1156 6d5f9d1 Thanks @ovflowd! - Builds take about half the memory and a third of the time (measured on the Node.js API docs): Shiki registers each language once code in it is highlighted, highlighted code reaches pages as static markup rather than a tree per token, all.html is rendered by the worker pool, output is no longer minified by default (serve it compressed instead), idle workers end after 250ms, and each worker's heap is limited to 512MB, which Node.js's --max-old-space-size raises.

Patch Changes

  • #1157 a4c9684 Thanks @ovflowd! - Add a markdown option to add remark, rehype, and recma plugins to the generators processing Markdown, or configure the ones they use, such as Shiki. The @doc-kit/core modules the generators' pipelines replace are removed (utils/remark.mjs, utils/remark-shiki.mjs, and utils/highlighter.mjs), and utils/type-annotations moves to plugins/type-annotations
  • Updated dependencies [6d5f9d1, c50e75f, a4c9684]:

1.0.4

Patch Changes

1.0.3

Patch Changes

1.0.2

Patch Changes

1.0.1

Patch Changes

1.0.0

Major Changes

  • #960 c734403 Thanks @avivkeller! - The legacy-format generators (legacy-html, legacy-html-all, legacy-json, and legacy-json-all) now live in the new @node-core/doc-kit-legacy package and are loaded via import specifiers such as @node-core/doc-kit-legacy/legacy-html. The corresponding @doc-kit/core/* package exports have been removed. The CLI shorthand names are unchanged.

Patch Changes