Skip to content

chore: bump version to 0.2.0 (fixes #16)#19

Merged
Alex-Wengg merged 2 commits intomainfrom
fix/issue-16-bump-version
Apr 26, 2026
Merged

chore: bump version to 0.2.0 (fixes #16)#19
Alex-Wengg merged 2 commits intomainfrom
fix/issue-16-bump-version

Conversation

@Alex-Wengg
Copy link
Copy Markdown
Member

@Alex-Wengg Alex-Wengg commented Apr 26, 2026

Summary

Closes #16tn_normalize_sentence (and a lot of other public API) is missing from the published crate because crates.io still has 0.1.0, which was cut from commit 699a68c (2026-03-07).

Since then, ~49 commits of feature work have landed on main without a release, including:

  • pub fn tn_normalize_sentence + full TN (written → spoken) support
  • Multi-language ITN for FR, DE, ES, HI, JA, ZH
  • Module rename from asr/tts to itn/tn
  • JavaScript-callable wasm bindings

Users running cargo add text-processing-rs and trying to import tn_normalize_sentence hit unresolved import because that function only exists post-0.1.0.

Changes

  • Bump Cargo.toml from 0.1.00.2.0
  • Bump Cargo.lock to match
  • Bump package.json (npm wasm package) to match

Picking 0.2.0 over 0.1.1 because the breadth of new public surface (multi-language ITN, full TN API, wasm bindings) is well beyond a patch-level change.

Follow-up needed

After merge, a maintainer needs to:

  • Tag v0.2.0
  • cargo publish
  • Optionally npm publish the wasm package

Test plan

  • CI passes
  • Reproduce reporter's snippet against main:
    use text_processing_rs::tn_normalize_sentence;
    fn main() { println!("{}", tn_normalize_sentence("I have twenty one apples.")); }

Open in Devin Review

Closes #16.

The published 0.1.0 on crates.io was cut from commit 699a68c (March 7,
2026) and predates ~49 commits of significant feature work, including:

- pub fn tn_normalize_sentence + full TN (written -> spoken) support
- Multi-language ITN for FR, DE, ES, HI, JA, ZH
- Module rename from asr/tts to itn/tn
- JavaScript-callable wasm bindings

Users importing tn_normalize_sentence from crates.io 0.1.0 hit
'unresolved import' because the function only landed after 0.1.0 was
published. Bumping to 0.2.0 (rather than 0.1.1) reflects the breadth
of new public API surface added since the initial release.
devin-ai-integration[bot]

This comment was marked as resolved.

Replaces the hardcoded "0.1.0\0" byte literal with a compile-time
concatenation of CARGO_PKG_VERSION + null terminator. This keeps the
C/Swift consumer view of the version in sync with Cargo.toml
automatically, preventing future drift.
@Alex-Wengg Alex-Wengg merged commit 5faad02 into main Apr 26, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

tn_normalize_sentence does not exist in Rust

1 participant