Skip to content

Tags: unilibs/uniwidth

Tags

v0.1.0

Toggle v0.1.0's commit message
Release v0.1.0: First Stable Release

After 35 days of beta testing, uniwidth v0.1.0 is now stable and ready for production use.

Key Features:
- 3.9-46x faster than go-runewidth with zero allocations
- Unicode 16.0 support with proper handling of variation selectors and regional indicators
- 90.3% test coverage
- Tiered lookup strategy (O(1) for 90-95% of cases)
- Options API for East Asian Width configuration

Quality Metrics:
- All tests passing (100%)
- Linter: 0 issues
- Race detector: 0 races
- Production-ready

v0.1.0-beta

Toggle v0.1.0-beta's commit message
Release v0.1.0-beta: Initial Public Beta

High-performance Unicode width calculation library for Go 1.25+

- 3.9-46x faster than go-runewidth
- ASCII strings: 15-46x faster
- CJK strings: 4-14x faster
- Mixed/Emoji strings: 6-8x faster
- Zero allocations (no GC pressure)

- Unicode 16.0 support with tiered lookup optimization
- Thread-safe immutable design
- Options API for East Asian Width and emoji handling
- Comprehensive test coverage (87.1%)
- Cross-platform (Linux, macOS, Windows)

```bash
go get github.com/unilibs/uniwidth@v0.1.0-beta
```

This is a beta release. API may change before v1.0.0. We encourage testing and feedback.

- TUI frameworks (terminal rendering)
- Terminal emulators (text layout)
- CLI tools (table alignment)
- Text editors (cursor positioning)

- README: https://github.com/unilibs/uniwidth#readme
- API Reference: https://pkg.go.dev/github.com/unilibs/uniwidth
- Architecture: https://github.com/unilibs/uniwidth/blob/main/docs/ARCHITECTURE.md

Professor Ancha Baranova - invaluable help and support

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>