Skip to content

Releases: pkosiec/mongo-seeding

v4.0.1

05 Oct 23:17
Compare
Choose a tag to compare

🔨 Maintenance

Committers: 1

v4.0.0

07 Jan 18:54
Compare
Choose a tag to compare

💥 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

v4.0.0-alpha.0

09 Dec 11:57
Compare
Choose a tag to compare
v4.0.0-alpha.0 Pre-release
Pre-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

v.3.8.0-alpha.0

02 Oct 20:24
Compare
Choose a tag to compare
v.3.8.0-alpha.0 Pre-release
Pre-release

💥 Breaking Changes

  • 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;

🚀 Enhancements

🔨 Maintenance

Committers: 1

3.7.2

25 May 18:19
Compare
Choose a tag to compare

📝 Documentation

  • #194 Document overriding entrypoint and command for Docker image (@pkosiec)

🔨 Maintenance

Committers: 1

3.7.1

12 Dec 20:23
Compare
Choose a tag to compare

🐛 Bug Fixes

  • #186 Include missing MongoDB driver types in production build (@pkosiec)

🔨 Maintenance

Committers: 1

3.7.0

12 Jun 15:01
Compare
Choose a tag to compare

🚀 Enhancements

  • #149 Add option to remove all documents from collections being seeding (@EltonGarcia)

🔨 Maintenance

Committers: 2

3.7.0-alpha.1

08 May 18:29
Compare
Choose a tag to compare
3.7.0-alpha.1 Pre-release
Pre-release

🚀 Enhancements

Committers: 1

3.7.0-alpha.0

13 Mar 23:13
Compare
Choose a tag to compare
3.7.0-alpha.0 Pre-release
Pre-release

🚀 Enhancements

Committers: 2

3.6.0

07 Mar 18:53
Compare
Choose a tag to compare

🚀 Enhancements

🐛 Bug Fixes

  • #142 Disable require cache while loading other files than JSON (@pkosiec)
  • #146 Fix CLI exit behavior on error (@pkosiec)

🔨 Maintenance

📝 Documentation

Committers: 2