Skip to content

Releases: danielberkompas/cloak

Version 0.7.0-alpha.1

21 Mar 23:03
Compare
Choose a tag to compare
Version 0.7.0-alpha.1 Pre-release
Pre-release

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.Vaults 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

06 Jan 16:31
Compare
Choose a tag to compare

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.

Full Changelog

Version 0.4.0

02 Jan 20:51
Compare
Choose a tag to compare

This is a modernizing release for Cloak.

BREAKING CHANGES

  • Configuration now expects schema instead of model:

    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

Full changelog

Version 0.1.0

22 Sep 22:04
Compare
Choose a tag to compare

This release is more or less feature-complete, and contains one functioning cipher.