@absolutejs/absolute 0.20.0-beta.145 → 0.20.0-beta.146
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 +7 -0
- package/changelog.json +16 -0
- package/dist/angular/components/core/streamingSlotRegistrar.js +1 -1
- package/dist/angular/components/core/streamingSlotRegistry.js +2 -2
- package/dist/build.js +7 -4
- package/dist/build.js.map +3 -3
- package/dist/index.js +7 -4
- package/dist/index.js.map +3 -3
- package/dist/src/core/prepare.d.ts +9 -922
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -6,6 +6,13 @@ This file is generated by `absolute-changelog` from the entries in
|
|
|
6
6
|
`changelog/`. Edit an entry, not this file — and add new ones under
|
|
7
7
|
`changelog/unreleased/`.
|
|
8
8
|
|
|
9
|
+
## 0.20.0-beta.146 — 2026-10-23
|
|
10
|
+
|
|
11
|
+
### Fixed
|
|
12
|
+
|
|
13
|
+
- **Give prepare a stable runtime plugin contract across development and production. Prevent exponential Elysia RC error-response type expansion as applications mount plugins, while preserving the types of application routes.** (`prepare`, `PrepareResult`, `startDevPrebuild`)
|
|
14
|
+
Register internal routes on the same runtime instance without exposing environment-specific internal route unions. No casts, compiler suppressions, or runtime middleware changes are needed in consumers.
|
|
15
|
+
|
|
9
16
|
## 0.20.0-beta.145 — 2026-10-22
|
|
10
17
|
|
|
11
18
|
### Added
|
package/changelog.json
CHANGED
|
@@ -2,6 +2,22 @@
|
|
|
2
2
|
"contract": 1,
|
|
3
3
|
"name": "@absolutejs/absolute",
|
|
4
4
|
"releases": [
|
|
5
|
+
{
|
|
6
|
+
"version": "0.20.0-beta.146",
|
|
7
|
+
"date": "2026-10-23",
|
|
8
|
+
"changes": [
|
|
9
|
+
{
|
|
10
|
+
"kind": "fixed",
|
|
11
|
+
"summary": "Give prepare a stable runtime plugin contract across development and production. Prevent exponential Elysia RC error-response type expansion as applications mount plugins, while preserving the types of application routes.",
|
|
12
|
+
"symbols": [
|
|
13
|
+
"prepare",
|
|
14
|
+
"PrepareResult",
|
|
15
|
+
"startDevPrebuild"
|
|
16
|
+
],
|
|
17
|
+
"detail": "Register internal routes on the same runtime instance without exposing environment-specific internal route unions. No casts, compiler suppressions, or runtime middleware changes are needed in consumers."
|
|
18
|
+
}
|
|
19
|
+
]
|
|
20
|
+
},
|
|
5
21
|
{
|
|
6
22
|
"changes": [
|
|
7
23
|
{
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
// .angular-partial-tmp-
|
|
2
|
+
// .angular-partial-tmp-Ebcz5o/src/core/streamingSlotRegistrar.ts
|
|
3
3
|
var STREAMING_SLOT_REGISTRAR_KEY = Symbol.for("absolutejs.streamingSlotRegistrar");
|
|
4
4
|
var STREAMING_SLOT_WARNING_STORAGE_KEY = Symbol.for("absolutejs.streamingSlotWarningController");
|
|
5
5
|
var STREAMING_SLOT_COLLECTION_STORAGE_KEY = Symbol.for("absolutejs.streamingSlotCollectionController");
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
// .angular-partial-tmp-
|
|
2
|
+
// .angular-partial-tmp-Ebcz5o/src/core/streamingSlotRegistrar.ts
|
|
3
3
|
var STREAMING_SLOT_REGISTRAR_KEY = Symbol.for("absolutejs.streamingSlotRegistrar");
|
|
4
4
|
var STREAMING_SLOT_WARNING_STORAGE_KEY = Symbol.for("absolutejs.streamingSlotWarningController");
|
|
5
5
|
var STREAMING_SLOT_COLLECTION_STORAGE_KEY = Symbol.for("absolutejs.streamingSlotCollectionController");
|
|
@@ -46,7 +46,7 @@ var warnMissingStreamingSlotCollector = (primitiveName) => {
|
|
|
46
46
|
getWarningController()?.maybeWarn(primitiveName);
|
|
47
47
|
};
|
|
48
48
|
|
|
49
|
-
// .angular-partial-tmp-
|
|
49
|
+
// .angular-partial-tmp-Ebcz5o/src/core/streamingSlotRegistry.ts
|
|
50
50
|
var STREAMING_SLOT_STORAGE_KEY = Symbol.for("absolutejs.streamingSlotAsyncLocalStorage");
|
|
51
51
|
var isObjectRecord2 = (value) => Boolean(value) && typeof value === "object";
|
|
52
52
|
var isAsyncLocalStorage = (value) => isObjectRecord2(value) && ("getStore" in value) && typeof value.getStore === "function" && ("run" in value) && typeof value.run === "function";
|
package/dist/build.js
CHANGED
|
@@ -31452,7 +31452,8 @@ var MS_PER_SECOND2 = 1000, DEFAULT_PORT2 = 3000, MAX_STATIC_ROUTE_COUNT, STATIC_
|
|
|
31452
31452
|
const { serverTiming } = await import("@elysia/server-timing");
|
|
31453
31453
|
const mobileDevPlugin = await loadMobileDevPlugin(config.mobile);
|
|
31454
31454
|
const mobileUpdatePlugin = await loadMobileUpdatePlugin(config.mobile, false);
|
|
31455
|
-
const absolutejs = new Elysia12({ name: "absolutejs-runtime" })
|
|
31455
|
+
const absolutejs = new Elysia12({ name: "absolutejs-runtime" });
|
|
31456
|
+
absolutejs.use(requestInspector).use(absoluteRequestContext).use(serverTiming()).use(devtoolsJson(buildDir, {
|
|
31456
31457
|
normalizeForWindowsContainer: config.dev?.devtools?.normalizeForWindowsContainer,
|
|
31457
31458
|
projectRoot: config.dev?.devtools?.projectRoot,
|
|
31458
31459
|
uuid: config.dev?.devtools?.uuid,
|
|
@@ -31643,7 +31644,8 @@ var MS_PER_SECOND2 = 1000, DEFAULT_PORT2 = 3000, MAX_STATIC_ROUTE_COUNT, STATIC_
|
|
|
31643
31644
|
});
|
|
31644
31645
|
stepStartedAt = performance.now();
|
|
31645
31646
|
await Promise.resolve().then(() => init_imageOptimizer());
|
|
31646
|
-
const absolutejs = new Elysia12({ name: "absolutejs-runtime" })
|
|
31647
|
+
const absolutejs = new Elysia12({ name: "absolutejs-runtime" });
|
|
31648
|
+
absolutejs.use(absoluteRequestContext).use(mobileAssociationPlugin).use(mobileCompatibilityPlugin).use(mobileUpdatePlugin).use(assetCachePlugin).use(imageOptimizer(config.images, buildDir)).use(prerenderPlugin).use(precompressedFiles).use(staticFiles).use(generatedAssetsPlugin).use(createNotFoundPlugin());
|
|
31647
31649
|
await withOpenApi(absolutejs, config, process.cwd(), false);
|
|
31648
31650
|
await withTelemetry(absolutejs, config, process.cwd());
|
|
31649
31651
|
recordStep("assemble production runtime", stepStartedAt);
|
|
@@ -31652,7 +31654,8 @@ var MS_PER_SECOND2 = 1000, DEFAULT_PORT2 = 3000, MAX_STATIC_ROUTE_COUNT, STATIC_
|
|
|
31652
31654
|
}
|
|
31653
31655
|
stepStartedAt = performance.now();
|
|
31654
31656
|
await Promise.resolve().then(() => init_imageOptimizer());
|
|
31655
|
-
const absolutejs = new Elysia12({ name: "absolutejs-runtime" })
|
|
31657
|
+
const absolutejs = new Elysia12({ name: "absolutejs-runtime" });
|
|
31658
|
+
absolutejs.use(absoluteRequestContext).use(mobileAssociationPlugin).use(mobileCompatibilityPlugin).use(mobileUpdatePlugin).use(assetCachePlugin).use(imageOptimizer(config.images, buildDir)).use(precompressedFiles).use(staticFiles).use(generatedAssetsPlugin).use(createNotFoundPlugin());
|
|
31656
31659
|
await withOpenApi(absolutejs, config, process.cwd(), false);
|
|
31657
31660
|
await withTelemetry(absolutejs, config, process.cwd());
|
|
31658
31661
|
recordStep("assemble production runtime", stepStartedAt);
|
|
@@ -37831,5 +37834,5 @@ export {
|
|
|
37831
37834
|
devBuild
|
|
37832
37835
|
};
|
|
37833
37836
|
|
|
37834
|
-
//# debugId=
|
|
37837
|
+
//# debugId=9218616736C2687B64756E2164756E21
|
|
37835
37838
|
//# sourceMappingURL=build.js.map
|