Releases: dolittle/JavaScript.SDK
Prerelease v21.0.0-gimli.21
Fixes log levels and exception message failing to connect to the Runtime
Prerelease v21.0.0-gimli.20
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
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
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)orregister(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
Summary
Updated and fixed some things in the Tutorial Samples.
Prerelease v21.0.0-gimli.16
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.expressjsproject with a middleware that makes tenant specific resources available on incoming requests based on theTentant-IDheader provided by our hosting platform.- an ExpressJS sample to showcase the usage of the extension package.
Prerelease v21.0.0-gimli.15
Summary
Update Contracts and send attempt and time spent in handshake requests.
Prerelease v21.0.0-gimli.14
Summary
Fix yarn workspaces to make it build again after removing Advanced sample.
Prerelease v21.0.0-gimli.13
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
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.