Gukhanmun changelog
Version 0.3.2
Released on November 20, 2026.
gukhanmun
- Updated the NIKL loanword examples snapshot (
35df9580ebef; 67303 source records) and regenerated its dictionary data. [#18] - Updated the bundled Open Korean Dictionary (우리말샘) snapshot to 2026-11-04. [#29]
- Updated the bundled Standard Korean Dictionary (標準國語大辭典) snapshot to 2026-11-06. [#29]
gukhanmun-cli
- Updated the NIKL loanword examples snapshot (
35df9580ebef; 67303 source records) and regenerated its dictionary data. [#18] - Updated the bundled Open Korean Dictionary (우리말샘) snapshot to 2026-11-04. [#29]
- Updated the bundled Standard Korean Dictionary (標準國語大辭典) snapshot to 2026-11-06. [#29]
gukhanmun-loanwords
- Updated the NIKL loanword examples snapshot (
35df9580ebef; 67303 source records) and regenerated its dictionary data. [#18]
gukhanmun-opendict
- Updated the bundled Open Korean Dictionary (우리말샘) snapshot to 2026-11-04. [#29]
gukhanmun-stdict
- Updated the bundled Standard Korean Dictionary (標準國語大辭典) snapshot to 2026-11-06. [#29]
@gukhanmun/loanwords-cdb
- Updated the NIKL loanword examples snapshot (
35df9580ebef; 67303 source records) and regenerated its dictionary data. [#18]
@gukhanmun/loanwords-fst
- Updated the NIKL loanword examples snapshot (
35df9580ebef; 67303 source records) and regenerated its dictionary data. [#18]
@gukhanmun/opendict-cdb
- Updated the bundled Open Korean Dictionary (우리말샘) snapshot to 2026-11-04. [#29]
@gukhanmun/opendict-fst
- Updated the bundled Open Korean Dictionary (우리말샘) snapshot to 2026-11-04. [#29]
@gukhanmun/stdict-cdb
- Updated the bundled Standard Korean Dictionary (標準國語大辭典) snapshot to 2026-11-06. [#29]
@gukhanmun/stdict-fst
- Updated the bundled Standard Korean Dictionary (標準國語大辭典) snapshot to 2026-11-06. [#29]
Version 0.3.1
Released on November 5, 2026.
gukhanmun
- Markdown conversion escapes source text through the re-exported adapter, so the Rust API no longer drops the escapes and character references in the input. [#35, #36]
- HTML and Markdown conversions now escape dictionary readings end to end through the re-exported adapters. [GHSA-j87h-8h88-wm6g]
gukhanmun-cli
--format text/markdownnow preserves escapes and character references in source text both before and after the Hongdown formatting pass. [#35, #36]--format text/htmland--format text/markdownnow escape dictionary readings. [GHSA-j87h-8h88-wm6g]
gukhanmun-core
- Marked annotation-derived text with the new
RenderedToken::Annotatedvariant so that format writers serialize a dictionary reading as literal text instead of treating it as already-valid markup. The variant is a breaking change for code that matchesRenderedTokenexhaustively; a_ =>arm still compiles but silently drops the text. Upgrade gukhanmun-core, gukhanmun-html, and gukhanmun-markdown together. [GHSA-j87h-8h88-wm6g]
gukhanmun-html
- Escaped dictionary readings and other annotation text when writing HTML, including quotes and a guarded first character, so a reading can no longer become an element or an attribute. [GHSA-j87h-8h88-wm6g]
- Stopped treating
<script/>,<style/>, and<textarea/>as self-closing so their contents stay raw text, matching browsers. Text after a self-closed raw-text tag inside SVG or MathML is now left unconverted rather than risking conversion inside a script or style body. [GHSA-j87h-8h88-wm6g]
gukhanmun-markdown
- Escaped source text when writing Markdown, so backslash escapes and
character references consumed by the parser are restored instead of being
re-emitted raw. Interior
<,&,[,],`,*,_,~,|, and\can no longer reform HTML, links, images, emphasis, code spans, or tables, and line-start characters can no longer start a heading, list, block quote, or definition list after conversion. Code blocks, autolinks, and HTML blocks remain untouched. Literal&and<in prose now appear as&and<in Markdown output; the rendered text is unchanged. [#35, #36] - Encoded dictionary readings as literal Markdown text, with U+200B separators that stop GFM from forming an autolink across a reading, so annotation text can no longer form links, emphasis, code spans, tables, or raw HTML. [GHSA-j87h-8h88-wm6g]
gukhanmun-napi
- Markdown output escapes source text. [#35, #36]
- HTML and Markdown output escapes dictionary readings. [GHSA-j87h-8h88-wm6g]
gukhanmun-wasm
- Markdown output escapes source text. [#35, #36]
- HTML and Markdown output escapes dictionary readings. [GHSA-j87h-8h88-wm6g]
@gukhanmun/napi
- Markdown conversion escapes source text. [#35, #36]
convert(..., "html")andstream("html")escape dictionary readings. [GHSA-j87h-8h88-wm6g]
@gukhanmun/wasm
- Markdown conversion escapes source text. [#35, #36]
convert(..., "html")andstream("html")escape dictionary readings. [GHSA-j87h-8h88-wm6g]
Version 0.3.0
Released on October 24, 2026.
gukhanmun
- Added
Builder::hanja_variant_set()for selecting the hanja spelling used in rendered output independently of the rendering mode. A separately selected variant set remains in effect when the rendering mode changes, while completeRenderOptionsreplace both settings. [#11, #12] - Added
Builder::punctuation()withpreserve,modern,traditional, andtraditional-verticaloutput profiles and custom role styles. The default preserves punctuation across plain text, HTML, and Markdown. Technical guards include Unicode Latin letters, and contextual spaces do not detach combining marks or format controls. HTML block, list, and table elements trim contextual spaces without changing annotation windows. [#27, #28] - Added automatic reading selection from a fully delimited following Korean
particle, including
으로/로and combinations such as으로는. Conversion keeps the source particle and falls back to the dictionary default when evidence is uncertain or no reading fits; explicit dictionary overrides stay authoritative. [#20, #25] - Changed
Enginestreaming boundaries: a sole non-block rootClosewith pending text is emitted at the next token,flush(), orfinish().finish()supplies EOF evidence whileflush()stays conservative; particle lookahead retains four extra source scalars beyond the dictionary tail allowance. [#20, #25] - Added candidate-aware dictionary APIs and deterministic default reading selection while preserving existing bundled defaults. Higher-priority dictionaries replace all readings for a key. [#19, #22]
- Dictionary-wide homophone marking now includes the selected candidate's
suffix reading, including custom
MapDictionarysuffixes. [#19, #22] - Added competing readings to the bundled Open Korean Dictionary data, preserving existing default choices and dictionary priority. [#21, #24]
- Added the
loanwordsfeature,loanwordsmodule andBuilder::bundled_loanwords()to compose loanword examples after user dictionaries and before preset dictionaries. Theloanwordsfeature is enabled by default;ko-krincludes the dictionary automatically, whileko-kpleaves it disabled. UseBuilder::no_bundled_loanwords()to disable only this dictionary. Builds without default features must enableloanwordsor callBuilder::no_bundled_loanwords()forko-kr; otherwisebuild()returnsError::Config. [#18, #26, #31] - Changed weekly data updates to target the maintenance branch of the newest stable release series that ships the dictionary, with a separate PR keeping main current. Before the dictionary's first stable release, updates target main only. [#18, #26]
- Updated the bundled Open Korean Dictionary (우리말샘) snapshot to 2026-10-04. [#29, #30]
- Updated the bundled Standard Korean Dictionary (標準國語大辭典) snapshot to 2026-10-12. [#29, #30]
gukhanmun-cdb
- Added v2 candidate payloads and
lookup().candidates(), preserving v1 loading and selected-default lookup methods. [#19, #22]
gukhanmun-cli
- Added
--hanja-variant-setfor selectingas-dictionary,shinjitai,kanxi,simplified, orasahimojiwhenever the selected rendering mode emits hanja. [#11, #12] - Added
--punctuationand--punctuation-profileto normalize punctuation with a built-in profile or custom JSON configuration. Technical guards include Unicode Latin letters, and contextual spaces do not detach combining marks or format controls. HTML block, list, and table elements trim contextual spaces without changing annotation windows. [#27, #28] - Added automatic reading selection from a fully delimited following Korean
particle, including
으로/로and combinations such as으로는. Conversion keeps the source particle and falls back to the dictionary default when evidence is uncertain or no reading fits; explicit dictionary overrides stay authoritative. [#20, #25] - Added competing readings to the bundled Open Korean Dictionary data, preserving existing default choices and dictionary priority. [#21, #24]
- Enabled the bundled NIKL loanword examples by default for
ko-kr, before the preset dictionary and after user dictionaries. Use--no-loanwordsto disable them, or--loanwordsto enable them forko-kp.--no-bundled-dictionariesdisables all bundled dictionaries. [#18, #26, #31] - Included NOTICE.md in CLI binary archives to retain attribution for bundled dictionary data, including the NIKL loanword examples. [#18, #26]
- Changed weekly data updates to target the maintenance branch of the newest stable release series that ships the dictionary, with a separate PR keeping main current. Before the dictionary's first stable release, updates target main only. [#18, #26]
- Load candidate-bearing FST/CDB v2 dictionaries through existing dictionary options, retaining bundled default readings and positional forms. [#19, #22]
- Dictionary-wide homophone marking includes selected suffix readings. [#19, #22]
- Updated the bundled Open Korean Dictionary (우리말샘) snapshot to 2026-10-04. [#29, #30]
- Updated the bundled Standard Korean Dictionary (標準國語大辭典) snapshot to 2026-10-12. [#29, #30]
gukhanmun-core
- Added
ReadingCandidate,ReadingCandidates, candidate lookup/enumeration methods, andMapDictionary::insert_candidates(). Selection happens before segmentation; alternatives retain their own marks and positional forms. Existing custom dictionary implementations remain supported. [#19, #22] - Dictionary-wide homophone marking indexes only selected candidates and includes their suffix readings. [#19, #22]
- Added automatic reading selection from a fully delimited following Korean
particle, including
으로/로and combinations such as으로는. Conversion keeps the source particle and falls back to the dictionary default when evidence is uncertain or no reading fits; explicit dictionary overrides stay authoritative. [#20, #25] - Changed
Enginestreaming boundaries: a sole non-block rootClosewith pending text is emitted at the next token,flush(), orfinish().finish()supplies EOF evidence whileflush()stays conservative; particle lookahead retains four extra source scalars beyond the dictionary tail allowance. [#20, #25] - Added dictionary-guided recognition of Unicode z-variants, traditional/simplified forms, CJK compatibility ideographs, Joyo kanji old/new forms, and Asahi variants. Ambiguous variant relations are accepted only when the dictionary identifies one matching sense, while exact source matches remain authoritative. Compatibility ideographs are folded before fallback reading and numeral lookup. [#11, #12]
- Added
HanjaVariantSetwithAsDictionary,Shinjitai,Kanxi,Simplified, andAsahimojioutput profiles.Annotation::canonical_hanja()exposes the dictionary spelling for a dictionary match and the source hanja for a fallback annotation, so rendering and policy middlewares use the same lexical identity. [#11, #12] - Added opt-in output punctuation profiles, including custom marks and
contextual spacing, through
PunctuationProfileand the post-annotationPunctuationNormalizer. Technical guards include Unicode Latin letters, and contextual spaces do not detach combining marks or format controls. [#27, #28]
gukhanmun-dict-extract
- Added loanword collection and deterministic extraction with explicit
editorial decisions, provenance reports and complete matching sweeps.
Enable
loanwords-clifor offline commands orloanwords-collectfor HTTPS collection usingNIKL_LOANWORD_API_KEY. [#18, #26] - Loanword output preflight rejects filesystem aliases before publication, and generated reports can be checked beyond the offline input size limit. Encoded service keys are decoded once, and unsafe Trace logging configurations are rejected before authentication. Partial response bodies count toward the collection byte limit even when the request is retried. [#18, #26]
- Fixed stale failure diagnostics that remained after successful loanword extraction. Diagnostics are removed after both the TSV and report are published; check and audit-only modes preserve them. [#18, #26]
gukhanmun-fst
- Added v2 candidate payloads and
lookup().candidates(), preserving v1 loading and selected-default lookup methods. [#19, #22]
gukhanmun-html
- Added
HtmlPunctuationTextCodecfor punctuation normalization across literal and HTML character reference spellings, with original spelling retained for untouched references. Opt-in reader options protect unmatched end tags. HTML block, list, and table elements trim contextual spaces without changing annotation windows. [#27, #28] - Added automatic reading selection from a fully delimited following Korean
particle, including
으로/로and combinations such as으로는. Conversion keeps the source particle and falls back to the dictionary default when evidence is uncertain or no reading fits; explicit dictionary overrides stay authoritative. [#20, #25]
gukhanmun-loanwords
- Added a separately selectable, offline dictionary from NIKL loanword spelling examples with source provenance and explicit choices for competing readings. [#18, #26]
- Changed weekly data updates to target the maintenance branch of the newest stable release series that ships the dictionary, with a separate PR keeping main current. Before the dictionary's first stable release, updates target main only. [#18, #26]
gukhanmun-markdown
- Added
MarkdownWriteOptionsandwrite_markdown_with_options()to preserve Markdown structure when punctuation normalization changes text. [#27, #28] - Added automatic reading selection from a fully delimited following Korean
particle, including
으로/로and combinations such as으로는. Conversion keeps the source particle and falls back to the dictionary default when evidence is uncertain or no reading fits; explicit dictionary overrides stay authoritative. [#20, #25]
gukhanmun-mkdict
- Accept candidate rows with
preferenceandsuffix_readingin TSV/CSV, orpreferenceandsuffixReadingin JSONL. Merge policies replace whole sets across files, and reading rules apply to individual candidates. The builder emits v1 for scalar dictionaries and v2 when candidates or suffixes require it; old runtimes must be updated to read v2. [#19, #22]
gukhanmun-napi
- Added automatic reading selection from a fully delimited following Korean
particle, including
으로/로and combinations such as으로는. Conversion keeps the source particle and falls back to the dictionary default when evidence is uncertain or no reading fits; explicit dictionary overrides stay authoritative. [#20, #25] - Added competing readings to the bundled Open Korean Dictionary data, preserving existing default choices and dictionary priority. [#21, #24]
- Added the
punctuationJsonoption andpunctuationProfileJson()resolved view for output punctuation profiles, including custom role styles. Technical guards include Unicode Latin letters, and contextual spaces do not detach combining marks or format controls. HTML block, list, and table elements trim contextual spaces without changing annotation windows. [#27, #28] - Load candidate-bearing FST/CDB dictionaries without changing the JavaScript options, and include selected suffixes in dictionary-wide homophone marking. [#19, #22]
gukhanmun-opendict
- Added all competing readings and sorted source sense identifiers to the
category TSV snapshots of the Open Korean Dictionary. Curated defaults
keep existing category choices reproducible; regenerate or check the
snapshots with
mise run opendict-extract -- /path/to/pinned-dump.zipandmise run opendict-extract-check -- /path/to/pinned-dump.zip. [#21, #24] - Updated the bundled Open Korean Dictionary (우리말샘) snapshot to 2026-10-04. [#29, #30]
gukhanmun-stdict
- Retain competing readings and source record IDs during extraction, with
curated equal-priority decisions preserving all existing default readings.
Candidate-specific suffixes now survive raw FST/CDB loading. Use
mise run stdict-extractto regenerate andmise run stdict-extract-checkto check a source dump without modifying outputs. [#19, #22] - Updated the bundled Standard Korean Dictionary (標準國語大辭典) snapshot to 2026-10-12. [#29, #30]
gukhanmun-wasm
- Added automatic reading selection from a fully delimited following Korean
particle, including
으로/로and combinations such as으로는. Conversion keeps the source particle and falls back to the dictionary default when evidence is uncertain or no reading fits; explicit dictionary overrides stay authoritative. [#20, #25] - Added competing readings to the bundled Open Korean Dictionary data, preserving existing default choices and dictionary priority. [#21, #24]
- Added the
punctuationJsonoption andpunctuation_profile_json()resolved view for output punctuation profiles, including custom role styles. Technical guards include Unicode Latin letters, and contextual spaces do not detach combining marks or format controls. HTML block, list, and table elements trim contextual spaces without changing annotation windows. [#27, #28] - Load candidate-bearing FST/CDB dictionaries without changing the JavaScript options, and include selected suffixes in dictionary-wide homophone marking. [#19, #22]
@gukhanmun/loanwords-cdb
- Added
@gukhanmun/loanwords-cdbto load the bundled NIKL loanword examples throughloanwordsCdb()in the WASM and native bindings. [#18, #26] - Changed weekly data updates to target the maintenance branch of the newest stable release series that ships the dictionary, with a separate PR keeping main current. Before the dictionary's first stable release, updates target main only. [#18, #26]
@gukhanmun/loanwords-fst
- Added
@gukhanmun/loanwords-fstto load the bundled NIKL loanword examples throughloanwordsFst()in the WASM and native bindings. [#18, #26] - Changed weekly data updates to target the maintenance branch of the newest stable release series that ships the dictionary, with a separate PR keeping main current. Before the dictionary's first stable release, updates target main only. [#18, #26]
@gukhanmun/napi
- Added automatic reading selection from a fully delimited following Korean
particle, including
으로/로and combinations such as으로는. Conversion keeps the source particle and falls back to the dictionary default when evidence is uncertain or no reading fits; explicit dictionary overrides stay authoritative. [#20, #25] - Added competing readings to the bundled Open Korean Dictionary data, preserving existing default choices and dictionary priority. [#21, #24]
- Added the
hanjaVariantSetconverter option for selecting the hanja spelling emitted by the Node-API binding. [#11, #12] - Added the
punctuationoption for built-in and custom output profiles, including HTML character references. Resolved styles are available as a copied, deeply frozenoptions.punctuationview. Technical guards include Unicode Latin letters, and contextual spaces do not detach combining marks or format controls. HTML block, list, and table elements trim contextual spaces without changing annotation windows. [#27, #28] - Load candidate-bearing FST/CDB v2 dictionaries through existing dictionary options, retaining bundled default readings and positional forms. [#19, #22]
- Dictionary-wide homophone marking includes selected suffix readings. [#19, #22]
@gukhanmun/opendict-cdb
- Changed the bundled Open Korean Dictionary data to retain competing readings within each category, preserving existing default choices and category priority. Source identifiers remain in the extraction TSVs. [#21, #24]
- Updated the bundled Open Korean Dictionary (우리말샘) snapshot to 2026-10-04. [#29, #30]
@gukhanmun/opendict-fst
- Changed the bundled Open Korean Dictionary data to retain competing readings within each category, preserving existing default choices and category priority. Source identifiers remain in the extraction TSVs. [#21, #24]
- Updated the bundled Open Korean Dictionary (우리말샘) snapshot to 2026-10-04. [#29, #30]
@gukhanmun/stdict-cdb
- Bundle v2 data retaining competing readings and positional forms, with all previous default readings preserved. Requires a binding that reads dictionary format v2. [#19, #22]
- Updated the bundled Standard Korean Dictionary (標準國語大辭典) snapshot to 2026-10-12. [#29, #30]
@gukhanmun/stdict-fst
- Bundle v2 data retaining competing readings and positional forms, with all previous default readings preserved. Requires a binding that reads dictionary format v2. [#19, #22]
- Updated the bundled Standard Korean Dictionary (標準國語大辭典) snapshot to 2026-10-12. [#29, #30]
@gukhanmun/types
- Added punctuation profile types and
GukhanmunOptions.punctuation, with a resolved profile available throughGukhanmun.options.punctuation. [#27, #28] - Added the
HanjaVariantSettype and thehanjaVariantSetfield onGukhanmunOptionsfor the shared JavaScript API. [#11, #12]
@gukhanmun/wasm
- Added automatic reading selection from a fully delimited following Korean
particle, including
으로/로and combinations such as으로는. Conversion keeps the source particle and falls back to the dictionary default when evidence is uncertain or no reading fits; explicit dictionary overrides stay authoritative. [#20, #25] - Added competing readings to the bundled Open Korean Dictionary data, preserving existing default choices and dictionary priority. [#21, #24]
- Added the
hanjaVariantSetconverter option for selecting the hanja spelling emitted by the WebAssembly binding. [#11, #12] - Added the
punctuationoption for built-in and custom output profiles, including HTML character references. Resolved styles are available as a copied, deeply frozenoptions.punctuationview. Technical guards include Unicode Latin letters, and contextual spaces do not detach combining marks or format controls. HTML block, list, and table elements trim contextual spaces without changing annotation windows. [#27, #28] - Load candidate-bearing FST/CDB v2 dictionaries through existing dictionary options, retaining bundled default readings and positional forms. [#19, #22]
- Dictionary-wide homophone marking includes selected suffix readings. [#19, #22]
Version 0.2.2
Released on November 20, 2026.
gukhanmun
- Updated the bundled Open Korean Dictionary (우리말샘) snapshot to 2026-11-04. [#29]
- Updated the bundled Standard Korean Dictionary (標準國語大辭典) snapshot to 2026-11-06. [#29]
gukhanmun-cli
- Updated the bundled Open Korean Dictionary (우리말샘) snapshot to 2026-11-04. [#29]
- Updated the bundled Standard Korean Dictionary (標準國語大辭典) snapshot to 2026-11-06. [#29]
gukhanmun-opendict
- Updated the bundled Open Korean Dictionary (우리말샘) snapshot to 2026-11-04. [#29]
gukhanmun-stdict
- Updated the bundled Standard Korean Dictionary (標準國語大辭典) snapshot to 2026-11-06. [#29]
@gukhanmun/opendict-cdb
- Updated the bundled Open Korean Dictionary (우리말샘) snapshot to 2026-11-04. [#29]
@gukhanmun/opendict-fst
- Updated the bundled Open Korean Dictionary (우리말샘) snapshot to 2026-11-04. [#29]
@gukhanmun/stdict-cdb
- Updated the bundled Standard Korean Dictionary (標準國語大辭典) snapshot to 2026-11-06. [#29]
@gukhanmun/stdict-fst
- Updated the bundled Standard Korean Dictionary (標準國語大辭典) snapshot to 2026-11-06. [#29]
Version 0.2.1
Released on November 5, 2026.
gukhanmun-core
- Marked annotation-derived text with the new
RenderedToken::Annotatedvariant so that format writers serialize a dictionary reading as literal text instead of treating it as already-valid markup. The variant is a breaking change for code that matchesRenderedTokenexhaustively; a_ =>arm still compiles but silently drops the text. Upgrade gukhanmun-core, gukhanmun-html, and gukhanmun-markdown together. [GHSA-j87h-8h88-wm6g]
gukhanmun-html
- Escaped dictionary readings and other annotation text when writing HTML, including quotes and a guarded first character, so a reading can no longer become an element or an attribute. [GHSA-j87h-8h88-wm6g]
- Stopped treating
<script/>,<style/>, and<textarea/>as self-closing so their contents stay raw text, matching browsers. Text after a self-closed raw-text tag inside SVG or MathML is now left unconverted rather than risking conversion inside a script or style body. [GHSA-j87h-8h88-wm6g]
gukhanmun-markdown
- Escaped source text when writing Markdown, so backslash escapes and
character references consumed by the parser are restored instead of being
re-emitted raw. Interior
<,&,[,],`,*,_,~,|, and\can no longer reform HTML, links, images, emphasis, code spans, or tables, and line-start characters can no longer start a heading, list, block quote, or definition list after conversion. Code blocks, autolinks, and HTML blocks remain untouched. Literal&and<in prose now appear as&and<in Markdown output; the rendered text is unchanged. [#35, #36] - Encoded dictionary readings as literal Markdown text, with U+200B separators that stop GFM from forming an autolink across a reading, so annotation text can no longer form links, emphasis, code spans, tables, or raw HTML. [GHSA-j87h-8h88-wm6g]
gukhanmun
- Markdown conversion escapes source text through the re-exported adapter, so the Rust API no longer drops the escapes and character references in the input. [#35, #36]
- HTML and Markdown conversions now escape dictionary readings end to end through the re-exported adapters. [GHSA-j87h-8h88-wm6g]
gukhanmun-cli
--format text/markdownnow preserves escapes and character references in source text both before and after the Hongdown formatting pass. [#35, #36]--format text/htmland--format text/markdownnow escape dictionary readings. [GHSA-j87h-8h88-wm6g]
gukhanmun-napi
- Markdown output escapes source text. [#35, #36]
- HTML and Markdown output escapes dictionary readings. [GHSA-j87h-8h88-wm6g]
gukhanmun-wasm
- Markdown output escapes source text. [#35, #36]
- HTML and Markdown output escapes dictionary readings. [GHSA-j87h-8h88-wm6g]
@gukhanmun/napi
- Markdown conversion escapes source text. [#35, #36]
convert(..., "html")andstream("html")escape dictionary readings. [GHSA-j87h-8h88-wm6g]
@gukhanmun/wasm
- Markdown conversion escapes source text. [#35, #36]
convert(..., "html")andstream("html")escape dictionary readings. [GHSA-j87h-8h88-wm6g]
Version 0.2.0
Released on June 15, 2026.
gukhanmun
- Collapse redundant parenthetical reading annotations by default. The new
Builder::collapse_redundant_parensopt-out disables it. [#3, #4] - Added the
opendictfeature and made theko-kppreset include the bundled Open Korean Dictionary (우리말샘) North Korean (北韓語) category by default. AddedBuilder::no_bundled_dictionaries()to disable every preset-selected bundled dictionary, plusBuilder::no_bundled_stdict()andBuilder::no_bundled_opendict()for disabling only one bundled dictionary family. [#5, #6]
gukhanmun-core
-
Fixed Arabic hanja numeral strategies so dictionary calendar entries no longer split numeric normalization.
NumeralStrategy::PositionalArabicnow renders dates such as二〇二六年 六月 二〇日as2026년 6월 20일, whileNumeralStrategy::HangulPhonetic, the default library preset strategy, still keeps lexicalized dictionary readings such as六月as유월.NumeralStrategy::Smartalso leaves standalone large place markers such as京and萬, plus ambiguous small-marker words such as百濟and十長生, as fallback readings instead of splitting them into numeric text. -
Fixed a bug where proper names and unknown multi-character hanja words were split into individual character annotations when the bundled dictionary contained single-character entries for some (but not all) of the characters. The segmenter now emits a
TrivialDictionarysegment variant for single-character dictionary matches that carry no special rendering marks, and the engine merges consecutiveTrivialDictionaryandFallbacksegments into a single annotation without losingfrom_dictionaryprovenance so homophone marking still works. [#7, #8] -
Added
RedundantParenCollapser, a streaming middleware that collapses an explicit parenthetical reading annotation into the hanja word it duplicates.庫間(곳간)and곳간(庫間)now render with both scripts in every mode instead of duplicating the reading, and a parenthetical that pins an alternative reading (such as “數字(수자)”) overrides the dictionary reading for that occurrence. A definition gloss such as “庫間(物件을 간직하여 두는 곳)” is left untouched. Regenerated the bundled Unihan reading data to also carry every kHangul reading per character (KHANGUL_ALL_READINGS), which the collapser uses to validate alternative readings. [#3, #4] -
Marked
Annotation#[non_exhaustive]so its policy flags can grow without a breaking change (it gained afrom_source_glossflag here). Construct it fromAnnotation::default()and set the fields you need. [#3, #4]
gukhanmun-dict-extract
- Added a shared extraction helper crate for dictionary dump key
normalization, original-language parsing, and mixed-script key generation.
gukhanmun-stdictandgukhanmun-opendictnow use the same core extraction rules. [#5, #6]
gukhanmun-cli
- Collapse redundant parenthetical reading annotations by default across the
plain-text, HTML, and Markdown pipelines. The new
--no-collapse-parensflag disables it. [#3, #4] - Changed the CLI default for
--numeralstosmart, so omitted numeral options render dates such as二〇二六年 六月 二〇日as2026년 6월 20일. Pass--numerals hangul-phoneticto keep Seonbi-style phonetic calendar readings such as六月as유월. - The
ko-kppreset now includes the bundled Open Korean Dictionary North Korean (北韓語) category by default. Added--no-bundled-dictionaries, which disables every preset-selected bundled dictionary. [#5, #6]
gukhanmun-opendict
- Added a bundled Open Korean Dictionary (우리말샘) crate generated from the
2026-06-03 JSON dump. The crate exposes separate
general(),north_korean(),dialect(), andarchaic()FST dictionaries so callers can compose the categories explicitly withChainDictionary. [#5, #6]
gukhanmun-stdict
- Reused the shared dictionary extraction helper and buffered direct JSON shard reads for large dump extraction. [#5, #6]
- Fixed “數字” converting to “수자” instead of the orthographically prescribed “숫자.” The six Standard Korean Orthography §30 (한글 맞춤法 第30項) saisiot (사이시옷) compounds (곳간, 셋방, 숫자, 찻간, 툇간, 횟수) now win over their saisiot-free homographs regardless of dump order. [#1, #2]
- Regenerated the bundled dictionary so single-hanja foreign-spelling head words (such as “元” → “위안” or “円” → “엔”) no longer shadow the Sino-Korean reading of those characters; the engine recovers their original sound from the bundled unihan readings instead.
- Regenerated the bundled Standard Korean Language Dictionary data from the 2026-06-06 JSON dump (260,690 entries, was 260,688).
@gukhanmun/napi
- Collapse redundant parenthetical reading annotations by default; added the
collapseRedundantParensoption to disable it. [#3, #4] - Documented that JavaScript presets still do not auto-load bundled dictionary data; use the new opendict packages explicitly when desired. [#5, #6]
@gukhanmun/wasm
- Collapse redundant parenthetical reading annotations by default; added the
collapseRedundantParensoption to disable it. [#3, #4] - Documented that JavaScript presets still do not auto-load bundled dictionary data; use the new opendict packages explicitly when desired. [#5, #6]
@gukhanmun/opendict-cdb
- Added a package containing Open Korean Dictionary general (一般語), North
Korean (北韓語), dialect (方言), and archaic (옛말) categories as CDB
binaries, with category-specific byte loaders and
FileDictionarySourcehelpers. The binaries ship gzip-compressed (as *.cdb.gz) to stay within the JSR per-file size limit, and the byte loaders inflate them transparently. [#5, #6]
@gukhanmun/opendict-fst
- Added a package containing Open Korean Dictionary general (一般語), North
Korean (北韓語), dialect (方言), and archaic (옛말) categories as FST
binaries, with category-specific byte loaders and
FileDictionarySourcehelpers. [#5, #6]
@gukhanmun/stdict-fst
- Regenerated the bundled FST binary from the 2026-06-06 Standard Korean Language Dictionary JSON dump.
@gukhanmun/stdict-cdb
- Regenerated the bundled CDB binary from the 2026-06-06 Standard Korean Language Dictionary JSON dump.
@gukhanmun/types
- Updated the JavaScript dictionary option documentation to mention the opendict packages and clarify that JavaScript presets do not auto-load bundled dictionary data. [#5, #6]
Version 0.1.3
Released on November 5, 2026.
gukhanmun-core
- Marked annotation-derived text with the new
RenderedToken::Annotatedvariant so that format writers serialize a dictionary reading as literal text instead of treating it as already-valid markup. The variant is a breaking change for code that matchesRenderedTokenexhaustively; a_ =>arm still compiles but silently drops the text. Upgrade gukhanmun-core, gukhanmun-html, and gukhanmun-markdown together. [GHSA-j87h-8h88-wm6g]
gukhanmun-html
- Escaped dictionary readings and other annotation text when writing HTML, including quotes and a guarded first character, so a reading can no longer become an element or an attribute. [GHSA-j87h-8h88-wm6g]
- Stopped treating
<script/>,<style/>, and<textarea/>as self-closing so their contents stay raw text, matching browsers. Text after a self-closed raw-text tag inside SVG or MathML is now left unconverted rather than risking conversion inside a script or style body. [GHSA-j87h-8h88-wm6g]
gukhanmun-markdown
- Escaped source text when writing Markdown, so backslash escapes and
character references consumed by the parser are restored instead of being
re-emitted raw. Interior
<,&,[,],`,*,_,~,|, and\can no longer reform HTML, links, images, emphasis, code spans, or tables, and line-start characters can no longer start a heading, list, block quote, or definition list after conversion. Code blocks, autolinks, and HTML blocks remain untouched. Literal&and<in prose now appear as&and<in Markdown output; the rendered text is unchanged. [#35, #36] - Encoded dictionary readings as literal Markdown text, with U+200B separators that stop GFM from forming an autolink across a reading, so annotation text can no longer form links, emphasis, code spans, tables, or raw HTML. [GHSA-j87h-8h88-wm6g]
gukhanmun
- Markdown conversion escapes source text through the re-exported adapter, so the Rust API no longer drops the escapes and character references in the input. [#35, #36]
- HTML and Markdown conversions now escape dictionary readings end to end through the re-exported adapters. [GHSA-j87h-8h88-wm6g]
gukhanmun-cli
--format text/markdownnow preserves escapes and character references in source text both before and after the Hongdown formatting pass. [#35, #36]--format text/htmland--format text/markdownnow escape dictionary readings. [GHSA-j87h-8h88-wm6g]
gukhanmun-napi
- Markdown output escapes source text. [#35, #36]
- HTML and Markdown output escapes dictionary readings. [GHSA-j87h-8h88-wm6g]
gukhanmun-wasm
- Markdown output escapes source text. [#35, #36]
- HTML and Markdown output escapes dictionary readings. [GHSA-j87h-8h88-wm6g]
@gukhanmun/napi
- Markdown conversion escapes source text. [#35, #36]
convert(..., "html")andstream("html")escape dictionary readings. [GHSA-j87h-8h88-wm6g]
@gukhanmun/wasm
- Markdown conversion escapes source text. [#35, #36]
convert(..., "html")andstream("html")escape dictionary readings. [GHSA-j87h-8h88-wm6g]
Version 0.1.2
Released on June 1, 2026.
- Static-link the Windows release CLI executables against the MSVC C runtime so the release archives no longer require Visual C++ runtime DLLs.
- Include the license and root README.*.md files in CLI release archives.
- Store CLI release archive contents at the archive root instead of wrapping them in a top-level directory.
Version 0.1.1
Released on June 1, 2026.
gukhanmun
- Fixed ruby rendering inside Markdown shortcut reference links so the
high-level Markdown conversion API no longer emits an empty
[]:reference definition.
gukhanmun-cli
- Fixed ruby rendering inside Markdown shortcut reference links so CLI
Markdown conversion no longer emits an empty
[]:reference definition.
gukhanmun-markdown
- Fixed ruby rendering inside Markdown shortcut reference links so the
Markdown adapter no longer emits an empty
[]:reference definition.
@gukhanmun/napi
- Fixed ruby rendering inside Markdown shortcut reference links so Node-API
Markdown conversion no longer emits an empty
[]:reference definition.
@gukhanmun/wasm
- Fixed ruby rendering inside Markdown shortcut reference links so WebAssembly
Markdown conversion no longer emits an empty
[]:reference definition.
Version 0.1.0
Initial release. Released on May 30, 2026.