---
title: "lindera-dictionary 7.0.0 Breaking Changes on crates.io"
description: "What each lindera-dictionary release removed, renamed or changed: 69 breaking changes in 1 version on crates.io, each with its source."
canonical_url: https://since.dev/packages/crates/lindera-dictionary
last_updated: 2026-12-04
---

# 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

Latest version `7.3.0`, released December 2, 2026. [Source repository](https://github.com/lindera/lindera)

Packages on crates.io run on Rust. [Rust end of life dates](https://since.dev/calendar/rust.md).

## lindera-dictionary 7.0.0 breaking changes

lindera-dictionary 7.0.0, released November 21, 2026: 69 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](https://github.com/lindera/lindera/releases/tag/v7.0.0)
- **Removed** `lindera_dictionary::assets::FetchParams::md5_hash`  

FetchParams::md5_hash is replaced by FetchParams::sha256, which takes a SHA-256 digest. [crates.io](https://crates.io/crates/lindera-dictionary/7.0.0)
- **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](https://crates.io/crates/lindera-dictionary/7.0.0)
- **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](https://crates.io/crates/lindera-dictionary/7.0.0)
- **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](https://crates.io/crates/lindera-dictionary/7.0.0)
- **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](https://crates.io/crates/lindera-dictionary/7.0.0)
- **Removed** `lindera_dictionary::dictionary::unknown_dictionary::UnkWord`  

unknown_dictionary::UnkWord is removed. [crates.io](https://crates.io/crates/lindera-dictionary/7.0.0)
- **Removed** `lindera_dictionary::dictionary::unknown_dictionary::WordIdx`  

unknown_dictionary::WordIdx is removed. [crates.io](https://crates.io/crates/lindera-dictionary/7.0.0)
- **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](https://crates.io/crates/lindera-dictionary/7.0.0)
- **Removed** `normalize`  

The normalize() function and the builder option are removed along with the rewrite of dash and tilde spellings. [github.com](https://github.com/lindera/lindera/commit/3f83558e1ee46bb9f46326cef11911dd449a532c)
- **Removed** `normalize_details`  

normalize_details is removed. Dash and tilde spellings are now kept verbatim. [github.com](https://github.com/lindera/lindera/releases/tag/v7.0.0)
- **Removed** `SerializableModel.unk_categories`  

SerializableModel::unk_categories is replaced by unk_entries. [github.com](https://github.com/lindera/lindera/commit/9e90ac347240552fa784c3353744f88a04e465eb)
- **Removed** `SerializableModel.unk_category_names`  

SerializableModel::unk_category_names and unk_categories are replaced by unk_entries. [github.com](https://github.com/lindera/lindera/commit/9e90ac347240552fa784c3353744f88a04e465eb)
- **Removed** `token_end`  

Use the end byte returned by the backtrace functions instead. [github.com](https://github.com/lindera/lindera/commit/5a0794a9f9c637202ad1c03644cd8955f2e21e33)
- **Removed** `TrainerConfig.surface_features`  

Use features() instead, and build the same surface-to-feature map from it yourself. [github.com](https://github.com/lindera/lindera/commit/033a88e2b191b3204459b3a2aac9ed44c79a76d5)
- **Renamed**  

The benchmark reads LINDERA_BENCH_DICTIONARY_METADATA_FILE; the old name is no longer read. [github.com](https://github.com/lindera/lindera/commit/b14fd584c68bece2db3d22823dee211f2f88427d)
- **Renamed**  

The WASM memory check reads MEMCHECK_WASM_PKG_DIR; the old name is no longer read. [github.com](https://github.com/lindera/lindera/commit/b14fd584c68bece2db3d22823dee211f2f88427d)
- **Renamed**  

The PHP benchmark reads BENCH_PHP_EXT_FILE; the old name is no longer read. [github.com](https://github.com/lindera/lindera/commit/b14fd584c68bece2db3d22823dee211f2f88427d)
- **Renamed** `LINDERA_CONFIG_PATH`  

LINDERA_CONFIG_PATH is renamed to LINDERA_CONFIG_FILE. Update any environment settings that use the old name. [github.com](https://github.com/lindera/lindera/releases/tag/v7.0.0)
- **Renamed** `LINDERA_WORKDIR`  

LINDERA_WORKDIR is renamed to LINDERA_WORK_DIR. Update any environment settings that use the old name. [github.com](https://github.com/lindera/lindera/releases/tag/v7.0.0)
- **Behavior changed**  

The character 〇 is now read as a numeral in Jieba. Tokenization of that character will differ. [github.com](https://github.com/lindera/lindera/releases/tag/v7.0.0)
- **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](https://github.com/lindera/lindera/commit/5a0794a9f9c637202ad1c03644cd8955f2e21e33)
- **Behavior changed**  

N-best results are now searched over word boundaries instead of paths. Results can differ from earlier versions. [github.com](https://github.com/lindera/lindera/releases/tag/v7.0.0)
- **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](https://github.com/lindera/lindera/commit/3fd3d6953a76b59ecf0887771534b9bdd34c4a91)
- **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](https://github.com/lindera/lindera/releases/tag/v7.0.0)
- **Behavior changed**  

A model.dat written before this release fails to load and must be trained again. [github.com](https://github.com/lindera/lindera/commit/505427268851e68a421ebaf173235320512744b9)
- **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](https://github.com/lindera/lindera/releases/tag/v7.0.0)
- **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](https://github.com/lindera/lindera/commit/83c65f77ca1fee90007ab581d99b00d8f246fd2a)
- **Behavior changed**  

Dictionary source archives are now verified against a SHA-256 rather than an MD5 checksum. [github.com](https://github.com/lindera/lindera/releases/tag/v7.0.0)
- **Behavior changed**  

Dictionary directories built or downloaded with v6.2.0 or earlier are rejected and must be rebuilt or downloaded again. [github.com](https://github.com/lindera/lindera/commit/4f25c73ee5f3bfd8aadcb6f4c246ba48895eee08)
- **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](https://github.com/lindera/lindera/commit/8a658dec6b0aefb72681866fc80905d990438623)
- **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](https://github.com/lindera/lindera/commit/450f25012852ade0fa2aa62e7f0bd126258c1dec)
- **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](https://github.com/lindera/lindera/commit/3f83558e1ee46bb9f46326cef11911dd449a532c)
- **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](https://github.com/lindera/lindera/commit/a0cd9457f985896a27205268b1ae8e16259187b3)
- **Behavior changed**  

Unknown words are now created at every position as MeCab does. Tokenization of unknown text will differ. [github.com](https://github.com/lindera/lindera/releases/tag/v7.0.0)
- **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](https://github.com/lindera/lindera/commit/c0848f2b83425e8bb35a189afad770db0f18972a)
- **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](https://github.com/lindera/lindera/releases/tag/v7.0.0)
- **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](https://github.com/lindera/lindera/commit/4f25c73ee5f3bfd8aadcb6f4c246ba48895eee08)
- **Behavior changed** `ConnectionCostMatrix.row`  

row() now returns &\[ConnectionCost\] instead of &\[i16\]. Code that reads the row as i16 must decode each cell. [github.com](https://github.com/lindera/lindera/commit/c3387cb21d6be54b61c0f936e774550488b37786)
- **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](https://github.com/lindera/lindera/commit/9e90ac347240552fa784c3353744f88a04e465eb)
- **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](https://github.com/lindera/lindera/commit/83aa049d45551eb2337b5a9c144fc1a8531cbde8)
- **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](https://github.com/lindera/lindera/commit/6640d8f478bcfd19c05b4c0bb5daed47b961c98a)
- **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](https://github.com/lindera/lindera/commit/83aa049d45551eb2337b5a9c144fc1a8531cbde8)
- **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](https://github.com/lindera/lindera/releases/tag/v7.0.0)
- **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](https://github.com/lindera/lindera/commit/b3dcacd7c3dc317e08ce88ee5a5933325a2d35fe)
- **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](https://github.com/lindera/lindera/commit/ab7468d3ab1b0de113a3f7dfe0e429bdc5609ba5)
- **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](https://github.com/lindera/lindera/commit/6640d8f478bcfd19c05b4c0bb5daed47b961c98a)
- **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](https://github.com/lindera/lindera/commit/c6856669d0b6ae009dfc9770ef8576706d092a34)
- **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](https://github.com/lindera/lindera/commit/72b2cacfba37ccce9711743526ac53534f9aebb5)
- **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](https://github.com/lindera/lindera/commit/d54ab916690715bcbbb100a6ac424f91c3e9e492)

And 19 more in this version. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

## Related packages

- [lindera](https://since.dev/packages/crates/lindera.md)
- [lindera-ko-dic](https://since.dev/packages/crates/lindera-ko-dic.md)
- [lindera-ipadic](https://since.dev/packages/crates/lindera-ipadic.md)

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#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.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
