Releases: JasperFx/marten
Release 5.2.0
Bug Fixes
- EventStore/AsyncDaemon: Stop daemon and release db lock when exception occur on shard start by @Leh2 in #2175
- EventStore/Projections: Fix GH-2177 set tenancy properly for query session for async projections by @mysticmind in #2178
- EventStore/AsyncDaemon: Fixes for Async Daemon by @jeremydmiller in #2180
- DocumentStore/Session: Fix code gen issues and SaveChangesAsync throws ConcurrencyException when called in standalone session #2169 by @jeremydmiller in #2182
Enhancements
- EventStore: Add Event Sourcing hello world sample by @jchannon in #2162
- CodeGen: Enabling code generation of compiled queries with database multi-tenancy by @jeremydmiller in #2181
Dependencies
- Update to use Weasel 5.4.0 and Weasel.Commandline 5.4.0
Docs
- EventStore Add a link to event store intro sample project.
Full Changelog: 5.1.0...5.2.0
Milestone 5.2.0: https://github.com/JasperFx/marten/milestone/80?closed=1
Release 5.1.0
Enhancements
Configuration: New version of SetApplicationProject
on StoreOptions
that works better than original version by @jeremydmiller in #2171
Bug Fixes
- EventStore: Fix #2143 for appending events erroneously incrementing the expected version on server by @jeremydmiller in 37de547
- EventStore: Filter out Live projections in command line rebuild by @Rob89 in #2152
- EventStore: Fix concurrency error when calling append several times for string identity by @Leh2 in #2168
- Configuration: Fix set hint path by @cocowalla in #2166
Miscellaneous
- EventStore: Failing unit test for bug #2143 by @vmartos in #2144
- Samples: remove dinnerparty and other unused files by @jchannon in #2158
Dependencies
- Upgrade to Weasel 5.3 by @jeremydmiller in #2172
New Contributors
Milestone: https://github.com/JasperFx/marten/issues?q=is%3Aclosed+milestone%3A5.1.0
Full Changelog: 5.0.0...5.1.0
Release 5.0.0
Refer to migration guide https://martendb.io/migration-guide.html#key-changes-in-5-0-0.
Enhancements
- [BREAKING CHANGE] dependencies: Npgsql 6 upgrade by @oskardudycz in #1987
- multi-tenancy: V5 Multi-Tenancy through Database per Tenant Preparation Work by @jeremydmiller in #2053
- event store: Ensure
ViewProjection
usesCrossStreamAggregationRuntime
by @Rob89 in #2036 - linq: Added
IBatchedOrderedQueryable
andBatchedOrderedQueryable
. by @davidjamesb in #2029 - event store: Optimizes Safe Sequence Finder using Current Safe Sequence Id by @kluhman in #2067
- [BREAKING CHANGE] linq: Add support for case-insensitive order by for strings by @VilleHakli in #1962
- configuration: Secondary store by @jeremydmiller in #2088
- multi-tenancy: Multi Tenancy through Database per Client by @jeremydmiller in #2096
- schema/indexing: Add NGram search functionality. Generates unigrams, bigrams & trigram… by @apereiratl in #1990
- event store:
EventProjection
codegen by @jeremydmiller in #2106 - linq: LINQ ordering by dynamic properties by @mysticmind in #2107
- event store: Custom aggregation recipe, other daemon optimizations. Closes GH-2123… by @jeremydmiller in #2125
- event store: Improved usage of
IInitialData
within a hosted service. Closes GH-2127 by @jeremydmiller in #2128 - dependencies: Update
FastExpressionCompiler
and move to internal package by @Hawxy in #2130 - configuration: Add support for asserting database configuration on startup by @VilleHakli in #2141
Bug Fixes
- event store: Protect against null ref in
HighWaterAgent
.Stop by @gkinsman in #2027 - [BREAKING CHANGE] schema management/event store: Fixed default value for
mt_streams.created
. Closes GH-2011 by @jeremydmiller in #2022 - serializer: Bugs serializing json and getting headers by @elexisvenator in #2101
- fulltext search: Fix GH-2018 by @mysticmind in #2105
- search: Fix GH-1802 by @mysticmind in #2108
- schema/indexing: Fix GH-2028 by @mysticmind in #2109
- duplicated field: Fix GH-1875 by @mysticmind in #2122
- document store: Use provided connection string when opening session by @VilleHakli in #2135
Docs
- plv8: Xtuple binary download link is broken by @tjdaniel in #2033
- migration guide: V4 Migration Guide update to note GIN index operators on LINQ queries no longer supported by @ericgreenmix in #2052
- configuration: Fix link to IIdGeneration.cs by @juchom in #2131
Miscellaneous
- build: V5 related work just to make CI do its thing by @jeremydmiller in #2060
- build: Bump follow-redirects from 1.14.1 to 1.14.7 by @dependabot in #2065
- build: Bump node-fetch from 2.6.1 to 2.6.7 by @dependabot in #2064
- build: Test reorganization and optimization for V5 -- WIP by @jeremydmiller in #2076
- unit test: Moved NGram tests into DocumentDb tests. Also updated them to use AsyncApi by @oskardudycz in #2104
- unit test: Test harness to prove GH-2103 works, extra storage checks in event storage by @jeremydmiller in #2126
- build: SimpleExec from 6.2.0 to 10.0.0-beta.1 by @adamralph in #2138
- build: update Bullseye from 3.3.0 to 4.0.0 by @adamralph in #2139
- build: update SimpleExec from 10.0.0-beta.1 to 10.0.0-beta.2 by @adamralph in #2140
New Contributors
- @tjdaniel made their first contribution in #2033
- @davidjamesb made their first contribution in #2029
- @elexisvenator made their first contribution in #2101
- @juchom made their first contribution in #2131
Full Changelog: 4.3.1...5.0.0
3.14.2
Bug Fixes
- LINQ: Treat the Identity Field as a Duplicated Field by @Spotlight-Zachary in #2016
New Contributors
- @Spotlight-Zachary made their first contribution in #2016
Full Changelog: 3.14.0...3.14.2
Milestone: https://github.com/JasperFx/marten/milestone/75?closed=1
Release 4.3.1
Bug Fixes
- Change Tracking: EjectAllOfType also clears WorkTracker (same as Eject does) by @mronnblom-cint in #2010
- LINQ/Compiled Queries: Ability to use generic types as compiled queries. Closes GH-2014 by @jeremydmiller in #2021
- Async Daemon: Fix failing daemon test build_aggregate_multiple_projections by @mysticmind in #2024
Dependencies
- Lamar: Locking Lamar* dependency versions in Marten itself by @jeremydmiller in #2012
- Lamar: Bumping Lamar* dependencies, and setting dependency ranges by @jeremydmiller in #2013
Docs
- Querying/SQL: Update sql.md by @Jordan466 in #2017
New Contributors
- @mronnblom-cint made their first contribution in #2010
- @Jordan466 made their first contribution in #2017
Milestone: https://github.com/JasperFx/marten/milestone/74?closed=1
Full Changelog: v4.3.0...4.3.1
Release 4.3.0
Bug Fixes
- Exception Handling: Better exception message for edge case. Closes GH-1994 by @jeremydmiller in #2001
- Async Daemon: Fix #1995 - Early Exit ApplyChanges when Page has No Changes by @kluhman in #1996
- Code Sample: Sample code should be using IEvent. Closes GH-1997 by @jeremydmiller in #2002
- Documents/Bulk Insert: Fix for bulk insert w/ nested, nullable Guid fields. Closes GH-1975 by @jeremydmiller in #2003
Enhancements
- Serializer: Added
JsonNetObjectContractProvider
to enable private non default constructor resolution for Newtonsoft Json.NET by @oskardudycz in #2004
Docs
- Async Daemon: Warning in docs about limitations of custom grouping. Closes GH-1988 by @jeremydmiller in #2000
- Serializer: Docs for
JsonNetObjectContractProvider
to enable private non default constructor resolution for Newtonsoft Json.NET by @oskardudycz in #2004
Dependencies
- Update Marten to use Weasel v1.3.0 by @mysticmind in 7d4abad. See Weasel v1.3.0 Release Notes: https://github.com/JasperFx/weasel/releases/tag/v1.3.0
New Contributors
Milestone 4.3.0: https://github.com/JasperFx/marten/milestone/73?closed=1
Full Changelog: 4.2.0...v4.3.0
Release 4.2.0
Enhancements
- LINQ: Any query optimization (avoid counting all rows)#1978
- Async Daemon: .NET 6/Async code related enhancements #1981
Bug Fixes
- Async Daemon: Fix async daemon null operation deadlock #1970
- Schema Management: Can't upgrade to 4.1.0 with custom indices on DB table due to INCLUDE #1982
- Schema Management: Schema migration fails with overlong primary key names #1983
- Code Generator: Fix Generic entity types: CS0246 Namespace or assembly reference not found #1984
Dependencies
- Weasel: Update Marten to use Weasel v1.2.0
Docs
- Event Store: Add docs sample for rebuild projection #1980
Thanks to contributors @lngr, @Hawxy, @solyutor, @Jordan466.
Refer to the milestone details here.
Release 4.1.0
Enhancements
- .NET 6 Support: Added .NET 6.0 support. Restricted Npgsql packages version to
[5.0.10,6.0)
to explicitly disable v6 usage not to cause unexpected issues. We're working on the Npgsql 6 upgrade, but it will come later in the v5 version because of the number of breaking changes in the Npgsql 6 release #1977 - Dependencies: Bumped a few dependencies by their minor versions #1977
Bug Fixes
- Linq: Fixed ignoring
.Take()
method when using.Single()
in LINQ query. Thanks @VilleHakli, for fixing the issue! #1971 - Threading - fixed the multiple threading issues related to
ConfigureAwait(false)
usage. Fix unblocks the cases for MS Orleans and Blazor usage. Thanks to @solyutor for the great contribution! #1960 #1963 #1957
You can refer to the milestone details here.
Release 4.0.4
Bug Fixes
- Event Store: Brought back event type mapping by adding a dedicated
MapEventType
method toIEventStoreOptions
. It was accidentally removed in one of the releases. There is a slight difference in the usage. Instead of using explicitly EventTypeMapping class, now you can use the dedicatedMapEventType
method. See more in docs. #1966 - Document Hierarchies: Fixed wrong base classes in pre-built DocumentStorage types for sub-classes hierarchy. This change required to remove returning
DocumentMapping
from the generic add projection method. Technically it's a breaking change, but it was exposed by mistake, as editing the document mapping for an aggregate type after registering an aggregate projection should not be allowed. #1961 #1964 - Threading - fixed the multiple threading issues related to
ConfigureAwait(false)
usage. Fix unblocks the cases for MS Orleans and Blazor usage. Thanks to @solyutor for the great contribution! #1960 #1963 #1957
Enhancements
- Documentation: Fixed the number of supported full-text search types. Thanks to @rickj33 for the contribution! #1959
You can refer to the milestone details here.
Release 4.0.3
Bug Fixes
- Event Store/LINQ:
QueryAllRawEvents
can't handle new properties (EventTypeName
,DotNetTypeName
) #1928 - Schema/Duplicate Field: Fix handling of duplicated fields with nested properties #1931
- Event Store/Identity: EventStore
StreamIdentity.AsString
loses key in metadata #1939 - LINQ/Compiled Query: Using a
ICompiledQuery
with anInclude
multiple times per Session throwsmt_temp_id_list already
exists Error #1941 - Project: Configure warnings for
async
code issues #1942 - Schema/Full Text Index: Documents with Full Text Index do not migrate successfully #1945
- LINQ: Problem with filtering on nested enum #1951
- Diagnostics/Logging: Fix some logging calls #1955
Enhancements
- Project/Package Dependencies: Remove dependency on end of life abstractions package in Marten.AspNetCore project #1917
- Identity: Reduce memory pressure using Comb Guid #1933
You can refer to the milestone details here.