@absolutejs/absolute 0.20.0-beta.164 → 0.20.0-beta.166

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,19 @@ 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.166 — 2026-11-06
10
+
11
+ ### Fixed
12
+
13
+ - **Production client bundles use the production build of every package**
14
+ Production client bundles compiled `process.env.NODE_ENV` as development, because Bun.build does so unless told otherwise, whatever the environment says. React's own vendor build was already fixed, but anything else a page bundled took its development build. That made bundles larger and slower, and could pair a package's development code with production React: the reconciler inside @react-three/fiber reads React's `actQueue`, which production React doesn't have, and threw on absolutejs.ai's billing page. React, other-framework, island and worker client builds now say production in a production build. Development builds are unchanged.
15
+
16
+ ## 0.20.0-beta.165 — 2026-11-05
17
+
18
+ ### Added
19
+
20
+ - **Expose a server-side tunnel relay entry point with exact callback route restrictions and optional hosting liveness endpoint**
21
+
9
22
  ## 0.20.0-beta.164 — 2026-11-02
10
23
 
11
24
  ### Fixed
package/changelog.json CHANGED
@@ -2,6 +2,27 @@
2
2
  "contract": 1,
3
3
  "name": "@absolutejs/absolute",
4
4
  "releases": [
5
+ {
6
+ "changes": [
7
+ {
8
+ "detail": "Production client bundles compiled `process.env.NODE_ENV` as development, because Bun.build does so unless told otherwise, whatever the environment says. React's own vendor build was already fixed, but anything else a page bundled took its development build. That made bundles larger and slower, and could pair a package's development code with production React: the reconciler inside @react-three/fiber reads React's `actQueue`, which production React doesn't have, and threw on absolutejs.ai's billing page. React, other-framework, island and worker client builds now say production in a production build. Development builds are unchanged.",
9
+ "kind": "fixed",
10
+ "summary": "Production client bundles use the production build of every package"
11
+ }
12
+ ],
13
+ "date": "2026-11-06",
14
+ "version": "0.20.0-beta.166"
15
+ },
16
+ {
17
+ "changes": [
18
+ {
19
+ "kind": "added",
20
+ "summary": "Expose a server-side tunnel relay entry point with exact callback route restrictions and optional hosting liveness endpoint"
21
+ }
22
+ ],
23
+ "date": "2026-11-05",
24
+ "version": "0.20.0-beta.165"
25
+ },
5
26
  {
6
27
  "changes": [
7
28
  {
@@ -1,5 +1,5 @@
1
1
  // @bun
2
- // .angular-partial-tmp-3SfpvV/src/core/streamingSlotRegistrar.ts
2
+ // .angular-partial-tmp-mB4bQg/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-3SfpvV/src/core/streamingSlotRegistrar.ts
2
+ // .angular-partial-tmp-mB4bQg/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-3SfpvV/src/core/streamingSlotRegistry.ts
49
+ // .angular-partial-tmp-mB4bQg/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
@@ -12694,7 +12694,7 @@ var resolveBuildDevelopmentMode = (mode, nodeEnv) => mode === "development" || m
12694
12694
  __VUE_OPTIONS_API__: "true",
12695
12695
  __VUE_PROD_DEVTOOLS__: development ? "true" : "false",
12696
12696
  __VUE_PROD_HYDRATION_MISMATCH_DETAILS__: development ? "true" : "false"
12697
- });
12697
+ }), resolveClientDefine = (development, define = {}) => development ? define : { ...define, "process.env.NODE_ENV": '"production"' };
12698
12698
 
12699
12699
  // src/utils/commonAncestor.ts
12700
12700
  var commonAncestor = (paths, fallback) => {
@@ -23343,6 +23343,8 @@ ${offenders.map((o) => ` \u2022 ${o}`).join(`
23343
23343
  const buildStart = performance.now();
23344
23344
  const isDev = resolveBuildDevelopmentMode(mode, env2.NODE_ENV);
23345
23345
  const vueFeatureFlags = resolveVueFeatureFlags(isDev);
23346
+ const clientDefine = resolveClientDefine(isDev);
23347
+ const clientDefineWithVue = resolveClientDefine(isDev, vueDirectory ? vueFeatureFlags : {});
23346
23348
  const projectRoot = cwd();
23347
23349
  const devServerExternalsPlugins = isDev ? [
23348
23350
  createDevServerExternalsPlugin({
@@ -24131,6 +24133,7 @@ ${offenders.map((o) => ` \u2022 ${o}`).join(`
24131
24133
  const htmlScriptPlugin = hmr ? createHTMLScriptHMRPlugin(htmlDir, htmxDir) : undefined;
24132
24134
  const reactBuildConfig = reactClientEntryPoints.length > 0 ? mergeBunBuildConfig({
24133
24135
  banner: pwaArtifacts?.bootstrapBanner,
24136
+ define: clientDefine,
24134
24137
  entrypoints: reactClientEntryPoints,
24135
24138
  external: [
24136
24139
  ...new Set([
@@ -24209,7 +24212,7 @@ ${offenders.map((o) => ` \u2022 ${o}`).join(`
24209
24212
  nonReactClientEntryPoints.length > 0 ? tracePhase("bun/non-react-client", () => bunBuild7(mergeBunBuildConfig({
24210
24213
  banner: pwaArtifacts?.bootstrapBanner,
24211
24214
  conditions: svelteResolveConditions,
24212
- define: vueDirectory ? vueFeatureFlags : undefined,
24215
+ define: clientDefineWithVue,
24213
24216
  entrypoints: nonReactClientEntryPoints,
24214
24217
  external: Object.keys(nonReactExternalPaths),
24215
24218
  format: "esm",
@@ -24238,6 +24241,7 @@ ${offenders.map((o) => ` \u2022 ${o}`).join(`
24238
24241
  }, resolveBunBuildOverride(bunBuildConfig, "nonReactClient")))) : undefined,
24239
24242
  urlReferencedFiles.length > 0 ? tracePhase("bun/worker-client", () => bunBuild7(mergeBunBuildConfig({
24240
24243
  conditions: svelteResolveConditions,
24244
+ define: clientDefine,
24241
24245
  entrypoints: urlReferencedFiles,
24242
24246
  external: Object.keys(nonReactExternalPaths),
24243
24247
  format: "esm",
@@ -24255,7 +24259,7 @@ ${offenders.map((o) => ` \u2022 ${o}`).join(`
24255
24259
  islandClientEntryPoints.length > 0 ? tracePhase("bun/island-client", () => bunBuild7(mergeBunBuildConfig({
24256
24260
  banner: pwaArtifacts?.bootstrapBanner,
24257
24261
  conditions: svelteResolveConditions,
24258
- define: vueDirectory ? vueFeatureFlags : undefined,
24262
+ define: clientDefineWithVue,
24259
24263
  entrypoints: islandClientEntryPoints,
24260
24264
  external: Object.keys(nonReactExternalPaths),
24261
24265
  format: "esm",
@@ -37979,5 +37983,5 @@ export {
37979
37983
  devBuild
37980
37984
  };
37981
37985
 
37982
- //# debugId=B0E420A64566FADD64756E2164756E21
37986
+ //# debugId=A2A72269894BD57F64756E2164756E21
37983
37987
  //# sourceMappingURL=build.js.map