Releases: dolittle/JavaScript.SDK
Prerelease v21.0.0-gimli.1
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
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
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
CancellationandCancellationSourcewhereinstanceof Cancellationdoes not work. - A small typo in the exception thrown when the client cannot connect to the configured Runtime.
Prerelease v20.0.0-legolas.13
Summary
Fixes stack overflow when subscribing to a Cancellation
Prerelease v20.0.0-legolas.12
Summary
Fixes an issue with the implementation of Cancellation where instanceof did not work.
Prerelease v20.0.0-legolas.11
Summary
- Fix typo in exception
- Add overload to getDatabase to allow only providing cancellation without using
undefined
Prerelease v20.0.0-legolas.10
Summary
Changes the API of the resources package
Prerelease v20.0.0-legolas.9
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
- 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
Summary
Evaluates against bool
Fixes
- Fixes the workflow by evalutating expression against bools, not strings