This repository has been archived by the owner on Jun 27, 2023. It is now read-only.
Releases: siren-js/spec-extensions
Releases · siren-js/spec-extensions
v0.4.0
Changed
- Submission of
application/x-www-form-urlencoded
andtext/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
Added
- Action submission specification
- Action constraint validation specification
- How to treat unrecognized field
type
s - Constraints for fields
- How to apply the
pattern
property - Common
step
property for fields - Extensions for link objects:
hreflang
andmedia
FileList
as an acceptable type for afile
field'sfiles
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
Added
- Added recommendation for field
value
's types and format based on field's
type
. - Defined how
null
or undefined fieldvalue
s should be treated - Defined the
checked
property forcheckbox
fields - Defined a default value for
checkbox
fields'value
property - Defined the
size
property forselect
fields - Defined semantics for placeholder label options in
select
fields - Defined the
accept
property forfiles
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
andrequired
properties apply to fields - Clarified what
disabled
means for the field'svalue
. - Clarified requirements for
required
fields
Removed
- Removed mentions of the HTML version
v0.1.0
Added
- Defined the
group
extension forradio
fields - Defined semantics for
select
fields - Defined additional HTML5 input attributes for fields:
disabled
files
multiple
pattern
required