@akanjs/cli 3.1.1-rc.2 → 3.1.1-rc.3

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.
package/.build-stamp CHANGED
@@ -1 +1 @@
1
- 38e5d701205b086217ece1347934c9ac7c5aa7b31adb4dac7728403307aab399
1
+ 5bce9c432681dbffde300f2d620f927c20721e6f64af5b6e6f672b5f8618531a
@@ -72,6 +72,9 @@ this is the full contract behind them.
72
72
  "there is at most one of these", not for claiming the next item off a queue. Pass a query that matches one row.
73
73
  The query is a compare-and-set in every mode: of two concurrent `updateOne({ id, balance: { $gte: n } }, …)` that
74
74
  both read the row as matching, only one applies, so `modifiedCount` is the verdict.
75
+ - **`{ touch: false }` leaves `updatedAt` as stored** on a query-level write: in the options of `updateOne` /
76
+ `updateMany` / `updateById`, or `.set(update, { touch: false })` on a filter chain. Bookkeeping that is no edit — a
77
+ lease heartbeat, a mirrored snapshot — otherwise moves the row in every `updatedAt` period and sort.
75
78
  - **A filter may not be keyed after its own model.** Filter methods are assigned after CRUD, so a filter `chat` on
76
79
  model `chat` would silently swap the single-document `removeChat`/`updateChat` for a hookless query-level one. It
77
80
  throws at boot instead (`assertFilterFitsCrud`).
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@akanjs/cli",
3
- "version": "3.1.1-rc.2",
3
+ "version": "3.1.1-rc.3",
4
4
  "sourceType": "module",
5
5
  "type": "module",
6
6
  "publishConfig": {
@@ -39,7 +39,7 @@
39
39
  "@earendil-works/pi-tui": "1.3.0",
40
40
  "@inquirer/prompts": "^8.7.3",
41
41
  "@tailwindcss/node": "^4.3.3",
42
- "akanjs": "3.1.1-rc.2",
42
+ "akanjs": "3.1.1-rc.3",
43
43
  "chalk": "^6.0.1",
44
44
  "commander": "^15.0.0",
45
45
  "dayjs": "^1.11.23",