- Bump deps versions.
- Various documentation improvements.
- Fixed types for adapter keys.
- Added the optional
opts
argument is passed through to the internal call toApplication.put_env/4
and may be used to set thetimeout
and/orpersistent
parameters.
- Support
{module, function, arguments}
tuple to define a cast function instead of type atom. - Added
Confex.resolve_env!/1
to populate application environment from system tuples when application is started.
- Added
:system_file
adapter, which resolves configuration from contents of a file specified in environment variable, making it easy to read Docker secrets.
- Adapters list are not hard-coded anymore, now you can use
{:via, module}
tuple to set an adapter inside the system tuple.
- Confex is completely redesigned to be adapter-based.
- API is changed to be as similar as possible to the
Application
module.