Skip to content

Releases: dolittle/JavaScript.SDK

Prerelease v21.0.0-gimli.21

20 Jan 14:58
3303a2c

Choose a tag to compare

Pre-release

Fixes log levels and exception message failing to connect to the Runtime

Prerelease v21.0.0-gimli.20

14 Jan 14:08
c33c60c

Choose a tag to compare

Pre-release

Summary

Bind the IAggregateOf<...> into the DI container for the registered aggregate root types. Unfortunately the generics disappear when compiled to JavaScript, so the bindings are just with string identifiers - so you need to do something like services.get('IAggregateOf<Kitchen>') as IAggregateOf<Kitchen>.

Prerelease v21.0.0-gimli.19

14 Jan 13:20
164d4d5

Choose a tag to compare

Pre-release

Summary

Also ignores bindings where the same type/processor is bound to multiple Identifiers. This only really applies to EventTypes today as they can be associated manually - but the check is applied for all things to be future-proof.

Prerelease v21.0.0-gimli.18

13 Jan 12:06
922e757

Choose a tag to compare

Pre-release

Summary

Make builders APIs all the same. Renamed all to be register/create, and for all to return the individual builders instead of accepting a callback to configure them.

Changed

  • Builders methods are now called just create(id) or register(type) for all kinds.
  • create(id) methods return the individual kind builder instead of accepting a callback (some already did this).

Prerelease v21.0.0-gimli.17

13 Jan 10:22
4f90fb4

Choose a tag to compare

Pre-release

Summary

Updated and fixed some things in the Tutorial Samples.

Prerelease v21.0.0-gimli.16

11 Jan 18:23
e956707

Choose a tag to compare

Pre-release

Summary

Adds an ExpressJS integration package for simplifying the usage of the Dolittle SDK together with an ExpressJS application. A sample is also available with a simple UI to test it out.

Added

  • extensions.expressjs project with a middleware that makes tenant specific resources available on incoming requests based on the Tentant-ID header provided by our hosting platform.
  • an ExpressJS sample to showcase the usage of the extension package.

Prerelease v21.0.0-gimli.15

10 Jan 18:07
cfcd8bc

Choose a tag to compare

Pre-release

Summary

Update Contracts and send attempt and time spent in handshake requests.

Prerelease v21.0.0-gimli.14

10 Jan 11:50
74847aa

Choose a tag to compare

Pre-release

Summary

Fix yarn workspaces to make it build again after removing Advanced sample.

Prerelease v21.0.0-gimli.13

10 Jan 07:52
e6e1148

Choose a tag to compare

Pre-release

Summary

Fix EventHorizon and update Container sample to work with new Runtime and SDK. Removed Advanced sample as those things were covered by the other tutorials by now - and remove the Docker Compose Environment folder (I don't see why we need that).

Prerelease v21.0.0-gimli.12

08 Jan 14:09
28f7269

Choose a tag to compare

Pre-release

Summary

Introduces a new model for building and verifying bindings for all of the types and processors created for the Client. Also quite a lot of rework of things like ArtifactTypeMap and other utilities to make things more reusable and reduce the amount of duplicated code work. Another change is that Projection and Embedding read model types have been split apart to avoid invalid cross-references.

The GettingStarted, Aggregates, Projections and Embeddings samples have been updated. Missing the rest of the samples.