v4.0.0-alpha.0
Pre-release
Pre-release
💥 Breaking Changes
- Core library: Configuration now uses
bulkWriteOptions
instead of ofcollectionInsertManyOptions
:
Before | After |
export interface SeederConfig {
database: SeederDatabaseConfig;
// (...)
mongoClientOptions?: MongoClientOptions;
// CollectionInsertManyOptions was a type from the "mongodb" package
collectionInsertManyOptions?: CollectionInsertManyOptions;
} |
export interface SeederConfig {
database: SeederDatabaseConfig;
// (...)
mongoClientOptions?: MongoClientOptions;
// BulkWriteOptions is a type from the "mongodb" package
bulkWriteOptions?: BulkWriteOptions; |
- Core library: Errors from underlying Mongo Seeding dependencies are no longer wrapped with the
MongoSeedingError
one. - Docker image: All previous images has been migrated to the
ghcr.io
repository. Upcoming ones won't be pushed to the docker.io repository anymore. From now one, useghcr.io/pkosiec/mongo-seeding:{versionNumber}
!
🚀 Enhancements
- #214 Rework merging DB connection configuration (@pkosiec)
- #213 Get rid of error wrapping (@pkosiec)
- #206 Build multi-arch Docker image (@pkosiec)
- #214 Ability to provide partialConfig object when using DB URI in constructor (@pkosiec)
🐛 Bug Fixes
🔨 Maintenance
- #205 Migrate Docker images to ghcr.io (@pkosiec)
- #204 Migrate to ESLint and run linter on CI (@pkosiec)
- #210 Update MongoDB driver to v6 and other dependencies (@pkosiec)
- #203 Update MongoDB driver to v5 and all other dependencies (@pkosiec)
- #207 #197 Update dependencies (@pkosiec)
- #198 Update packages and images metadata (@pkosiec)
Committers: 1
- Pawel Kosiec (@pkosiec)