Commit Graph

255 Commits

Author SHA1 Message Date
jkunz 6d568d4e19 fix(deps): upgrade @push.rocks/webrequest to ^4.0.1 and adapt TypedRequest to new API 2026-02-11 16:49:30 +00:00
jkunz 67dd2aac6c 3.2.5 v3.2.5 2025-12-04 23:58:40 +00:00
jkunz 8e20f06c44 3.2.4 v3.2.4 2025-12-04 23:57:07 +00:00
jkunz 271f6bc0a3 BREAKING CHANGE(typedrouter): Introduce options object for TypedRouter.routeAndAddResponse (localRequest, skipHooks); add defaultRouteOptions and make hook calls respect skipHooks; bump package version to 3.2.3 2025-12-04 23:52:18 +00:00
jkunz 472d009de1 v3.2.2 v3.2.2 2025-12-04 22:48:44 +00:00
jkunz 0d3d5cb562 fix(typedrequest): Add skipHooks flag to TypedRequest to optionally suppress global hooks for internal requests 2025-12-04 22:48:44 +00:00
jkunz 2a89e88dd1 v3.2.1 v3.2.1 2025-12-04 22:15:26 +00:00
jkunz 2ff5602430 fix(typedrouter): Use globalThis-backed globalHooks for TypedRouter to enable cross-bundle sharing; fix merging and clearing of global hooks. 2025-12-04 22:15:26 +00:00
jkunz 5444e1be88 v3.2.0 v3.2.0 2025-12-04 21:37:08 +00:00
jkunz 94ba38b4d4 feat(typedrouter): Add request/response hooks and monitoring to TypedRouter; emit hooks from TypedRequest; improve VirtualStream encoding/decoding; re-export hook types 2025-12-04 21:37:08 +00:00
jkunz 1adb5629e4 v3.1.11 v3.1.11 2025-12-03 23:51:47 +00:00
jkunz b730a977dc fix(virtualstream): Expose transport localData to handlers via TypedTools; improve VirtualStream payload encode/decode to preserve built-ins and handle nested arrays/objects 2025-12-03 23:51:47 +00:00
philkunz 248430b5ad 3.1.10 v3.1.10 2024-10-16 10:10:00 +02:00
philkunz c08a501fa5 fix(VirtualStream): Fix stream closure logic in method 2024-10-16 10:09:59 +02:00
philkunz dcf014bf95 3.1.9 v3.1.9 2024-10-16 10:08:04 +02:00
philkunz ef5aa9ece3 fix(VirtualStream): Ensure writable streams are correctly closed asynchronously to prevent potential sync issues. 2024-10-16 10:08:04 +02:00
philkunz 7a3a73a244 3.1.8 v3.1.8 2024-10-16 09:56:33 +02:00
philkunz 74e6205ac3 fix(VirtualStream): Fix stream closing behavior to correctly handle closing bits 2024-10-16 09:56:32 +02:00
philkunz 57e51543e7 3.1.7 v3.1.7 2024-10-16 02:47:36 +02:00
philkunz 050966cd6f fix(VirtualStream): Fix issue in VirtualStream to handle null values during data writing. 2024-10-16 02:47:35 +02:00
philkunz 11c6559e33 3.1.6 v3.1.6 2024-10-16 02:22:45 +02:00
philkunz adff43c0e2 fix(VirtualStream): Fix backpressure handling in VirtualStream workOnQueue method 2024-10-16 02:22:44 +02:00
philkunz c61e30fe64 3.1.5 v3.1.5 2024-10-16 02:16:30 +02:00
philkunz 4887c07ef3 fix(virtualstream): Add console log for debugging backpressure feedback loop 2024-10-16 02:16:29 +02:00
philkunz c0fdc8a1d4 3.1.4 v3.1.4 2024-10-16 02:15:17 +02:00
philkunz 0af720d901 fix(VirtualStream): Corrected the logic for backpressure handling in response 2024-10-16 02:15:17 +02:00
philkunz 43b433f0c2 3.1.3 v3.1.3 2024-10-14 01:42:45 +02:00
philkunz d38a225c78 fix(VirtualStream): Fix keepAlive flag handling in VirtualStream and added stream closure in tests 2024-10-14 01:42:44 +02:00
philkunz f9b5c897cf 3.1.2 v3.1.2 2024-10-14 01:31:58 +02:00
philkunz 1a92aa6630 fix(core): Fix incorrect backpressure logic in VirtualStream class 2024-10-14 01:31:58 +02:00
philkunz 70e2dcc1b8 3.1.1 v3.1.1 2024-10-14 00:13:29 +02:00
philkunz 7b6fb9e9bc fix(virtualstream): Fix handling of virtual streams for proper shutdown 2024-10-14 00:13:28 +02:00
philkunz 03c7150b6b 3.1.0 v3.1.0 2024-10-11 02:15:46 +02:00
philkunz 83cd25d5a2 feat(virtualstream): Enhance VirtualStream with optional closure when reading from webstream 2024-10-11 02:15:45 +02:00
philkunz 04d60e6a95 3.0.33 v3.0.33 2024-10-11 02:09:51 +02:00
philkunz 549719ede6 fix(test): Increase delay duration before stopping the server in test suite. 2024-10-11 02:09:50 +02:00
philkunz 855663eea9 3.0.32 v3.0.32 2024-09-06 13:46:10 +02:00
philkunz 4d98915dbd fix(virtualstream): Fix keep-alive loop handling and test cleanup 2024-09-06 13:46:09 +02:00
philkunz f461f16bfd 3.0.31 v3.0.31 2024-09-06 13:02:05 +02:00
philkunz 6beadb8cfc fix(core): Updated dependencies and added close method to VirtualStream 2024-09-06 13:02:04 +02:00
philkunz 360c8a618b 3.0.30 v3.0.30 2024-05-31 22:41:18 +02:00
philkunz c03854a9fc fix(core): update 2024-05-31 22:41:17 +02:00
philkunz cebd903c9b 3.0.29 v3.0.29 2024-05-31 16:34:55 +02:00
philkunz e7cf5b7694 fix(error handling): now alos logs the method that an error has been given to. 2024-05-31 16:34:54 +02:00
philkunz 839bd138c1 3.0.28 v3.0.28 2024-05-30 22:47:03 +02:00
philkunz e1c721d511 fix(core): update 2024-05-30 22:47:02 +02:00
philkunz 7ce3f83d54 3.0.27 v3.0.27 2024-05-30 22:41:50 +02:00
philkunz 2e0c6400e8 fix(core): update 2024-05-30 22:41:49 +02:00
philkunz 58637ed90e 3.0.26 v3.0.26 2024-05-30 19:01:40 +02:00
philkunz 489fa237b9 fix(core): update 2024-05-30 19:01:39 +02:00