Skip to content

Commit 2c7dc3c

Browse files
v1.3.6
1 parent 62fd96e commit 2c7dc3c

13 files changed

Lines changed: 2800 additions & 303 deletions

.npmignore

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,4 +24,6 @@ examples/
2424
*.log
2525
.idea/
2626
.vscode/
27-
test-*.json
27+
test-*.json
28+
test-results.txt
29+
eslint.config.js

CHANGELOG.md

Lines changed: 13 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,22 +7,29 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
## [1.3.6] - 2026-02-14
11+
12+
### Fixed
13+
14+
- Fixed flat route config handling in `applyCustomRoutes()` — string route mappings (e.g., `{"/api/posts/:id": "/posts/:id"}`) were being iterated character-by-character, causing "Unsupported HTTP method" errors
15+
- Updated `RoutesConfig` type to correctly support both flat string route mappings and method-level handlers
16+
- Fixed type narrowing in `addRoute()` when overwriting string routes with method handlers
17+
1018
### Added
1119

20+
- Comprehensive test suite achieving 100% statement, function, and line coverage (289 tests across 14 suites)
21+
- New test files: `cli-styles.test.ts`, `utils-comprehensive.test.ts`, `server-comprehensive.test.ts`, `index.test.ts`, `middleware-branches.test.ts`
22+
23+
### Changed
24+
1225
- Support for Deno runtime via mod.ts entry point
1326
- Support for multiple package managers (npm, pnpm, yarn, bun)
1427
- Added comprehensive documentation for all methods and classes
1528
- Added ESLint rules for enforcing camelCase naming conventions
1629
- Added contribution guidelines and code of conduct
17-
18-
### Changed
19-
2030
- Updated dependencies to latest versions
2131
- Improved type definitions with more specific types
2232
- Enhanced error handling and logging
23-
24-
### Fixed
25-
2633
- Fixed middleware type issues with Express
2734
- Resolved module resolution issues in tests
2835

0 commit comments

Comments
 (0)