Releases: action-spec/action_spec
Releases · action-spec/action_spec
v1.6.0
Key changes
- Expand ActiveRecord schema extraction with except, on, required, and merge
- Extract presence into allow_blank: false without overloading required semantics
- Add field-level error / error_message overrides for validation and coercion failures
- Sync README and README_zh with the updated field and schema option docs
v1.5.0
Highlights
- Add post-resolve
validatecallbacks that run after coercion, transform, andpxassignment. - Execute
validatein the current controller context, with access topxand controller methods. - Add short-circuiting so the post-validation pass only runs for trees that actually declare
validate. - Expand the schema DSL so
type: { ... }builds nested objects,type: []matches bare[], and object defaults work ontype: { ... }. - Sync the English and Chinese README with the new validation timing and schema DSL behavior.
v1.4.0
Highlights
- Add transform hooks with Symbol and Proc support after coercion.
- Add px / px_key so processed values can be written under custom keys.
- Keep transformed and renamed values consistent across nested schemas, scopes, and headers.
- Refresh the English and Chinese README structure and table of contents.
v1.3.0
v1.1.0
Full Changelog: v1.0.0...v1.1.0
v1.0.0
Full Changelog: https://github.com/action-spec/action_spec/commits/v1.0.0