@absolutejs/absolute 0.20.0-beta.144 → 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 +24 -0
- package/changelog.json +37 -0
- package/dist/angular/browser.js.map +2 -2
- package/dist/angular/components/core/streamingSlotRegistrar.js +1 -1
- package/dist/angular/components/core/streamingSlotRegistry.js +2 -2
- package/dist/angular/index.js.map +8 -8
- package/dist/angular/server.js.map +7 -7
- package/dist/build.js +22 -15
- package/dist/build.js.map +44 -44
- package/dist/cli/{buildDepVendor-e2zz9x78.js → buildDepVendor-g49s8rr1.js} +1 -1
- package/dist/cli/{dev-d7nyd387.js → dev-4qz8gk8x.js} +3 -3
- package/dist/cli/fmt-819g837b.js +20 -0
- package/dist/cli/{index-cc8eay5y.js → index-1ksy2h3r.js} +4 -4
- package/dist/cli/{index-6vpdsqa1.js → index-3ff5ztt3.js} +5 -1
- package/dist/cli/index.js +9 -4
- package/dist/cli/{patchedBun-541bbnee.js → patchedBun-r3ykvvwz.js} +1 -1
- package/dist/client/index.js.map +3 -3
- package/dist/dev/client/handlers/angularHmrShim.ts +1 -2
- package/dist/dev/serverBootstrap.js +5 -1
- package/dist/index.js +22 -15
- package/dist/index.js.map +45 -45
- package/dist/islands/browser.js.map +2 -2
- package/dist/islands/index.js.map +5 -5
- package/dist/mobile/browser.js.map +2 -2
- package/dist/mobile/index.js.map +11 -11
- package/dist/react/browser.js.map +2 -2
- package/dist/react/components/index.js.map +3 -3
- package/dist/react/hooks/index.js.map +2 -2
- package/dist/react/index.js.map +7 -7
- package/dist/react/server.js.map +3 -3
- package/dist/src/cli/patchedBun.d.ts +5 -4
- package/dist/src/cli/scripts/fmt.d.ts +1 -0
- package/dist/src/core/prepare.d.ts +9 -922
- package/dist/svelte/browser.js.map +2 -2
- package/dist/svelte/index.js.map +8 -8
- package/dist/svelte/server.js.map +6 -6
- package/dist/types/globals.d.ts +9 -18
- package/dist/types/svelteRouter.ts +1 -2
- package/dist/vue/browser.js.map +2 -2
- package/dist/vue/index.js.map +8 -8
- package/dist/vue/server.js.map +4 -4
- package/package.json +3 -3
- /package/dist/cli/{add-a33ashpx.js → add-kwyqxccz.js} +0 -0
- /package/dist/cli/{doctor-f13ntk9a.js → doctor-4nv2c2j3.js} +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -6,6 +6,30 @@ 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
|
+
|
|
16
|
+
## 0.20.0-beta.145 — 2026-10-22
|
|
17
|
+
|
|
18
|
+
### Added
|
|
19
|
+
|
|
20
|
+
- **`absolute fmt` formats with bun fmt, using your Prettier config**
|
|
21
|
+
`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.
|
|
22
|
+
|
|
23
|
+
### Changed
|
|
24
|
+
|
|
25
|
+
- **absolute dev uses the patched Bun 1.4.4 build**
|
|
26
|
+
`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.
|
|
27
|
+
|
|
28
|
+
### Fixed
|
|
29
|
+
|
|
30
|
+
- **Projects without a tsconfig.json build on Bun 1.4.3 and newer**
|
|
31
|
+
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.
|
|
32
|
+
|
|
9
33
|
## 0.20.0-beta.144 — 2026-10-22
|
|
10
34
|
|
|
11
35
|
### Breaking
|
package/changelog.json
CHANGED
|
@@ -2,6 +2,43 @@
|
|
|
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
|
+
},
|
|
21
|
+
{
|
|
22
|
+
"changes": [
|
|
23
|
+
{
|
|
24
|
+
"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.",
|
|
25
|
+
"kind": "added",
|
|
26
|
+
"summary": "`absolute fmt` formats with bun fmt, using your Prettier config"
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"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.",
|
|
30
|
+
"kind": "fixed",
|
|
31
|
+
"summary": "Projects without a tsconfig.json build on Bun 1.4.3 and newer"
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
"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.",
|
|
35
|
+
"kind": "changed",
|
|
36
|
+
"summary": "absolute dev uses the patched Bun 1.4.4 build"
|
|
37
|
+
}
|
|
38
|
+
],
|
|
39
|
+
"date": "2026-10-22",
|
|
40
|
+
"version": "0.20.0-beta.145"
|
|
41
|
+
},
|
|
5
42
|
{
|
|
6
43
|
"changes": [
|
|
7
44
|
{
|