Update Cratis.Chronicle to 16.10.0 - #2424
Merged
Merged
Conversation
Contributor
Author
Verification gate
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Cratis.Chronicle,Cratis.Chronicle.AspNetCoreandCratis.Chronicle.Testingare updated from16.9.1to16.10.0, picking up 16.9.2, 16.9.3, 16.9.4 and 16.10.0.Added
ComplianceMetadataActionFailedreplaces the bareInvalidOperationExceptionwhen applying or releasing compliance metadata fails. On a failed release it names the property, the subject the value was released under, and explains that the value was encrypted under a different subject, pointing at CHR0038 — rather than surfacing only the underlying OpenSSLoaep decoding error.[Replay]on a reactor handler method, marking it as the one to run while the observer is replaying. Only the marked handler runs during a replay; an event type without one behaves exactly as before. (Support separate event handler methods for events during replay Chronicle#845)IEventStore.IdentitieswithRename(subject, name), exposing the identity renaming the kernel already supported to the .NET client. (Add the capability of changing name of an identity Chronicle#1684)[JsonSchemaType(typeof(T))]on a type, overriding how it is represented in the JSON schema generated for events and read models. Compliance metadata and nullability are preserved. (Add support for overriding the type a type should be represented as in the JsonSchema when used in an Event or Read Model Chronicle#1470)AddCratisChronicleMongoDB()for Aspire, provisioning a MongoDB container that initiates itself as a single-node replica set and hands back adirectConnectionconnection string. (Aspire: slim-image WithMongoDB silently requires a MongoDB replica set + directConnection — document and/or provide a provisioning helper Chronicle#3400)IReactorMiddleware.BeforeInvokeandAfterInvokeoverloads that receive theReactorIdof the reactor observing the event. Chronicle calls these; they default to the existing overloads, so a middleware written against the previous interface keeps working unchanged. (IObserverMiddleware should have which observer it is running for Chronicle#1009)CompliancePropertyNotFoundInSchema, thrown when a property being applied or released has no counterpart in the schema. The message names the property path, the compliance subject, and the properties the schema does declare. (Improve error messages from JSON Compliance Manager when releasing events Chronicle#690)cratis/chronicleDocker Hub repository covering the published tag variants, ports, quick start and the environment variables that configure the server. (Add an overview on Docker hub for Chronicle images Chronicle#1277)Changed
Cratis.Chronicle,Cratis.Chronicle.AspNetCoreandCratis.Chronicle.Testingare updated to16.10.0CHR0038now also reports the fluentbuilder.Join<TEvent>(_ => _.On(...))form, not just the model-bound[Join<TEvent>]attribute. A[PII]value counts as reaching the read model through an explicit.Set(...).To(...)mapping or through AutoMap matching an identically named property.Fixed
CHR0038no longer reports a fluent join when AutoMap cannot carry the value across —[NoAutoMap]on the read model, and[NoAutoMap]on the target property of a positional record, were both still reported. Since the rule is an error, each was a build break on correct code./arc/backend/chronicle/aggregates/aggregate-root.md, which no longer exists — the Arc page isdefining-an-aggregate-root.md. This was breaking the Documentation site's internal-links check.NullReferenceException, losing the status and progress the job state was written to record. (for_JobStateSerializer specs run against a class map production never uses Chronicle#3541)Sequence contains no matching element. (Improve error messages from JSON Compliance Manager when releasing events Chronicle#690)