Skip to content

Releases: vlucas/phpdotenv

V2.6.1 (29/01/2019)

29 Jan 11:13
2a7dcf7
Compare
Choose a tag to compare

We announce the immediate availability V2.6.1.

Bug Fixes

  • Fixed parsing regressions (#338)

V2.6.0 (28/01/2019)

28 Jan 21:07
f3aae28
Compare
Choose a tag to compare

We announce the immediate availability V2.6.0.

Bug Fixes

  • Added missing throws doc (#330)
  • Backport parser fixes from 3.3.0 (#325)

V3.3.0 (26/01/2019)

26 Jan 17:09
21c540a
Compare
Choose a tag to compare

We announce the immediate availability V3.3.0.

Bug Fixes

  • Rewrite parser and fix escaped quotes in multiline values (#322)

V3.2.0 (24/01/2019)

24 Jan 20:41
736602f
Compare
Choose a tag to compare

We announce the immediate availability V3.2.0.

New Features

  • Support direct loading with a string (#321)

V3.1.1 (23/01/2019)

23 Jan 18:40
13be13d
Compare
Choose a tag to compare

We announce the immediate availability V3.1.1.

Changes

  • Allow DotenvFactory to accept an empty array of adapters (#320)

V3.1.0 (04/01/2019)

05 Jan 00:06
bf58b9c
Compare
Choose a tag to compare

We announce the immediate availability V3.1.0.

Changes

  • Improvements to preg error handling (#308) (#315)
  • Minor phpdoc fixes and more tests (#312) (#314)

V3.0.0 (03/01/2019)

03 Jan 14:01
0136b7a
Compare
Choose a tag to compare

Happy new year, and happy new release! We've made some important improvements to this library since v2 (such as first-class support for multiline variables), but maintained much of the same API where possible.

New Features

  • More flexibility in terms of which parts of the environment we try to read and modify (#300)
  • First-class support for multiline variables (#301)
  • No more trimming of values. you get them exactly as is now (#302)
  • Accept a list of paths to try in order looking for the dotenv file, rather than a single path (#307)
  • Stronger validation of variable names to avoid silent failures or obscure errors (#311)

Upgrading Notes

  • Replace new Dotenv(...) with Dotenv::create(...) (#300)
  • Loader::load() and its callers now return an associative array of the variables loaded with their values, rather than an array of raw lines from the environment file (#306)
  • As mentioned in the new feature, we're no longer trimming values, so that may be a breaking change for you (#302)

Please see the upgrading guide for more detail.

V2.5.2 (30/10/2018)

02 Jan 16:10
cfd5dc2
Compare
Choose a tag to compare

We announce the immediate availability V2.5.2.

Bug Fixes

  • Fixed overload falsy apache variables (#284)

V2.5.1 (29/07/2018)

29 Jul 20:41
8abb4f9
Compare
Choose a tag to compare

We announce the immediate availability V2.5.1.

Bug Fixes

  • Fixed quoted hashes being treated as comments (#277)

V2.5.0 (01/07/2018)

01 Jul 10:31
Compare
Choose a tag to compare

We announce the immediate availability V2.5.0.

New Features

  • Added boolean variable validation (#197)
  • Added a way to get a list of defined variables (#199)
  • Added safeLoad method, ignoring missing dotenv files (#242)

Bug Fixes

  • Avoid double instantiation of the loader (#215)
  • Allow nested variables to contain periods (#250)
  • Fixed comments on empty variables (#272)
  • Fix quote processing running out of memory (#275)