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

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 CHANGED
@@ -6,6 +6,47 @@ 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.147 — 2026-10-23
10
+
11
+ ### Fixed
12
+
13
+ - **absolute dev hides the detached Windows server console** (`PrepareResult`, `prepare`, `startDevPrebuild`)
14
+
15
+ ## 0.20.0-beta.146 — 2026-10-23
16
+
17
+ ### Fixed
18
+
19
+ - **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`)
20
+ 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.
21
+
22
+ ## 0.20.0-beta.146 — 2026-10-23
23
+
24
+ ### Fixed
25
+
26
+ - **absolute dev no longer opens a detached CMD window on Windows**
27
+
28
+ ### Internal
29
+
30
+ - **Keep generated prebuild declarations aligned with the published surface** (`PrepareResult`, `prepare`, `startDevPrebuild`)
31
+ The release build records the generated PrepareResult, prepare, and startDevPrebuild declaration surface so the package gate can compare the release deterministically.
32
+
33
+ ## 0.20.0-beta.145 — 2026-10-22
34
+
35
+ ### Added
36
+
37
+ - **`absolute fmt` formats with bun fmt, using your Prettier config**
38
+ `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.
39
+
40
+ ### Changed
41
+
42
+ - **absolute dev uses the patched Bun 1.4.4 build**
43
+ `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.
44
+
45
+ ### Fixed
46
+
47
+ - **Projects without a tsconfig.json build on Bun 1.4.3 and newer**
48
+ 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.
49
+
9
50
  ## 0.20.0-beta.145 — 2026-10-22
10
51
 
11
52
  ### Added
package/changelog.json CHANGED
@@ -2,6 +2,74 @@
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
+ },
42
+ {
43
+ "changes": [
44
+ {
45
+ "kind": "fixed",
46
+ "summary": "absolute dev hides the detached Windows server console",
47
+ "symbols": ["PrepareResult", "prepare", "startDevPrebuild"]
48
+ }
49
+ ],
50
+ "date": "2026-10-23",
51
+ "version": "0.20.0-beta.147"
52
+ },
53
+ {
54
+ "changes": [
55
+ {
56
+ "kind": "fixed",
57
+ "summary": "absolute dev no longer opens a detached CMD window on Windows"
58
+ },
59
+ {
60
+ "detail": "The release build records the generated PrepareResult, prepare, and startDevPrebuild declaration surface so the package gate can compare the release deterministically.",
61
+ "kind": "internal",
62
+ "summary": "Keep generated prebuild declarations aligned with the published surface",
63
+ "symbols": [
64
+ "PrepareResult",
65
+ "prepare",
66
+ "startDevPrebuild"
67
+ ]
68
+ }
69
+ ],
70
+ "date": "2026-10-23",
71
+ "version": "0.20.0-beta.146"
72
+ },
5
73
  {
6
74
  "changes": [
7
75
  {
@@ -1,5 +1,5 @@
1
1
  // @bun
2
- // .angular-partial-tmp-r9uhMp/src/core/streamingSlotRegistrar.ts
2
+ // .angular-partial-tmp-BTRbNV/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-r9uhMp/src/core/streamingSlotRegistrar.ts
2
+ // .angular-partial-tmp-BTRbNV/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-r9uhMp/src/core/streamingSlotRegistry.ts
49
+ // .angular-partial-tmp-BTRbNV/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/build.js CHANGED
@@ -31452,7 +31452,8 @@ var MS_PER_SECOND2 = 1000, DEFAULT_PORT2 = 3000, MAX_STATIC_ROUTE_COUNT, STATIC_
31452
31452
  const { serverTiming } = await import("@elysia/server-timing");
31453
31453
  const mobileDevPlugin = await loadMobileDevPlugin(config.mobile);
31454
31454
  const mobileUpdatePlugin = await loadMobileUpdatePlugin(config.mobile, false);
31455
- const absolutejs = new Elysia12({ name: "absolutejs-runtime" }).use(requestInspector).use(absoluteRequestContext).use(serverTiming()).use(devtoolsJson(buildDir, {
31455
+ const absolutejs = new Elysia12({ name: "absolutejs-runtime" });
31456
+ absolutejs.use(requestInspector).use(absoluteRequestContext).use(serverTiming()).use(devtoolsJson(buildDir, {
31456
31457
  normalizeForWindowsContainer: config.dev?.devtools?.normalizeForWindowsContainer,
31457
31458
  projectRoot: config.dev?.devtools?.projectRoot,
31458
31459
  uuid: config.dev?.devtools?.uuid,
@@ -31643,7 +31644,8 @@ var MS_PER_SECOND2 = 1000, DEFAULT_PORT2 = 3000, MAX_STATIC_ROUTE_COUNT, STATIC_
31643
31644
  });
31644
31645
  stepStartedAt = performance.now();
31645
31646
  await Promise.resolve().then(() => init_imageOptimizer());
31646
- const absolutejs = new Elysia12({ name: "absolutejs-runtime" }).use(absoluteRequestContext).use(mobileAssociationPlugin).use(mobileCompatibilityPlugin).use(mobileUpdatePlugin).use(assetCachePlugin).use(imageOptimizer(config.images, buildDir)).use(prerenderPlugin).use(precompressedFiles).use(staticFiles).use(generatedAssetsPlugin).use(createNotFoundPlugin());
31647
+ const absolutejs = new Elysia12({ name: "absolutejs-runtime" });
31648
+ absolutejs.use(absoluteRequestContext).use(mobileAssociationPlugin).use(mobileCompatibilityPlugin).use(mobileUpdatePlugin).use(assetCachePlugin).use(imageOptimizer(config.images, buildDir)).use(prerenderPlugin).use(precompressedFiles).use(staticFiles).use(generatedAssetsPlugin).use(createNotFoundPlugin());
31647
31649
  await withOpenApi(absolutejs, config, process.cwd(), false);
31648
31650
  await withTelemetry(absolutejs, config, process.cwd());
31649
31651
  recordStep("assemble production runtime", stepStartedAt);
@@ -31652,7 +31654,8 @@ var MS_PER_SECOND2 = 1000, DEFAULT_PORT2 = 3000, MAX_STATIC_ROUTE_COUNT, STATIC_
31652
31654
  }
31653
31655
  stepStartedAt = performance.now();
31654
31656
  await Promise.resolve().then(() => init_imageOptimizer());
31655
- const absolutejs = new Elysia12({ name: "absolutejs-runtime" }).use(absoluteRequestContext).use(mobileAssociationPlugin).use(mobileCompatibilityPlugin).use(mobileUpdatePlugin).use(assetCachePlugin).use(imageOptimizer(config.images, buildDir)).use(precompressedFiles).use(staticFiles).use(generatedAssetsPlugin).use(createNotFoundPlugin());
31657
+ const absolutejs = new Elysia12({ name: "absolutejs-runtime" });
31658
+ absolutejs.use(absoluteRequestContext).use(mobileAssociationPlugin).use(mobileCompatibilityPlugin).use(mobileUpdatePlugin).use(assetCachePlugin).use(imageOptimizer(config.images, buildDir)).use(precompressedFiles).use(staticFiles).use(generatedAssetsPlugin).use(createNotFoundPlugin());
31656
31659
  await withOpenApi(absolutejs, config, process.cwd(), false);
31657
31660
  await withTelemetry(absolutejs, config, process.cwd());
31658
31661
  recordStep("assemble production runtime", stepStartedAt);
@@ -37831,5 +37834,5 @@ export {
37831
37834
  devBuild
37832
37835
  };
37833
37836
 
37834
- //# debugId=52E8261C6EFE79FE64756E2164756E21
37837
+ //# debugId=9218616736C2687B64756E2164756E21
37835
37838
  //# sourceMappingURL=build.js.map