Releases: danielberkompas/cloak
Releases · danielberkompas/cloak
Version 0.7.0-alpha.1
This release is a major rewrite of large sections of Cloak. The fundamental concepts are the same, but the library is much more flexible now.
New Features
Cloak.Vault
s allow you to have multiple active Cloak configurations in your project. Umbrella apps will find this very useful.- Guides on installation, encrypting existing data, and key rotation!
Changed Features
- Cloak Ecto types are now local to your project
Cloak.Cipher.AES.*
ciphertext has changed format
Bugfixes
mix cloak.migrate
has been rewritten and actually works now.
Version 0.5.0
New Features
Cloak can now encrypt dates and times.
Cloak.EncryptedDateField
(thanks @tomciopp!)Cloak.EncryptedNaiveDateTimeField
(thanks @tomciopp!)Cloak.EncryptedDateTimeField
Cloak.EncryptedTimeField
Improvements
Cloak will no longer assume that all configuration is cipher configuration. See #47.
Version 0.4.0
This is a modernizing release for Cloak.
BREAKING CHANGES
-
Configuration now expects
schema
instead ofmodel
:config :cloak, :migration, repo: MyApp.Repo, schemas: [{MyApp.Schema1, :encryption_version}, {MyApp.Schema2, :encryption_version}]
This reflects changes from Ecto 1.x and Ecto 2.x.
New Features
-
New cipher: AES.GCM (thanks @tomciopp!)
-
Encrypt with multiple ciphers concurrently (thanks @asummers!)
-
JSON library is now configurable. You can use anything with a Poison-ish API.
config :cloak, json_library: Jason
Improvements
- Codebase reformatted with Elixir's new code formatter
- CI now checks for compile warnings and unformatted code
- Added
bin/test
to quickly run all CI checks in development - Fixed dialyzer and compile warnings (thanks @asummers!)
- README updated to reflect Ecto 2.x
Version 0.1.0
This release is more or less feature-complete, and contains one functioning cipher.