2021-12-07 12:31:39 +00:00
|
|
|
# Changelog
|
|
|
|
|
2022-09-28 18:30:40 +01:00
|
|
|
## [1.4.0] - 2022-06-02
|
|
|
|
|
|
|
|
### Added
|
|
|
|
|
|
|
|
- Add `Marshal` and `Unmarshal` helpers
|
|
|
|
|
|
|
|
### Changed
|
|
|
|
|
|
|
|
- The CI will now run a linter and the tests on PRs.
|
|
|
|
|
|
|
|
## [1.3.0] - 2022-05-23
|
|
|
|
|
|
|
|
### Added
|
|
|
|
|
|
|
|
- Support = within double-quoted strings
|
|
|
|
- Add support for multiline values
|
|
|
|
|
|
|
|
### Changed
|
|
|
|
|
|
|
|
- `OverLoad` prefer environment variables over local variables
|
|
|
|
|
2021-12-07 12:31:39 +00:00
|
|
|
## [1.2.0] - 2019-08-03
|
|
|
|
|
|
|
|
### Added
|
|
|
|
|
|
|
|
- Add `Must` helper to raise an error as panic. It can be used with `Load` and `OverLoad`.
|
|
|
|
- Add more tests to be 100% coverage.
|
|
|
|
- Add CHANGELOG
|
|
|
|
- Add more OS for the test: OSX and Windows
|
|
|
|
|
|
|
|
### Changed
|
|
|
|
|
|
|
|
- Reduce complexity and improve source code for having `A+` score in [goreportcard](https://goreportcard.com/report/github.com/subosito/gotenv).
|
|
|
|
- Updated README with mentions to all available functions
|
|
|
|
|
|
|
|
### Removed
|
|
|
|
|
|
|
|
- Remove `ErrFormat`
|
|
|
|
- Remove `MustLoad` and `MustOverload`, replaced with `Must` helper.
|
|
|
|
|
|
|
|
## [1.1.1] - 2018-06-05
|
|
|
|
|
|
|
|
### Changed
|
|
|
|
|
|
|
|
- Replace `os.Getenv` with `os.LookupEnv` to ensure that the environment variable is not set, by [radding](https://github.com/radding)
|
|
|
|
|
|
|
|
## [1.1.0] - 2017-03-20
|
|
|
|
|
|
|
|
### Added
|
|
|
|
|
|
|
|
- Supports carriage return in env
|
2022-09-28 18:30:40 +01:00
|
|
|
- Handle files with UTF-8 BOM
|
2021-12-07 12:31:39 +00:00
|
|
|
|
|
|
|
### Changed
|
|
|
|
|
|
|
|
- Whitespace handling
|
|
|
|
|
|
|
|
### Fixed
|
|
|
|
|
|
|
|
- Incorrect variable expansion
|
|
|
|
- Handling escaped '$' characters
|
|
|
|
|
|
|
|
## [1.0.0] - 2014-10-05
|
|
|
|
|
|
|
|
First stable release.
|
|
|
|
|