v0.9.0 — first disarm release
The first release under the disarm name — the continuation of translit-rs (last released as 0.8.1). See #264 for the rename rationale.
disarm unifies the distribution and import names: pip install disarm then import disarm.
Breaking changes (migrating from translit-rs)
- Install/import:
pip install translit-rs→pip install disarm;import translit→import disarm. - Exception: the base exception
TranslitError→DisarmError(the subclassesInvalidArgumentError/ResourceLimitError/UnsupportedErrorkeep their names).DisarmErroris still aValueErrorsubclass, soexcept ValueErrorkeeps working. - Env var: context-dictionary path
TRANSLIT_DICT_DIR→DISARM_DICT_DIR. - Native module
translit._translit→disarm._disarm; console scripttranslit→disarm.
The public transform API is otherwise unchanged: transliterate(), normalize(), slugify(), the security/pipeline helpers all keep their names and behaviour.
Install: pip install disarm==0.9.0
Full changelog: https://github.com/raeq/disarm/blob/main/CHANGELOG.md