Releases: omarkamali/unscript
Releases · omarkamali/unscript
unscript v0.1.3
[0.1.3] - 2025-11-15
Added
clean_scriptnow accepts multiple scripts (str | Iterable[str]) and unions ranges.- New config options in
clean_script:max_foreign_words: allow up to N tokens from non-primary scripts.foreign_scripts: optional whitelist restricting which other scripts can be allowed.
- Tests covering multiple primary scripts and the new options.
unscript v0.1.2
[0.1.2] - 2025-11-11
Added
- Support for Syloti Nagri script (
Sylo, Unicode block U+A800–U+A82F). - Tests for Syloti Nagri in range access and script detection.
Changed
clean_scriptpunctuation configuration now supports levels:"ascii","extended", and"all"."ascii": ASCII sentence punctuation and quotes only."extended": ASCII + curly quotes + guillemets + script-specific marks + fullwidth + () [] {} <>."all":extendedplus broader general punctuation blocks.
- Backward compatibility:
{"punctuation": True}maps to"ascii";Falseremains unchanged.
Fixed
- Preserve ASCII quotes when
symbols=Falseandpunctuation=True. - Align punctuation handling with levels so script-specific punctuation is only included when using
"extended"or higher.
unscript v0.1.1
[0.1.1] - 2025-11-01
Added
- Trusted publishing via GitHub Actions with OIDC (
.github/workflows/publish.yml). - Upgraded publish script to a more robust Python implementation (
scripts/publish.py). - Increased testing coverage from Python 3.8 to 3.14.
Fixed
- Export
clean_scriptfrom the public package API.
Unscript v0.1.0
Full Changelog: v0.0.4...v0.1.0
Unscript v0.0.4
Full Changelog: v0.0.3...v0.0.4
Unscript v0.0.3
Full Changelog: v0.0.2...v0.0.3
Unscript v0.0.2
Full Changelog: https://github.com/omarkamali/unscript/commits/v0.0.2