@absolutejs/absolute 0.20.0-beta.160 → 0.20.0-beta.161
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 +14 -0
- package/dist/angular/components/core/streamingSlotRegistrar.js +1 -1
- package/dist/angular/components/core/streamingSlotRegistry.js +2 -2
- package/dist/build.js +155 -138
- package/dist/build.js.map +5 -4
- package/dist/cli/{index-55k7vn84.js → index-f82hvr9c.js} +65 -10
- package/dist/cli/index.js +3 -3
- package/dist/cli/{mobile-0r1y2hwc.js → mobile-2f54v4by.js} +1 -1
- package/dist/cli/{start-4rpdy8hg.js → start-0bx1rkx4.js} +1 -1
- package/dist/index.js +671 -654
- package/dist/index.js.map +5 -4
- package/dist/src/core/productionRuntime.d.ts +11 -0
- 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.161 — 2026-11-01
|
|
10
|
+
|
|
11
|
+
### Changed
|
|
12
|
+
|
|
13
|
+
- **Production servers no longer import absolute.config.ts at runtime** (`prepare`)
|
|
14
|
+
A production server imported absolute.config.ts from source at every boot, through `prepare()` and again in the `absolute start --prebuilt` controller. That evaluated the framework's own unbundled package and everything the config imports beside the server bundle that already contains it: the AbsoluteJS docs site's config imported its sitemap routes, which pulled in every docs page, its data and its highlighter, about 735 modules and roughly 70 MB of the server's memory plus 55 MB of the controller's. `absolute start` and `absolute prepare` now write the plain-data fields the runtime reads to `absolute-runtime.json` in the build directory, and a production `prepare()` (with `ABSOLUTE_BUILD_DIR` set, as `absolute start` sets it) and a prebuilt start read that instead of importing the config. A build without the file, from an older framework or another pipeline, loads the config as before. Production `prepare()` also no longer scans and reads every page source at boot for island metadata that only dev rebuilds use.
|
|
15
|
+
|
|
9
16
|
## 0.20.0-beta.160 — 2026-10-28
|
|
10
17
|
|
|
11
18
|
### Fixed
|
package/changelog.json
CHANGED
|
@@ -2,6 +2,20 @@
|
|
|
2
2
|
"contract": 1,
|
|
3
3
|
"name": "@absolutejs/absolute",
|
|
4
4
|
"releases": [
|
|
5
|
+
{
|
|
6
|
+
"changes": [
|
|
7
|
+
{
|
|
8
|
+
"detail": "A production server imported absolute.config.ts from source at every boot, through `prepare()` and again in the `absolute start --prebuilt` controller. That evaluated the framework's own unbundled package and everything the config imports beside the server bundle that already contains it: the AbsoluteJS docs site's config imported its sitemap routes, which pulled in every docs page, its data and its highlighter, about 735 modules and roughly 70 MB of the server's memory plus 55 MB of the controller's. `absolute start` and `absolute prepare` now write the plain-data fields the runtime reads to `absolute-runtime.json` in the build directory, and a production `prepare()` (with `ABSOLUTE_BUILD_DIR` set, as `absolute start` sets it) and a prebuilt start read that instead of importing the config. A build without the file, from an older framework or another pipeline, loads the config as before. Production `prepare()` also no longer scans and reads every page source at boot for island metadata that only dev rebuilds use.",
|
|
9
|
+
"kind": "changed",
|
|
10
|
+
"summary": "Production servers no longer import absolute.config.ts at runtime",
|
|
11
|
+
"symbols": [
|
|
12
|
+
"prepare"
|
|
13
|
+
]
|
|
14
|
+
}
|
|
15
|
+
],
|
|
16
|
+
"date": "2026-11-01",
|
|
17
|
+
"version": "0.20.0-beta.161"
|
|
18
|
+
},
|
|
5
19
|
{
|
|
6
20
|
"changes": [
|
|
7
21
|
{
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
// .angular-partial-tmp-
|
|
2
|
+
// .angular-partial-tmp-N4zmYS/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-N4zmYS/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-N4zmYS/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";
|