Skip to content

Latest commit

 

History

History
74 lines (46 loc) · 2.95 KB

CHANGELOG.md

File metadata and controls

74 lines (46 loc) · 2.95 KB

Changelog

v3.0.0 - 2023-04-29

Added

  • Added LoadError to be returned when loading fails. #17
  • Added PostLoadError to be returned when a config struct's PostLoad hook fails. #17
  • Added SerializeError to be returned when value serialization into a config struct field fails. #17

Removed

  • Config.PostLoad was removed from the public API. #17

Changed

  • Config struct PostLoad hooks are now automatically called by Config.Load. #17

v2.0.1 - 2022-10-10

Added

  • Added WithConfig and FromContext. #15

v2.0.0 - 2021-05-31

Added

  • Added Describe method to Config interface. #8
  • Added WithLogger and WithMaskedKeys to replace NewLoggingConfig. #11

Removed

  • Removed mocks package. #9
  • Removed MustLoad from Config interface. #10
  • Removed NewLoggingConfig. #11

Changed

  • Split Load method in the Config interface into Load and PostLoad methods. #7
  • The Config interface is now a struct with the same name and set of methods. #12

v1.2.1 - 2020-09-30

Removed

v1.2.0 - 2020-04-01

Added

  • Added FlagSourcer that reads configuration values from the command line. #3
  • Added Init method to Config and Sourcer. #4

v1.1.0 - 2019-09-05

Added

  • Added options to supply a filesystem adapter to glob, file, and directory sourcers. #2

v1.0.0 - 2019-06-17

Changed