Skip to content

Commit

Permalink
Bumps version to v0.5.0; updates docs
Browse files Browse the repository at this point in the history
  • Loading branch information
fireproofsocks committed Jul 27, 2021
1 parent 7ad8ceb commit c4c614d
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Expand Up @@ -3,6 +3,10 @@
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## v0.5.0

- Shifts storage of system environment variables to the application process dictionary and alters the reading of this data to help improve the security posture and avoid leaking env values. `:side_effect` option for `source/2` and `source!/2` function changed.

## v0.4.1

- Makes error messages more informative when unable to convert strings to integers or floats
Expand Down
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -69,7 +69,7 @@ POOL_SIZE=10
POOL=
```

When you set up your application configuration in this way, you are creating a contract with the environment (errors will be raised if certain system variables are not set because `Dotenvy.env!/2` relies on `System.fetch_env!/1`), and this is an approach that works equally well for your day-to-day development and testing, as well as for mix releases.
When you set up your application configuration in this way, you are creating a contract with the environment: `Dotenvy.env!/2` will raise if the required variables have not been set or if the values cannot be properly tranformed. This is an approach that works equally well for your day-to-day development and testing, as well as for mix releases.

Read the [configuration strategies](docs/strategies.md) for more detailed examples of how to configure your app.

Expand Down
2 changes: 1 addition & 1 deletion mix.exs
Expand Up @@ -2,7 +2,7 @@ defmodule Dotenvy.MixProject do
use Mix.Project

@source_url "https://github.com/fireproofsocks/dotenvy"
@version "0.4.1"
@version "0.5.0"

def project do
[
Expand Down

0 comments on commit c4c614d

Please sign in to comment.