@dforge-core/metadata 0.0.52 → 0.0.54

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/CHANGELOG.md CHANGED
@@ -5,6 +5,21 @@ All notable changes to `@dforge-core/metadata` are documented here.
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
6
6
  and this package adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
+ ## [0.0.54] — 2026-11-12
9
+
10
+ ### Changed
11
+
12
+ - **`test_scenario.schema.json`:** a suite no longer accepts `fixture` or `isolation`. The runner never read them, so a
13
+ suite that named one ran without it; it is now refused until the runner supports them.
14
+
15
+ ## [0.0.53] — 2026-11-10
16
+
17
+ ### Changed
18
+
19
+ - **`reports.schema.json`:** a report param's `params.min` / `params.max` may be `"@<code>"` of another param of the
20
+ same report (`{ "min": "@date_from" }` keeps Date To from preceding Date From in the parameter dialog). Install
21
+ refuses an `@` naming no param, or the param itself.
22
+
8
23
  ## [0.0.52] — 2026-11-10
9
24
 
10
25
  ### Changed
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dforge-core/metadata",
3
- "version": "0.0.52",
3
+ "version": "0.0.54",
4
4
  "description": "Canonical dForge authoring registries — field types, base datatypes, column types, traits, data-view kinds and chart types — with derivation helpers. Runtime-dependency-free; the single source of truth shared by editors, the web app and the CLI.",
5
5
  "license": "MIT",
6
6
  "author": "dForge",
@@ -446,7 +446,7 @@
446
446
  },
447
447
  "params": {
448
448
  "type": "object",
449
- "description": "Field-type-specific params, nested under this key — there is no top-level `link`. A `lookup` param needs `{ \"link\": { \"entity\": \"<code>\", \"otherKey\": \"<column>\" } }`; `otherKey` auto-fills from the target's PK when omitted. Without `params.link` a lookup param installs, warns, and has no autocomplete."
449
+ "description": "Field-type-specific params, nested under this key — there is no top-level `link`. A `lookup` param needs `{ \"link\": { \"entity\": \"<code>\", \"otherKey\": \"<column>\" } }`; `otherKey` auto-fills from the target's PK when omitted. Without `params.link` a lookup param installs, warns, and has no autocomplete. `min` / `max` may be `\"@<code>\"` of another param of this report — `{ \"min\": \"@date_from\" }` keeps Date To from preceding Date From in the parameter dialog; install refuses an `@` naming no param, or the param itself."
450
450
  }
451
451
  },
452
452
  "additionalProperties": false
@@ -1,15 +1,13 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
3
  "title": "dForge Module Test Scenarios",
4
- "description": "Scenarios for a dForge module (tests/*.test.json), run by `dforge-cli module test`. Covers the v0 subset described in docs/modules/module-tests.md: given / do / expect over the API as the signed-in user.",
4
+ "description": "Scenarios for a dForge module (tests/*.test.json), run by `dforge-cli module test`. Covers the v0 subset described in docs/modules/module-tests.md: given / do / expect over the API as the signed-in user. A suite has no fixture or isolation yet: the workspace must already hold the data the scenarios rely on.",
5
5
  "type": "object",
6
6
  "required": ["describe", "tests"],
7
7
  "additionalProperties": false,
8
8
  "properties": {
9
9
  "$comment": { "type": "string" },
10
10
  "describe": { "type": "string", "description": "Name of the suite." },
11
- "fixture": { "type": "string", "description": "Named fixture from tests/test.json. Not read by v0: the workspace must already hold the data the scenarios rely on." },
12
- "isolation": { "enum": ["rollback", "clone"], "description": "Not used by v0: tests commit and leave their records behind." },
13
11
  "tests": { "type": "array", "items": { "$ref": "#/$defs/test" } }
14
12
  },
15
13
  "$defs": {