Skip to content

v4.0.0

Latest
Compare
Choose a tag to compare
@pkosiec pkosiec released this 07 Jan 18:54
· 1 commit 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)
  • #218 Remove linux/arm/v7 from multi-arch Docker image (@pkosiec)

馃敤 Maintenance

Committers: 1