Skip to content

Tags: joho/godotenv

Tags

v1.5.1

Toggle v1.5.1's commit message
Fix parser regressions around whitespace and comments

v1.5.0

Toggle v1.5.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Fix: ioutil.ReadAll() is deprecated, so removed it's dependency (#202)

1.5.0-beta.0

Toggle 1.5.0-beta.0's commit message
Multiline value support

v1.5.0-beta.0

Toggle v1.5.0-beta.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Multiline string support (#156)

* refactor dotenv parser in order to support multi-line variable values declaration

Signed-off-by: x1unix <[email protected]>

* Add multi-line var values test case and update comment test

Signed-off-by: x1unix <[email protected]>

* Expand fixture tests to include multiline strings

* Update go versions to test against

* Switch to GOINSECURE for power8 CI task

* When tests fail, show source version of string (inc special chars)

* Update parser.go

Co-authored-by: Austin Sasko <[email protected]>

* Fix up bad merge

* Add a full fixture for comments for extra piece of mind

* Fix up some lint/staticcheck recommendations

* Test against go 1.19 too

Signed-off-by: x1unix <[email protected]>
Co-authored-by: x1unix <[email protected]>
Co-authored-by: Austin Sasko <[email protected]>

v0.0.0-testingreleases

Toggle v0.0.0-testingreleases's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Multiline string support (#156)

* refactor dotenv parser in order to support multi-line variable values declaration

Signed-off-by: x1unix <[email protected]>

* Add multi-line var values test case and update comment test

Signed-off-by: x1unix <[email protected]>

* Expand fixture tests to include multiline strings

* Update go versions to test against

* Switch to GOINSECURE for power8 CI task

* When tests fail, show source version of string (inc special chars)

* Update parser.go

Co-authored-by: Austin Sasko <[email protected]>

* Fix up bad merge

* Add a full fixture for comments for extra piece of mind

* Fix up some lint/staticcheck recommendations

* Test against go 1.19 too

Signed-off-by: x1unix <[email protected]>
Co-authored-by: x1unix <[email protected]>
Co-authored-by: Austin Sasko <[email protected]>

v1.4.0

Toggle v1.4.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Add missing newline to created env files (#133)

v1.3.0

Toggle v1.3.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Merge pull request #58 from lucastetreault/master

feat(Expand Variables): Custom variable expansion instead of Go's os.Expand

v1.2.0

Toggle v1.2.0's commit message
Version 1.2.0

Added in this version:
- Added Marshal, Unmarshal, and Write methods to write .env files back to disk (or string) #35 #41 #42 thanks @alexquick
- Added Parse(r io.Reader) to read env out of streams #36 thanks @pda
- Small parsing fixes #34 thanks @alexquick
- Some repository quality of life stuff #33 thanks @crash7