Skip to content

Releases: dapr/js-sdk

Release v2.4.0

06 Sep 17:13
be0277d
Compare
Choose a tag to compare

What's Changed

Features

  • feat(pubsub): Allow passing metadata to publish and subscribe API by @shubham1172 in #329
  • feat(pubsub): Implement pubsub dead letter & single/multi routing by @XavierGeerinck in #342
  • feat(actors): Allow actors to be configurable by @shubham1172 in #346
  • feat(metadata): Support capabilities field in metadata API by @DeepanshuA in #347

Fixes

  • fix(lock): Renaming distributed lock API UnlockResponse.Status (#336) by @tmacam in #337
  • fix(pubsub): Send correct HTTP response status in subscription event handler by @DeepanshuA in #334
  • fix(client): Reusing same HTTP client instance by @DeepanshuA in #340

Chores

Documentation

New Contributors💖

Full Changelog: v2.3.1...v2.4.0

Release v2.3.1

27 Jul 08:21
7412918
Compare
Choose a tag to compare

What's Changed

Features

Fixes

  • fix(package-lock): bump version by @webup in #309
  • fix(sidecar): sidecar would not be started when getClient was called due to previous abstraction by @XavierGeerinck in #324
  • fix(types/http): use import * as http(s) by @webup in #308

Chores

Documentation

Tests

  • tests(e2e/grpc): add Configuration API test for subscribe all keys by @shubham1172 in #327

New Contributors💖

Full Changelog: v2.3.0...v2.3.1

Release v2.3.0

22 Jun 07:16
5f6fd57
Compare
Choose a tag to compare

What's Changed

For this release, we focused on solving issues to provide a more stable environment and let gRPC become more mature as well through features such as bring-your-own-proto.

Features

Fixes

Documentation

Bugs

Tests & CI

Misc

Bumps

New Contributors 💖

  • @jilichao made their first contribution in #293

Full Changelog: v2.2.1...v2.3.0

Release v2.2.0 - v2.2.1

13 May 07:22
c3eebe0
Compare
Choose a tag to compare

What's Changed

⚠️ This release marks an important update as we are moving away from the dapr-client npm repository towards the @dapr/dapr organization on NPM.

Next to the above, we focused on streamlining the tests as much as possible and becoming up to date with Dapr 1.7.0

Breaking Changes & Deprecations

We are moving from the dapr-client NPM package towards the @dapr/dapr package as per #207

Since this is a breaking change for everyone, a deprecation schedule (#259) is in place, and we will be updating both packages for the coming months. The current plan is to maintain both package until at least version 2.3.0 of the Dapr JS SDK

Features

  • feat: Use environment variables to initialize the Client and Server
  • feat: Configuration API
  • feat: Actors Reminder/Timer TTL
  • feat: State Store Query API: Sync with latest spec

Documentation

  • doc: Make distinction between client and server clearer

Bugs

Tests & CI

  • ci: E2E tests to cancel the pipeline when they fail
  • tests: Fix actors E2E tests

Misc

  • chore: Add license headers everywhere

Bumps

Full

Full Changelog: v2.1.0...v2.2.0-rc.0

Release v2.1.0

23 Feb 17:47
18e46fe
Compare
Choose a tag to compare

What's Changed

This sprint we worked on defining a more sprint-like release cycle to catch up with the latest Dapr features. We made quite some progress and are working to streamline the release process as much as possible.

Features

  • feat: Use environment variables to initialize the Client and Server

Misc

  • feat: Upgrade Node.JS to 16.14.0
  • ci: Resolve tests and fix the build process to catch errors

Bugs

  • bug: resolve an issue with Typescript types

Bumps

Full

Full Changelog: v2.0.1...v2.1.0

Release v2.0.2

18 Feb 14:47
0b93304
Compare
Choose a tag to compare

Add correct Typescript types

Release v2.0.1

31 Jan 08:59
105b3c7
Compare
Choose a tag to compare

What's Changed

Features

Bugs

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

25 Jan 07:33
57f4675
Compare
Choose a tag to compare

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 calling await client.sidecar.shutdown()

Breaking Changes

  • DaprServer.ts: startServer(), stopServer() have been renamed to start() and stop() this means that await server.startServer() will now be called as await server.start()
  • DaprServer.ts: close() has been removed in favor of stop()

Major Changes

  • KeepAlive for HTTP has been added and a new method in the DaprClient has been added named stop() to stop the client and release the connections kept by the sockets.
  • healthz endpoint was implemented as client.health.isHealthy() for gRPC this checks the getMetadata 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

New Contributors

Full Changelog: v1.0.2...v2.0.0

Release v1.0.2

25 Oct 09:09
ed3b1d0
Compare
Choose a tag to compare

Minor release with most noticeable changes:

  • Switch to [conventional commits[(https://www.conventionalcommits.org/en/v1.0.0/)
  • Adopt ESLint
  • Bugfixes

What's Changed

New Contributors

Full Changelog: v1.0.0...v1.0.2

Release v1.0.0

20 Sep 08:28
Compare
Choose a tag to compare

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