Skip to content
This repository has been archived by the owner on Mar 20, 2022. It is now read-only.

Releases: BrosSquad/dotenv

V2.0

20 Jul 12:49
Compare
Choose a tag to compare

Breaking changes

  1. Empty keys (KEY=) is now treated as NULL not as empty string
  2. Removed parameter from constructor ($typeCasting). Moved to better type casting engine
  3. Removing functions (env function) from project
  4. Moving tests form EnvTests folder into tests folder

v1.6

20 Jul 12:16
Compare
Choose a tag to compare
Adding type casts into parser

DotEnv Parser

12 Jul 23:40
Compare
Choose a tag to compare

Breaking changes

Namespace is changed from Dusan\DotEnv to BrosSquad\DotEnv

DotEnv Parser

12 Jul 23:33
Compare
Choose a tag to compare

Backwards compatibility

Api of the DotEnv parser has not changes, but the namespace is changed from Dusan\PhpMvc\DotEnv to Dusan\DotEnv, and in next release will be changed to BrosSquad\DotEnv

Bugfixes

  1. Parsing the empty values is now correct
  2. Handling white space correctly
  3. Correctly handling single line values (space issues)

Features

  1. Added better error handling
  2. Added better error messages (now includes line and column in the file where error has occurred)
  3. Removed unnecessary checks

DotEnv Parser

06 Jun 18:27
d93be83
Compare
Choose a tag to compare
v1.1.2

Update composer.json