All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog. This project adheres to Semantic Versioning.
-
update to 2021 edition
-
update MSRV to 1.74.0
-
breaking:
dotenvy::Error
now includes IO file path info and variable name info -
breaking:
dotenvy::var
no longer callsload
internally -
breaking:
dotenvy::Result
is now private -
breaking:
dotenvy::var
,dotenvy::from_filename*
are deprecated -
Error
is nowFrom<std::io::Error
-
breaking: dotenvy CLI uses
with_path
instead offrom_filename
-
breaking: dotenvy CLI defaults to ./.env, no longer traversing parent directories.
-
breaking: dotenvy CLI exits with code 2 instead of code 1 if the external command is omitted
-
MSRV updated to 1.68.0
0.15.7 - 2023-03-22
- override existing envv vars (PR #41 by tshepang and PR #47 by LeoniePhiline)
- contribution guide (PR #28 by sonro)
- MSRV updated to 1.56.1
- removed
dotenv_codegen_impl
andproc_macro_hack
dependencies (PR #45 by sonro) - improved examples by handling errors, rather than using
unwrap
(PR #52 by LeoniePhiline) Iter
now public in the crate root (PR #51 by LeoniePhiline)
0.15.6 - 2022-10-17
- Support for UTF-8 BOM (PR #28) by sonro. Thanks webbertakken
dirs
moved to dev dependency (PR #24) by goto-bus-stop- Fix formatting and linting (PR #22 and #23) by rillian
0.15.5 - 2022-09-19
0.15.4 - 2022-09-19
- Another fix for multiline support (PR #18). Thanks BlackDex and LeoniePhiline
0.15.3 - 2022-08-29
0.15.2 - 2022-08-22
- Multiline support (PR #3) by hoijui
from_read
andfrom_read_iter
(PR #5) by Kevin M Granger
- doc rewrite (commit 1a45555) by allan2
- doc link improvement formatting (PR #6) by Kevin M Granger
- dependency bump (clap 3.1 to 3.2)
0.15.1 - 2022-02-28
dotenv
crate forked asdotenvy
dotenv_codegen
forked asdotenvy_codgen
dotenv_codegen_implementation
forked asdotenvy_codegen_impl
- Crate description for dotenvy_codegen
- Crate description for dotenvy_codgen_impl
- New language in README
- MIT license badge in README
- Generate helpful errors from dotenv! macro (full merge of dotenv-rs/dotenv #58)
- replaced deprecated
std::env_home:dir()
withdirs:home_dir
- Better handling of
home_dir
(merge of dotenv-rs/dotenv #62) - assertions dealing with
Result
(based on dotenv-rs/dotenv #57) - upgraded clap in
dotenvy
bin from v2 to v3.1 (covers dotenv-rs/dotenv #76)
- example folder. The simple example has been moved to the README.
extern
- unnecessary
use
statements in doc examples
0.15.0 - 2019-10-21
- Undeprecate
iter
methods - Library no longer has any dependencies
- Support for variables with a
.
in their name - Support
\n
in double-quoted lines - Support for variable substitution
0.14.1 - 2019-05-14
- Deprecate
iter
methods.
0.14.0 - 2019-05-07
- Switched repo to use cargo workspaces.
- Renamed dotenv_codegen_impl to dotenv_codegen_implementation since we no longer own the original crate.
- Update code to 2018 edition