Commit Graph

32 Commits

Author SHA1 Message Date
c692061b23 refactor router system and update version
- Simplified Route class by removing validator functionality
- Added AppRouteContext type for better type safety
- Added forward method to RouteContext for response handling
- Replaced queryRoute with run method for consistency
- Improved Server class with proper cleanup methods
- Updated Mini class to extend QueryRouterServer properly
- Removed lodash-es dependency and nanoid random import
- Added deprecation warnings for older methods
- Enhanced route handling and middleware execution

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-06 12:30:47 +08:00
ef0faf84b1 update dependencies and router functionality
- Update package version to 0.0.34
- Upgrade @kevisual/local-proxy to 0.0.8 and @kevisual/query to 0.0.31
- Update rollup, cookie, selfsigned, and zod dependencies
- Remove unused share property from Route class
- Refactor queryRouter context to use app property
- Improve call method logic to prioritize path + key
- Update queryRoute to use call method
- Enhance HttpChain class with better constructor and parse method

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-06 10:30:58 +08:00
c0ec625f01 route list,当时wait的模式添加默认的 2025-11-14 17:43:07 +08:00
87068cd626 update 2025-10-24 21:15:02 +08:00
ac32ff9d4a udpate 2025-10-24 03:04:06 +08:00
cc74dc6803 update add no path and random path 2025-10-22 17:05:20 +08:00
24166f9899 feat: add Mini 2025-10-15 21:13:37 +08:00
10506503eb update: add listen process 2025-10-15 20:48:20 +08:00
d2ebb5f488 fix: add app-barowser for browser 2025-06-12 15:02:16 +08:00
aeeb205e1e fix: fix types 2025-05-14 21:04:25 +08:00
fc35b531e1 feat: add define tools 2025-05-14 20:18:58 +08:00
6d148e47f1 add parse search value 2025-05-12 04:32:26 +08:00
17e515ad32 add deno mod 2025-04-17 23:54:21 +08:00
e8f7f61e09 fix: add json needSerialize 2025-03-06 22:45:11 +08:00
5911f29c8f fix; fix add serialize 2025-03-03 23:20:18 +08:00
ba7e00bd7a router 更新 2025-03-02 16:51:07 +08:00
de3187f5f3 temp 2025-02-26 12:33:34 +08:00
1c3e65df8a feat: add metadata and middleware add preivew middleware 2025-02-26 11:26:52 +08:00
803687b219 style 2025-02-19 07:03:09 +08:00
871aac104a fix: import fix 2025-01-03 21:23:23 +08:00
50c87043c8 type 定义修改 2024-12-14 08:52:42 +08:00
dc2f282f4b feat: 更新cookie模块和添加res和req在app的请求当中 2024-12-11 14:28:46 +08:00
e0c7d40a9c add queryRoute for only return code data message 2024-11-26 19:25:43 +08:00
7f369b7b07 fix: 更新router报错 2024-11-17 16:43:24 +08:00
780d744a16 feat: 设置默认的context 2024-11-12 11:19:11 +08:00
303c579e92 router添加 throw 2024-11-10 19:03:56 +08:00
c462dc31f8 feat: browser router add custom error 2024-11-01 00:23:21 +08:00
d6eb8393e0 feat: remove options context 2024-10-31 00:56:57 +08:00
52f5f58baf feat: add QueryRouterServer 2024-10-31 00:45:12 +08:00
158b12d811 feat: add export and import 2024-10-25 19:41:01 +08:00
041432baea fix: add default key 2024-10-17 01:01:49 +08:00
733677f3f3 init router 2024-10-16 00:47:30 +08:00