Releases: guilhermelim/mongodb-bk
Releases · guilhermelim/mongodb-bk
Update Library
v1.3.0 - Update Library
Test Improvements
- Enhanced and expanded test coverage across the library, ensuring more robust and reliable code.
Documentation Updates
- Updated the documentation with additional information and examples, making it more comprehensive and user-friendly.
Dependency Upgrades
- Upgraded all project dependencies to their latest versions, enhancing security and stability.
Internal
- This release does not introduce any changes to the library's functionality.
License
- This project is licensed under the terms of the MIT License.
Update Library
v1.2.0 - Update Library
Bug Fixes
-
Fixed a critical bug that prevented the
getBackupDatafunction from preserving all data types in the backup. This was accomplished by switching to EJSON serialization in MongoDB, which correctly handles all MongoDB types. -
Updated the
restorefunction to use EJSON deserialization, to ensure that all data types are correctly restored from the backup.
Performance Improvements
- Enhanced the data backup and restore process by correctly preserving all MongoDB types, leading to more accurate backups and restores.
Internal
- The changes in this release did not require any updates to the library documentation, as the API remains the same.
License
- This project is licensed under the terms of the MIT License.
Update Library
v1.1.0 - Update Library
Features
- Added
deletefunction to delete a file or folder from Google Drive. - Added
deleteAllfunction to delete all files and optionally folders from Google Drive. - Added
emptyTrashfunction to empty the trash in Google Drive. - Improved file listing by fixing a bug that caused deleted files to be included in the results.
Deprecation
- Deprecated
listAllfunction. It has been removed in this version. Please use thelistfunction instead.
Documentation
- Updated README.md to reflect the changes in the library's API and usage instructions.
License
- This project is licensed under the terms of the MIT License.
Initial Release
v1.0.0 - Initial Release
Features:
- Added support for MongoDB backup and restoration to Google Drive.
- Implemented backup functionality to save MongoDB databases to Google Drive.
- Implemented restore functionality to retrieve backups from Google Drive and restore them to MongoDB.
- Added options to delete existing collections in the MongoDB database before restoring.
- Implemented listing of backup files stored on Google Drive.
- Added option to delete a backup file from Google Drive.
Documentation:
- Updated README.md with installation instructions using npm and Yarn.
- Updated README.md with usage examples and setup instructions for Google Cloud credentials and MongoDB connection.
License:
- This project is licensed under the terms of the MIT License.