Cihai

Latest version: v0.35.0

Safety actively analyzes 693883 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 9

0.31.0

What's new

- Bump UNIHAN compatibility from 11.0.0 to [15.1.0](https://www.unicode.org/reports/tr38/tr38-35.html#History) (released 2023-09-01, revision 35).
- unihan-etl: 0.29.0 -> 0.33.1

- Bump unihan-etl 0.30.1 -> 0.33.1 (366)

UNIHAN compatibility bumped to 15.1.0.

- Bump unihan-etl 0.29.0 -> 0.30.1

Fix `kRSUnicode` double apostrophes.

Development

- Strengthen linting (367)

- Add flake8-commas (COM)

- https://docs.astral.sh/ruff/rules/#flake8-commas-com
- https://pypi.org/project/flake8-commas/

- Add flake8-builtins (A)

- https://docs.astral.sh/ruff/rules/#flake8-builtins-a
- https://pypi.org/project/flake8-builtins/

- Add flake8-errmsg (EM)

- https://docs.astral.sh/ruff/rules/#flake8-errmsg-em
- https://pypi.org/project/flake8-errmsg/

Documentation

- API docs: Split into multiple pages (363)

0.30.0

Bug fixes

- `gb2312_to_euc()`: Fix `AssertionError` (361)
- `kuten_to_gb2312()`: Fix `AssertionError` (361)

CI

- Move CodeQL from advanced configuration file to GitHub's default
- ci: Add pydocstyle rule to ruff (361)

Documentation

- Add docstrings to functions, methods, classes, and packages (361)

0.29.0

_Maintenance only, no bug fixes, or new features_

Packaging

- Move pytest configuration to `pyproject.toml` (357)
- Bump Python 3.12 trove classifiers
- Packaging (poetry): Fix development dependencies

Per [Poetry's docs on managing dependencies] and `poetry check`, we had it wrong: Instead of using extras, we should create these:

toml
[tool.poetry.group.group-name.dependencies]
dev-dependency = "1.0.0"


Which we now do.

[Poetry's docs on managing dependencies]: https://python-poetry.org/docs/master/managing-dependencies/

- CI: Update action packages to fix warnings

- [dorny/paths-filter]: 2.7.0 -> 2.11.1

[dorny/paths-filter]: https://github.com/dorny/paths-filter

Development

- unihan-etl: 0.28.0 -> 0.29.0

Move from `black` to `ruff format`, CI and dev package updates

- ruff: Remove ERA / `eradicate` plugin

This rule had too many false positives to trust. Other ruff rules have been beneficial.

- Poetry: 1.6.1 -> 1.7.0

See also: https://github.com/python-poetry/poetry/blob/1.7.0/CHANGELOG.md

- Move formatting from `black` to [`ruff format`] (360)

This retains the same formatting style of `black` while eliminating a
dev dependency by using our existing rust-based `ruff` linter.

[`ruff format`]: https://docs.astral.sh/ruff/formatter/

0.28.0

_Maintenance only, no bug fixes, or new features_

Development

- unihan-etl: 0.27.0 -> 0.28.0

pytest fixture renamings

0.27.0

Bug fixes

- ci: Fix for tests (355)
- unihan-etl:

- 0.26.0 -> 0.27.0 (355)

Fix for pytest fixtures

- 0.25.0 -> 0.26.0

pytest plugin with cached UNIHAN data.

Development

- ruff: code quality improvements (354)

0.26.0

_Maintenance only, no bug fixes, or new features_

Development

- Ruff: Add additional rules, fix linting issues (353)
- unihan-etl: 0.24.0 -> 0.25.0 (ruff typing updates)

Page 2 of 9

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.