Releases: dolittle/JavaScript.SDK
Prerelease v19.0.0-aragorn.2
Better errors, log connected event processors, update tutorials to match new features.
Prerelease v19.0.0-aragorn.1
Summary
Fixes logging
Prerelease v19.0.0-aragorn.0
Summary
Release v18.1.0
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
withAliasbuild step on the fluent builder for event handlers.aliasargument on theeventHandlerdecorator- Event handler classes without the
aliasargument gets registered with an alias that is the class name.
Changed
- Updated Grpc, protobuf and contracts dependency versions
Release v18.0.0
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
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
Summary
Use GUIDs as event source id and partition id
Prerelease v18.0.0-eventsource.0
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
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
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
Promisefrom 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.