diff --git a/README.md b/README.md index e6e156a..8602f98 100644 --- a/README.md +++ b/README.md @@ -2,6 +2,14 @@ Conversion and validation utilities for Forman Schema. +## v2.0.1 (patch): inactive branches stay out of `schemas` + +The fields nested under a boolean toggle that is `false` (or absent and filled to `false` by +`fillDefaults`) are no longer reported in `schemas` / `resolvedSchemas`. They were listed flat with +`required: true`, so a consumer persisting that list as the resolved form would later demand a field +the form never showed. Validation outcomes are unchanged. Also in this release: an RPC-backed option +list that cannot see a reference value now warns instead of failing (#66). + ## v2.0.0 — validated values on every result `validateForman` and `validateFormanWithDomains` now always return `normalizedValues` and diff --git a/package-lock.json b/package-lock.json index 9fa28ba..51327a7 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@makehq/forman-schema", - "version": "2.0.0", + "version": "2.0.1", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@makehq/forman-schema", - "version": "2.0.0", + "version": "2.0.1", "license": "MIT", "devDependencies": { "@jest/globals": "^29.7.0", diff --git a/package.json b/package.json index e938dc9..9fa2cdc 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@makehq/forman-schema", - "version": "2.0.0", + "version": "2.0.1", "description": "Forman Schema Tools", "license": "MIT", "author": "Make",