You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Update README to reflect API and documentation changes: switch examples and imports from `str/core` and `str/extra` to the unified `str` module, update KMP/strategy examples to use `str` identifiers, and change the CI badge to the new GitHub Actions workflow URL. Adjust wording from “Zero Dependencies” to “Minimal Dependencies”, revise module table and structure to list `str`, `str/advanced`, `str/config` and internal implementation layout, and update usage guidance for advanced users. Also bump the release note reference from 1.2.3 to 2.0.0 and update examples that show integrating an OTP normalizer (otp_nfd) with `str` functions.
> **Note:**`_auto` variants use heuristics and may not always choose optimally. For performance-critical code, use `_strategy` variants. Configure thresholds in `src/str/config.gleam`.
**Quick start:** Use `import str` for everyday needs. The main `str` module re-exports commonly used functions from `core`and `extra`.
272
+
**Quick start:** Use `import str` for all your needs. The main `str` module provides the complete public API including grapheme operations, ASCII folding, slugs, and case conversions.
275
273
276
-
**Advanced users:** Import `str/core` and `str/extra` directly when you need the complete API or want explicit control.
274
+
**Advanced users:** Import `str/advanced` for explicit control over search algorithms and KMP map caching.
277
275
278
276
### Module structure
279
277
280
278
```
281
279
str/
282
-
├── str.gleam # Main module (re-exports common functions)
283
-
├── core.gleam # Grapheme-aware utilities
284
-
├── extra.gleam # ASCII folding, slugs, case conversions
Note: as of **1.2.3**, `escape_html` now uses the `houdini` library for fast, allocation‑friendly escaping, and `unescape_html` uses `odysseus` for comprehensive entity support (named, decimal and hex numeric entities). See [CHANGELOG.md](CHANGELOG.md) for details.
330
+
Note: as of **2.0.0**, `escape_html` now uses the `houdini` library for fast, allocation‑friendly escaping, and `unescape_html` uses `odysseus` for comprehensive entity support (named, decimal and hex numeric entities). See [CHANGELOG.md](CHANGELOG.md) for details.
0 commit comments