Releases: badgateway/ketting
Releases · badgateway/ketting
v6.0.1
v6.0.0
New major release!
Check out the Upgrading doc for all the details.
Changes from previous beta:
- Support for Siren Actions and Hal Forms.
v5.2.2
- Add
application/prs.hal-forms+json
to list of mime types. (@reda-alaoui). - Compiles in full Typescript strict mode.
v6.0.0-beta.2
- Support
draft-nottingham-link-hint
on Links. - Added:
client.fetcher.advertiseKetting
. Setting this to false will cause
Ketting to not set theUser-Agent
header. (@madsmadsen) Resource.patch()
will now return aState
object if the server responded
with200 OK
and a body. (@madsmadsen)
v6.0.0-beta.1
- #229: Embedded resources were not cached. (@madsmadsen)
- #230: Respect
headers
property in options ofrefresh()
function.
(@madsmadsen) - Lots of Ketting 6 doc updates.
- JSDocs everywhere gotten a fresh proof read.
v6.0.0-beta.0
- Switched from tslint to eslint.
- Feature complete!
v6.0.0-alpha.7
isState()
type guard is exported.
v6.0.0-alpha.6
- The Links object now has a default 'context', making it easier to add
relative links. - Links now has an easier to use API for setting or adding new links.
- Links now has a
.delete()
method to delete byrel
.
v6.0.0-alpha.5
- Added 'actions', allowing users to automatically submit actions and/or Forms
for supported formats. - Action support is added for
text/html
andapplication/vnd.siren+json
- Supported content-types for actions are
application/json
and
application/x-www-form-urlencoded
. State
objects now have a reference toClient
.resolve()
function is now a package export, providing a cross-platform
function for resolving urls.Resource
has now aupdateCache
function for local state changes without
submitting to the server.refresh()
now emits anupdate
event.
v6.0.0-alpha.4
- Fixing bugs related to
patch()
,post()
in the browser build.