Skip to content

v1.0.2

Choose a tag to compare

@sudoping01 sudoping01 released this 26 Jul 15:54
· 30 commits to main since this release
76d3b4d

Release Notes v1.0.2

Full Changelog: v1.0.1...v1.0.2

Highlights

Order-independent numeric expansion (fixes pipeline order bug)
Date, time, measurement, and number normalizers previously relied on rewriting raw text in a fixed call order, causing incorrect output when called out of sequence. This release refactors all four into span-reporting functions (they identify spans instead of mutating text directly), consolidated into a single-pass expansion step. Numeric expansion is now order-independent by construction, with tests verifying this and documentation covering expansion precedence rules.

  • Added span primitives for numeric expansion
  • Date, time, measurement, and number normalizers now report spans instead of rewriting text
  • Added single-pass expansion combining all span types
  • Exported the numeric span API
  • Added tests for order independence
  • Documented expansion precedence

Features (Jan 8–24)

  • Contraction expansion mode (expand/contract)
  • Number normalization
  • Date normalization
  • Time/duration normalization
  • Measurement normalization
  • Docs and automation
  • Fixed an invalid classifier issue

Notes

This release directly addresses the pipeline order-dependency bug reported for normalize() the fix removes the dependency rather than just documenting a required call order.