Skip to content

Commit 94d5de9

Browse files
ackermannQclaude
andcommitted
docs: update README and roadmap for v0.3.0 release
- Update feature list with all Phase 1-3 capabilities - Add async support, serialization, and performance highlights - Update bundle size to 5 kB - Bump version references to v0.3.0 - Reflect completed phases in roadmap πŸ€– Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 13f6c84 commit 94d5de9

File tree

3 files changed

+7
-4
lines changed

3 files changed

+7
-4
lines changed

β€ŽREADME.mdβ€Ž

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,14 +34,17 @@ if (!res.ok) {
3434

3535
- **🎯 Exhaustive matching** - TypeScript enforces that you handle all error types
3636
- **πŸ”§ Ergonomic API** - Declarative `matchError` / `matchErrorOf` chains with:
37+
- `.map()` for error transformation
3738
- `.select()` for property extraction
3839
- `.withAny()` for matching multiple types
3940
- `.withNot()` for negation patterns
4041
- `.when()` for predicate matching
41-
- **πŸ“¦ Tiny & fast** - ~2 kB, zero dependencies, works everywhere
42+
- **πŸ“¦ Tiny & fast** - ~5 kB, zero dependencies, O(1) tag-based matching
4243
- **πŸ›‘οΈ Type-safe** - Full TypeScript support with strict type checking
4344
- **πŸ”„ Result pattern** - Convert throwing functions to `Result<T, E>` types
44-
- **πŸ”¨ Composable guards** - Reusable type guards with `isErrorOf()`
45+
- **πŸ”¨ Composable guards** - Reusable type guards with `isErrorOf()`, `isAnyOf()`, `isAllOf()`
46+
- **⚑ Async support** - Native async/await with `matchErrorAsync()` and `matchErrorOfAsync()`
47+
- **πŸ’Ύ Serialization** - JSON serialization with `serialize()`, `deserialize()`, `toJSON()`, `fromJSON()`
4548

4649
## πŸš€ Quick Start
4750

β€Žpackage.jsonβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "ts-typed-errors",
3-
"version": "0.2.0",
3+
"version": "0.3.0",
44
"description": "Exhaustive error matching utilities for TypeScript (defineError, matchError, matchErrorOf, wrap)",
55
"type": "module",
66
"sideEffects": false,

β€Žroadmap.mdβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -473,5 +473,5 @@ This roadmap is subject to change based on:
473473
- Performance considerations
474474

475475
**Last updated:** October 16, 2025
476-
**Current version:** v0.0.6
476+
**Current version:** v0.3.0
477477

0 commit comments

Comments
Β (0)