Skip to content

Releases: dolittle/JavaScript.SDK

Prerelease v21.0.0-gimli.1

07 Dec 10:13
d3fbbaf

Choose a tag to compare

Pre-release

Summary

Use a custom README file for publishing to npmjs. To keep it consistent with the C# SDK - and we don't need all that building stuff for NPM.

Changed

  • The published README file.

Prerelease v21.0.0-gimli.0

07 Dec 09:53
5cdbf9e

Choose a tag to compare

Pre-release

Summary

Introducing a new build script that copies over the README.md file to the root of each project to be packaged and published to npm.

Added

  • Build script that copies the README.md file to the root of each package before building

Release v20.0.0

18 Nov 14:32
3011c7e

Choose a tag to compare

Summary

Adds the ability to get the configured tenants, and a MongoDB database per tenant from the Runtime through the client. Also renames the Client to DolittleClient, and introduces interfaces many places to simplify creation of mocks for testing purposes.

Added

  • ITenants tenants property on the client for getting all tenants from the Runtime
  • IResourcesBuilder resources property on the client for getting resources for a specific tenant. Currently supports MongoDB.
  • IDolittleClient interface that DolittleClient implements, and interfaces for other classes in the client structure

Changed

  • Client renamed to DolittleClient
  • ClientBuilder renamed to DolittleClientBuilder

Fixed

  • A bug in the implementation of Cancellation and CancellationSource where instanceof Cancellation does not work.
  • A small typo in the exception thrown when the client cannot connect to the configured Runtime.

Prerelease v20.0.0-legolas.13

18 Nov 13:59
3d8e1b8

Choose a tag to compare

Pre-release

Summary

Fixes stack overflow when subscribing to a Cancellation

Prerelease v20.0.0-legolas.12

18 Nov 11:00
1aaab12

Choose a tag to compare

Pre-release

Summary

Fixes an issue with the implementation of Cancellation where instanceof did not work.

Prerelease v20.0.0-legolas.11

18 Nov 10:31
4840586

Choose a tag to compare

Pre-release

Summary

  • Fix typo in exception
  • Add overload to getDatabase to allow only providing cancellation without using undefined

Prerelease v20.0.0-legolas.10

18 Nov 08:57
09800b3

Choose a tag to compare

Pre-release

Summary

Changes the API of the resources package

Prerelease v20.0.0-legolas.9

16 Nov 23:20
7e17ac8

Choose a tag to compare

Pre-release

Summary

An attempt to make all the documentation in the repo look the same and conform to the JSdoc spec.

  • Added rules for JSdoc in the linter
  • Fixed all the broken rules

Prerelease v20.0.0-legolas.8

16 Nov 09:25
77c3684

Choose a tag to compare

Pre-release
  • Fix newlines and empty lines in all the files, and add eslint rules to check while building
  • Removed dummy test files, we don't need them as the test pipeline runs in the root folder (so it doesn't fail anymore)
  • Enforce newline after headers (it doesn't look great for tutorials - but we can get back to it later)

Prerelease v20.0.0-legolas.7

15 Nov 15:45
b6cfeab

Choose a tag to compare

Pre-release

Summary

Evaluates against bool

Fixes

  • Fixes the workflow by evalutating expression against bools, not strings