github PerryTS/perry v0.5.386

latest releases: v0.5.1167, v0.5.1166, v0.5.1159...
one month ago

Highlights

New Features

  • Web Streams API (ReadableStream + WritableStream + TransformStream) — closes #237 (#301)
  • ethers.Wallet.createRandom(), perry/system::getLocale, perry/system::getAppIcon — closes #278 (#299)
  • registerGlobalHotkey codegen + TS surface — closes #276 (#293)
  • _jsx / _jsxs runtime stubs (link-clean) — closes #277 (#297)
  • perry setup harmonyos wizard (Phase 1 endgame for HarmonyOS) — v0.5.380 (#290)

Bug Fixes

  • 3 SIGSEGV bug shapes fixed: this-capture closures + Logical-typed slice/sort chains — closes #291 (v0.5.382)
  • Promise constructor body, Promise.any, .finally, .race ordering — fixes 4 bugs from #266 (#287)
  • Uint8ClampedArray clamping when index-set bypasses fast path
  • Int32Array / Float64Array / Uint8Array.at() fast path — closes #269 (#289)
  • Class field with closure init referencing outer locals — closes #261
  • Async-fn array param push cap-of-16 silent regression — closes #233
  • FFI returns:"i64_str" for string-pointer detection — closes #222 (#296)
  • Doc-tests retina 2× screenshot SSIM — closes #244 (#298)
  • Issue #221 regression test added (#295)

Parity & Testing

  • fs.promises.readFile/writeFile/... regression introduced by v0.5.385 — fixed in v0.5.386 by excluding sub-namespaces from the new module.Class.staticMethod() HIR arm
  • TLS-upgrade companion wired into parity runner — closes #275 (#288)
  • test_gap_async_advanced now counted as PASS (all #268 features implemented) (#292)

CI / Tooling

  • rustfmt baseline + cargo fmt --check gate added (#294)
  • compile-smoke job parallelized via xargs -P 3 + retry-on-cargo-race
  • known_failures.json pruning + JSON-quirk fix in parity gate
  • Tests workflow time reduced; rustfmt drift caught earlier in PR cycle

Stats since v0.5.379

Full changelog: CHANGELOG.md

Don't miss a new perry release

NewReleases is sending notifications on new releases.