@haneinfo/state-machine 0.6.0 → 0.7.1

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/README.md CHANGED
@@ -27,3 +27,11 @@ Top-level text, textarea, number, date and datetime formula fields can be declar
27
27
  `spec.listView.fields`. Queries read stored results through the ordinary JSONB path. Queries never
28
28
  recompute formulas or backfill missing historical values. Select, switch, nested and container
29
29
  fields remain unsupported.
30
+
31
+ ## Date comparisons
32
+
33
+ GT/GTE/LT/LTE compare numbers, valid calendar dates (YYYY-MM-DD), or timezone-qualified datetimes
34
+ (YYYY-MM-DDTHH:mm:ss with optional fractional seconds and Z or +/-HH:mm). Both operands must have
35
+ the same category. Dates use calendar order; datetimes compare UTC instants at millisecond precision.
36
+ Invalid dates, mixed categories and empty operands yield false. EQ/NEQ/IN retain strict scalar equality;
37
+ matching instants with different textual offsets are still unequal for those operators.
package/agent-guide.md CHANGED
@@ -267,3 +267,11 @@ Top-level text, textarea, number, date and datetime formula fields can be declar
267
267
  `spec.listView.fields`. Queries read stored results through the ordinary JSONB path. Queries never
268
268
  recompute formulas or backfill missing historical values. Select, switch, nested and container
269
269
  fields remain unsupported.
270
+
271
+ ## Date comparisons
272
+
273
+ GT/GTE/LT/LTE compare numbers, valid calendar dates (YYYY-MM-DD), or timezone-qualified datetimes
274
+ (YYYY-MM-DDTHH:mm:ss with optional fractional seconds and Z or +/-HH:mm). Both operands must have
275
+ the same category. Dates use calendar order; datetimes compare UTC instants at millisecond precision.
276
+ Invalid dates, mixed categories and empty operands yield false. EQ/NEQ/IN retain strict scalar equality;
277
+ matching instants with different textual offsets are still unequal for those operators.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@haneinfo/state-machine",
3
- "version": "0.6.0",
3
+ "version": "0.7.1",
4
4
  "private": false,
5
5
  "description": "State machine mechanism: StateMachine definitions (states, transitions, frozen states) and the runtime for business-object instances, registered with @haneinfo/definition-registry.",
6
6
  "files": [
@@ -38,8 +38,8 @@
38
38
  "./package.json": "./package.json"
39
39
  },
40
40
  "dependencies": {
41
- "@haneinfo/plugin-api": "1.10.0",
42
- "@haneinfo/form": "0.2.3"
41
+ "@haneinfo/plugin-api": "1.11.0",
42
+ "@haneinfo/form": "0.3.1"
43
43
  },
44
44
  "peerDependencies": {
45
45
  "@haneinfo/common": "^0.3.4",
@@ -63,9 +63,9 @@
63
63
  "typescript": "^5.9.3",
64
64
  "vitest": "^4.1.11",
65
65
  "zod": "^4.4.0",
66
- "@haneinfo/definition-registry": "0.1.5",
67
66
  "@haneinfo/common": "0.3.4",
68
67
  "@haneinfo/plugin-host-nest": "2.1.0",
68
+ "@haneinfo/definition-registry": "0.1.6",
69
69
  "@haneinfo/plugin-testkit": "2.3.0"
70
70
  },
71
71
  "license": "UNLICENSED",