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

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 (68) hide show
  1. package/CHANGELOG.md +25 -0
  2. package/changelog.json +40 -0
  3. package/dist/angular/browser.js.map +2 -2
  4. package/dist/angular/components/core/streamingSlotRegistrar.js +1 -1
  5. package/dist/angular/components/core/streamingSlotRegistry.js +2 -2
  6. package/dist/angular/index.js +2 -2
  7. package/dist/angular/index.js.map +10 -10
  8. package/dist/angular/server.js +2 -2
  9. package/dist/angular/server.js.map +9 -9
  10. package/dist/build.js +49 -45
  11. package/dist/build.js.map +49 -49
  12. package/dist/cli/{buildDepVendor-e2zz9x78.js → buildDepVendor-g49s8rr1.js} +1 -1
  13. package/dist/cli/{compile-grhs9tj4.js → compile-351tb63a.js} +2 -2
  14. package/dist/cli/config/server.js +1 -1
  15. package/dist/cli/{dev-e4w5nq6y.js → dev-4qz8gk8x.js} +4 -4
  16. package/dist/cli/{expoProject-kabqa80q.js → expoProject-f3eb0040.js} +1 -1
  17. package/dist/cli/fmt-819g837b.js +20 -0
  18. package/dist/cli/{index-cc8eay5y.js → index-1ksy2h3r.js} +4 -4
  19. package/dist/cli/{index-6vpdsqa1.js → index-3ff5ztt3.js} +5 -1
  20. package/dist/cli/{index-h078vn9f.js → index-8s6w45zc.js} +1 -1
  21. package/dist/cli/{index-fezxjrgd.js → index-ezz88cdw.js} +1 -1
  22. package/dist/cli/{index-nrtt3x67.js → index-snz4z0tq.js} +21 -21
  23. package/dist/cli/index.js +13 -8
  24. package/dist/cli/{mobile-p657bkqa.js → mobile-dvahvjeh.js} +3 -3
  25. package/dist/cli/{patchedBun-541bbnee.js → patchedBun-r3ykvvwz.js} +1 -1
  26. package/dist/cli/{start-3m7bd02e.js → start-09prwq60.js} +3 -3
  27. package/dist/client/chunks/{islands-eexr591d.js → islands-rc28k5sx.js} +7 -7
  28. package/dist/client/chunks/{islands-eexr591d.js.map → islands-rc28k5sx.js.map} +3 -3
  29. package/dist/client/index.js +2 -2
  30. package/dist/client/index.js.map +3 -3
  31. package/dist/dev/client/handlers/angularHmrShim.ts +1 -2
  32. package/dist/dev/serverBootstrap.js +6 -2
  33. package/dist/index.js +49 -45
  34. package/dist/index.js.map +51 -51
  35. package/dist/islands/browser.js.map +2 -2
  36. package/dist/islands/index.js.map +5 -5
  37. package/dist/mobile/browser.js +1 -1
  38. package/dist/mobile/browser.js.map +4 -4
  39. package/dist/mobile/index.js +25 -25
  40. package/dist/mobile/index.js.map +16 -16
  41. package/dist/mobile/remoteMacAgentEntry.js +2 -2
  42. package/dist/react/browser.js.map +2 -2
  43. package/dist/react/components/index.js.map +3 -3
  44. package/dist/react/hooks/index.js.map +2 -2
  45. package/dist/react/index.js +2 -2
  46. package/dist/react/index.js.map +9 -9
  47. package/dist/react/server.js +2 -2
  48. package/dist/react/server.js.map +5 -5
  49. package/dist/src/cli/patchedBun.d.ts +5 -4
  50. package/dist/src/cli/scripts/fmt.d.ts +1 -0
  51. package/dist/src/core/prepare.d.ts +256 -1063
  52. package/dist/src/mobile/nativePackages.d.ts +1 -1
  53. package/dist/src/plugins/hmr.d.ts +4 -1
  54. package/dist/svelte/browser.js.map +2 -2
  55. package/dist/svelte/index.js +2 -2
  56. package/dist/svelte/index.js.map +10 -10
  57. package/dist/svelte/server.js +2 -2
  58. package/dist/svelte/server.js.map +8 -8
  59. package/dist/types/globals.d.ts +9 -18
  60. package/dist/types/svelteRouter.ts +1 -2
  61. package/dist/vue/browser.js.map +2 -2
  62. package/dist/vue/index.js +2 -2
  63. package/dist/vue/index.js.map +10 -10
  64. package/dist/vue/server.js +2 -2
  65. package/dist/vue/server.js.map +6 -6
  66. package/package.json +15 -15
  67. /package/dist/cli/{add-a33ashpx.js → add-kwyqxccz.js} +0 -0
  68. /package/dist/cli/{doctor-f13ntk9a.js → doctor-4nv2c2j3.js} +0 -0
package/CHANGELOG.md CHANGED
@@ -6,6 +6,31 @@ 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.145 — 2026-10-22
10
+
11
+ ### Added
12
+
13
+ - **`absolute fmt` formats with bun fmt, using your Prettier config**
14
+ `absolute fmt` formats with Bun's built-in `bun fmt` (Bun 1.4.4 or newer). It reads the project's existing Prettier configuration (`.prettierrc*`, overrides, `.prettierignore`, `.editorconfig`) and produces the same output as Prettier 3.9, Svelte included, in milliseconds, so it needs no cache. `absolute fmt --check` exits non-zero when files need formatting. On older Bun it says so and points to `absolute prettier`, which stays for projects whose Prettier plugins `bun fmt` doesn't support.
15
+
16
+ ### Changed
17
+
18
+ - **absolute dev uses the patched Bun 1.4.4 build**
19
+ `absolute dev` now selects AbsoluteJS's patched Bun 1.4.4 (`1.4.4+absolute.1`, installed and signature-checked by bvm) for React Fast Refresh. Stock Bun 1.4.4 still ignores `reactFastRefresh` on `Bun.Transpiler` (oven-sh/bun#32919), so React edits keep component state only on the patched build. The patched build now reports its full version as `Bun.version`, and the install check accepts it. Projects on the 1.4.2 patched build are offered the update.
20
+
21
+ ### Fixed
22
+
23
+ - **Projects without a tsconfig.json build on Bun 1.4.3 and newer**
24
+ Builds named `./tsconfig.json` to Bun.build whether or not the project had one. Bun ignored the option until 1.4.3; from 1.4.3 it reads it and fails with `Cannot find tsconfig file`, so on Bun 1.4.3+ a project without a tsconfig.json could not build, compile or start its dev client. The tsconfig is now named only when it exists; otherwise Bun finds the nearest one itself, as it did before.
25
+
26
+ ## 0.20.0-beta.144 — 2026-10-22
27
+
28
+ ### Breaking
29
+
30
+ - **Requires Elysia 2.0.0-rc.0, @absolutejs/auth 0.101 and @absolutejs/sync 3** (`prepare`, `startDevPrebuild`)
31
+ 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.
32
+ _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).
33
+
9
34
  ## 0.20.0-beta.143 — 2026-10-22
10
35
 
11
36
  ### Fixed
package/changelog.json CHANGED
@@ -2,6 +2,46 @@
2
2
  "contract": 1,
3
3
  "name": "@absolutejs/absolute",
4
4
  "releases": [
5
+ {
6
+ "changes": [
7
+ {
8
+ "detail": "`absolute fmt` formats with Bun's built-in `bun fmt` (Bun 1.4.4 or newer). It reads the project's existing Prettier configuration (`.prettierrc*`, overrides, `.prettierignore`, `.editorconfig`) and produces the same output as Prettier 3.9, Svelte included, in milliseconds, so it needs no cache. `absolute fmt --check` exits non-zero when files need formatting. On older Bun it says so and points to `absolute prettier`, which stays for projects whose Prettier plugins `bun fmt` doesn't support.",
9
+ "kind": "added",
10
+ "summary": "`absolute fmt` formats with bun fmt, using your Prettier config"
11
+ },
12
+ {
13
+ "detail": "Builds named `./tsconfig.json` to Bun.build whether or not the project had one. Bun ignored the option until 1.4.3; from 1.4.3 it reads it and fails with `Cannot find tsconfig file`, so on Bun 1.4.3+ a project without a tsconfig.json could not build, compile or start its dev client. The tsconfig is now named only when it exists; otherwise Bun finds the nearest one itself, as it did before.",
14
+ "kind": "fixed",
15
+ "summary": "Projects without a tsconfig.json build on Bun 1.4.3 and newer"
16
+ },
17
+ {
18
+ "detail": "`absolute dev` now selects AbsoluteJS's patched Bun 1.4.4 (`1.4.4+absolute.1`, installed and signature-checked by bvm) for React Fast Refresh. Stock Bun 1.4.4 still ignores `reactFastRefresh` on `Bun.Transpiler` (oven-sh/bun#32919), so React edits keep component state only on the patched build. The patched build now reports its full version as `Bun.version`, and the install check accepts it. Projects on the 1.4.2 patched build are offered the update.",
19
+ "kind": "changed",
20
+ "summary": "absolute dev uses the patched Bun 1.4.4 build"
21
+ }
22
+ ],
23
+ "date": "2026-10-22",
24
+ "version": "0.20.0-beta.145"
25
+ },
26
+ {
27
+ "changes": [
28
+ {
29
+ "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.",
30
+ "kind": "breaking",
31
+ "migration": {
32
+ "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).",
33
+ "manual": true
34
+ },
35
+ "summary": "Requires Elysia 2.0.0-rc.0, @absolutejs/auth 0.101 and @absolutejs/sync 3",
36
+ "symbols": [
37
+ "prepare",
38
+ "startDevPrebuild"
39
+ ]
40
+ }
41
+ ],
42
+ "date": "2026-10-22",
43
+ "version": "0.20.0-beta.144"
44
+ },
5
45
  {
6
46
  "changes": [
7
47
  {