This project follows pub-flavored semantic versioning. (more)
Release notes are available on github.
- [fix] Change
testLoad()
to be synchronous - [new] Add
get()
andmaybeGet()
methods for getting values with a fallback
- [BREAKING] Wrap dotenv.dart methods within a class
- [fix] Updated documentation to reflect changes and improve clarity
- Access dotenv methods from the DotEnv class instead of globally.
- Prepend dotenv to all dotenv method calls: e,g,
load()
todotenv.load()
.
- [fix] Remove lookbehind regex to support safari browser
- [BREAKING] Opt into null-safety
- [deps] Upgrade dart sdk constraints to
>=2.12.0-0 <3.0.0
- [new] Allow for escape of $ ' " and \n characters
- [fix] Ensure swallow function only removes leading 'export' keyword
- [fix] Retain spaces within single or double quotes
- [fix] Allow for comments after matching end quotes
- [new] Migrate to null safety
- [new] Create unit test cases for parse
- [new] Allow merging with a custom map on load
- [chore] Format code with dart fmt
- [docs] Use secure links
- [new] Merge with Platform.Environment
- [new] Throw precise errors
- [new] Access via functions
- [new] Improved Parsing
- [docs] Example project
- [new] Support '=' sign in value
- [fix] Warning when using with flutter_test
- [fix] Flutter 1.9.5 compatibility ensure binding was initialized
- [docs] tweak app description
- [fix] increase meta version range
- Flutter compatible
- Dart 2 compatible. [#16][]
- [docs] tweak README
- [fix] don't throw if load fails [#11][]
- [fix] allow braces with
${var}
substitution [#10][]
- [new] add command-line interface [#7][], [#8][]
- [deps] add args@v0.13
- [new] support variable substitution from
Platform.environment
[#6][] - [deps] drop logging
- [fix] don't strip
#
inside quotes [#5][]
- [fix] whitespace causes quotes not to be stripped
- [deprecated]
Parser
internals will become private. [#3][]#unquote
,#strip
,#swallow
,#parseOne
,#surroundingQuote
,#interpolate
- [new] support variable substitution
- [deps] migrate to test
- [deps] bump logging
Initial release.