lindera-dictionary breaking changes
lindera-dictionary 7.0.0 (November 21, 2026) is its newest release with breaking changes, 69 of them. The first: Removed LINDERA_DICTIONARIES_PATH. Every breaking API change we have recorded in lindera-dictionary on crates.io: 69 breaking changes in 1 version. Below, its one version with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version 7.3.0, released December 2, 2026. Source repository
Packages on crates.io run on Rust. Rust end of life dates.
lindera-dictionary 7.0.0 breaking changes
- Removed
LINDERA_DICTIONARIES_PATH
The deprecated LINDERA_DICTIONARIES_PATH alias is removed in this release. Code or environment settings that rely on it must switch to the current variable. github.com - Removed
lindera_dictionary::assets::FetchParams::md5_hash
FetchParams::md5_hash is replaced by FetchParams::sha256, which takes a SHA-256 digest. crates.io - Removed
lindera_dictionary::builder::prefix_dictionary::PrefixDictionaryBuilderOptions::normalize_details
lindera_dictionary::builder::prefix_dictionary::PrefixDictionaryBuilderOptions::normalize_details was removed in lindera-dictionary 7.0.0 crates.io - Removed
lindera_dictionary::dictionary::metadata::Metadata::normalize_details
The normalize_details setting is removed from the Rust API and the bindings, so code that passes or reads it must drop it. crates.io - Removed
lindera_dictionary::dictionary::unknown_dictionary::UnknownDictionary::compatible_unk_index
lindera_dictionary::dictionary::unknown_dictionary::UnknownDictionary::compatible_unk_index was removed in lindera-dictionary 7.0.0 crates.io - Removed
lindera_dictionary::dictionary::unknown_dictionary::UnknownDictionary::gen_unk_words
UnknownDictionary::gen_unk_words is removed; the trainer now builds unknown words from char.def and unk.def. crates.io - Removed
lindera_dictionary::dictionary::unknown_dictionary::UnkWord
unknown_dictionary::UnkWord is removed. crates.io - Removed
lindera_dictionary::dictionary::unknown_dictionary::WordIdx
unknown_dictionary::WordIdx is removed. crates.io - Removed
lindera_dictionary::include_bytes_aligned!
include_bytes_aligned! is removed from lindera-dictionary and lindera::dictionary. Embedding of matrix.mtx now uses include_bytes!. crates.io - Removed
normalize
The normalize() function and the builder option are removed along with the rewrite of dash and tilde spellings. github.com - Removed
normalize_details
normalize_details is removed. Dash and tilde spellings are now kept verbatim. github.com - Removed
SerializableModel.unk_categories
SerializableModel::unk_categories is replaced by unk_entries. github.com - Removed
SerializableModel.unk_category_names
SerializableModel::unk_category_names and unk_categories are replaced by unk_entries. github.com - Removed
token_end
Use the end byte returned by the backtrace functions instead. github.com - Removed
TrainerConfig.surface_features
Use features() instead, and build the same surface-to-feature map from it yourself. github.com - Renamed
The benchmark reads LINDERA_BENCH_DICTIONARY_METADATA_FILE; the old name is no longer read. github.com - Renamed
The WASM memory check reads MEMCHECK_WASM_PKG_DIR; the old name is no longer read. github.com - Renamed
The PHP benchmark reads BENCH_PHP_EXT_FILE; the old name is no longer read. github.com - Renamed
LINDERA_CONFIG_PATH
LINDERA_CONFIG_PATH is renamed to LINDERA_CONFIG_FILE. Update any environment settings that use the old name. github.com - Renamed
LINDERA_WORKDIR
LINDERA_WORKDIR is renamed to LINDERA_WORK_DIR. Update any environment settings that use the old name. github.com - Behavior changed
The character 〇 is now read as a numeral in Jieba. Tokenization of that character will differ. github.com - Behavior changed
With whitespace skipped, the token of an entry that ends with whitespace now includes it, and the Decompose length penalty counts it. Unique N-best keeps results that differ only in this. github.com - Behavior changed
N-best results are now searched over word boundaries instead of paths. Results can differ from earlier versions. github.com - Behavior changed
SudachiDict now uses Sudachi's char.def, which changes how unknown words are split. Check segmentation results that depend on SudachiDict. github.com - Behavior changed
The segmenter's JSON output now writes the dictionary's fields as strings. Parsers of the old JSON shape must be updated. github.com - Behavior changed
A model.dat written before this release fails to load and must be trained again. github.com - Behavior changed
The N-best result is now the whole-input N-best rather than joined ranks. Code that parsed the old N-best output must be updated. github.com - Behavior changed
Some code points, such as Ð, get different character categories, so they may no longer be skipped as whitespace. Rebuild dictionaries built with earlier versions to get the new categories. github.com - Behavior changed
Dictionary source archives are now verified against a SHA-256 rather than an MD5 checksum. github.com - Behavior changed
Dictionary directories built or downloaded with v6.2.0 or earlier are rejected and must be rebuilt or downloaded again. github.com - Behavior changed
Normal mode no longer skips unknown-word processing inside a grouped unknown word, so segmentation output can change inside runs of one character category. github.com - Behavior changed
Among equal-cost entries with the same surface, the first CSV row is output instead of the last, which can change readings and other details of such words. github.com - Behavior changed
U+2015 and U+FF5E are no longer rewritten to U+2014 and U+301C, so text spelled with the rewritten characters may no longer match entries that were found before. github.com - Behavior changed
A sentence now starts from the exits of the previous one, so 1-best and N-best output can change after these cuts inside a line. github.com - Behavior changed
Unknown words are now created at every position as MeCab does. Tokenization of unknown text will differ. github.com - Behavior changed
When two paths tie on cost and end at the same position, the one whose last word starts later is now chosen, as in MeCab, which can change segmentation output. github.com - Behavior changed
--dict
Dictionaries now download to LINDERA_DICTIONARIES_DIR/<name>. The --dict option accepts only URIs and paths, so other values are no longer accepted. github.com - Behavior changed
CharacterDefinition.lookup_categories
Unknown words are now created from the default category only and grouped with MeCab's rule. Dictionary directories built by v6.2.0 or earlier must be rebuilt. github.com - Behavior changed
ConnectionCostMatrix.row
row() now returns &[ConnectionCost] instead of &[i16]. Code that reads the row as i16 must decode each cell. github.com - Behavior changed
lindera build
lindera build now fails on lex.csv, unk.def or matrix.def entries whose context ids fall outside matrix.def, instead of building a dictionary that panics later. github.com - Behavior changed
lindera download
Dictionaries install in LINDERA_DICTIONARIES_DIR/<name> instead of the old version directories, and a dictionary from another version is downloaded again. github.com - Behavior changed
lindera tokenize
The wakati format now writes an empty line for an input line without tokens, so output lines match input lines. github.com - Behavior changed
lindera tokenize --dict
Pass a URI or a path instead. For a downloaded dictionary, pass the path that lindera download prints. github.com - Behavior changed
LINDERA_BUILD_CONTEXT_ID_FREQ_FILE
The variable is no longer read outside build scripts. Code that depended on it at runtime must change. github.com - Behavior changed
lindera-cc-cedict
Entries mixing Latin letters or digits with Chinese characters are now one word, and path costs change. A CC-CEDICT dictionary directory gets the new costs only when built from the 0.1.0-20261021 archive. github.com - Behavior changed
lindera-jieba
Jieba segmentation and costs change because the dictionary is built from mecab-jieba 0.1.3; default_word_cost is now -32768. Re-check tokenization output that relied on the old costs. github.com - Behavior changed
segment_nbest_with_lattice
N-best on an empty input now returns one result with no tokens instead of none. Code that expects no results for empty input must handle the new result. github.com - Behavior changed
Segmenter.break_characters
Unknown words no longer cross the ・ character by default. Set an empty set to keep MeCab's segmentation. github.com - Behavior changed
Segmenter.segment_nbest_with_lattice
Results from rank 2 on now change for multi-sentence input, and cost_threshold is measured from the best cost of the whole input. Re-check code that relies on earlier N-best output. github.com - Behavior changed
Token.as_value
Fields that used to be written as numbers or floats are now strings in lindera tokenize --output json. Parse them as strings. github.com
And 19 more in this version. Sign up to see every change
Related packages
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The API reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

Put your code on continuous maintenance.
Scan a public repository now, or give your agent one line.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.