Releases: dapr/js-sdk
Releases · dapr/js-sdk
Release v2.0.2
Add correct Typescript types
Release v2.0.1
What's Changed
Features
- feat: Actor add abstraction for calling through DaprClient by @XavierGeerinck in #165
Bugs
- bug: Fix Actor invocation by @XavierGeerinck in #163
- bug: Enumerable missing by @XavierGeerinck in #167
Bumps
- Bump normalize-url from 4.5.0 to 4.5.1 in /examples/http/actor-parking-sensor by @dependabot in #169
- Bump normalize-url from 4.5.0 to 4.5.1 in /examples/grpc/hello-world-distributed/server by @dependabot in #168
- Bump node-fetch from 2.6.6 to 2.6.7 by @dependabot in #164
- Bump normalize-url from 4.5.0 to 4.5.1 in /examples/http/actor by @dependabot in #170
Full
Full Changelog: v2.0.0...v2.0.1
Release v2.0.0
v2.0.0
Version 2.0.0 brings a lot of changes to the Dapr JS SDK that were long due. Below an overview of the major contributions can be found, with a more detailed overview of the Breaking Changes under it.
- Actor Support has been added
- Actor Proxy has been added for Actor Access
- The HTTP Connection is now being reused to reduce the CONNRESET errors when intensively using the JS SDK
- The Metadata API is supported
- The Health API is supported
- The
/v1.0/shutdown
API endpoint is now supported by callingawait client.sidecar.shutdown()
Breaking Changes
DaprServer.ts
:startServer()
,stopServer()
have been renamed tostart()
andstop()
this means thatawait server.startServer()
will now be called asawait server.start()
DaprServer.ts
:close()
has been removed in favor ofstop()
Major Changes
- KeepAlive for HTTP has been added and a new method in the
DaprClient
has been added namedstop()
to stop the client and release the connections kept by the sockets. healthz
endpoint was implemented asclient.health.isHealthy()
for gRPC this checks thegetMetadata
function since it does not have a Health PROTO.- Server startup now ensures the Dapr Sidecar is healthy before starting
- Add metadata API for gRPC and HTTP
- Add the SDK implementation for gRPC and HTTP for shutting down the Sidecar through the SDK
What's Changed
- build.sh: fix copying proto directory by @yosiat in #130
- Updating protos and bumping to v1.0.3-rc.1 by @pkedy in #131
- feat: set metadata on state transaction by @fengmk2 in #132
- ci: add e2e testing to ci system by @XavierGeerinck in #135
- Update LICENSE to Apache 2.0 by @greenie-msft in #138
- feat(test): Add load test for PubSub by @XavierGeerinck in #148
- feat(actors): implement actor proxy object and remove actor access remotely by @XavierGeerinck in #137
- Add Metadata & Health API by @XavierGeerinck in #149
- feat(state): Add State Query API by @XavierGeerinck in #150
- ci: Fix running Test Suite by @XavierGeerinck in #155
- feat: Add shutdown API by @XavierGeerinck in #157
New Contributors
Full Changelog: v1.0.2...v2.0.0
Release v1.0.2
Minor release with most noticeable changes:
- Switch to [conventional commits[(https://www.conventionalcommits.org/en/v1.0.0/)
- Adopt ESLint
- Bugfixes
What's Changed
- Add dapr docs by @greenie-msft in #103
- Add actors docs by @greenie-msft in #108
- Work on showing warning when a method is not implemented by @XavierGeerinck in #111
- Resolve duplicate test firings due to id overlaps by @XavierGeerinck in #113
- Add Actor example by @XavierGeerinck in #114
- Move files to scripts folder by @XavierGeerinck in #115
- Fix issue with Javascript ! checking on state manager by @XavierGeerinck in #116
- Add parking garage example by @XavierGeerinck in #117
- Add actors docs by @greenie-msft in #119
- Add basic Invocation and PubSub example by @dolencd in #121
- style: adopt eslint styling and adapt docs by @XavierGeerinck in #127
- Add publishing to NPM pipe by @XavierGeerinck in #118
- Fixed gRPC state.set with plain JS object by @dolencd in #126
- feat: bump version to 1.0.2 by @XavierGeerinck in #128
New Contributors
- @greenie-msft made their first contribution in #103
- @dolencd made their first contribution in #121
Full Changelog: v1.0.0...v1.0.2
Release v1.0.0
The official release of the Dapr JS SDK
Features:
- Switch between communication protocols easily (HTTP vs gRPC)
- Easy to use API interface
- Natively interacts with the Dapr sidecar and waits for it
Release v0.12.0
Merge pull request #78 from pkedy/release_0.12.0 Version bump to 0.12.0
Dapr JavaScript SDK version 0.11.0-preview01
Please check out https://www.npmjs.com/package/dapr-client/v/0.11.0-preview01