Skip to content

v0.2.0

Latest
Compare
Choose a tag to compare
@dgkf dgkf released this 12 May 00:38
· 75 commits to main since this release

What's New

  • Exposes get_options_env() (currently experimental), for the purpose of
    accessing a listing of option names. (@dgkf #17)

  • Adds an optional option_fn parameter to option_spec, allowing for the
    stored option values to be processed, or to produce side-effects when
    accessed. (@dgkf #12)

Note

Bug Fixes

  • Fixes opts(), which would previously return default values after being
    updated. Will now appropriately return values just as they would be fetched
    using opt(). (@dgkf #17)

Caution

Breaking Changes

  • The result of opt_source() when a value is derived from an environment
    variable was changed from "envir" to "envvar" to be more consistent with
    the rest of the package's messaging about sources. (@dgkf #12)

Full Changelog: v0.0.2...v0.2.0


Special thanks to @tdeenes for diligently reporting bugs, suggesting fixes and providing feedback on proposed solutions.