Skip to content

v4.0.0-alpha.0

Pre-release
Pre-release
Compare
Choose a tag to compare
@pkosiec pkosiec released this 09 Dec 11:57
· 4 commits to main since this release

馃挜 Breaking Changes

  1. Core library: Configuration now uses bulkWriteOptions instead of of collectionInsertManyOptions:
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;
  1. Core library: Errors from underlying Mongo Seeding dependencies are no longer wrapped with the MongoSeedingError one.
  2. 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, use ghcr.io/pkosiec/mongo-seeding:{versionNumber}!

馃殌 Enhancements

馃悰 Bug Fixes

  • #214 Fix encoding password in MongoDB connection URI (@pkosiec)

馃敤 Maintenance

Committers: 1