flutter_dotenv 5.0.0 flutter_dotenv: ^5.0.0 copied to clipboard
Easily configure any flutter application with global variables using a `.env` file.
changelog #
This project follows pub-flavored semantic versioning. (more)
Release notes are available on github.
5.0.0 #
- [BREAKING] Wrap dotenv.dart methods within a class
- [fix] Updated documentation to reflect changes and improve clarity
Upgrading from 4.0.x #
- Access dotenv methods from the DotEnv class instead of globally.
- Prepend dotenv to all dotenv method calls: e,g,
load()
todotenv.load()
.
4.0.0-nullsafety.1 #
- [fix] Remove lookbehind regex to support safari browser
4.0.0-nullsafety.0 #
- [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
3.1.0 #
- [new] Allow merging with a custom map on load
3.0.2 #
- [chore] Format code with dart fmt
3.0.1 #
- [docs] Use secure links
3.0.0 #
- [new] Merge with Platform.Environment
- [new] Throw precise errors
- [new] Access via functions
- [new] Improved Parsing
- [docs] Example project
2.1.0 #
- [new] Support '=' sign in value
2.0.3 #
- [fix] Warning when using with flutter_test
2.0.2 #
- [fix] Flutter 1.9.5 compatibility ensure binding was initialized
2.0.1 #
- [docs] tweak app description
- [fix] increase meta version range
2.0.0 #
- Flutter compatible
1.0.0 #
- Dart 2 compatible. [#16][]
0.1.3+3
- [docs] tweak README
0.1.3+2
- [fix] don't throw if load fails [#11][]
0.1.3+1
- [fix] allow braces with
${var}
substitution [#10][]
0.1.3 #
- [new] add command-line interface [#7][], [#8][]
- [deps] add args@v0.13
0.1.2 #
- [new] support variable substitution from
Platform.environment
[#6][] - [deps] drop logging
0.1.1+2
- [fix] don't strip
#
inside quotes [#5][]
0.1.1+1
- [fix] whitespace causes quotes not to be stripped
0.1.1 #
0.1.0 #
Initial release.