Releases: dolittle/Runtime
Release v7.4.0
Summary
Updated to .net6 and C# 10 - and in the process updated all the code to use new language features (e.g. file scoped namespace and code generated logger messages), and fixed other build warnings in the process. Implemented Handshake service, and added some new and renamed some old concepts to represent the Runtime execution context. Introduced a new platform.json config file to be provided by the platform. Added VersionInfo to the Runtime to be baked in during build. Lastly fixed a bug in the Embedding processor that caused the wrong execution context to be passed to the Clients when processing embedding requests, and improved the error that is returned when attempting to register an EventHandler more than once.
Added
- Handshake service that checks if the connecting client uses a compatible version of the Contracts, and returns the Runtime execution context configured by
platform.json - CLI build for macOS on M1 chips now work, so that binary is added to the release.
Fixed
- A bug in the Embedding processor that caused the wrong execution context to be passed to Clients when processing embedding requests.
- Improved the failure returned when attempting to register an Event Handler more than once.
Prerelease v7.4.0-gimli.10
Summary
Fix ServiceAspect descriptor for Handshake service, allow usage of "" in VersionInfo so it will build on final release, use latest contracts, and enable macOS M1 build of CLI again.
Prerelease v7.4.0-gimli.9
Summary
Returns a known Failure when an EventHandler is registered multiple times, instead of throwing an Exception that is eaten up by gRPC. Also the incident is logged with a warning message.
Prerelease v7.4.0-gimli.8
Summary
Fixes the problem of the ExecutionContext in the EmbeddingProcessor while processing requests by setting the TenantId of the ExecutionContext to the TenantId of the processor in the loop. The ExecutionContext is re-set in the DoWork tasks to also propagate the CorrelationId from the Client while processing requests. Also added a check that the TenantId of the ExecutionContext matches that of the processor to ensure we don't screw up somewhere else and end up with strange events committed.
Fixed
- The ExecutionContext sent to the Client while processing an Embedding request was not set to the correct tenant.
Prerelease v7.4.0-gimli.7
Summary
Update Contracts to get new Handshake structure. Check that HandshakeRequest contains all valid information. Return new custom failures for the different situations of Handshake and version incompatibilities.
Added
- New custom
FailureIdandFailures for describing what to do when handshake fails.
Changed
- Updated Contracts
Fixed
- Added a space in the log formatting config in
appsettings.jsonto make it look a little nicer.
Prerelease v7.4.0-gimli.6
Summary
Fixes ConceptAs.ToString() and add new CustomerId concept for using with platform configuration.
Added
CustomerIdandCustomerNameconcepts.
Changed
- Default customer id in
platform.jsontoCustomerId.NotSet - Made
ConceptAs.ToString()sealed so it is applied to all inheriting classes.
Prerelease v7.4.0-gimli.5
Summary
Cleaned up default configuration for released Docker images.
Changed
- Default log level for all namespaces now set to
Information - Environment is
Developmentfor*-developmentimages, andProductionfor others.
Fixed
- Same application and microservice IDs used in
bounded-context.jsonandplatform.json.
Prerelease v7.4.0-gimli.4
Summary
Adds adds more logging
Prerelease v7.4.0-gimli.3
Summary
Fixes problems with upgrading to .net6
Prerelease v7.4.0-gimli.2
Summary
Implements the handshake service