Skip to content

Releases: action-spec/action_spec

v1.6.0

26 Mar 06:31

Choose a tag to compare

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

25 Mar 08:54

Choose a tag to compare

Highlights

  • Add post-resolve validate callbacks that run after coercion, transform, and px assignment.
  • Execute validate in the current controller context, with access to px and 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 on type: { ... }.
  • Sync the English and Chinese README with the new validation timing and schema DSL behavior.

v1.4.0

25 Mar 05:41

Choose a tag to compare

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

25 Mar 02:33

Choose a tag to compare

v1.3.0

v1.1.0

24 Mar 17:01

Choose a tag to compare

Full Changelog: v1.0.0...v1.1.0

v1.0.0

24 Mar 15:36

Choose a tag to compare