Skip to content
This repository has been archived by the owner on Jun 27, 2023. It is now read-only.

Releases: siren-js/spec-extensions

v0.4.0

17 Jul 18:36
edabda7
Compare
Choose a tag to compare

Changed

  • Submission of application/x-www-form-urlencoded and text/plain actions now require converting the entry list to name-value pairs before running the corresponding serializer. This realigns with the HTML standard and affects newlines in fields' name and value.

v0.3.0

17 Jun 18:25
c8cda45
Compare
Choose a tag to compare

Added

  • Action submission specification
  • Action constraint validation specification
  • How to treat unrecognized field types
  • Constraints for fields
  • How to apply the pattern property
  • Common step property for fields
  • Extensions for link objects: hreflang and media
  • FileList as an acceptable type for a file field's files property

Changed

  • Clarified "type" as "data type" in recommendation of fields' value's type
  • Several field extension and common property descriptions to align with constraint validation
  • Clarified adaptation of the HTML specification

Fixed

  • Typo in "checkbox Fields" section

Removed

  • Column for specifying valid value formats; this is covered by constraint validation
  • Mentions of HTML's checkedness concept
  • Unnecessary use of the term "element" in the Placeholder Label Option section

v0.2.0

08 Mar 18:23
ee2ef5b
Compare
Choose a tag to compare

Added

  • Added recommendation for field value's types and format based on field's
    type.
  • Defined how null or undefined field values should be treated
  • Defined the checked property for checkbox fields
  • Defined a default value for checkbox fields' value property
  • Defined the size property for select fields
  • Defined semantics for placeholder label options in select fields
  • Defined the accept property for files fields
  • Defined semantics for textarea fields
  • Defined more common properties based on common HTML input attributes
    • dirname
    • max
    • maxlength
    • min
    • minlength
    • placeholder
    • readonly
  • Added table summarizing when common properties apply to a field

Changed

  • Moved mention of files property for consistency
  • Renamed the section "HTML Input Attributes" to "Common Properties"

Fixed

  • Aligned type requirement for multiple email fields' value property with
    the HTML specification (#2)
  • Clarified when disabled and required properties apply to fields
  • Clarified what disabled means for the field's value.
  • Clarified requirements for required fields

Removed

  • Removed mentions of the HTML version

v0.1.0

08 Mar 18:23
6b41f8e
Compare
Choose a tag to compare

Added

  • Defined the group extension for radio fields
  • Defined semantics for select fields
  • Defined additional HTML5 input attributes for fields:
    • disabled
    • files
    • multiple
    • pattern
    • required