-
Notifications
You must be signed in to change notification settings - Fork 54
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #78 from danielberkompas/vault-genserver
[#75] Make Cloak.Vault a GenServer
- Loading branch information
Showing
8 changed files
with
234 additions
and
95 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# How To Upgrade From 0.8.x to 0.9.x | ||
|
||
Cloak `0.9.0` encrypts and decrypts data up to 200% faster than `0.8.0`. | ||
This result is achieved by caching configuration data in an ETS table. | ||
|
||
- **Breaking Change**: You must now add your `Cloak.Vault` to your | ||
supervision tree. | ||
|
||
## Update Your Dependency | ||
|
||
Update your `cloak` dependency to `0.9.0` or higher: | ||
|
||
```elixir | ||
{:cloak, "~> 0.9.0"} | ||
``` | ||
|
||
### Supervise Your Vault | ||
|
||
Add your vault to your supervision tree: | ||
|
||
children = [ | ||
MyApp.Vault | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.