PackageTrack
Sign in Get early access

dotenv

Load environment variables from a `.env` file.

4.2.0 149K downloads/mo #959 most downloaded on pub.dev mockturtl/dotenv

What this package is like to depend on

Last release 3 years ago

no release in 18 months

Release timing varies

gaps range from 4 weeks to 3.0 years

Some releases are documented

notes for 9 of 16 stable releases

Nothing withdrawn

no release was ever pulled

11 years old

18 releases · first in 2015

0 releases in the last 12 months

see the full history below

Release timeline

18 releases · Apr 2015 to Oct 2023
2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 2026
Release Pre-release

Releases

latest 18
  1. 4.2.0 18 Oct 2023
    Release notes
    • [feat] add optional parameter quiet to DotEnv constructor
    • [feat] add --quiet arg to dotenv command
    Open source →
  2. 4.1.0 26 Jan 2023
    Release notes
    • [feat] add DotEnv.getOrElse
    Open source →
  3. 4.0.1 29 Mar 2022
    Release notes
    • [fix] return null on missing key
    Open source →
  4. 4.0.0 29 Mar 2022
    Release notes
    • 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 on DotEnv 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.
    • BREAKING: duplicate keys are now overwritten, instead of ignored.
    • [feat] the DotEnv.load() method accepts multiple file paths.
    Open source →
  5. 3.0.0 10 May 2021
    Release notes
    • BREAKING: bumps min Dart version to 2.12 for nullsafety [#27][]
    Open source →
  6. 3.0.0-nullsafety.0 14 Feb 2021 pre-release

    Nothing published for this version

  7. 2.0.0 29 Oct 2019
    Release notes
    • BREAKING: change parser to handle = in values, e.g. base64 [#21][]
    Open source →
  8. 1.0.0 12 Jul 2018
    Release notes

    v1.0.0

    Dart 2 compatible.

    Open source →
    Release notes
    • 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

    • [deprecated] Parser internals will become private. #3
      • #unquote, #strip, #swallow, #parseOne, #surroundingQuote, #interpolate
    • [new] support variable substitution
    • [deps] migrate to test
    • [deps] bump logging

    0.1.0

    Initial release.

    Open source →
  9. 0.1.3 15 May 2015

    Nothing published for this version

  10. 0.1.3+1 15 May 2015

    Nothing published for this version

  11. 0.1.3+2 05 Jun 2015
    Release notes

    This is a bugfix release.

    See changelog.

    Open source →
  12. 0.1.3+3 19 Jul 2015
    Release notes

    This is a bugfix release.

    See changelog.

    Open source →
  13. 0.1.3-pre 13 May 2015 pre-release

    Nothing published for this version

  14. 0.1.2 12 May 2015

    Nothing published for this version

  15. 0.1.1 10 May 2015

    Nothing published for this version

  16. 0.1.1+1 10 May 2015

    Nothing published for this version

  17. 0.1.1+2 10 May 2015

    Nothing published for this version

  18. 0.1.0 07 Apr 2015

    Nothing published for this version

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive