@absolutejs/absolute 0.20.0-beta.143 → 0.20.0-beta.144

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.
Files changed (47) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/changelog.json +19 -0
  3. package/dist/angular/components/core/streamingSlotRegistrar.js +1 -1
  4. package/dist/angular/components/core/streamingSlotRegistry.js +2 -2
  5. package/dist/angular/index.js +2 -2
  6. package/dist/angular/index.js.map +3 -3
  7. package/dist/angular/server.js +2 -2
  8. package/dist/angular/server.js.map +3 -3
  9. package/dist/build.js +34 -34
  10. package/dist/build.js.map +9 -9
  11. package/dist/cli/{compile-grhs9tj4.js → compile-351tb63a.js} +2 -2
  12. package/dist/cli/config/server.js +1 -1
  13. package/dist/cli/{dev-e4w5nq6y.js → dev-d7nyd387.js} +1 -1
  14. package/dist/cli/{expoProject-kabqa80q.js → expoProject-f3eb0040.js} +1 -1
  15. package/dist/cli/{index-h078vn9f.js → index-8s6w45zc.js} +1 -1
  16. package/dist/cli/{index-fezxjrgd.js → index-ezz88cdw.js} +1 -1
  17. package/dist/cli/{index-nrtt3x67.js → index-snz4z0tq.js} +21 -21
  18. package/dist/cli/index.js +5 -5
  19. package/dist/cli/{mobile-p657bkqa.js → mobile-dvahvjeh.js} +3 -3
  20. package/dist/cli/{start-3m7bd02e.js → start-09prwq60.js} +3 -3
  21. package/dist/client/chunks/{islands-eexr591d.js → islands-rc28k5sx.js} +7 -7
  22. package/dist/client/chunks/{islands-eexr591d.js.map → islands-rc28k5sx.js.map} +3 -3
  23. package/dist/client/index.js +2 -2
  24. package/dist/dev/serverBootstrap.js +1 -1
  25. package/dist/index.js +34 -34
  26. package/dist/index.js.map +10 -10
  27. package/dist/mobile/browser.js +1 -1
  28. package/dist/mobile/browser.js.map +3 -3
  29. package/dist/mobile/index.js +25 -25
  30. package/dist/mobile/index.js.map +6 -6
  31. package/dist/mobile/remoteMacAgentEntry.js +2 -2
  32. package/dist/react/index.js +2 -2
  33. package/dist/react/index.js.map +3 -3
  34. package/dist/react/server.js +2 -2
  35. package/dist/react/server.js.map +3 -3
  36. package/dist/src/core/prepare.d.ts +256 -1063
  37. package/dist/src/mobile/nativePackages.d.ts +1 -1
  38. package/dist/src/plugins/hmr.d.ts +4 -1
  39. package/dist/svelte/index.js +2 -2
  40. package/dist/svelte/index.js.map +3 -3
  41. package/dist/svelte/server.js +2 -2
  42. package/dist/svelte/server.js.map +3 -3
  43. package/dist/vue/index.js +2 -2
  44. package/dist/vue/index.js.map +3 -3
  45. package/dist/vue/server.js +2 -2
  46. package/dist/vue/server.js.map +3 -3
  47. package/package.json +13 -13
package/CHANGELOG.md CHANGED
@@ -6,6 +6,14 @@ 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.144 — 2026-10-22
10
+
11
+ ### Breaking
12
+
13
+ - **Requires Elysia 2.0.0-rc.0, @absolutejs/auth 0.101 and @absolutejs/sync 3** (`prepare`, `startDevPrebuild`)
14
+ Elysia 2.0.0-rc.0 renamed every lifecycle hook to its `on` form (request → onRequest, beforeHandle → onBeforeHandle, afterHandle → onAfterHandle, afterResponse → onAfterResponse, error → onError, parse → onParse, transform → onTransform) and removed setup/cleanup in favour of onStart/onStop. The framework now builds, tests and ships against Elysia 2.0.0-rc.0 and the matching @elysia plugins, and requires `elysia ^2.0.0-rc.0`, so it also accepts later release candidates and 2.0.0. It moves with the packages that made the same change: @absolutejs/auth 0.101 and @absolutejs/sync 3, plus pwa, sync-capacitor and sync-expo releases that accept sync 3.
15
+ _Migration:_ Upgrade `elysia` and every `@elysia/*` package to 2.0.0-rc.0 or later, `@absolutejs/auth` to 0.101 or later and `@absolutejs/sync` to 3. Then rename lifecycle hooks in your server: request → onRequest, beforeHandle → onBeforeHandle, afterHandle → onAfterHandle, afterResponse → onAfterResponse, error → onError, parse → onParse, transform → onTransform; replace setup/cleanup with onStart/onStop. The codemod at absolutejs/scripts codemods/elysia-rc-hooks.ts does the renames (run it before upgrading Elysia).
16
+
9
17
  ## 0.20.0-beta.143 — 2026-10-22
10
18
 
11
19
  ### Fixed
package/changelog.json CHANGED
@@ -2,6 +2,25 @@
2
2
  "contract": 1,
3
3
  "name": "@absolutejs/absolute",
4
4
  "releases": [
5
+ {
6
+ "changes": [
7
+ {
8
+ "detail": "Elysia 2.0.0-rc.0 renamed every lifecycle hook to its `on` form (request → onRequest, beforeHandle → onBeforeHandle, afterHandle → onAfterHandle, afterResponse → onAfterResponse, error → onError, parse → onParse, transform → onTransform) and removed setup/cleanup in favour of onStart/onStop. The framework now builds, tests and ships against Elysia 2.0.0-rc.0 and the matching @elysia plugins, and requires `elysia ^2.0.0-rc.0`, so it also accepts later release candidates and 2.0.0. It moves with the packages that made the same change: @absolutejs/auth 0.101 and @absolutejs/sync 3, plus pwa, sync-capacitor and sync-expo releases that accept sync 3.",
9
+ "kind": "breaking",
10
+ "migration": {
11
+ "instruction": "Upgrade `elysia` and every `@elysia/*` package to 2.0.0-rc.0 or later, `@absolutejs/auth` to 0.101 or later and `@absolutejs/sync` to 3. Then rename lifecycle hooks in your server: request → onRequest, beforeHandle → onBeforeHandle, afterHandle → onAfterHandle, afterResponse → onAfterResponse, error → onError, parse → onParse, transform → onTransform; replace setup/cleanup with onStart/onStop. The codemod at absolutejs/scripts codemods/elysia-rc-hooks.ts does the renames (run it before upgrading Elysia).",
12
+ "manual": true
13
+ },
14
+ "summary": "Requires Elysia 2.0.0-rc.0, @absolutejs/auth 0.101 and @absolutejs/sync 3",
15
+ "symbols": [
16
+ "prepare",
17
+ "startDevPrebuild"
18
+ ]
19
+ }
20
+ ],
21
+ "date": "2026-10-22",
22
+ "version": "0.20.0-beta.144"
23
+ },
5
24
  {
6
25
  "changes": [
7
26
  {
@@ -1,5 +1,5 @@
1
1
  // @bun
2
- // .angular-partial-tmp-hyLGHB/src/core/streamingSlotRegistrar.ts
2
+ // .angular-partial-tmp-3ekvQH/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-hyLGHB/src/core/streamingSlotRegistrar.ts
2
+ // .angular-partial-tmp-3ekvQH/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-hyLGHB/src/core/streamingSlotRegistry.ts
49
+ // .angular-partial-tmp-3ekvQH/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";
@@ -3294,7 +3294,7 @@ var init_requestContext = __esm(() => {
3294
3294
  PAGE_WARMER_KEY = Symbol.for("absolutejs.devPageWarmer");
3295
3295
  absoluteRequestContext = new Elysia2({
3296
3296
  name: "absolutejs-request-context"
3297
- }).request(({ request }) => {
3297
+ }).onRequest(({ request }) => {
3298
3298
  ensureRequestStorage().enterWith({ request });
3299
3299
  }).as("global");
3300
3300
  CSS_KEY_RE = /(?:CSS|Css)$/;
@@ -16673,5 +16673,5 @@ export {
16673
16673
  withPendingTask
16674
16674
  };
16675
16675
 
16676
- //# debugId=E95ABCE7A65667FE64756E2164756E21
16676
+ //# debugId=762CFF957158A84564756E2164756E21
16677
16677
  //# sourceMappingURL=index.js.map