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
quiettoDotEnvconstructor - [feat] add
--quietarg todotenvcommand
4.1.0 #
- [feat] add
DotEnv.getOrElse
4.0.1 #
- [fix] return
nullon 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 onDotEnvinstead. - BREAKING: by default, the underlying map does not include
Platform.environment.- Libraries should use
DotEnv(includePlatformEnvironment: true). - The
dotenvcommand should use the--merge-platform-varsflag.
- 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.