Skip to content

Releases: dolittle/JavaScript.SDK

Prerelease v19.0.0-aragorn.2

05 Nov 08:59
ccc91b9

Choose a tag to compare

Pre-release

Better errors, log connected event processors, update tutorials to match new features.

Prerelease v19.0.0-aragorn.1

04 Nov 13:10
d0a55b5

Choose a tag to compare

Pre-release

Summary

Fixes logging

Prerelease v19.0.0-aragorn.0

04 Nov 10:34
cc7b262

Choose a tag to compare

Pre-release

Summary

Release v18.1.0

25 Oct 12:44
c901ab4

Choose a tag to compare

Summary

Updates Grpc, protobuf and contracts dependency versions and adds the possibility to register event handlers with aliases that is useful for when using the Dolittle CLI.

Added

  • withAlias build step on the fluent builder for event handlers.
  • alias argument on the eventHandler decorator
  • Event handler classes without the alias argument gets registered with an alias that is the class name.

Changed

  • Updated Grpc, protobuf and contracts dependency versions

Release v18.0.0

13 Oct 11:43
bc9596f

Choose a tag to compare

Summary

Implementing the changes introduced by dolittle/Contracts#53. Allowing EventSourceID and PartitionID to be strings, to more easily integrate with events from existing systems.

Also fixed a small bug when returning an array of events from an Embedding Update/Delete method.

This is considered a breaking change because it requires a Runtime compatible with Contracts v6 to function.

Added

  • EventSourceID is now a string instead of a Guid.
  • PartitionID is now also a string instead of a Guid.

Fixed

  • Aligned names of event type fields throughout messages from Contracts v6.0.0
  • Allow Embedding Update/Delete method to return an array of events.

Prerelease v18.0.0-eventsource.2

13 Oct 11:15
df138ea

Choose a tag to compare

Pre-release
Upgrade contracts to released 6.0.0 (#64)

* Upgrade to released 6.0.0 contracts

* Fix references to event types

Prerelease v18.0.0-eventsource.1

12 Oct 08:50
04ee82f

Choose a tag to compare

Pre-release

Summary

Use GUIDs as event source id and partition id

Prerelease v18.0.0-eventsource.0

05 Oct 08:13
06ac206

Choose a tag to compare

Pre-release

Summary

Update to new contracts that changes partition and event source id to be a string instead of a guid. Fix all build errors that

Release v17.0.3

30 Sep 10:48
0d2bc30

Choose a tag to compare

Summary

Encountered an inconvenience when consuming the SDK where the type of a Commtted Event Result's occurred property was of an any type unless you had the @types/luxon package installed locally in your project. We should instead just have that package as a normal dependency so that typescript consumers of the SDK does not need to install that package themselves.

Changed

  • @types/luxon package as a non-dev dependency

Release v17.0.2

29 Sep 08:15
d673325

Choose a tag to compare

Summary

Fixes a bug where async Event Handler methods were not properly awaited (and thus also exceptions ignored) if they did any async work. In the process, also found a bug related to delete results returned from async Projection and Embedding methods, that would not be handled correctly.

Fixed

  • Return the Promise from Event Handler methods in the EventHandlerClassBuilder to handle async methods properly.
  • Await results from Projection/Embedding on() methods, so that async delete results are handled properly.