@absolutejs/absolute 0.20.0-beta.180 → 0.20.0-beta.181
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 +9 -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/angular/index.js +6 -1
- package/dist/angular/index.js.map +3 -3
- package/dist/angular/server.js +6 -1
- package/dist/angular/server.js.map +3 -3
- package/dist/build.js +175 -37
- package/dist/build.js.map +7 -7
- package/dist/cli/{build-fntmf42w.js → build-ptx5a72p.js} +3 -3
- package/dist/cli/{buildReactServerComponents-fq6mw10d.js → buildReactServerComponents-01s87hnk.js} +1 -1
- package/dist/cli/{index-w79snsxv.js → index-5w8arh3m.js} +1 -1
- package/dist/cli/{index-xf9sfr8a.js → index-fgqh48qr.js} +63 -1
- package/dist/cli/{index-x1vvn549.js → index-jkg2h10c.js} +2 -2
- package/dist/cli/index.js +1 -1
- package/dist/cli/{staticAnalyzeSpaRoutes-2nev05m1.js → staticAnalyzeSpaRoutes-rcc1d3az.js} +3 -1
- package/dist/cli/{typecheck-488txsfc.js → typecheck-ynzw2eep.js} +36 -22
- package/dist/index.js +175 -37
- package/dist/index.js.map +7 -7
- package/dist/react/index.js +6 -1
- package/dist/react/index.js.map +3 -3
- package/dist/react/server.js +6 -1
- package/dist/react/server.js.map +3 -3
- package/dist/src/angular/staticAnalyzeSpaRoutes.d.ts +9 -0
- package/dist/src/cli/scripts/typecheck.d.ts +7 -0
- package/dist/src/dev/spaRouteRefresh.d.ts +12 -5
- package/dist/src/utils/spaRouteManifest.d.ts +2 -0
- package/dist/svelte/components/Image.svelte +1 -1
- package/dist/svelte/components/Island.svelte +1 -1
- package/dist/svelte/index.js +6 -1
- package/dist/svelte/index.js.map +3 -3
- package/dist/svelte/router/Router.svelte.d.ts +31 -1
- package/dist/svelte/server.js +6 -1
- package/dist/svelte/server.js.map +3 -3
- package/dist/vue/index.js +6 -1
- package/dist/vue/index.js.map +3 -3
- package/dist/vue/server.js +6 -1
- package/dist/vue/server.js.map +3 -3
- package/package.json +4 -1
package/CHANGELOG.md
CHANGED
|
@@ -6,6 +6,15 @@ 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.181 — 2026-11-15
|
|
10
|
+
|
|
11
|
+
### Fixed
|
|
12
|
+
|
|
13
|
+
- **Dev renders a newly added Vue route on the server at once and reports Angular colocated route edits**
|
|
14
|
+
In `absolute dev`, adding a route to a Vue page's `routes` admitted the new path right away, but the server kept rendering the page with its old router for a couple of seconds: requests logged `[Vue Router warn]: No match found for location` and got the 404 page, and a page that reloaded straight after the edit hit the same thing. Dev now rebuilds the page's server bundle before it admits the new path, so the first request renders it. Svelte pages with a `<Router>` get the same ordering, and an Angular router edit is published once its server bundle has the change. React was not affected. Editing an Angular page's colocated `export const routes = [...]` now prints a `routes update` line with the added and removed paths, like the other frameworks.
|
|
15
|
+
- **Typecheck checks Svelte islands outside svelteDirectory, and reports each Svelte and Angular error once**
|
|
16
|
+
A project with Svelte pages in svelteDirectory and Svelte islands in another folder (src/islands) ran svelte-check once per folder, and every run wrote the same generated config at the same time. The last write won, so both runs checked one folder: a type error inside an island component passed, and an error in a page was printed twice under two svelte-check headings. svelte-check now runs once over every Svelte folder (configured directories whole, island folders by their .svelte files) and reports under one svelte-check label; ngc likewise runs once over every Angular directory. An error in an Angular component’s plain TypeScript, which both the plain checker and ngc read, is now reported once, under bun check (or tsc); ngc keeps the template errors only it sees, and the run still fails whenever any checker finds an error.
|
|
17
|
+
|
|
9
18
|
## 0.20.0-beta.180 — 2026-11-14
|
|
10
19
|
|
|
11
20
|
### Added
|
package/changelog.json
CHANGED
|
@@ -2,6 +2,22 @@
|
|
|
2
2
|
"contract": 1,
|
|
3
3
|
"name": "@absolutejs/absolute",
|
|
4
4
|
"releases": [
|
|
5
|
+
{
|
|
6
|
+
"changes": [
|
|
7
|
+
{
|
|
8
|
+
"detail": "In `absolute dev`, adding a route to a Vue page's `routes` admitted the new path right away, but the server kept rendering the page with its old router for a couple of seconds: requests logged `[Vue Router warn]: No match found for location` and got the 404 page, and a page that reloaded straight after the edit hit the same thing. Dev now rebuilds the page's server bundle before it admits the new path, so the first request renders it. Svelte pages with a `<Router>` get the same ordering, and an Angular router edit is published once its server bundle has the change. React was not affected. Editing an Angular page's colocated `export const routes = [...]` now prints a `routes update` line with the added and removed paths, like the other frameworks.",
|
|
9
|
+
"kind": "fixed",
|
|
10
|
+
"summary": "Dev renders a newly added Vue route on the server at once and reports Angular colocated route edits"
|
|
11
|
+
},
|
|
12
|
+
{
|
|
13
|
+
"detail": "A project with Svelte pages in svelteDirectory and Svelte islands in another folder (src/islands) ran svelte-check once per folder, and every run wrote the same generated config at the same time. The last write won, so both runs checked one folder: a type error inside an island component passed, and an error in a page was printed twice under two svelte-check headings. svelte-check now runs once over every Svelte folder (configured directories whole, island folders by their .svelte files) and reports under one svelte-check label; ngc likewise runs once over every Angular directory. An error in an Angular component’s plain TypeScript, which both the plain checker and ngc read, is now reported once, under bun check (or tsc); ngc keeps the template errors only it sees, and the run still fails whenever any checker finds an error.",
|
|
14
|
+
"kind": "fixed",
|
|
15
|
+
"summary": "Typecheck checks Svelte islands outside svelteDirectory, and reports each Svelte and Angular error once"
|
|
16
|
+
}
|
|
17
|
+
],
|
|
18
|
+
"date": "2026-11-15",
|
|
19
|
+
"version": "0.20.0-beta.181"
|
|
20
|
+
},
|
|
5
21
|
{
|
|
6
22
|
"changes": [
|
|
7
23
|
{
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
// .angular-partial-tmp-
|
|
2
|
+
// .angular-partial-tmp-M2wqhP/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-M2wqhP/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-M2wqhP/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/angular/index.js
CHANGED
|
@@ -1442,6 +1442,11 @@ var SPA_ROUTES_KEY = "__absoluteSpaRoutes", setSpaRouteManifest = (hosts) => {
|
|
|
1442
1442
|
}, isRuntimeSpaHost = (value) => typeof value === "object" && value !== null && typeof Reflect.get(value, "framework") === "string", getSpaRouteManifest = () => {
|
|
1443
1443
|
const value = Reflect.get(globalThis, SPA_ROUTES_KEY);
|
|
1444
1444
|
return Array.isArray(value) ? value.filter(isRuntimeSpaHost) : [];
|
|
1445
|
+
}, OBSERVED_SPA_ROUTES_KEY = "__absoluteObservedSpaRoutes", getObservedSpaRoutes = () => {
|
|
1446
|
+
const value = Reflect.get(globalThis, OBSERVED_SPA_ROUTES_KEY);
|
|
1447
|
+
return Array.isArray(value) ? value.filter(isRuntimeSpaHost) : [];
|
|
1448
|
+
}, setObservedSpaRoutes = (hosts) => {
|
|
1449
|
+
Reflect.set(globalThis, OBSERVED_SPA_ROUTES_KEY, hosts);
|
|
1445
1450
|
}, normalizePath = (path) => {
|
|
1446
1451
|
const withLeadingSlash = path.startsWith("/") ? path : `/${path}`;
|
|
1447
1452
|
const trimmed = withLeadingSlash.replace(/\/+$/, "");
|
|
@@ -17408,5 +17413,5 @@ export {
|
|
|
17408
17413
|
withPendingTask
|
|
17409
17414
|
};
|
|
17410
17415
|
|
|
17411
|
-
//# debugId=
|
|
17416
|
+
//# debugId=E65E05FE51B9B84264756E2164756E21
|
|
17412
17417
|
//# sourceMappingURL=index.js.map
|