Mongo Seeding Versions Save

🌱 The ultimate solution for populating your MongoDB database.

v4.0.0

4 months ago

:boom: 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}!

:rocket: Enhancements

:bug: Bug Fixes

  • #214 Fix encoding password in MongoDB connection URI (@pkosiec)
  • #218 Remove linux/arm/v7 from multi-arch Docker image (@pkosiec)

:hammer: Maintenance

Committers: 1

v4.0.0-alpha.0

5 months ago

:boom: 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}!

:rocket: Enhancements

:bug: Bug Fixes

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

:hammer: Maintenance

Committers: 1

v3.8.0-alpha.0

7 months ago

:boom: 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;

:rocket: Enhancements

:hammer: Maintenance

Committers: 1

v3.7.2

1 year ago

:memo: Documentation

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

:hammer: Maintenance

Committers: 1

v3.7.1

2 years ago

:bug: Bug Fixes

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

:hammer: Maintenance

Committers: 1

v3.7.0

2 years ago

:rocket: Enhancements

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

:hammer: Maintenance

Committers: 2

v3.7.0-alpha.1

3 years ago

:rocket: Enhancements

Committers: 1

v3.7.0-alpha.0

3 years ago

:rocket: Enhancements

Committers: 2

v3.6.0

3 years ago

:rocket: Enhancements

:bug: Bug Fixes

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

🔨 Maintenance

:memo: Documentation

Committers: 2

v3.6.0-alpha.1

3 years ago

:rocket: Enhancements

:bug: Bug Fixes