Skip to content

Releases: NEventStore/NEventStore.Persistence.MongoDB

12.1.0

Choose a tag to compare

@AGiorgetti AGiorgetti released this 15 Jun 08:23

12.1.0

  • Added explicit support for net8.0, net9.0, net10.0.
  • Updated NEventStore to 10.2.0
  • Performance: per-stream read queries require in-memory sort (CheckpointNumber not in index) #73
  • Some code cleanup and refactoring.

Breaking Changes

  • Requires updating NEventStore to 10.2.0 or higher

12.0.0

Choose a tag to compare

@AGiorgetti AGiorgetti released this 24 Jan 10:51
  • Async methods added to IPersistStreams interfaces #71
  • Updated NEventStore to 10.0.0

Breaking Changes

  • EmptyRecycleBin() is not called anymore during engine MongoPersistenceEngine.Initialize().

11.0.0

Choose a tag to compare

@AGiorgetti AGiorgetti released this 09 Dec 16:42
  • Support: net6.0, netstandard2.1, net472
  • Updated MongoDb driver to 3.0.0
  • Updated nuget package icon.

Breaking Changes

  • Carefully read the MongoDB C# Driver 3.0 Migration Guide
  • dropped netstandard2.0 support.
  • dropped net461 support.
  • Removed Obsolete Extension methods: ExtensionMethods.ToMongoCommit_original(), ExtensionMethods.ToCommit_original(), ExtensionMethods.AsDictionary<Tkey, Tvalue>(), ExtensionMethods.ToMongoCommitIdQuery()
  • Check your GUID serialization:
    • if it's a new project, you should not have any problem; you'll use the new GUID serialization format.
    • if it's an old project, you should check the GUID serialization format:
      • if you are using the Standard format, you should not have any problem.
      • if you are (most likely) using the CSharpLegacy format, you should change the GUID serialization format to CSharpLegacy:
        BsonSerializer.RegisterSerializer(new GuidSerializer(GuidRepresentation.CSharpLegacy));
        or:
        BsonClassMap.RegisterClassMap<MongoCommit>(cm =>
        {
          cm.AutoMap();
          cm.GetMemberMap(c => c.CommitId).SetSerializer(new GuidSerializer(GuidRepresentation.CSharpLegacy));
        });
      • To serialize GUIDs in Lists or Dictionary of objects, you should also remember to properly set the Guid representation for the object serializer, with something like:
        BsonSerializer.RegisterSerializer(new ObjectSerializer(
          BsonSerializer.LookupDiscriminatorConvention(typeof(object)), GuidRepresentation.CSharpLegacy, ObjectSerializer.AllAllowedTypes));
        see README.md for more information.
  • class MongoShapshotFields renamed to: MongoSnapshotFields

11.0.0-beta.1

11.0.0-beta.1 Pre-release
Pre-release

Choose a tag to compare

@AGiorgetti AGiorgetti released this 07 Nov 10:23

11.0.0-beta.1

  • Support: net6.0, netstandard2.1, net472
  • Updated MongoDb driver to 3.0.0
  • Updated nuget package icon.

Breaking Changes

  • Carefully read the MongoDB C# Driver 3.0 Migration Guide
  • dropped netstandard2.0 support.
  • dropped net461 support.
  • Removed Obsolete Extension methods: ExtensionMethods.ToMongoCommit_original(), ExtensionMethods.ToCommit_original(), ExtensionMethods.AsDictionary<Tkey, Tvalue>(), ExtensionMethods.ToMongoCommitIdQuery()
  • Check your GUID serialization:
    • if it's a new project, you should not have any problem; you'll use the new GUID serialization format.
    • if it's an old project, you should check the GUID serialization format:
      • if you are using the Standard format, you should not have any problem.
      • if you are (most likely) using the CSharpLegacy format, you should change the GUID serialization format to CSharpLegacy:
        BsonSerializer.RegisterSerializer(new GuidSerializer(GuidRepresentation.CSharpLegacy));
        see README.md for more information.
  • MongoShapshotFields renamed to: MongoSnapshotFields

10.0.1

Choose a tag to compare

@AGiorgetti AGiorgetti released this 24 Oct 09:58
  • Limit MongoDb allowed versions from 2.28.0 to anything less than 3.0.0 (which has many breaking changes to take care of).
  • Added NuGet Symbol package generation.

10.0.0

Choose a tag to compare

@AGiorgetti AGiorgetti released this 27 Sep 14:00
  • Updated MongoDB drivers to 2.28.0

Breaking Changes

  • MongoDB drivers are now strogly signed, binary compatibility with previous versions is now broken. If you update to this version of NEventStore.Persistence.MongoDB package
    you are forced to use the same version of MongoDB drivers (or setup assembly binding redirects).

9.0.0

Choose a tag to compare

@AGiorgetti AGiorgetti released this 03 Dec 10:29
  • Updated NEventStore 9.0.0.
  • Added support for net6.0.
  • Updated MongoDB driver to 2.14.0.
  • Configuration: allow to configure MongoClientSettings to edit driver specific client connection settings #60.
  • Added a new [BucketId, CheckpointNumber] index to speed up some queries.

Breaking Change

  • Minimum server version is now MongoDB 3.6+ (due to MongoDB C# driver update).

5.0.0.94

Choose a tag to compare

@andreabalducci andreabalducci released this 21 May 19:33
updated mongocsharpdriver to 1.9.1