Skip to content

Commit c1ba5c0

Browse files
authored
docs: add v0.1.6 changelog (#19)
Signed-off-by: Simon Davies <simongdavies@users.noreply.github.com>
1 parent 6cd2fda commit c1ba5c0

1 file changed

Lines changed: 24 additions & 0 deletions

File tree

CHANGELOG.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,30 @@ All notable changes to this project will be documented in this file.
44

55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
66

7+
## [v0.1.6] - 2026-03-27
8+
9+
### Added
10+
11+
- **Cross-platform npm publishing** — Publish workflow now builds native addons on Linux (glibc + musl) and Windows in parallel, uploads artifacts, and combines them into a single cross-platform npm package
12+
- **musl/Alpine support** — Added `x86_64-unknown-linux-musl` NAPI build target for `hyperlight-analysis`; CI cross-compiles musl from glibc runner with `musl-tools`
13+
- **Runtime NAPI platform detection** — Binary launcher uses napi-rs generated `index.js` for `js-host-api` (full musl/glibc/win32 detection) and probes `ldd` for `hyperlight-analysis` musl vs glibc resolution
14+
- **ha-modules.d.ts sync test** — New test in `dts-sync.test.ts` regenerates `ha-modules.d.ts` and compares to committed version, catching drift when module exports/types change without re-running the generator
15+
16+
### Fixed
17+
18+
- **Cross-platform .node loading**`build-binary.js` no longer hardcodes the NAPI triple at build time; copies all available platform `.node` files and uses runtime detection to load the correct one
19+
- **postinstall script** — Fixed missing closing brace in `package.json` `node -e` snippet that caused SyntaxError during `npm install`
20+
- **Publish artifact ordering** — Download artifacts AFTER `just setup` to avoid symlink/junction clobber when `build-hyperlight` re-creates `deps/js-host-api`
21+
- **ha-modules.d.ts stale types** — Regenerated with `ShapeFragment` return types (was `string`) to match upstream ShapeFragment safety system
22+
- **Node.js launcher URL** — Use `pathToFileURL(cjs).href` instead of manual `file://` concatenation (fixes invalid URLs on Windows)
23+
- **Unix PATH instructions** — Removed backslash escaping of `$PATH` in post-build output
24+
- **pattern-loader test cleanup**`afterEach` only swallows `EBUSY`/`EPERM` on Windows; rethrows real errors on other platforms
25+
26+
### Changed
27+
28+
- **Publish workflow** — Replaced single-platform `ubuntu-latest` publish with multi-platform matrix build (Linux KVM, Linux musl, Windows WHP) followed by artifact-combining publish job on self-hosted runner
29+
- **Publish runner**`publish-npm` job now runs on self-hosted `hld-kvm-amd` runner (needs Rust toolchain for `just setup`)
30+
731
## [v0.1.5] - 2026-03-27
832

933
### Added

0 commit comments

Comments
 (0)