@akanjs/devkit 2.4.0-rc.9 → 2.4.0

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
@@ -1,5 +1,58 @@
1
1
  # @akanjs/devkit
2
2
 
3
+ ## 2.4.0
4
+
5
+ ### Minor Changes
6
+
7
+ - 23d43b3: Harden dev host recovery during failed builds:
8
+
9
+ - Defer builder/backend recycle while a generation's build is still failing
10
+ - Merge deferred invalidate batches so restarts cover every skipped change
11
+ - Recover the builder with exponential backoff instead of giving up
12
+ - Revive a backend that gave up once the build goes green again
13
+ - Resurrect dev children after a failed recycle so the error overlay stays reachable
14
+ - Enter degraded builder boot mode on compile errors and retry on the next edit
15
+ - Announce recovered pages/css state after a degraded boot succeeds
16
+
17
+ - 18abf71: Improve dev server stability:
18
+
19
+ - Add `isPortInUseError` utility for detecting EADDRINUSE across Bun versions
20
+ - Stop crash-looping replicas after max boot failures in dev mode (`akan start`)
21
+ - Handle parent IPC disconnect to prevent orphaned gateway/child processes
22
+ - Report `wsUpstream` in ready IPC so gateway routes to the actual bound port
23
+ - Fall back to ephemeral port when preferred WS port is in use
24
+ - Support controlled dev-host restart on config changes (`akan.config.ts`, `tsconfig`)
25
+ - Forward backend build-status IPC to dev host for error surfacing in HMR overlay
26
+ - Limit backend recovery attempts (5 max) and idle until next server-side edit
27
+ - Add integration tests for config-edit restart and boot-failure recovery
28
+
29
+ - 23d43b3: Improve the mobile Capacitor workflow:
30
+
31
+ - Auto-declare default Capacitor plugins in the app package.json before iOS/Android launch
32
+ - Expand mobile runtime peer dependencies and workspace-root preflight installs
33
+ - Derive repo-scoped default bundle ids to avoid Apple portal collisions
34
+ - Add `akan doctor --ios` to flag placeholder bundle identifiers
35
+ - Add `--device` to `akan start ios` for non-interactive simulator/device selection
36
+ - Prefer newer iOS runtimes and warn on SwiftUICore-incompatible simulators
37
+ - Detect SwiftUICore dyld failures with actionable guidance
38
+ - Select a routable LAN host for mobile live reload with override support
39
+ - Raise Android minSdkVersion to 26 for bundled Capacitor plugins
40
+ - Include `@capacitor-community/fcm` in push notification runtime packages
41
+ - Resolve client port from `window.location` on the browser client
42
+
43
+ ### Patch Changes
44
+
45
+ - d56a8f0: Ship Pretendard as the default font for newly created apps:
46
+
47
+ - Bundle Pretendard woff2 files under the app template `public/fonts`
48
+ - Declare `fonts` with `default: true` in the generated root `_layout.tsx`
49
+
50
+ - Updated dependencies [d56a8f0]
51
+ - Updated dependencies [23d43b3]
52
+ - Updated dependencies [18abf71]
53
+ - Updated dependencies [23d43b3]
54
+ - akanjs@2.4.0
55
+
3
56
  ## 2.3.11
4
57
 
5
58
  ### Minor Changes
package/capacitorApp.ts CHANGED
@@ -186,7 +186,9 @@ export const selectLocalDevHost = (
186
186
  a.name.localeCompare(b.name) ||
187
187
  a.address.localeCompare(b.address),
188
188
  );
189
- return best ? { host: best.address, source: "detected", candidates } : { host: "127.0.0.1", source: "loopback", candidates };
189
+ return best
190
+ ? { host: best.address, source: "detected", candidates }
191
+ : { host: "127.0.0.1", source: "loopback", candidates };
190
192
  };
191
193
 
192
194
  const isRecord = (value: unknown): value is Record<string, unknown> =>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@akanjs/devkit",
3
- "version": "2.4.0-rc.9",
3
+ "version": "2.4.0",
4
4
  "sourceType": "module",
5
5
  "type": "module",
6
6
  "publishConfig": {
@@ -32,7 +32,7 @@
32
32
  "@langchain/openai": "^1.4.6",
33
33
  "@tailwindcss/node": "^4.3.0",
34
34
  "@trapezedev/project": "^7.1.4",
35
- "akanjs": "2.4.0-rc.9",
35
+ "akanjs": "2.4.0",
36
36
  "chalk": "^5.6.2",
37
37
  "commander": "^14.0.3",
38
38
  "daisyui": "5.5.23",