Repository navigation
chore(deps): Bump JasperFx.Events from 2.101.0 to 3.8.0 - #85
Open
dependabot[bot] wants to merge 1 commit into
Open
dependabot[bot] wants to merge 1 commit into
dependabot[bot] wants to merge 1 commit into
Conversation
--- updated-dependencies: - dependency-name: JasperFx.Events dependency-version: 3.8.0 dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
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.
Updated JasperFx.Events from 2.101.0 to 3.8.0.
Release notes
Sourced from JasperFx.Events's releases.
3.8.0
A source-generated
Evolvedispatcher now also applies conventional Apply/Create/ShouldDelete methods inherited from a base class, and command line and TimeSpan parsing use the invariant culture..nuke/tempuntracked; Nuke telemetry off (#1240)3.7.1
ShardStartExceptionwith reasonRebuilding(#1233)IdentityRebuildCompliance: a document that loads as null counts as not live, whateverLoadExcludesSoftDeletedDocumentssays (#1232)3.7.0
IEventDatabase(FetchEventRangeMarkAsync,TrySetEventRangeMarkAsync,SetEventRangeMarkAsync), shared by stored-event rewrites and projection backfills (#1215, #1222)IEventStore.SupportsEventRewrites/RewriteStoredEventsAsync,EventRewriteDefinition, and named transforms throughEventRegistry.AddRewriteTransform<T>(#1215)AsyncOptions.SubscribeFromPriorVersionMark,IEventStore.SupportsBackfills/RunBackfillAsync, andEventRegistry.HasJobHost(#1222)EventRangeMarkCompliance,EventRewriteComplianceandBackfillCompliance;IdentityRebuildCompliancefixes for conjoined schemas and soft-deleted loads (#1227)StopAllAsyncsaves the Stopped status (#1225, #1226)Stores that enrol the compliance suites must enrol or excuse the three new ones.
3.6.0
IProjectionDaemon.RebuildIdentityAsync(#1201, #1216)SequentialGuid: lock-free sequential Guids in PostgreSQL or SQL Server order, replacing COMB andGuid.CreateVersion7()(#1217, #1221), with aStreamIdGeneratorhook for storesIStorageOperations.LastAppendedPosition;LastAppendedSequenceis now an obsolete forwarder (#1218, #1219)projections --advanceworks again,StreamState.ColdVersion, and theCompacted<T>marker as a slice's last event (#1210, #1211, #1214)See the 3.6.0 section of the migration guide.
3.5.0
RememberApplicationAssemblyopt-out andResetRememberedApplicationAssembly()..Emits<T>().OnStream<TAggregate>().ForTenanton the shared document write operations.projections floorcommand (show, pin-current, set, clear).EventStorePosition,LastAppendedSequenceandIEventStore.WaitForProjectionsAsync(marten#6004).3.4.0
Source generator: open generic aggregates and aggregates nested behind private/protected no longer get evolvers that fail to compile (CS0246 / CS0122); they are skipped with the new JFXEVT008 warning (#1194, #1195).
3.3.0
What's changed since 3.2.0
private,protectedorinternalparameterless constructor, the evolver source generator emittedRuntimeHelpers.GetUninitializedObject. The constructor body and every field and property initializer were skipped, so an aggregate written the way Marten 8 allowed could throwNullReferenceExceptionin its ownApplyat the first event.[UnsafeAccessor(UnsafeAccessorKind.Constructor)], which runs the body and the initializers as Marten 8 did. It needs no reflection, so it stays trim and Native AOT safe.private A() { ... }runs again.GetUninitializedObjectis still used for aggregates with no parameterless constructor at all, such as records with a primary constructor. It is also used for generic aggregates and for aggregates nested inside a private or protected type, because the generated code can't reach their constructors.[FromKeyedServices]keys resolve the registration with that key.[FromKeyedServices(Kind.A)]therefore never matched the registration keyed byKind.A, and codegen silently injected the last unkeyed registration of the same type.object.Equalsmatch first, as Microsoft.Extensions.DependencyInjection does, then the oldToString()comparison. The generated constructor attribute keeps the key's own type, for example[FromKeyedServices(MyApp.Kind.A)]instead of("A").ServiceContainer.QuickBuildresolves with the key as declared.[FromKeyedServices(key)]parameter with no registration for that key now fails during code generation with an error that names the parameter, the key and the service type. Before, it quietly took the unkeyed default. A null key is still resolved like any other parameter.IServiceVariableSourcegainsTryFindKeyedService(Type, object key, out Variable?)as a default member. The default handles string keys and throwsNotSupportedExceptionfor any other key.Additions
IEventBinarySerializerspan and buffer-writer members, so stores can pool binary event buffers (JasperFx/marten#5731).Serialize(Type, object, IBufferWriter<byte>)andDeserialize(Type, ReadOnlySpan<byte>).byte[]pair, so serializers written against 3.2 keep working unchanged.UnArchiveStreamonIEventStoreOperations(marten#5476).UnArchiveStream(Guid)andUnArchiveStream(string)are now on the shared operations interface, so store-agnostic code can call whatArchivedStreamExceptiontells it to.NotSupportedExceptionuntil a store implements them.StreamArchivingCompliancegains unarchive facts. TheEventStoreComplianceFixture.UnArchiveStreamhook is[Obsolete].Follow-ups for the stores
inline_aggregation_with_private_constructor(JasperFx/marten#5907).IEventBinarySerializermembers.Full Changelog: JasperFx/jasperfx@v3.2.0...v3.3.0
3.2.0
What's changed since 3.1.0
[BoundaryAggregate]with anIdmember now works withFetchForWritingByTags<T>.Idtype, for example<T, Guid>. Marten fetches every boundary aggregate asSingleStreamProjection<T, string>, so the fetch threw "No source-generated dispatcher found".string-keyed evolver. TheId-keyed one stays for single-stream use.DcbAppendConditionCompliance, a shared compliance suite for the DCB append condition under real concurrency (marten#5887). AddsComplianceStoreConfig.DisableWriteRetries. Every store'sComplianceSuiteInventoryguard needs the new suite enrolled or excused.Full Changelog: JasperFx/jasperfx@v3.1.0...v3.2.0
3.1.0
What's changed since 3.0.1
runtime-async=on. Opt out with-p:JasperFxRuntimeAsync=false.GenerationRules.UseRuntimeAsyncdefaults totruein the net11.0 build. Opt out withUseRuntimeAsync = false.AddJasperFx(services, configure, registeredFrom)(#1179, #1181): an entry point that defersAddJasperFxintoBuild()can hand over the assembly it captured, soApplicationAssemblyReuseWarningno longer fires on a healthy host built by a helper in another assembly.StreamLockedException.StreamIds(#1172, #1176): a store whose lock covers several streams can report every stream that lost it.--log-leveland--verbosewin over configured log levels (#1132, #1177).See "Key Changes in 3.1.0" in the migration guide.
3.0.1
What's Changed
Full Changelog: JasperFx/jasperfx@v2.102.0...v3.0.1
3.0.0-alpha.1
What's Changed
Full Changelog: JasperFx/jasperfx@v2.102.0...v3.0.0-alpha.1
2.102.0
JasperFx 2.102.0 is a minor release with one new
IEventDatabasecapability. It lets monitoring report projection lag as time rather than as a count of events.IEventDatabase.FetchFirstEventTimestampsAfterAsync, the age of the oldest unprocessed event (#1150 / #1151).(TenantId, Sequence)position, it returns the store's timestamp of the first event with a higher sequence, ornullwhen there is none (the shard is caught up). You get onePendingEventAge(TenantId, Sequence, Timestamp)per position, in the order asked.PendingEventAgealso hasIsCaughtUpandAgeAt(now), which never returns a negative age when clocks are skewed.NotSupportedExceptionon a store that hasn't implemented it. Anulltimestamp means "caught up", so that default can't answer without reporting a lagging shard as current. The single-position convenienceFetchFirstEventTimestampAfterAsync(sequence, tenantId)calls the batched member by default. The in-memory prototyping store implements both.PendingEventAgeCompliancesuite, gated bySupportsPendingEventAges(default false), with 12 facts. They cover the "strictly after" rule, ordering and duplicates, archived events and conjoined tenant scoping. A newSupportsStreamArchivingfixture flag (default true) gates the archived facts. Stores must enroll the new suite (or excuse it) orComplianceSuiteInventory.AssertEnrolledfails.Marten, Polecat and Fisher implement the method in their JasperFx 2.102.0 upgrades.
What's Changed
Full Changelog: JasperFx/jasperfx@v2.101.1...v2.102.0
2.101.1
JasperFx 2.101.1 is a patch release with one fix.
StopAsync/PauseAsynccalls on the projection coordinator no longer throwObjectDisposedException(#1148 / #1149).ProjectionCoordinatorBaseread, awaited across, then disposed and replaced its shared cancellation source and runner with nothing serializing callers. Two stops in flight at once could cancel a source the other had just disposed. Two starts in flight at once could each build a leadership loop, leaving one running that nothing would ever cancel.RunCommandstops the host again whenApplicationStoppingfires, so tests hosting an app throughWebApplicationFactoryor Alba had twoIHost.StopAsynccalls racing at teardown.ProjectionCoordinatorpick this up from the base class. Marten'sExplicitProjectionCoordinatorhas its own fix in JasperFx/marten#5843.StressTestsproject that runs its tests one at a time, so they can't starve timing-sensitive tests of thread-pool threads.What's Changed
Full Changelog: JasperFx/jasperfx@v2.101.0...v2.101.1
Commits viewable in compare view.
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)