For AI agents: the complete documentation index is available at https://canary.gukhanmun.org/llms.txt, the full documentation bundle is available at https://canary.gukhanmun.org/llms-full.txt, and this page is available as Markdown at https://canary.gukhanmun.org/api/changelog.md.

Gukhanmun changelog

Version 0.4.0

To be released.

gukhanmun (Rust)

  • Added .annotation_granularity(AnnotationGranularity::HanjaRun) to the converter builders. It shows 汽車길 as 기찻(汽車)길 in hangul-first parentheses and omits repeated hangul in ruby as well. Whole-word annotations remain the default. [#84, #85]
  • Added .ignore_dictionary_required_hanja(true) to Builder and SharedBuilder to omit hanja glosses required only by dictionary entries in RenderMode::HangulOnly across text, HTML, and Markdown. Homophone glosses and explicit annotations remain visible. [#81, #86]
  • Added MapDictionary::from_candidates() and CandidateError::EmptyKey through the umbrella re-export, and made MapDictionary::max_word_chars() report Some(0) while the map is empty so dictionaries chained after it keep their streaming word bound. [#33, #34]
  • Added SharedBuilder and SharedConverter so multiple threads can reuse one configured converter. Shared builders accept owned Send + Sync dictionaries and HTML preservation predicates; existing Builder and Converter still accept borrowed dictionaries and local callbacks. [#46, #53]
  • Added bundled compound aliases that render as one dictionary-backed annotation through conversion and parenthetical collapsing. Sibling spellings share homophone identity. The bundled standard dictionary includes automatically derived aliases and reviewed lexical aliases. [#38, #39]
  • Re-exported the user alias insertion APIs and reverse_hanja() from the umbrella crate. [#38, #39]
  • Added source-attested phrase resolution to the shared conversion engine, with phrase constraints bundled from the Standard Korean Dictionary. 無條件降服 now uses the attested 무조건항복 reading; ambiguous readings without matching phrase evidence keep their existing defaults. Policy fallbacks preserve existing single-character annotation merging and particle decisions, including under nested source policies. [#41, #45]
  • Re-exported phrase evidence types, indexes, source choices, and resolution reports for custom dictionaries, including HanjaDictionary::has_owned_phrase_evidence() and PhraseIndex::from_shared_evidence() for reusing immutable evidence and its validation. Reports distinguish LegacySelection fallbacks and OpaqueLegacyProjection source ranges from phrase candidates. [#41, #45]
  • Engines ignore structurally invalid custom phrase evidence, or evidence with an incompatible index, and emit a warning. Providers must validate candidate links with PhraseEvidence::validate_records(); binary dictionary loaders reject invalid evidence. [#41, #45]
  • Builder and presets now default to reference-authorized source cooperation, retaining reference readings unless typed dictionary relations authorize another form. Configure source_policy() and reference_only(), or select SourcePolicy::Ordered for legacy precedence. push_dictionary() remains an authored override. The pipeline preserves selected source metadata through annotations and middleware, including aliases, particles, authorial glosses and first-occurrence/homophone identity. Source-aware dictionary matches retain their own annotation boundaries. [#42, #44]
  • Changed the changelog to group component sections by language (Rust, JavaScript/TypeScript, and Python), preserving released history. [#47, #54]
  • Exposed typed dictionary source evidence and validation APIs through the Rust façade. [#42, #44]
  • Fixed CDB and FST dictionary loading to reject metadata that exceeds decoded-allocation admission budgets before expanding aliases or typed evidence. Small files with many alias rows can no longer bypass loading limits through metadata expansion. Dictionaries with 32,768 distinct short aliases remain loadable within the same admission budgets. [#48, #15, #55]
  • Fixed CDB dictionary loading to reject malformed file layouts before use and prevent crafted hash tables from forcing long lookup probe loops during conversion. [#48, #15, #55]
  • Changed CDB loading to reject dictionaries whose record index requests more than 64 MiB, before allocating the index. Loaded file bytes, decoded metadata and payloads, and allocator overhead use additional memory. [#48, #15, #55]
  • Fixed FST dictionary loading to limit the number of accepted keys, their total byte length and traversal work before enumerating keys, even when maximum-length metadata is supplied. Files exceeding these limits now fail to load. [#48, #15, #55]
  • Fixed lattice streaming for overlapping dictionary matches so chunk boundaries do not change the selected segmentation. Ambiguous prefixes may remain buffered until a word boundary or EOF settles the path. [#42, #44]

gukhanmun-cdb (Rust)

  • Added support for dictionary format version 3 with compound alias metadata and version 4 with candidate-linked source evidence and source-attested phrase constraints. Version 1 and 2 files remain readable; version 4 evidence is validated on load, and unsupported or stale constraints are rejected. Phrase indexes are cached per dictionary for reuse across engines. [#38, #39, #41, #42, #44, #45]
  • Fixed CDB and FST dictionary loading to reject metadata that exceeds decoded-allocation admission budgets before expanding aliases or typed evidence. Small files with many alias rows can no longer bypass loading limits through metadata expansion. Dictionaries with 32,768 distinct short aliases remain loadable within the same admission budgets. [#48, #15, #55]
  • Fixed CDB loading to reject malformed file layouts before use. Crafted hash tables can no longer force long lookup probe loops during conversion. [#48, #15, #55]
  • Changed CDB loading to reject dictionaries whose record index requests more than 64 MiB, before allocating the index. Loaded file bytes, decoded metadata and payloads, and allocator overhead use additional memory. [#48, #15, #55]

gukhanmun-cli (Rust)

  • Added --annotation-granularity hanja-run to gloss only the hanja runs of mixed-script words. Whole-word glosses remain the default and are used when a reading cannot be split uniquely. [#84, #85]
  • Added --generate-completion for Bash, zsh, fish, PowerShell and Nushell, with option, value and file candidates derived from the CLI definition. Platform binary archives now include matching completion scripts and their source revision, version and SHA-256 metadata. Bundle generation rejects a checkout revision change during the build. Bundle metadata records source changes present before or after generation, excluding only untracked files created by the bundle generator. Bundle validation supports output directories inside the checkout even when Git does not ignore them. PowerShell completion preserves unmatched non-path values without offering filenames. [#61, #75]
  • Added --ignore-dictionary-required-hanja to omit hanja glosses required only by dictionary entries in hangul-only output. [#81, #86]
  • Added source-attested phrase resolution for bundled and custom dictionaries. 無條件降服 now uses the bundled Standard Korean Dictionary's attested 무조건항복 reading. When evidence conflicts or exceeds work limits, the existing selection is kept, and ambiguous readings without matching phrase evidence keep their existing defaults. [#41, #45]
  • Added standalone PyPI wheels for installing the CLI with pipx install gukhanmun-cli or uv tool install gukhanmun-cli, without compiling Rust. The wheels include gukhanmun-mkdict, the bundled dictionaries and version-matched shell completions. [#72, #76]
  • Added installation through npm install -g @gukhanmun/cli and npx --package @gukhanmun/cli gukhanmun on macOS, Windows and Linux x64/arm64, including gukhanmun-mkdict, bundled dictionaries and shell completions. Node.js 22 or later and optional dependencies are required; Rust and installation scripts are not. [#71, #77]
  • Added support for custom version 4 FST/CDB dictionaries carrying source evidence or phrase constraints; older dictionary files remain supported. [#41, #42, #44, #45]
  • Canonical literals in the require-hanja directive and related directives now reach reviewed alias spellings. The streaming plain-text path keeps streaming and applies each directive with the dictionary's lexeme index, so a reviewed alias resolves without buffering the whole document. [#38, #39]
  • Fixed CDB and FST dictionary loading to reject metadata that exceeds decoded-allocation admission budgets before expanding aliases or typed evidence. Small files with many alias rows can no longer bypass loading limits through metadata expansion. Dictionaries with 32,768 distinct short aliases remain loadable within the same admission budgets. [#48, #15, #55]
  • Fixed FST dictionary loading to limit the number of accepted keys, their total byte length and traversal work before enumerating keys, even when maximum-length metadata is supplied. Files exceeding these limits now fail to load. [#48, #15, #55]
  • Fixed custom CDB dictionary loading to reject malformed file layouts before conversion. Crafted hash tables can no longer force long lookup probe loops during conversion. [#48, #15, #55]
  • Changed CDB loading to reject dictionaries whose record index requests more than 64 MiB, before allocating the index. Loaded file bytes, decoded metadata and payloads, and allocator overhead use additional memory. [#48, #15, #55]
  • Fixed lattice streaming for overlapping dictionary matches so chunk boundaries do not change the selected segmentation. Ambiguous prefixes may remain buffered until a word boundary or EOF settles the path. [#42, #44]
  • The CLI now defaults to reference-authorized source cooperation. Use --source-policy to select a policy and --reference-only to exclude independent loanwords; custom -d dictionaries remain authored overrides. [#42, #44]

gukhanmun-core (Rust)

  • Added AnnotationGranularity::HanjaRun and an expanding renderer to gloss only the hanja runs in mixed-script dictionary matches. The renderer keeps the whole-word gloss when the selected reading cannot be split uniquely. [#84, #85]
  • Added MapDictionary::from_candidates() for building a dictionary from per-reading entries: repeated keys are grouped into one candidate set instead of replacing earlier readings, and preferences are normalised as ReadingCandidates::new() does. Added CandidateError::EmptyKey for an empty hanja key, which would otherwise match at every offset. [#33, #34]
  • Changed MapDictionary::max_word_chars() to report Some(0) while the map is empty, so an empty user dictionary no longer hides the word bound of the dictionaries chained after it while streaming. [#33, #34]
  • Added UserDirectives::apply_with_render_policy() for conversion pipelines that omit hanja glosses required only by dictionary entries. It keeps explicit source glosses and requests made by directives. [#81, #86]
  • Added candidate-level alias metadata (AliasKind, AliasTarget, ReadingCandidate::alias) and LexemeIndex for canonical lexeme lookup. Homophone marking shares one identity across alias kinds through CandidateRecord::homophone_key() and LexemeIndex::homophone_canonical(), avoiding false homophone glosses for canonical compounds with derived aliases; first-occurrence filtering and literal directives resolve sibling and reviewed spellings by lexical identity. [#38, #39]
  • Added MapDictionary::insert_alias(), MapDictionary::insert_alias_with_suffix(), and reverse_hanja() for reviewed user aliases and canonical hangul-to-hanja lookup. [#38, #39]
  • Added check_metadata_resources() and check_phrase_index_resources() for checking decoded-allocation admission budgets before expanding dictionary aliases, typed evidence or phrase indexes. CDB and FST loaders use these checks to reject excessive metadata before allocation, including small files with many alias rows. Dictionaries with 32,768 distinct short aliases remain loadable within the budgets. Admission charges are conservative estimates, not limits on total process memory. [#48, #15, #55]
  • Added opt-in ChainDictionary source policies and role-aware registration. Reference-authorized forms and independent loanword candidates keep their own identities, marks, and positional readings, with one particle filter over the ranked pool. Direct chains retain Ordered by default. Dictionaries with unknown maximum word lengths retain unbounded queries and long-match support. Selection preserves source identity through annotations, homophone and first-occurrence handling, directives, and parenthetical reading changes. Source-aware dictionary matches retain separate annotation boundaries beside fallback characters. [#42, #44]
  • Fixed lattice streaming for overlapping dictionary matches so chunk boundaries do not change the selected segmentation. Ambiguous prefixes may remain buffered until a word boundary or EOF settles the path. [#42, #44]
  • Added source-attested phrase resolution over fixed segmentation paths, including complete-form intersections, source ownership, and finite additional streaming context. When evidence conflicts or exceeds work limits, the engine keeps policy fallbacks, preserving existing single-character annotation merging and particle decisions, including under nested source policies. [#41, #45]
  • Added phrase evidence types, HanjaDictionary::phrase_evidence() for transporting constraints independently of word candidates, and HanjaDictionary::has_owned_phrase_evidence() for checking for owned constraints without collecting them. Engines ignore structurally invalid evidence, or evidence with an incompatible index, and emit a warning; providers must validate candidate links with PhraseEvidence::validate_records(). Binary loaders reject invalid evidence. [#41, #45]
  • Added reusable PhraseIndex lookups, PhraseIndex::from_shared_evidence(), and opt-in Engine resolution reports for policy defaults and bounded-work limits. Engines reuse validation for shared immutable evidence without scanning it again. Reports distinguish LegacySelection fallbacks from phrase candidates and identify projected fallback source ranges with OpaqueLegacyProjection diagnostics without granting them phrase authority. [#41, #45]
  • Added typed source evidence, candidate-link validation, and HanjaDictionary::source_evidence() for inspecting dictionary provenance without changing legacy reading selection. [#42, #44]

gukhanmun-dict-extract (Rust)

  • Added aliases::SiblingDonors for reusing validated one-step sibling donor lookup across source compilers. [#41, #45]
  • Added aliases::align_morphemes(), aliases::derive_aliases(), aliases::sibling_relations(), and aliases::grid_aliases() for deriving compound recognition aliases and sibling relations from marked headwords. Derivation checks source identifiers for ambiguity and reconstructs omitted position-wise spelling combinations inside multi-spelling headwords only for single-reading groups. [#38, #39]
  • Added AliasPolicy controls for compound derivation, including reviewed single-character suffix donors, AliasPolicy::approved_compounds, and max_combinations. Derivation combines licensed constituent substitutions, accepts word-initial sound-law variants in non-initial constituents, and skips spelling groups that exceed the combination limit. [#38, #39]
  • Added typed source-graph helpers for compiling conservative candidate evidence from word/sense identifiers, direct foreign-name synonyms, and formal redirects. [#42, #44]

gukhanmun-fst (Rust)

  • Added support for dictionary format version 3 with compound alias metadata and version 4 with candidate-linked source evidence and source-attested phrase constraints. Version 1 and 2 files remain readable; version 4 evidence is validated on load, and unsupported or stale constraints are rejected. Phrase indexes are cached per dictionary for reuse across engines. [#38, #39, #41, #42, #44, #45]
  • Fixed CDB and FST dictionary loading to reject metadata that exceeds decoded-allocation admission budgets before expanding aliases or typed evidence. Small files with many alias rows can no longer bypass loading limits through metadata expansion. Dictionaries with 32,768 distinct short aliases remain loadable within the same admission budgets. [#48, #15, #55]
  • Fixed FST dictionary loading to limit the number of accepted keys, their total byte length and traversal work before enumerating keys, even when maximum-length metadata is supplied. Files exceeding these limits now fail to load. [#48, #15, #55]

gukhanmun-loanwords (Rust)

  • The bundled loanword dictionary now declares its source role and preserves all contributing source IDs for cooperation with reference dictionaries. [#42, #44]

gukhanmun-mkdict (Rust)

  • Added canonical and alias_kind columns and --relations for compound aliases, --evidence for typed source evidence, and --phrase-evidence for source-attested phrase constraints. Rust callers can use build_dictionary_with_evidence() or build_dictionary_with_all_evidence(). Embedding phrase constraints does not add phrase keys to word candidates. Builds use format version 4 when either kind of evidence is supplied, version 3 for aliases alone, and version 1 or 2 otherwise. [#38, #39, #41, #42, #44, #45]
  • Added gukhanmun-mkdict to the standalone PyPI wheels. Install it together with gukhanmun using pipx install gukhanmun-cli or uv tool install gukhanmun-cli, without compiling Rust. [#72, #76]
  • Added gukhanmun-mkdict to @gukhanmun/cli on npm for macOS, Windows and Linux x64/arm64. Install with npm install -g @gukhanmun/cli or run npx --package @gukhanmun/cli gukhanmun-mkdict, without Rust or installation scripts. Node.js 22 or later and optional dependencies are required. [#71, #77]

gukhanmun-napi (Rust)

  • Accepted runtime dictionary entries from the JavaScript binding: a dictionary record now carries either a compiled artifact or an entry list that becomes a MapDictionary, so callers need no compiled artifact for readings computed at runtime. Malformed entry lists report invalid-input with the offending entry index. [#33, #34]
  • Added ignoreDictionaryRequiredHanja to the Node-API converter options. It omits hanja glosses required only by dictionary entries in "hangul-only" mode when enabled. [#81, #86]
  • Added load_dictionary() to share a parsed dictionary across converters without sharing their overrides or rendering options. [#80, #83]
  • Added source-attested phrase resolution in conversion and streaming, including licensed complete verb forms and strict phrase spacing, while preserving complete candidate metadata and source-policy eligibility. Load @gukhanmun/stdict-fst or @gukhanmun/stdict-cdb through dictionaries to use bundled constraints: 無條件降服 now uses the attested 무조건항복 reading. Custom dictionaries can also carry constraints; ambiguous readings without matching evidence keep their existing defaults. [#41, #45]
  • Added support for version 4 FST/CDB dictionaries carrying candidate-linked source evidence or phrase constraints, while retaining support for older files. [#41, #42, #44, #45]
  • Added the annotationGranularity setting to the Node-API bridge. Use "hanja-run" to gloss only the hanja runs of a mixed-script word when the reading can be split uniquely. Otherwise, the gloss covers the whole word. [#84, #85]
  • Fixed CDB and FST dictionary loading to reject metadata that exceeds decoded-allocation admission budgets before expanding aliases or typed evidence. Small files with many alias rows can no longer bypass loading limits through metadata expansion. Dictionaries with 32,768 distinct short aliases remain loadable within the same admission budgets. [#48, #15, #55]
  • Fixed CDB dictionary loading to reject malformed file layouts with a dictionary-load error. Crafted hash tables can no longer force long lookup probe loops during conversion. [#48, #15, #55]
  • Changed CDB loading to reject dictionaries whose record index requests more than 64 MiB, before allocating the index. Loaded file bytes, decoded metadata and payloads, and allocator overhead use additional memory. [#48, #15, #55]
  • Fixed FST dictionary loading to limit the number of accepted keys, their total byte length and traversal work before enumerating keys, even when maximum-length metadata is supplied. Files exceeding these limits now fail to load. [#48, #15, #55]
  • Fixed lattice streaming for overlapping dictionary matches so chunk boundaries do not change the selected segmentation. Ambiguous prefixes may remain buffered until a word boundary or EOF settles the path. [#42, #44]
  • Native converters now default to reference-authorized source cooperation and expose policy, reference-only eligibility and explicit dictionary roles through their JavaScript options. [#42, #44]

gukhanmun-opendict (Rust)

  • Derive per-category compound aliases and sibling relations from the Open Korean Dictionary dump. The bundled data now carries 1,561 general recognition aliases and 2,343 sibling relations. This dump produced 10 recognition aliases and 103 sibling relations for North Korean, and no derived aliases for dialect or archaic. [#38, #39]

gukhanmun-stdict (Rust)

  • Added gukhanmun-stdict-extract --evidence-output to preserve source records, sense identifiers, and supported synonym/redirect evidence alongside canonical TSV output. [#42, #44]
  • Added phrase evidence and admission-audit exports to the source extractor, preserving word TSV admission while validating caret boundaries, one-step sibling spellings, and typed subheadword projections. [#41, #45]
  • Bundled source-attested phrase constraints from the Standard Korean Dictionary. Conversions such as 無條件降服 now use the attested 무조건항복 reading, while ambiguous readings without matching phrase evidence keep their existing defaults. [#41, #45]
  • Derive compound aliases from the dump's marked morphemes and explicit spelling groups, bundling 2,054 recognition aliases, the seven reviewed lexical aliases, 2,875 sibling relations, and a JSONL provenance manifest. [#38, #39]
  • The bundled reference dictionary now carries reproducible typed source evidence. Explicit dictionary synonyms and formal redirects authorize alternate forms without per-entry overrides or reading-based inference. [#42, #44]

gukhanmun-wasm (Rust)

  • Accepted runtime dictionary entries from the JavaScript binding: a dictionary record now carries either a compiled artifact or an entry list that becomes a MapDictionary, so callers need no compiled artifact for readings computed at runtime. Malformed entry lists report invalid-input with the offending entry index. [#33, #34]
  • Added ignoreDictionaryRequiredHanja to the WebAssembly converter options. It omits hanja glosses required only by dictionary entries in "hangul-only" mode when enabled. [#81, #86]
  • Added load_dictionary() to share a parsed dictionary across converters without sharing their overrides or rendering options. [#80, #83]
  • Added source-attested phrase resolution in conversion and streaming, including licensed complete verb forms and strict phrase spacing, while preserving complete candidate metadata and source-policy eligibility. Load @gukhanmun/stdict-fst or @gukhanmun/stdict-cdb through dictionaries to use bundled constraints: 無條件降服 now uses the attested 무조건항복 reading. Custom dictionaries can also carry constraints; ambiguous readings without matching evidence keep their existing defaults. [#41, #45]
  • Added support for version 4 FST/CDB dictionaries carrying candidate-linked source evidence or phrase constraints, while retaining support for older files. [#41, #42, #44, #45]
  • Added the annotationGranularity setting to the Wasm bridge. Use "hanja-run" to gloss only the hanja runs of a mixed-script word when the reading can be split uniquely. Otherwise, the gloss covers the whole word. [#84, #85]
  • Fixed CDB and FST dictionary loading to reject metadata that exceeds decoded-allocation admission budgets before expanding aliases or typed evidence. Small files with many alias rows can no longer bypass loading limits through metadata expansion. Dictionaries with 32,768 distinct short aliases remain loadable within the same admission budgets. [#48, #15, #55]
  • Fixed CDB dictionary loading to reject malformed file layouts with a dictionary-load error. Crafted hash tables can no longer force long lookup probe loops during conversion. [#48, #15, #55]
  • Changed CDB loading to reject dictionaries whose record index requests more than 64 MiB, before allocating the index. Loaded file bytes, decoded metadata and payloads, and allocator overhead use additional memory. [#48, #15, #55]
  • Fixed FST dictionary loading to limit the number of accepted keys, their total byte length and traversal work before enumerating keys, even when maximum-length metadata is supplied. Files exceeding these limits now fail to load. [#48, #15, #55]
  • Fixed lattice streaming for overlapping dictionary matches so chunk boundaries do not change the selected segmentation. Ambiguous prefixes may remain buffered until a word boundary or EOF settles the path. [#42, #44]
  • WebAssembly converters now default to reference-authorized source cooperation and expose policy, reference-only eligibility and explicit dictionary roles through their JavaScript options. [#42, #44]

@gukhanmun/cli (JavaScript/TypeScript)

  • Added --annotation-granularity hanja-run to gloss only the hanja runs of mixed-script words when their readings can be split uniquely. [#84, #85]
  • Added --ignore-dictionary-required-hanja to omit hanja glosses required only by dictionary entries in hangul-only output. [#81, #86]
  • Added the dictionary-bundled gukhanmun converter and the gukhanmun-mkdict FST/CDB dictionary builder through npm install -g @gukhanmun/cli, without Rust or installation scripts. Node.js 22 or later and optional dependencies are required. The package includes five-shell completions and supports macOS, Windows and Linux on x64/arm64. With two commands installed, select either explicitly with npx --package @gukhanmun/cli gukhanmun or npx --package @gukhanmun/cli gukhanmun-mkdict. gukhanmun --print-completion-path SHELL locates a packaged completion script. Development builds are available through @dev. On first publication, npm may also assign latest to the initial development version; later development publications leave latest unchanged. [#71, #77]

@gukhanmun/cli-aarch64-apple-darwin (JavaScript/TypeScript)

  • Added bundled macOS arm64 gukhanmun and gukhanmun-mkdict executables, selected automatically when installing @gukhanmun/cli with optional dependencies enabled. The converter and dictionary builder have matching versions and independently verified hashes. [#71, #77]

@gukhanmun/cli-aarch64-pc-windows-msvc (JavaScript/TypeScript)

  • Added bundled Windows arm64 gukhanmun and gukhanmun-mkdict executables, selected automatically when installing @gukhanmun/cli with optional dependencies enabled. The converter and dictionary builder have matching versions and independently verified hashes. [#71, #77]

@gukhanmun/cli-aarch64-unknown-linux-musl (JavaScript/TypeScript)

  • Added bundled static Linux arm64 gukhanmun and gukhanmun-mkdict executables for musl and compatible glibc hosts, selected automatically by @gukhanmun/cli with optional dependencies enabled. The converter and dictionary builder have matching versions and independently verified hashes. [#71, #77]

@gukhanmun/cli-x86_64-apple-darwin (JavaScript/TypeScript)

  • Added bundled macOS x64 gukhanmun and gukhanmun-mkdict executables, selected automatically when installing @gukhanmun/cli with optional dependencies enabled. The converter and dictionary builder have matching versions and independently verified hashes. [#71, #77]

@gukhanmun/cli-x86_64-pc-windows-msvc (JavaScript/TypeScript)

  • Added bundled Windows x64 gukhanmun and gukhanmun-mkdict executables, selected automatically when installing @gukhanmun/cli with optional dependencies enabled. The converter and dictionary builder have matching versions and independently verified hashes. [#71, #77]

@gukhanmun/cli-x86_64-unknown-linux-musl (JavaScript/TypeScript)

  • Added bundled static Linux x64 gukhanmun and gukhanmun-mkdict executables for musl and compatible glibc hosts, selected automatically by @gukhanmun/cli with optional dependencies enabled. The converter and dictionary builder have matching versions and independently verified hashes. [#71, #77]

@gukhanmun/loanwords-cdb (JavaScript/TypeScript)

  • The official CDB loader now declares the loanword role and ships typed contributor evidence for reference-authorized cooperation. Evidence-bearing dictionaries require version 4 readers. [#42, #44]

@gukhanmun/loanwords-fst (JavaScript/TypeScript)

  • The official FST loader now declares the loanword role and ships typed contributor evidence for reference-authorized cooperation. Evidence-bearing dictionaries require version 4 readers. [#42, #44]

@gukhanmun/napi (JavaScript/TypeScript)

  • Accepted MapDictionarySource entry lists in dictionaries, building them as in-memory dictionaries without a compiled artifact or a gukhanmun-mkdict run. Malformed entry lists reject with invalid-input. [#33, #34]
  • Added annotationGranularity: "hanja-run" to load() to gloss only the hanja runs of a mixed-script word when the reading can be split uniquely. Whole-word glosses remain the default and are used when no unique split is available. [#84, #85]
  • Added ignoreDictionaryRequiredHanja: true to load() to omit hanja glosses required only by dictionary entries in "hangul-only" mode. [#81, #86]
  • Added loadDictionary() to share a parsed dictionary across converters without sharing their overrides or rendering options. [#80, #83]
  • Added media types to convert() and stream(): "text/plain", "text/html", "text/markdown", and "text/markdown; variant=GFM". The old format strings and Markdown objects are deprecated and will be removed in 1.0. Switch to media types. To find old calls at runtime, enable LogTape warnings in ["gukhanmun", "format"]. [#87, #91]
  • Added recognition of reviewed compound aliases. Sibling spellings share homophone identity and count as one lexeme for first-occurrence filtering. [#38, #39]
  • Added source-attested phrase resolution in conversion and streaming, including licensed complete verb forms and strict phrase spacing. Load @gukhanmun/stdict-fst or @gukhanmun/stdict-cdb through dictionaries to use bundled constraints: 無條件降服 now uses the attested 무조건항복 reading. Custom dictionaries can also carry constraints; ambiguous readings without matching evidence keep their existing defaults. [#41, #45]
  • Added support for version 4 FST/CDB dictionaries carrying candidate-linked source evidence or phrase constraints, while retaining support for older files. [#41, #42, #44, #45]
  • Converters now default to reference-authorized source cooperation. Configure sourcePolicy, referenceOnly and dictionary descriptor roles; ordered restores legacy dictionary-array precedence. [#42, #44]
  • Fixed CDB and FST dictionary loading to reject metadata that exceeds decoded-allocation admission budgets before expanding aliases or typed evidence. Small files with many alias rows can no longer bypass loading limits through metadata expansion. Dictionaries with 32,768 distinct short aliases remain loadable within the same admission budgets. [#48, #15, #55]
  • Fixed CDB dictionary loading to reject malformed file layouts with a dictionary-load error. Crafted hash tables can no longer force long lookup probe loops during conversion. [#48, #15, #55]
  • Changed CDB loading to reject dictionaries whose record index requests more than 64 MiB, before allocating the index. Loaded file bytes, decoded metadata and payloads, and allocator overhead use additional memory. [#48, #15, #55]
  • Fixed FST dictionary loading to limit the number of accepted keys, their total byte length and traversal work before enumerating keys, even when maximum-length metadata is supplied. Files exceeding these limits now fail to load. [#48, #15, #55]
  • Fixed lattice streaming for overlapping dictionary matches so chunk boundaries do not change the selected segmentation. Ambiguous prefixes may remain buffered until a word boundary or EOF settles the path. [#42, #44]

@gukhanmun/napi-aarch64-apple-darwin (JavaScript/TypeScript)

  • Fixed CDB and FST dictionary loading to reject metadata that exceeds decoded-allocation admission budgets before expanding aliases or typed evidence. Small files with many alias rows can no longer bypass loading limits through metadata expansion. Dictionaries with 32,768 distinct short aliases remain loadable within the same admission budgets. [#48, #15, #55]
  • Fixed CDB dictionary loading to reject malformed file layouts with a dictionary-load error. Crafted hash tables can no longer force long lookup probe loops during conversion. [#48, #15, #55]
  • Changed CDB loading to reject dictionaries whose record index requests more than 64 MiB, before allocating the index. Loaded file bytes, decoded metadata and payloads, and allocator overhead use additional memory. [#48, #15, #55]
  • Fixed FST dictionary loading to limit the number of accepted keys, their total byte length and traversal work before enumerating keys, even when maximum-length metadata is supplied. Files exceeding these limits now fail to load. [#48, #15, #55]

@gukhanmun/napi-aarch64-pc-windows-msvc (JavaScript/TypeScript)

  • Fixed CDB and FST dictionary loading to reject metadata that exceeds decoded-allocation admission budgets before expanding aliases or typed evidence. Small files with many alias rows can no longer bypass loading limits through metadata expansion. Dictionaries with 32,768 distinct short aliases remain loadable within the same admission budgets. [#48, #15, #55]
  • Fixed CDB dictionary loading to reject malformed file layouts with a dictionary-load error. Crafted hash tables can no longer force long lookup probe loops during conversion. [#48, #15, #55]
  • Changed CDB loading to reject dictionaries whose record index requests more than 64 MiB, before allocating the index. Loaded file bytes, decoded metadata and payloads, and allocator overhead use additional memory. [#48, #15, #55]
  • Fixed FST dictionary loading to limit the number of accepted keys, their total byte length and traversal work before enumerating keys, even when maximum-length metadata is supplied. Files exceeding these limits now fail to load. [#48, #15, #55]

@gukhanmun/napi-aarch64-unknown-linux-gnu (JavaScript/TypeScript)

  • Fixed CDB and FST dictionary loading to reject metadata that exceeds decoded-allocation admission budgets before expanding aliases or typed evidence. Small files with many alias rows can no longer bypass loading limits through metadata expansion. Dictionaries with 32,768 distinct short aliases remain loadable within the same admission budgets. [#48, #15, #55]
  • Fixed CDB dictionary loading to reject malformed file layouts with a dictionary-load error. Crafted hash tables can no longer force long lookup probe loops during conversion. [#48, #15, #55]
  • Changed CDB loading to reject dictionaries whose record index requests more than 64 MiB, before allocating the index. Loaded file bytes, decoded metadata and payloads, and allocator overhead use additional memory. [#48, #15, #55]
  • Fixed FST dictionary loading to limit the number of accepted keys, their total byte length and traversal work before enumerating keys, even when maximum-length metadata is supplied. Files exceeding these limits now fail to load. [#48, #15, #55]

@gukhanmun/napi-x86_64-apple-darwin (JavaScript/TypeScript)

  • Fixed CDB and FST dictionary loading to reject metadata that exceeds decoded-allocation admission budgets before expanding aliases or typed evidence. Small files with many alias rows can no longer bypass loading limits through metadata expansion. Dictionaries with 32,768 distinct short aliases remain loadable within the same admission budgets. [#48, #15, #55]
  • Fixed CDB dictionary loading to reject malformed file layouts with a dictionary-load error. Crafted hash tables can no longer force long lookup probe loops during conversion. [#48, #15, #55]
  • Changed CDB loading to reject dictionaries whose record index requests more than 64 MiB, before allocating the index. Loaded file bytes, decoded metadata and payloads, and allocator overhead use additional memory. [#48, #15, #55]
  • Fixed FST dictionary loading to limit the number of accepted keys, their total byte length and traversal work before enumerating keys, even when maximum-length metadata is supplied. Files exceeding these limits now fail to load. [#48, #15, #55]

@gukhanmun/napi-x86_64-pc-windows-msvc (JavaScript/TypeScript)

  • Fixed CDB and FST dictionary loading to reject metadata that exceeds decoded-allocation admission budgets before expanding aliases or typed evidence. Small files with many alias rows can no longer bypass loading limits through metadata expansion. Dictionaries with 32,768 distinct short aliases remain loadable within the same admission budgets. [#48, #15, #55]
  • Fixed CDB dictionary loading to reject malformed file layouts with a dictionary-load error. Crafted hash tables can no longer force long lookup probe loops during conversion. [#48, #15, #55]
  • Changed CDB loading to reject dictionaries whose record index requests more than 64 MiB, before allocating the index. Loaded file bytes, decoded metadata and payloads, and allocator overhead use additional memory. [#48, #15, #55]
  • Fixed FST dictionary loading to limit the number of accepted keys, their total byte length and traversal work before enumerating keys, even when maximum-length metadata is supplied. Files exceeding these limits now fail to load. [#48, #15, #55]

@gukhanmun/napi-x86_64-unknown-linux-gnu (JavaScript/TypeScript)

  • Fixed CDB and FST dictionary loading to reject metadata that exceeds decoded-allocation admission budgets before expanding aliases or typed evidence. Small files with many alias rows can no longer bypass loading limits through metadata expansion. Dictionaries with 32,768 distinct short aliases remain loadable within the same admission budgets. [#48, #15, #55]
  • Fixed CDB dictionary loading to reject malformed file layouts with a dictionary-load error. Crafted hash tables can no longer force long lookup probe loops during conversion. [#48, #15, #55]
  • Changed CDB loading to reject dictionaries whose record index requests more than 64 MiB, before allocating the index. Loaded file bytes, decoded metadata and payloads, and allocator overhead use additional memory. [#48, #15, #55]
  • Fixed FST dictionary loading to limit the number of accepted keys, their total byte length and traversal work before enumerating keys, even when maximum-length metadata is supplied. Files exceeding these limits now fail to load. [#48, #15, #55]

@gukhanmun/opendict-cdb (JavaScript/TypeScript)

  • Ship the general and North Korean Open Korean Dictionary data as format version 3 with per-category compound alias metadata. Load it with a reader that understands version 3. [#38, #39]
  • The official category CDB loader now declares the reference role. Legacy artifacts without typed relation evidence retain conservative reference readings under cooperating policies. [#42, #44]

@gukhanmun/opendict-fst (JavaScript/TypeScript)

  • Ship the general and North Korean Open Korean Dictionary data as format version 3 with per-category compound alias metadata. Load it with a reader that understands version 3. [#38, #39]
  • The official category FST loader now declares the reference role. Legacy artifacts without typed relation evidence retain conservative reference readings under cooperating policies. [#42, #44]

@gukhanmun/stdict-cdb (JavaScript/TypeScript)

  • Added compound alias metadata, typed source evidence, and source-attested phrase constraints to the bundled Standard Korean Dictionary data. 無條件降服 now uses the attested 무조건항복 reading; ambiguous readings without matching phrase evidence keep their existing defaults. The data uses format version 4 and requires a reader supporting both source and phrase evidence. The official loader declares the reference role for reference-authorized source cooperation. [#38, #39, #41, #42, #44, #45]
  • Changed the official CDB loader to load compressed stdict.cdb.gz by default. Custom URLs can supply raw or gzip data, and the npm package retains the raw stdict.cdb export. [#42, #44]

@gukhanmun/stdict-fst (JavaScript/TypeScript)

  • Added compound alias metadata, typed source evidence, and source-attested phrase constraints to the bundled Standard Korean Dictionary data. 無條件降服 now uses the attested 무조건항복 reading; ambiguous readings without matching phrase evidence keep their existing defaults. The data uses format version 4 and requires a reader supporting both source and phrase evidence. The official loader declares the reference role for reference-authorized source cooperation. [#38, #39, #41, #42, #44, #45]

@gukhanmun/types (JavaScript/TypeScript)

  • Added LoadedDictionary and GukhanmunLoadOptions for mixing loaded dictionaries with existing sources without changing GukhanmunOptions. [#80, #83]
  • Added MediaType for the four canonical format strings that convert() and stream() accept. The legacy format strings and Markdown objects are deprecated. Format includes them only for compatibility until their removal in 1.0. [#87, #91]
  • Added ignoreDictionaryRequiredHanja to the shared converter options. [#81, #86]
  • Added sourcePolicy, referenceOnly and explicit dictionary role options. File descriptors can inherit roles from embedded evidence; entry descriptors and untagged legacy files default to authored overrides. [#42, #44]
  • Added the AnnotationGranularity type and the annotationGranularity option for selecting whole-word or hanja-run glosses. [#84, #85]
  • Added the MapDictionarySource dictionary variant for entries computed at runtime, and added the suffixReading and preference fields to DictionaryEntry. DictionarySource now accepts either the file or the entry-list shape. [#33, #34]

@gukhanmun/wasm (JavaScript/TypeScript)

  • Accepted MapDictionarySource entry lists in dictionaries, building them as in-memory dictionaries without a compiled artifact or a gukhanmun-mkdict run. Malformed entry lists reject with invalid-input. [#33, #34]
  • Added annotationGranularity: "hanja-run" to load() to gloss only the hanja runs of a mixed-script word when the reading can be split uniquely. Whole-word glosses remain the default and are used when no unique split is available. [#84, #85]
  • Added ignoreDictionaryRequiredHanja: true to load() to omit hanja glosses required only by dictionary entries in "hangul-only" mode. [#81, #86]
  • Added loadDictionary() to share a parsed dictionary across converters without sharing their overrides or rendering options. [#80, #83]
  • Added media types to convert() and stream(): "text/plain", "text/html", "text/markdown", and "text/markdown; variant=GFM". The old format strings and Markdown objects are deprecated and will be removed in 1.0. Switch to media types. To find old calls at runtime, enable LogTape warnings in ["gukhanmun", "format"]. [#87, #91]
  • Added recognition of reviewed compound aliases. Sibling spellings share homophone identity and count as one lexeme for first-occurrence filtering. [#38, #39]
  • Added source-attested phrase resolution in conversion and streaming, including licensed complete verb forms and strict phrase spacing. Load @gukhanmun/stdict-fst or @gukhanmun/stdict-cdb through dictionaries to use bundled constraints: 無條件降服 now uses the attested 무조건항복 reading. Custom dictionaries can also carry constraints; ambiguous readings without matching evidence keep their existing defaults. [#41, #45]
  • Added support for version 4 FST/CDB dictionaries carrying candidate-linked source evidence or phrase constraints, while retaining support for older files. [#41, #42, #44, #45]
  • Converters now default to reference-authorized source cooperation. Configure sourcePolicy, referenceOnly and dictionary descriptor roles; ordered restores legacy dictionary-array precedence. [#42, #44]
  • Fixed CDB and FST dictionary loading to reject metadata that exceeds decoded-allocation admission budgets before expanding aliases or typed evidence. Small files with many alias rows can no longer bypass loading limits through metadata expansion. Dictionaries with 32,768 distinct short aliases remain loadable within the same admission budgets. [#48, #15, #55]
  • Fixed CDB dictionary loading to reject malformed file layouts with a dictionary-load error. Crafted hash tables can no longer force long lookup probe loops during conversion. [#48, #15, #55]
  • Changed CDB loading to reject dictionaries whose record index requests more than 64 MiB, before allocating the index. Loaded file bytes, decoded metadata and payloads, and allocator overhead use additional memory. [#48, #15, #55]
  • Fixed FST dictionary loading to limit the number of accepted keys, their total byte length and traversal work before enumerating keys, even when maximum-length metadata is supplied. Files exceeding these limits now fail to load. [#48, #15, #55]
  • Fixed lattice streaming for overlapping dictionary matches so chunk boundaries do not change the selected segmentation. Ambiguous prefixes may remain buffered until a word boundary or EOF settles the path. [#42, #44]

gukhanmun (Python)

  • Added a Python 3.11+ Converter API for plain text, HTML and Markdown, with reusable immutable settings, standard-library enums, punctuation profiles, literal directives, HTML preservation rules and type annotations. Set annotation_granularity=AnnotationGranularity.HANJA_RUN to gloss only the hanja runs of mixed-script words when the reading can be split uniquely. Whole-word glosses remain the default. MarkdownOptions(gfm=True) enables GFM. Conversion releases the GIL, and a single Converter can be reused from multiple threads at once. Python signals are checked after native conversion returns, so long conversions can delay KeyboardInterrupt. [#48, #15, #55, #84, #85, #81, #86]
  • Added MapDictionarySource for competing in-memory readings and FileDictionarySource for FST/CDB bytes or filesystem paths. Dictionaries load once at converter construction; conversion performs no dictionary I/O. Configure source_policy, reference_only and source roles to control reference-authorized cooperation; authored overrides remain authoritative. Compiled dictionaries support compound aliases, source evidence and phrase constraints, including version 4 data. [#48, #15, #55, #80, #83]
  • Added UrlDictionarySource for HTTP(S) dictionaries with configurable max_bytes (64 MiB by default), a response-reading total_timeout (30 seconds by default) shared across redirects, and a per-operation timeout. Exceeding max_bytes or total_timeout raises DICTIONARY_LOAD with an IO cause. Synchronous DNS lookup or connection setup can delay cancellation beyond total_timeout. Redirects must retain the initial URL's scheme, hostname and effective port; other origins raise INVALID_INPUT before a request is sent, so configure their final URL directly. Rejected redirect responses are closed. [#48, #15, #55]
  • Added validated FST/CDB loading with DICTIONARY_LOAD errors for malformed layouts or excessive resource requirements. CDB loading checks file layouts before use, prevents crafted hash tables from forcing long lookup probe loops, and rejects record indexes requesting more than 64 MiB before allocation. FST loading limits accepted keys, their total byte length and traversal work before enumeration, even with maximum-length metadata. Both formats check decoded-allocation admission budgets before expanding aliases or typed evidence; 32,768 distinct short aliases remain loadable within those budgets. These limits do not bound total process memory: file bytes, decoded payloads and allocator overhead have additional costs. [#48, #15, #55]
  • Added buffered Converter.stream() and Converter.convert_iter() methods for chunked text, HTML and Markdown input. Streams produce output only at finish() and reject reuse after completion or failure; they are neither asynchronous nor bounded-memory streams. convert_iter() finalizes only after normal input exhaustion, not after an upstream error or early close. [#48, #15, #55]
  • Added mise run py-sync-version and integrated Python metadata and uv.lock into workspace version bumps. [#48, #15, #55]
  • Added structured GukhanmunError exceptions with codes, messages and immutable cause tuples, preserved when copying or pickling errors, including errors returned from process workers. chain retains underlying parser causes for malformed FST/CDB data, such as an undecodable FST map or dictionary metadata; errors without an underlying cause have an empty chain. [#48, #49, #15, #55, #57]
  • Added a standalone gukhanmun source distribution. It builds with a Rust 1.95 or later toolchain and a PEP 517 frontend such as pip, without the repository checkout, Git metadata or any dictionary source data. [#51, #15, #58]
  • Added gukhanmun wheels, so common platforms install without a Rust toolchain. One abi3 wheel per platform supports CPython 3.11 and later on Linux with glibc 2.28 or later and with musl 1.2 or later (x86_64 and aarch64), on macOS 11 or later (x86_64 and arm64) and on Windows 10 or later (AMD64 and ARM64). Separate wheels support PyPy 3.11 and 3.12 (PyPy 8.0) on the glibc Linux and macOS platforms and on Windows AMD64. Each wheel is installed and tested on its own platform and architecture; interpreter-specific OS requirements still apply. Free-threaded CPython is unsupported. There are no wheels for PyPy on musl or Windows ARM64. [#51, #15, #58]
  • Added the stdict, opendict and loanwords extras, which install the FST data of the Standard Korean Language Dictionary, the Open Korean Dictionary and the NIKL loanword spelling examples, and the format-specific stdict-fst, stdict-cdb, opendict-fst, opendict-cdb, loanwords-fst and loanwords-cdb extras; for example, pip install 'gukhanmun[stdict]'. Each extra pins its data distribution to exactly the version of gukhanmun. Installing an extra does not add a dictionary to any converter, and neither preset loads official data. [#49, #15, #57]
  • Added the gukhanmun.dictionaries module for activating the installed official dictionaries explicitly: stdict(), opendict_general(), opendict_north_korean(), opendict_dialect(), opendict_archaic() and loanwords() return a FileDictionarySource for Converter(dictionaries=[...]) with the REFERENCE or LOANWORD source role, and the matching *_bytes() functions return the dictionary bytes alone. Each takes a keyword-only format=DictionaryFormat.FST or DictionaryFormat.CDB, reads its data through importlib.resources into owned bytes and decompresses bundled gzip data. A missing data distribution raises GukhanmunError with ErrorCode.DICTIONARY_LOAD and the pip install command for its extra. Each resource is checked against the size and SHA-256 hash in its distribution's provenance.json, so a damaged installation, such as a missing, altered or corrupt resource, raises the same code with a pip install --force-reinstall command and any original cause in chain. [#49, #15, #57]

gukhanmun-cli (Python)

  • Added --annotation-granularity hanja-run to gloss only the hanja runs of mixed-script words when their readings can be split uniquely. [#84, #85]
  • Added --ignore-dictionary-required-hanja to omit hanja glosses required only by dictionary entries in hangul-only output. [#81, #86]
  • Added standalone CLI wheels for Python 3.11 or later on Linux with glibc 2.28 or musl 1.2 or later, macOS 11 or later, and Windows, on x86_64 and aarch64. Install with pipx install gukhanmun-cli or uv tool install gukhanmun-cli, without Rust or the Python library's dictionary packages. The wheels include the gukhanmun and gukhanmun-mkdict executables, bundled dictionaries and shell completion resources for gukhanmun; no source distribution or runtime executable download is used. [#72, #76]
  • Added opt-in development releases with PEP 440 versions. Install with uv tool install --prerelease allow gukhanmun-cli or pipx install --pip-args='--pre' gukhanmun-cli; ordinary installation prefers a compatible stable release when one exists. [#72, #76]

gukhanmun-loanwords-cdb (Python)

  • Added the gukhanmun-loanwords-cdb distribution, which bundles NIKL loanword spelling examples data as Gukhanmun CDB binaries in the gukhanmun_loanwords_cdb resource package. It is a platform-independent wheel with no dependencies and does not import gukhanmun. The distribution includes the license and attribution of its data, and provenance.json records the source snapshot and the hashes of the bundled files. [#49, #15, #57]

gukhanmun-loanwords-fst (Python)

  • Added the gukhanmun-loanwords-fst distribution, which bundles NIKL loanword spelling examples data as Gukhanmun FST binaries in the gukhanmun_loanwords_fst resource package. It is a platform-independent wheel with no dependencies and does not import gukhanmun. The distribution includes the license and attribution of its data, and provenance.json records the source snapshot and the hashes of the bundled files. [#49, #15, #57]

gukhanmun-opendict-cdb (Python)

  • Added the gukhanmun-opendict-cdb distribution, which bundles Open Korean Dictionary (우리말샘) data in all four categories (general, North Korean, dialect and archaic words) as Gukhanmun CDB binaries in the gukhanmun_opendict_cdb resource package. It is a platform-independent wheel with no dependencies and does not import gukhanmun. The distribution includes the license and attribution of its data, and provenance.json records the source snapshot and the hashes of the bundled files. Its CDB files are stored gzip-compressed. [#49, #15, #57]

gukhanmun-opendict-fst (Python)

  • Added the gukhanmun-opendict-fst distribution, which bundles Open Korean Dictionary (우리말샘) data in all four categories (general, North Korean, dialect and archaic words) as Gukhanmun FST binaries in the gukhanmun_opendict_fst resource package. It is a platform-independent wheel with no dependencies and does not import gukhanmun. The distribution includes the license and attribution of its data, and provenance.json records the source snapshot and the hashes of the bundled files. [#49, #15, #57]

gukhanmun-stdict-cdb (Python)

  • Added the gukhanmun-stdict-cdb distribution, which bundles Standard Korean Language Dictionary (標準國語大辭典) data as Gukhanmun CDB binaries in the gukhanmun_stdict_cdb resource package. It is a platform-independent wheel with no dependencies and does not import gukhanmun. The distribution includes the license and attribution of its data, and provenance.json records the source snapshot and the hashes of the bundled files. Its CDB files are stored gzip-compressed. [#49, #15, #57]

gukhanmun-stdict-fst (Python)

  • Added the gukhanmun-stdict-fst distribution, which bundles Standard Korean Language Dictionary (標準國語大辭典) data as Gukhanmun FST binaries in the gukhanmun_stdict_fst resource package. It is a platform-independent wheel with no dependencies and does not import gukhanmun. The distribution includes the license and attribution of its data, and provenance.json records the source snapshot and the hashes of the bundled files. [#49, #15, #57]

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/markdown now preserves escapes and character references in source text both before and after the Hongdown formatting pass. [#35, #36]
  • --format text/html and --format text/markdown now escape dictionary readings. [GHSA-j87h-8h88-wm6g]

gukhanmun-core

  • Marked annotation-derived text with the new RenderedToken::Annotated variant 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 matches RenderedToken exhaustively; 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 &amp; and &lt; 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") and stream("html") escape dictionary readings. [GHSA-j87h-8h88-wm6g]

@gukhanmun/wasm

  • Markdown conversion escapes source text. [#35, #36]
  • convert(..., "html") and stream("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 complete RenderOptions replace both settings. [#11, #12]
  • Added Builder::punctuation() with preserve, modern, traditional, and traditional-vertical output 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 Engine streaming boundaries: a sole non-block root Close with pending text is emitted at the next token, flush(), or finish(). finish() supplies EOF evidence while flush() 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 MapDictionary suffixes. [#19, #22]
  • Added competing readings to the bundled Open Korean Dictionary data, preserving existing default choices and dictionary priority. [#21, #24]
  • Added the loanwords feature, loanwords module and Builder::bundled_loanwords() to compose loanword examples after user dictionaries and before preset dictionaries. The loanwords feature is enabled by default; ko-kr includes the dictionary automatically, while ko-kp leaves it disabled. Use Builder::no_bundled_loanwords() to disable only this dictionary. Builds without default features must enable loanwords or call Builder::no_bundled_loanwords() for ko-kr; otherwise build() returns Error::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-set for selecting as-dictionary, shinjitai, kanxi, simplified, or asahimoji whenever the selected rendering mode emits hanja. [#11, #12]
  • Added --punctuation and --punctuation-profile to 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-loanwords to disable them, or --loanwords to enable them for ko-kp. --no-bundled-dictionaries disables 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, and MapDictionary::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 Engine streaming boundaries: a sole non-block root Close with pending text is emitted at the next token, flush(), or finish(). finish() supplies EOF evidence while flush() 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 HanjaVariantSet with AsDictionary, Shinjitai, Kanxi, Simplified, and Asahimoji output 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 PunctuationProfile and the post-annotation PunctuationNormalizer. 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-cli for offline commands or loanwords-collect for HTTPS collection using NIKL_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 HtmlPunctuationTextCodec for 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 MarkdownWriteOptions and write_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 preference and suffix_reading in TSV/CSV, or preference and suffixReading in 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 punctuationJson option and punctuationProfileJson() 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.zip and mise 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-extract to regenerate and mise run stdict-extract-check to 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 punctuationJson option and punctuation_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-cdb to load the bundled NIKL loanword examples through loanwordsCdb() 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-fst to load the bundled NIKL loanword examples through loanwordsFst() 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 hanjaVariantSet converter option for selecting the hanja spelling emitted by the Node-API binding. [#11, #12]
  • Added the punctuation option for built-in and custom output profiles, including HTML character references. Resolved styles are available as a copied, deeply frozen options.punctuation view. 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 through Gukhanmun.options.punctuation. [#27, #28]
  • Added the HanjaVariantSet type and the hanjaVariantSet field on GukhanmunOptions for 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 hanjaVariantSet converter option for selecting the hanja spelling emitted by the WebAssembly binding. [#11, #12]
  • Added the punctuation option for built-in and custom output profiles, including HTML character references. Resolved styles are available as a copied, deeply frozen options.punctuation view. 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::Annotated variant 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 matches RenderedToken exhaustively; 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 &amp; and &lt; 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/markdown now preserves escapes and character references in source text both before and after the Hongdown formatting pass. [#35, #36]
  • --format text/html and --format text/markdown now 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") and stream("html") escape dictionary readings. [GHSA-j87h-8h88-wm6g]

@gukhanmun/wasm

  • Markdown conversion escapes source text. [#35, #36]
  • convert(..., "html") and stream("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_parens opt-out disables it. [#3, #4]
  • Added the opendict feature and made the ko-kp preset include the bundled Open Korean Dictionary (우리말샘) North Korean (北韓語) category by default. Added Builder::no_bundled_dictionaries() to disable every preset-selected bundled dictionary, plus Builder::no_bundled_stdict() and Builder::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::PositionalArabic now renders dates such as 二〇二六年 六月 二〇日 as 2026년 6월 20일, while NumeralStrategy::HangulPhonetic, the default library preset strategy, still keeps lexicalized dictionary readings such as 六月 as 유월. NumeralStrategy::Smart also 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 TrivialDictionary segment variant for single-character dictionary matches that carry no special rendering marks, and the engine merges consecutive TrivialDictionary and Fallback segments into a single annotation without losing from_dictionary provenance 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 a from_source_gloss flag here). Construct it from Annotation::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-stdict and gukhanmun-opendict now 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-parens flag disables it. [#3, #4]
  • Changed the CLI default for --numerals to smart, so omitted numeral options render dates such as 二〇二六年 六月 二〇日 as 2026년 6월 20일. Pass --numerals hangul-phonetic to keep Seonbi-style phonetic calendar readings such as 六月 as 유월.
  • The ko-kp preset 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(), and archaic() FST dictionaries so callers can compose the categories explicitly with ChainDictionary. [#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 collapseRedundantParens option 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 collapseRedundantParens option 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 FileDictionarySource helpers. 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 FileDictionarySource helpers. [#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::Annotated variant 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 matches RenderedToken exhaustively; 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 &amp; and &lt; 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/markdown now preserves escapes and character references in source text both before and after the Hongdown formatting pass. [#35, #36]
  • --format text/html and --format text/markdown now 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") and stream("html") escape dictionary readings. [GHSA-j87h-8h88-wm6g]

@gukhanmun/wasm

  • Markdown conversion escapes source text. [#35, #36]
  • convert(..., "html") and stream("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.