Skip to content

v5.1.1 merge back from rpallares/Mongo.RuntimeMigration#95

Open
rpallares wants to merge 42 commits intoSRoddis:masterfrom
rpallares:merge-back-rename-to-mongo-migration
Open

v5.1.1 merge back from rpallares/Mongo.RuntimeMigration#95
rpallares wants to merge 42 commits intoSRoddis:masterfrom
rpallares:merge-back-rename-to-mongo-migration

Conversation

@rpallares
Copy link
Copy Markdown

This could be not 100% exhaustive but v5.0.0 did a lot of changes comparing to older versions.
Consider also there was a lot of changes between the last 3.1.4 officially published version and the source code.

Updates

  • .Net version update (.net8_0, .net9_0)
  • MongDB.Driver@3.5.2+ (required for .Net 10+)
  • Dependency updates
  • Remove Mongo2Go in favor of Testcontainers
  • Refactoring initialisation
    • Can migrate multiple database
    • Remove CollectionLocationAttribute Database property
    • Can enable separately all migration types
    • Add extension method to initialize before app startup
  • Use span for DocumentVersion parsing
  • Use mongo bookmark when no migration needed
  • A lot of cleanup and optimization
  • Documentation rewriting
  • More tests

Breaking changes

  • Remove .Net framework support
  • MongoDB.Driver@3.0.0
  • DatabaseMigration now use async methods for UpAsync and DownAsync
  • CollectionLocationAttribute Database property removed
  • Refactoring initialisation
  • All Migration types must be public

Rafael Pallares and others added 30 commits October 8, 2024 11:08
- Bump mongo 3.0
- replace Mongo2Go > Testcontainers.Mongodb
- .Net version update (.net7_0, .net8_0, .net9_0)
- MongDB.Driver@3.0.0+
- Dependency updates
- Remove Mongo2Go in favor of Testcontainers
- Refactoring initialisation
  - Can migrate multiple database
  - Remove CollectionLocationAttribute `Database` property
  - Can enable separately all migration types
  - Add extension method to initialize before app startup
- Use span for DocumentVersion parsing
- Use mongo bookmark when no migration needed
- A lot of cleanup and optimization
- Documentation rewriting
- More tests
Co-authored-by: Rafael Pallares <rafael.pallares@ubisoft.com>
rpallares and others added 12 commits February 27, 2025 12:54
Co-authored-by: Rafael Pallares <rafael.pallares@ubisoft.com>
Co-authored-by: Rafael Pallares <rafael.pallares@ubisoft.com>
Co-authored-by: Rafael Pallares <rafael.pallares@ubisoft.com>
Co-authored-by: Rafael Pallares <rafael.pallares@ubisoft.com>
…usage (#10)

Co-authored-by: Rafael Pallares <rafael.pallares@ubisoft.com>
* change package id

* fix publish

* remove icon to worakourd nuget outage

* improvement: Better initialization (#12)

- Make all migration locator thread safe
- Early init runtime migration
- Make all attribute locator thread safe
- Remove code duplication
- remove .net7 support
- Force migrations to be public

Co-authored-by: Rafael Pallares <rafael.pallares@ubisoft.com>

* update readme

* cleanup authors

---------

Co-authored-by: Rafael Pallares <rafael.pallares@ubisoft.com>
Co-authored-by: Rafael Pallares <rafael.pallares@ubisoft.com>
@rpallares
Copy link
Copy Markdown
Author

@SRoddis, here it is, the big PR.
=> You need to add a secret variable NUGET_API_KEY with your nuget api key to be able to push the nuget

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant