@calcit/procs 0.13.37 → 0.13.39

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.
Binary file
package/README.md CHANGED
@@ -170,6 +170,7 @@ caps tree
170
170
  caps why calcit-lang/memof
171
171
  caps status
172
172
  caps verify
173
+ caps verify --toolchain # after yarn install, for JS projects
173
174
  ```
174
175
 
175
176
  ### Development
@@ -32,8 +32,8 @@ body 也必须显式返回对应容器;宏不会自动添加 `%some` / `%ok`
32
32
  `result:let` 展开为:
33
33
 
34
34
  ```cirru.no-check
35
- (read-file path) .and-then $ fn (content)
36
- (parse-data content) .and-then $ fn (data)
35
+ .and-then (read-file path) $ fn (content)
36
+ .and-then (parse-data content) $ fn (data)
37
37
  save-data data
38
38
  ```
39
39
 
@@ -0,0 +1,5 @@
1
+ # Fix Option and Result binding macro method order
2
+
3
+ - Corrected `option:let` and `result:let` expansion to call `.and-then` in Calcit's method-first form.
4
+ - Added regression tests where a binding is an evaluated expression rather than a literal container.
5
+ - Corrected the RFC expansion example and linked the regression to Issue #394.
@@ -0,0 +1,4 @@
1
+ # Release 0.13.38
2
+
3
+ - Releases the `option:let` and `result:let` method-order correction from PR #395.
4
+ - The patch makes expression-valued bindings expand through valid method-first `.and-then` calls.
@@ -0,0 +1,6 @@
1
+ # `caps verify --toolchain` runtime version guard
2
+
3
+ - `deps.cirru :calcit-version` is the project-selected Calcit release. A regular `caps verify` validates module-store integrity; `caps verify --toolchain` additionally makes this version a CI gate.
4
+ - For JavaScript projects the guard requires the running `caps` release, `package.json`'s exact `@calcit/procs` version, and the version Yarn resolves through `yarn node` to match exactly. This supports both Yarn PnP and node-modules installations.
5
+ - `caps upgrade --all` now requests `@calcit/procs@<current-calcit-version>` explicitly, so its manifest and lockfile remain tied to the Calcit release rather than whichever npm version happens to be latest.
6
+ - Place `caps verify --toolchain` after `caps --ci && yarn install --immutable` in JS CI. Native-only projects without `package.json` remain supported and verify the Calcit/deps pair only.
@@ -0,0 +1,6 @@
1
+ # Follow up: exact JS runtime toolchain guard
2
+
3
+ - The CI guard now treats a `package.json` without `@calcit/procs` as an error. The no-`package.json` case remains the explicit native-project escape hatch.
4
+ - Both `caps upgrade --all` and `caps verify --toolchain` use exact `@calcit/procs` versions. A SemVer caret could otherwise resolve a newer patch and make the upgrade command violate its own gate.
5
+ - `caps upgrade --all <path/to/deps.cirru>` now runs Yarn in the directory containing that dependency file, rather than the caller's working directory.
6
+ - Toolchain helper tests cover absent, exact, range, and installed-version cases, plus deriving the project root from a non-default `deps.cirru` path.
@@ -0,0 +1,5 @@
1
+ # Release 0.13.39
2
+
3
+ - Release the merged `caps verify --toolchain` guard.
4
+ - The release keeps `deps.cirru :calcit-version`, the installed Calcit CLI, the exact `@calcit/procs` manifest dependency, and Yarn's resolved runtime version aligned in JavaScript CI.
5
+ - `caps upgrade --all` now syncs the exact runtime version in the project directory selected by its `deps.cirru` input.
package/lib/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@calcit/procs",
3
- "version": "0.13.37",
3
+ "version": "0.13.39",
4
4
  "main": "./lib/calcit.procs.mjs",
5
5
  "devDependencies": {
6
6
  "@types/node": "^25.7.0",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@calcit/procs",
3
- "version": "0.13.37",
3
+ "version": "0.13.39",
4
4
  "main": "./lib/calcit.procs.mjs",
5
5
  "devDependencies": {
6
6
  "@types/node": "^25.7.0",