The HATEOAS client for javascript
cache: no-store
is specified on fetch()
functions, Ketting will now no longer store responses with a Content-Location
in its internal cache.Content-Location
, bodies are now cloned before storing so callees can still read the data.node-fetch
, as fetch()
is natively supported on Node 18. If you are using Ketting with Node 16, you should install node-fetch
or run node with the --experimental-fetch
option.FetchMiddleware
type.Accept
header. (@hugothomas @reda-alaoui)value
field for some HAL inputs were ignored (color, checkbox,
radio).Special acknowledgement to @hugothomas and @reda-alaoui . I'm sorry it took so long to get this feature out.
minLength
and maxLength
attributes on textarea fields in HAL Forms. (@dayre)._embedded
resources and
emiting update
events. The order at which they happen is now consistent.
When the update
event happens, the entire cache should be up to date.Resource.go()
and Client.go()
can now take a Link
object as the
argument.inv-by
links is now possible via HAL _links
and in embedded resources, as well as links from all the other formats.inv-by
links are now respected when
manually clearing resource caches.204
status, even
if there was a Content-Type
header._embedded
HAL item is missing a good self
link.