Marten v3.12.0 Release Notes
Release Date: 2020-06-08 // almost 4 years ago-
๐ Features and Enhancements
- Core : Add
AddMarten
service collection extension method to ease of process of adding Marten to .NET Core applications including IoC containers. #1501 See more in documentation: link. - Document Store/LINQ : Add support for
IsOneOf
to allow passingList<T>
as opposed to arrays. #1426 - Document Store/LINQ : Add support for
In
&NotIn
LINQ operators for queries. #1427 - Document Store/Hierarchies/LINQ : Add support for hierarchical documents in custom SQL query. #1479
- Document Store/Multi-Tenancy : Add feature to disable using default tenant to store multi tenanted documents. #1450 See more in documentation: link.
- Document Store : Add overloads to
IDocumentSession
for methods with params to allow passingIEnumerable
(Store
,Insert
,Update
,Load
) #1428 - Event Store : Add overloads to
IEventStore
for methods with params to allow passingIEnumerable
(StartStream
,Append
) #1428 - Event Store : Remove the requirement for having the default constructor in the aggregation process and projections. #1447
- Event Store : Add possibility to start typed event streams with non-generic
StartStream
#1456
๐ Bug Fixes
- CLI Tooling : Fix unable to execute command line tool to dump script to single output file #1448
- Document Store/LINQ : Fix to allow case in-variance for .NET Core apps #1363
- Document Store/LINQ : Fix case for query against
field.HasValue == false
- Event Store : Fix
CombGuid
setting not respected for event streams #1432 - Event Store/Async Daemon/Projections : Fix
ProjectView
/DeleteEvent
not run when rebuilding projections #1302 - Schema Management : Fix Initial Data Null Reference Exception with Query #1495
- Schema Management/Indexes : Index should not lower/uppercase non-strings #1499
๐ Docs
- DI : Add docs pertaining to integrating Marten into .NET Core applications using IoC containers with various usage/use cases. Also includes a sample ASP.NET Core project #1501
- Event Store/Projections : Add missing documentation for updateOnly view projection #1481
- Introduction : Add Marten video introduction to main page from .NET Conf 2018. #1486 See: link
- ๐ฒ Logging, Diagnostics : Add docs for statement tracking using a custom
IMartenSessionLogger
. See more in documentation: link #1248
Miscellaneous
- ๐ Build : Fix build tooling security vulnerability warning with npm package dependency #1498
- CI : Add test performance optimization #1463
- โ Document Store/Unit Tests : Add tests for the case when there is a session having deletions to two or more document types, where those documents have the same types of primary keys #1478
- Project Management : Update project/package description in csproj files, docs and readme #1497
- Core : Add