dotenv 4.2.0 dotenv: ^4.2.0 copied to clipboard
Load environment variables from a `.env` file.
changelog #
This project follows pub-flavored semantic versioning. (more)
4.2.0 #
- [feat] add optional parameter
quiet
toDotEnv
constructor - [feat] add
--quiet
arg todotenv
command
4.1.0 #
- [feat] add
DotEnv.getOrElse
4.0.1 #
- [fix] return
null
on missing key
4.0.0 #
- BREAKING: top-level functions have been removed. Use a
DotEnv()
instance instead. - BREAKING: the underlying
Map<String, String>
is no longer exposed. Use the forwarding methods onDotEnv
instead. - BREAKING: by default, the underlying map does not include
Platform.environment
.- Libraries should use
DotEnv(includePlatformEnvironment: true)
. - The
dotenv
command should use the--merge-platform-vars
flag.
- Libraries should use
- BREAKING: duplicate keys are now overwritten, instead of ignored.
- [feat] the
DotEnv.load()
method accepts multiple file paths.
1.0.0 #
0.1.2 #
0.1.1 #
0.1.0 #
Initial release.