Changelog¶
You can test the unpublished version of cihai-cli before its released, see developmental releases.
pip:
$ pip install --user --upgrade --pre cihai-cli
pipx:
$ pipx install --suffix=@next cihai-cli --pip-args '\--pre' --include-deps --force
Then use
cihai@next info 好
.
cihai-cli 0.29.x (unreleased)¶
Development¶
Code quality: Use f-strings in more places (#312)
via ruff 0.4.2.
cihai-cli 0.28.0 (2024-04-06)¶
Maintenance only, no bug fixes, or new features
Documentation¶
Automatically linkify links that were previously only text.
Development¶
cihai: 0.32.0 -> 0.33.0
Ruff linting for cihai package.
cihai-cli 0.27.0 (2024-04-01)¶
Maintenance only, no bug fixes, or new features
Development¶
cihai: 0.31.0 -> 0.32.0
unihan-etl: 0.31.0 -> 0.34.0
Aggressive automated lint fixes via
ruff
(#310)via ruff v0.3.4, all automated lint fixes, including unsafe and previews were applied:
ruff check --select ALL . --fix --unsafe-fixes --preview --show-fixes; ruff format .
Branches were treated with:
git rebase \ --strategy-option=theirs \ --exec 'poetry run ruff check --select ALL . --fix --unsafe-fixes --preview --show-fixes; poetry run ruff format .; git add src tests; git commit --amend --no-edit' \ origin/master
poetry: 1.7.1 -> 1.8.2
See also: https://github.com/python-poetry/poetry/blob/1.8.2/CHANGELOG.md
-
Related formattings. Update CI to use
ruff check .
instead ofruff .
.See also: https://github.com/astral-sh/ruff/blob/v0.3.0/CHANGELOG.md
cihai-cli 0.26.0 (2024-02-09)¶
What’s new¶
Development¶
-
Add flake8-commas (COM)
Add flake8-builtins (A)
Add flake8-errmsg (EM)
cihai-cli 0.25.0 (2023-12-09)¶
Maintenance only, no bug fixes, or new features
Development¶
cihai: 0.29.0 -> 0.30.0
pydocstyle docstrings
Bug fixes for unused character utility functions
CI¶
Documentation¶
cihai-cli 0.24.0 (2023-11-19)¶
Maintenance only, no bug fixes, or new features
Packaging¶
Add Python 3.12 to 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:[tool.poetry.group.group-name.dependencies] dev-dependency = "1.0.0"
Which we now do.
Development¶
unihan-etl: 0.28.0 -> 0.29.0 (maintenance release)
ruff: Remove ERA /
eradicate
pluginThis 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
toruff format
(#302)This retains the same formatting style of
black
while eliminating a dev dependency by using our existing rust-basedruff
linter.CI: Update action packages to fix warnings
dorny/paths-filter: 2.7.0 -> 2.11.1
cihai-cli 0.23.0 (2023-07-22)¶
Maintenance only, no bug fixes, or new features
Development¶
cihai: 0.27.0 -> 0.28.0
Update pytest plugin
cihai-cli 0.22.0 (2023-07-18)¶
Maintenance only, no bug fixes, or new features
Development¶
cihai-cli 0.21.2 (2023-07-18)¶
Maintenance only, no bug fixes, or new features
Development¶
cihai-cli 0.21.1 (2023-07-02)¶
Bug Fixes¶
cihai-cli 0.21.0 (2023-07-01)¶
Maintenance only, no bug fixes, or new features
Development¶
cihai-cli 0.20.0 (2023-06-25)¶
Maintenance only, no bug fixes, or new features
Development¶
cihai-cli 0.19.0 (2023-06-24)¶
Maintenance only, no bug fixes, or new features
Development¶
cihai: 0.21.0 to 0.22.1
Sub-dependency unihan-etl to 0.21.1 -> 0.22.2, which has
dataclasses.dataclass
-based configuration.
cihai-cli 0.18.0 (2023-06-19)¶
Development¶
cihai: Bumps to 0.22.1
Reliance on
pathlib
-based file paths, typings.
cihai-cli 0.17.0 (2023-06-04)¶
Maintenance only, no bug fixes, or new features
Breaking changes¶
Internal improvements¶
cihai-cli 0.16.0 (2023-05-29)¶
Maintenance only, no bug fixes, or new features
Breaking changes¶
0.16.0 will be the final Python 3.7 release.
Internal improvements¶
Move formatting, import sorting, and linting to ruff.
This rust-based checker has dramatically improved performance. Linting and formatting can be done almost instantly.
This change replaces isort, flake8 and flake8 plugins.
poetry: 1.4.0 -> 1.5.0
See also: https://github.com/python-poetry/poetry/releases/tag/1.5.0
Update cihai 0.18.3 -> 0.19.0 and unihan-etl 0.18.2 -> 0.19.1
Moved to linting ruff (no changes to the production package itself)
cihai-cli 0.15.2 (2022-10-02)¶
Maintenance only, no bug fixes or new features
Development¶
Update cihai 0.18.1 -> 0.18.3
Sub-dependency updated: unihan-etl 0.18.1 -> 0.18.2
Typing update for
merge_dict
Documentation¶
Add migrations page
Add back page on completions
cihai-cli 0.15.1 (2022-10-02)¶
Bug fix¶
CLI: Fix help text descriptions
cihai-cli 0.15.0 (2022-10-02)¶
Internal¶
Packaging¶
cihai-cli 0.14.0 (2022-10-01)¶
Packages¶
Update to cihai v0.18.1+ (kaptan dependency removed)
cihai-cli 0.13.1 (2022-10-01)¶
Infrastructure¶
cihai-cli 0.13.0 (2022-09-11)¶
This is a maintenance only release, no bugfixes or features.
Development¶
Documentation¶
Render changelog in
linkify_issues
(#280, #283)Fix Table of contents rendering with sphinx autodoc with
sphinx_toctree_autodoc_fix
(#283)Test doctests in our docs via
pytest_doctest_docutils
(built ondoctest_docutils
) (#283)
cihai-cli 0.12.0 (2022-08-21)¶
Internal¶
cihai v0.16.0 (with strict typings from unihan-etl v0.17.x)
cihai-cli 0.11.0 (2022-08-20)¶
Breaking changes¶
The CLI version of cihai
installed through cihai-cli
again
Before (cihai 0.9 to 0.14, cihai-cli 0.5 to 0.10):
$ pip install cihai[cli]
After (cihai 0.15+, cihai-cli 0.11+):
$ pip install cihai-cli
This made deploying cihai + cihai-cli and pinning packages extremely laborious.
We can reinvestigate this model in the future.
via: cihai#326, cihai-cli#279
cihai-cli 0.10.x (2022-08-20)¶
Breaking changes¶
cihai-cli 0.9.0 (2022-08-16)¶
Compatibility¶
Development¶
Infrastructure updates for static type checking and doctest examples.
Tests¶
Refactor
tmpdir
->tmp_path
Documentation¶
Use
furo
theme
cihai-cli 0.8.1 (2021-06-16)¶
Update cihai to 0.12
cihai-cli 0.8.0 (2021-06-16)¶
#252: Convert to markdown
cihai-cli 0.7.2 (2021-06-15)¶
Set cihai to 0.11.1+ to fix sqlalchemy issue
cihai-cli 0.7.1 (2021-06-15)¶
Fix README in packaging
cihai-cli 0.7.0 (2021-06-15)¶
Update
black
to 21.6b0Update trove classifiers to 3.9
#251 Drop python 2.7 and 3.5. Remove deprecated
__future__
and modesets
cihai-cli 0.6.0 (2020-08-09)¶
cihai-cli 0.5.1 (2020-07-03)¶
#247 - Move from Pipfile to Poetry
Fixed bug in Python 2.x when showing help / “cihai”
cihai-cli 0.5.0 (2019-08-18)¶
Add
project_urls
to setup.pyInstallation is now done via
pip --user install cihai[cli]
README Fixed to use plain reStructuredText
Miscellaneous package updates for pytest, other support packages
Loosening of version requirements
cihai-cli 0.5.0a (2018-09-08)¶
#91
-V
/-version
now shows the cihai backend version.
cihai-cli 0.4.1 (2018-07-21)¶
Update Sphinx 1.7.5. to 1.7.6
Update cihai 0.8.0 to 0.8.1
This should fix dependency issues with kaptan / pyyaml
cihai-cli 0.4.0 (2018-06-24)¶
Add vietnamese phonetic to default output in
info
commandSwitch tmuxp config to use pipenv
Add configuration / make tests for isort, flake8
Add Pipfile
Add
make sync_pipfile
task to sync requirements/.txt* files with *Pipfile*Base package updates
cihai 0.7.4 to 0.8.0
Developer package updates (linting / docs / testing)
New:
sphinx-click 1.2.0
sphinxcontrib-napoleon 0.6.1
Updated:
isort 4.2.5 to 4.3.4
flake8 3.3.0 to 3.5.0
vulture 0.14 to 0.27
sphinx 1.5.6 to 1.7.5
alagitpull 0.0.4 to 0.0.21
releases 1.3.1 to 1.6.0
pytest 3.0.7 to 3.6.2
Move documentation over to numpy-style
Update LICENSE New BSD to MIT
All future commits and contributions are licensed to the cihai software foundation. This includes commits by Tony Narlock (creator).
cihai-cli 0.3.2 (2017-05-26)¶
Bump cihai version to 0.7.4
cihai-cli 0.3.1 (2017-05-20)¶
Bump cihai version to 0.7.2
cihai-cli 0.3.0 (2017-05-20)¶
Output human-friendly fields only by default
Use
-a
or--all
to show all fieldsRename
lookup
command toreverse
Remove newlines, use click.echo for printing to CLI
Fix unicode issues on 2.7 in tests and cli
cihai-cli 0.2.1 (2017-05-20)¶
CLI variable tweaks
Fix package dependency
cihai-cli 0.2.0 (2017-05-20)¶
Initial project