- Align
HalFormsOptionswith the latest specification version.HalFormsOptions#multiplewas removed.HalFormsOptions#selectedValuestype becomesstring[]. Single and multiple selects are now treated uniformly.
- Update link-hint to latest draft. The types changed in a few different places, so if you used link-hints, this is likely a BC break for you.
- Fixed: In hal the _links object is recommended, but optional and a HAL document doesn't need to have a 'self' link. Both of these are corrected to be optional. This is more correct, but could also be a BC break if you're upgrading from v1.
placeholderfrom HAL Forms was incorrectly cased asplaceHolder. This is fixed but could be a BC break. (@dayre)
- Add
name,deprecationandprofileproperties to HAL Links. These were part of the base spec and should always have been there.
- Fix a second BC breaking change.
_linksshould not be omitted. If_linksmay be omitted this change might be re-introduce in a major version.
- Fix bc-breaking change.
_linksvalues were marked as possibly undefined, and this should never have been the case.
- Added 'minLength' and 'maxLength' to textarea fields. (@dayre)
- Fixed typing of 'inline'.
- Add another missing
promptField,valueField.
- Add
promptField,valueFieldproperties from HAL-Forms.
- Added type: range
- Now exporting: *
HalFormsSimpleProperty*HalFormsRangeProperty*HalFormsOptionsInline*HalFormsOptionsLink
- Updated to HAL Forms 2021-02-20, which adds support for the 'options' property. This property can be used to generate lists of possible values in form fields, including values from external HTTP sources.
- Fix a bug in new generic
HalResource. Current version should do what was expected.
- Update to HAL Forms 2020-12-31, which allows multiple Hal Forms to appear in a document.
- HalResource is now generic, allowing users to provide a type for other
properties on this object. By default it's
Record<string, any>, which makes it backwards compatible.
- Update to HAL-Forms 2020-12-29, which adds support for a
textareatype, andcolsandrowsfields on form fields.
- Update to HAL-Forms 2020-12-17, which adds support for a
typeattribute on properties, similar to the HTMLtypeattribute.
- Update to Hal-Forms 2020-12-13, which adds support for a
targetattribute on forms, andplaceholder,min,max,step,minLength,maxLengthon properties.
- Exporting
HalFormsTemplateandHalFormsProperty
- Added support for 'Hal Forms'. See https://rwcbook.github.io/hal-forms/ for details.
- The
LinkHintsinterface is now exported.
- Stable release
- The 'self' link should always appear on a HAL resource, and only ever once.
- Forgot to build files before publishing.
- Added a
typeproperty on links. This was not in the HAL draft, but it's super common and part of the Web Linking model.
- Use
interfaceinstead oftype. - Support for draft-nottingham-link-hint
- First version!