Skip to content

Releases: syntaqx/env

v0.2.3

18 Jul 07:59
86801b0
Compare
Choose a tag to compare

What's Changed

  • Support expand for variable expansion @syntaqx in #9

Full Changelog: v0.2.2...v0.2.3

v0.2.2

18 Jul 07:15
f0d6ded
Compare
Choose a tag to compare

What's Changed

  • Retain code defaults if not overwritten by Unmarshal
  • file option to load environment value from a file

Full Changelog: v0.2.1...v0.2.2

v0.2.1

18 Jul 05:07
1a1a520
Compare
Choose a tag to compare

What's Changed

  • Fix required was a default value, but the field wasn't required by @syntaqx in #7

Full Changelog: v0.2.0...v0.2.1

v0.2.0

18 Jul 04:31
021a772
Compare
Choose a tag to compare

What's Changed

  • Nested Prefixing by @syntaqx in #5
  • Error signature refactoring by @syntaqx in #6
  • Provides Get alias GetString for convention
  • Adds support for multiple default slice values through default=[one,two,three]
    • Does not require the brackets if there is only 1 default item.

Breaking Changes

  • Refactors to a val, err := Get("ENV") based signature
  • Changes most functions to a val, err signature to match this

Full Changelog: v0.1.1...v0.2.0

v0.1.1

16 Jul 18:37
a0671bb
Compare
Choose a tag to compare
  • Dropping support for the Marshal function; It was problematic, and unnecessary
  • Further test coverage and functionality exposed

Full Changelog: v0.1.0...v0.1.1

v0.1.0

16 Jul 17:33
900ba4a
Compare
Choose a tag to compare

What's Changed

  • Unmarshal & Updates by @syntaqx in #3
    • Remove dependencies, including github.com/joho/godotenv - Removal of Load functions
    • Provide Unmarshal and Marshal functionality for structs
    • More type support functions, and Required

Full Changelog: v0.0.4...v0.1.0

v0.0.4

15 Jul 21:44
6a9ce90
Compare
Choose a tag to compare

What's Changed

  • Add functionality for parsing comma list value into a slice of strings by @john-peterson-g17 in #2

New Contributors

Full Changelog: v0.0.3...v0.0.4

v0.0.3

21 Jun 23:15
49f335c
Compare
Choose a tag to compare

Add GetEnv and GetEnvWithFallback support

v0.0.2

13 Jun 20:34
00e68f7
Compare
Choose a tag to compare
  • Wrapping support for dotenv files

v0.0.1

12 Jun 23:29
f8d72b3
Compare
Choose a tag to compare
  • Initial utility wrappers for Get, Set, and Lookup
  • Fallback support with GetWithFallback