placeholder
from HAL Forms was incorrectly cased asplaceHolder
. This is fixed but could be a BC break. (@dayre)
- Add
name
,deprecation
andprofile
properties to HAL Links. These were part of the base spec and should always have been there.
- Fix a second BC breaking change.
_links
should not be omitted. If_links
may be omitted this change might be re-introduce in a major version.
- Fix bc-breaking change.
_links
values 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
,valueField
properties 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
textarea
type, andcols
androws
fields on form fields.
- Update to HAL-Forms 2020-12-17, which adds support for a
type
attribute on properties, similar to the HTMLtype
attribute.
- Update to Hal-Forms 2020-12-13, which adds support for a
target
attribute on forms, andplaceholder
,min
,max
,step
,minLength
,maxLength
on properties.
- Exporting
HalFormsTemplate
andHalFormsProperty
- Added support for 'Hal Forms'. See https://rwcbook.github.io/hal-forms/ for details.
- The
LinkHints
interface 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
type
property on links. This was not in the HAL draft, but it's super common and part of the Web Linking model.
- Use
interface
instead oftype
. - Support for draft-nottingham-link-hint
- First version!