Releases: badgateway/ketting
Releases · badgateway/ketting
v7.5.2
Housekeeping and updating some dependencies to ensure we're not incompatible with anything.
v8.0.0-alpha.3
- #476: When
cache: no-store
is specified on fetch()
functions, Ketting will now no longer store responses with a Content-Location
in its internal cache.
- #477: When storing responses with
Content-Location
, bodies are now cloned before storing so callees can still read the data.
- Testing Node 20.
v8.0.0-alpha.2
- Added HAL 'name' property to links.
- Updates for changes in Typescript strictness.
v8.0.0-alpha.1
- Ketting requires Node 16 now.
- No longer using
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.
- Upgraded OAuth2 dependency to [@badgateway/oauth2-client][8].
- Submitting actions with missing required fields will now throw an exception.
- Actions that have pre-filled values will auto submit those values unless they are explicitly overridden.
- #459: Now uses the correct spelling of 'placeholder' in HAL forms (@dayre).
- Export the
FetchMiddleware
type.
- #444: Allow multiple query parameters to be set with the same key when specifying template variables. (@qmachard)
- Upgrade to Typescript 5
v7.5.0
- #401: The mechanism that de-duplicates identical requests is now a bit
smarter, and will not de-duplicate requests that are significantly different
such as a different Accept
header. (@hugothomas @reda-alaoui)
- #450:
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.
v7.4.2
- Added support for
minLength
and maxLength
attributes on textarea fields in HAL Forms. (@dayre).
v7.4.1
- #433: Fixed race condition when processing nested
_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.
- #328:
Resource.go()
and Client.go()
can now take a Link
object as the
argument.
v7.4.0
- #426: Setting up cache dependencies through
inv-by
links is now possible via HAL _links
and in embedded resources, as well as links from all the other formats.
- #425: Fewer warnings related to 'Max listeners exceeded'. The default of 10 is too low for typical Ketting applications.
v7.3.0
- #416: Cache-dependencies setup with
inv-by
links are now respected when
manually clearing resource caches.
- #414: Don't attempt to parse the response if it had a
204
status, even
if there was a Content-Type
header.
- #408: Emit a warning when an
_embedded
HAL item is missing a good self
link.