v0.7.4
Version 0.7.4 aligns direct content write dry-runs with execution through schema validation, normalized payloads, select fixes, and clearer API errors.
This release makes direct content write dry-runs a better predictor of the actual write request. Previously, a create or update dry-run could succeed while execution later failed because validation, select normalization, and API error details were not aligned across the flow.
Changed
content createandcontent updatedry-runs now perform schema-based payload validation when schema metadata is available.- Direct write dry-runs return both the user-provided payload and the normalized payload that execution would send to microCMS.
- Single-select validation accepts single-item array payloads even when schema metadata also describes the field as a string.
- JSON API errors include the microCMS response body in
error.detailswhen available, without requiring--verbose. - README and README.ja document the direct write dry-run contract and JSON API error details.
Tests
Regression coverage was added for the cases where dry-run success could diverge from write execution: direct content validation, normalized dry-run payload output, single-select arrays with string type hints, and JSON API error details.
See the mcms-cli overview or open the release on GitHub.