Skip to content

v1.2.1

Choose a tag to compare

@EvanSchleret EvanSchleret released this 22 May 12:18
· 19 commits to main since this release
715d3a7

v1.2.1

Fixed

  • SubmissionValidator::validateField() now resolves fields using aliases, not only name.
  • Accepted field identifiers are now: name, field_key, key, and id (normalized via trim + string cast).
  • Validation payload/rules still use the field canonical name, preserving existing validation behavior.
  • Unknown identifiers still raise UnknownFieldsException when no alias matches.

Tests

  • Added/updated feature tests to cover:
    • validateField('name', value) (existing behavior)
    • validateField('field_key', value)
    • validateField('key', value)
    • validateField('id', value)
    • unknown key still throws UnknownFieldsException

Full Changelog: v1.2.0...v1.2.1