Repository navigation
v4.0.0-beta.5
Pre-release
Pre-release
·
558 commits
to main
since this release
The fifth prerelease of ic-reactor 4, published under npm's beta dist-tag (latest stays on 3.x). It adds:
- the candid-core pair published on 2026-10-10, pinned exactly:
@candid-core/schema0.4.0 (core's peer) and@candid-core/cli0.3.0 (the Vite plugin's). Each method of a generatedActornow carries its mode; client.queryOptionsreads that mode: an update or a oneway method of a generatedActordoes not compile there (#851). An idempotent update still opts in with{ update: "idempotent" }, andqueryOptions<A, any>keeps the run-time check where TypeScript cannot tell a read;- in the Vite plugin,
methodson a canister entry: a fetcheddidFileis written as the live interface projected to the methods the app calls (#852, phase 2); - in the Vite plugin, the live check:
verify: "live"on an entry, orIC_REACTOR_VERIFY, checks adidFileon disk against the canister's certified interface when a build or dev server starts. The plugin's options are now checked strictly: a misspelled key, anullor a value of the wrong type is refused rather than ignored.
Upgrading from beta.4: move all three @ic-reactor/* packages and the candid-core pair in one npm install, regenerate every module, and expect the queryOptions compile errors listed. No @ic-reactor/* export is added or removed. The steps, and what each package now contains: CHANGELOG, core, react, vite-plugin 4.0.0-beta.5.
What's Changed
- chore: pin candid-core schema 0.4.0 and cli 0.3.0, and move v4 to 4.0.0-beta.5 by @b3hr4d in #866
- feat(core): refuse update and oneway methods in queryOptions at compile time by @b3hr4d in #868
- feat(vite-plugin): methods projection and the live check (#852, phase 2) by @b3hr4d in #867
- chore(release): 4.0.0-beta.5 by @b3hr4d in #869
Full Changelog: v4.0.0-beta.4...v4.0.0-beta.5