Skip to content

Commit 26c8120

Browse files
committed
fix: allow per-arch mac packaging without universal cpu-features
1 parent 5ff8302 commit 26c8120

5 files changed

Lines changed: 46 additions & 4 deletions

File tree

CHANGELOG.md

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,16 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
## [1.2.18] - 2026-07-09
11+
12+
### Changed
13+
14+
- Carried forward the per-architecture macOS release workflow, chat launch-control polish, terminal file-change review improvements, and redesigned iOS Work model picker from v1.2.17.
15+
16+
### Fixed
17+
18+
- Fixed per-architecture macOS packaging by allowing the after-pack hook to keep the runner-built `cpu-features` native addon when universal staging inputs are absent.
19+
1020
## [1.2.17] - 2026-07-09
1121

1222
### Changed
@@ -624,7 +634,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
624634

625635
- Initial public release.
626636

627-
[Unreleased]: https://github.com/arul28/ADE/compare/v1.2.17...HEAD
637+
[Unreleased]: https://github.com/arul28/ADE/compare/v1.2.18...HEAD
638+
[1.2.18]: https://github.com/arul28/ADE/compare/v1.2.17...v1.2.18
628639
[1.2.17]: https://github.com/arul28/ADE/compare/v1.2.16...v1.2.17
629640
[1.2.16]: https://github.com/arul28/ADE/compare/v1.2.15...v1.2.16
630641
[1.2.15]: https://github.com/arul28/ADE/compare/v1.2.14...v1.2.15

apps/desktop/scripts/after-pack-runtime-fixes.cjs

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,8 +151,16 @@ function replaceCpuFeaturesNativeAddon(runtimeRoot, context) {
151151
"Release",
152152
"cpufeatures.node",
153153
);
154-
requireFile(preparedAddonPath, `prepared ${packageArch} cpu-features native addon`);
155154
requireFile(packagedAddonPath, "packaged cpu-features native addon");
155+
156+
if (!fs.existsSync(preparedAddonPath)) {
157+
console.log(
158+
`[afterPack] Keeping packaged cpu-features native addon for ${packageArch}; ` +
159+
`no prepared replacement found at ${preparedAddonPath}`,
160+
);
161+
return;
162+
}
163+
156164
fs.copyFileSync(preparedAddonPath, packagedAddonPath);
157165
console.log(`[afterPack] Replaced cpu-features native addon for ${packageArch}`);
158166
}

changelog/index.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@ description: "Latest ADE release notes and release history."
55

66
ADE release notes live here in newest-first order. Start with the latest release, or browse the release list in the sidebar.
77

8-
<Card title="Latest release" icon="tag" href="/changelog/v1.2.17">
9-
v1.2.17 - per-architecture macOS updater recovery, chat launch-control polish, terminal file-change review, and the redesigned iOS model picker.
8+
<Card title="Latest release" icon="tag" href="/changelog/v1.2.18">
9+
v1.2.18 - per-architecture macOS updater recovery, native addon packaging fix, chat launch-control polish, and the redesigned iOS model picker.
1010
</Card>

changelog/v1.2.18.mdx

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
---
2+
title: "v1.2.18"
3+
description: "Release notes for ADE v1.2.18 - July 9, 2026"
4+
---
5+
6+
v1.2.18 fixes the per-architecture macOS release build and carries forward the `v1.2.17` desktop, CLI, and iOS improvements.
7+
8+
---
9+
10+
## Desktop and CLI
11+
12+
- **Per-architecture updater recovery.** The release workflow builds signed arm64 and x64 macOS artifacts independently, merges their updater manifests, and avoids publishing universal updater ZIPs.
13+
- **Per-arch packaging fix.** macOS after-pack now keeps the runner-built `cpu-features` native addon when universal staging inputs are absent, allowing native arm64 and x64 builds to complete.
14+
- **Chat launch control polish.** Permission mode and reasoning effort controls are clearer across chat, PR resolver launch, native launch helpers, and mobile-facing action summaries.
15+
- **Terminal file-change review.** Terminal-driven file changes now surface a stronger primary action and cleaner supporting state across desktop and ADE Code.
16+
17+
---
18+
19+
## iOS
20+
21+
- **Model picker redesign.** The Work model picker has a denser, clearer mobile layout with improved provider, permission, and reasoning-effort affordances.
22+
- **Composer and launch consistency.** Hub, Linear, new-chat, and Work composer surfaces now align around the redesigned picker and updated launch-control summaries.

docs.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -178,6 +178,7 @@
178178
"expanded": true,
179179
"pages": [
180180
"changelog",
181+
"changelog/v1.2.18",
181182
"changelog/v1.2.17",
182183
"changelog/v1.2.16",
183184
"changelog/v1.2.15",

0 commit comments

Comments
 (0)