@fastly/hono-fastly-compute 0.3.5 → 0.3.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  ## [unreleased]
9
9
 
10
+ ## [0.3.6] - 2025-10-19
11
+
12
+ ### Added
13
+
14
+ - Within `fire()`, run a dummy `match()` against the router, forcing it to build any caches during the pre-wizer step.
15
+
10
16
  ## [0.3.5] - 2025-10-19
11
17
 
12
18
  ### Fixed
@@ -54,7 +60,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
54
60
 
55
61
  - Initial public release
56
62
 
57
- [unreleased]: https://github.com/fastly/hono-fastly-compute/compare/v0.3.5...HEAD
63
+ [unreleased]: https://github.com/fastly/hono-fastly-compute/compare/v0.3.6...HEAD
64
+ [0.3.6]: https://github.com/fastly/hono-fastly-compute/compare/v0.3.5...v0.3.6
58
65
  [0.3.5]: https://github.com/fastly/hono-fastly-compute/compare/v0.3.4...v0.3.5
59
66
  [0.3.4]: https://github.com/fastly/hono-fastly-compute/compare/v0.3.3...v0.3.4
60
67
  [0.3.3]: https://github.com/fastly/hono-fastly-compute/compare/v0.3.2...v0.3.3
package/build/fire.js CHANGED
@@ -40,6 +40,9 @@ import { handle } from './handler.js';
40
40
  */
41
41
  export function buildFire(bindingsDefs) {
42
42
  const fireFn = ((app, options = { fetch: undefined, }) => {
43
+ // Run a dummy match() against the router.
44
+ // This forces the router (for example, RegExpRouter) to build any caches in the pre-wizer step.
45
+ app.router.match('', '');
43
46
  addEventListener('fetch', handle(app, bindingsDefs, options));
44
47
  });
45
48
  fireFn._defs = bindingsDefs;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fastly/hono-fastly-compute",
3
- "version": "0.3.5",
3
+ "version": "0.3.6",
4
4
  "description": "Helper utilities for using Hono with Fastly Compute",
5
5
  "license": "MIT",
6
6
  "repository": {