mongo-seeding

🌱 The ultimate solution for populating your MongoDB database.

MIT License

Downloads
94.2K
Stars
554
Committers
7

Bot releases are hidden (Show)

mongo-seeding - v4.0.0 Latest Release

Published by pkosiec 10 months ago

💥 Breaking Changes

  1. Core library: Configuration now uses bulkWriteOptions instead of of collectionInsertManyOptions:
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

mongo-seeding - v4.0.0-alpha.0

Published by pkosiec 11 months ago

💥 Breaking Changes

  1. Core library: Configuration now uses bulkWriteOptions instead of of collectionInsertManyOptions:
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

mongo-seeding - v.3.8.0-alpha.0

Published by pkosiec about 1 year ago

🚀 Enhancements

🔨 Maintenance

Committers: 1

mongo-seeding - 3.7.2

Published by pkosiec over 2 years ago

📝 Documentation

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

🔨 Maintenance

Committers: 1

mongo-seeding - 3.7.1

Published by pkosiec almost 3 years ago

🐛 Bug Fixes

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

🔨 Maintenance

Committers: 1

mongo-seeding - 3.7.0

Published by pkosiec over 3 years ago

🚀 Enhancements

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

🔨 Maintenance

Committers: 2

mongo-seeding - 3.7.0-alpha.1

Published by pkosiec over 3 years ago

🚀 Enhancements

Committers: 1

mongo-seeding - 3.7.0-alpha.0

Published by pkosiec over 3 years ago

🚀 Enhancements

Committers: 2

mongo-seeding - 3.6.0

Published by pkosiec over 3 years ago

🚀 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

mongo-seeding - 3.6.0-alpha.1

Published by pkosiec over 3 years ago

🚀 Enhancements

🐛 Bug Fixes

mongo-seeding - 3.6.0-alpha.0

Published by pkosiec almost 4 years ago

🚀 Enhancements

🐛 Bug Fixes

  • #142 Disable require cache while loading other files than JSON (@pkosiec)

🔨 Maintenance

📝 Documentation

Committers: 2

mongo-seeding - 3.5.0

Published by pkosiec almost 4 years ago

🚀 Enhancements

🐛 Bug Fixes

📝 Documentation

  • #124 Remove invalid export from docker example (@jjpatel361)
  • #108 Add example using Mongo Seeding with Mongoose and Express (@D4ITON)

Committers: 3

mongo-seeding - 3.5.0-alpha0

Published by pkosiec about 4 years ago

🚀 Enhancements

🐛 Bug Fixes

📝 Documentation

  • #124 Remove invalid export from docker example (@jjpatel361)
  • #108 Add example using Mongo Seeding with Mongoose and Express (@D4ITON)

Committers: 3

mongo-seeding - 3.4.1

Published by pkosiec over 4 years ago

🐛 Bug Fixes

Committers: 1

mongo-seeding - 3.4.0

Published by pkosiec over 4 years ago

🚀 Enhancements

🐛 Bug Fixes

Committers: 1

mongo-seeding - v3.4.0-alpha.2

Published by pkosiec over 4 years ago

🚀 Enhancements

Committers: 1

mongo-seeding - 3.4.0-alpha.1

Published by pkosiec almost 5 years ago

🐛 Bug Fixes

  • #95 Sort MongoDB collections before data import (@pkosiec)

Committers: 1

mongo-seeding - 3.4.0-alpha.0

Published by pkosiec about 5 years ago

🚀 Enhancements

🐛 Bug Fixes

  • #85 Fix DeprecationWarning while connecting to MongoDB (@pkosiec)

Committers: 1

mongo-seeding - 3.3.0

Published by pkosiec about 5 years ago

🚀 Enhancements

🐛 Bug Fixes

  • #74 Do not print DB connection user credentials in logs (@pkosiec)

📝 Documentation

  • #82 Comment Core API (external and internal) (@pkosiec)
  • #76 Define relation between post and categories in examples (@pkosiec)

Committers: 1

mongo-seeding - 3.3.0-alpha.0

Published by pkosiec over 5 years ago

🚀 Enhancements

🐛 Bug Fixes

  • #74 Do not print DB connection user credentials in logs (@pkosiec)

📝 Documentation

  • #82 Comment Core API (external and internal) (@pkosiec)
  • #76 Define relation between post and categories in examples (@pkosiec)

Committers: 1

Package Rankings
Top 2.04% on Npmjs.org
Top 8.17% on Proxy.golang.org
Badges
Extracted from project README
GitHub release Build Status MIT license