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