2021-11-16
- Supported encrypted subdocuments in Mongoose 6 #102
- Add CI testing for Mongoose 6
2021-09-10
- Bump mpath dependency #101
2021-04-03
- Support for large documents under Node v15
- Add CI testing for latest stable Node version
- Remove support for Node v4 & v6
2020-11-29
- Add TypeScript type declarations
2019-2-10
- Upgrade mpath dependency #84
2018-7-30
- Upgrade dependencies
2018-7-30
- Support Mongoose 5 #70 #71 #75 #79
- Drop support for Mongoose 3 & 4
2017-3-18
- Support
SingleNested
document as of mongoose 4.8.0 #50
2016-12-5
- Throw error when plugin added twice, or migrations added alongside standard plugin. #42
- Move underscore to dependencies #46
2016-10-24
- Move mpath to dependencies #44
2016-5-24
- Allow wider range of underscore versions
2015-12-13
- Add support for addressing nested fields in options using dot notation
2015-11-29
- Change Mongoose to peer dependency
- Check for compatibility with Node and Mongoose versions
2015-11-4
- Fix buffer handling for Node 4.x compatibility
2015-8-31
- Fix authentication when adding or removing a child from a subcollection
2015-08-16
- Update tests to be Mongoose 4.x compatible
- Fix decryption of buffers to be Node 0.12.x compatible
- Cleaner documents after
.authenticate
and.save
2015-05-13
- Force "transactions" across authenticated fields
2015-03-16
- Change repo location
- Update readme
- No code changes
2015-03-03
- API declared stable
- No code changes
2015-02-21
- Add
decryptPostSave
option - Implement basic support for nested schemas
2015-02-14
- Add authentication
- Provides defense against attackers with write access
- Add
signingKey
option - Add
secret
option - Rename
key
->encryptionKey
- Rename
fields
->encryptedFields
- Rename
exclude
->excludeFromEncryption
- Add
additionalAuthenticatedFields
option
- Prepend version number to ciphertext and authentication code to allow for version detection
- Makes any future migrations safer and potentially allows them to be done in stages
- Requires migration to upgrade from previous versions
- If you have encrypted subdocuments, first run the class method
migrateSubDocsToA()
on the parent collection - Then run the class method
migrateToA()
on any encrypted collections (that are not themselves subdocuments)
- If you have encrypted subdocuments, first run the class method