Skip to content

Latest commit

 

History

History
278 lines (215 loc) · 16.6 KB

CHANGELOG.md

File metadata and controls

278 lines (215 loc) · 16.6 KB

Changelog

v0.32.0 (2022-06-14)

Feature

  • Allow apps to provide custom Mako parameters for docopt (9d269fe)

v0.31.0 (2022-05-13)

Feature

  • Add a getter for app attributes (e90698a)

v0.30.2 (2022-05-10)

Fix

  • Avoid triggering infinite recursion in log messages (da15053)

v0.30.1 (2022-05-10)

Fix

  • Make dict reprs more robust against unexpected input (fbe6b3d)

v0.30.0 (2022-05-10)

Feature

  • Add list() and merge_dicts() pick functions (18bfc27)
  • Add the relpath() cast function (e5c5981)
  • Allow cast functions to access self and meta (17df65b)
  • Control verbosity via environment variables (4436f45)
  • Add arithmetic evaluation functions (b75ebe2)
  • Don't require apps to define config (b7a2907)
  • Better log messages for file configs without paths (afb33f2)
  • Implement jmes() (90f1607)

Fix

  • Avoid infinite recursion when params are used in repr() (9cb9ba3)
  • Handle different AST nodes in python<3.8 (640ede1)

Documentation

  • Rewrite intro to params tutorial (3f20582)
  • Remove background hover color from inline tabs (e8ec82f)
  • Write the parameters tutorial (69044e5)
  • Describe how to find config values (658f3eb)
  • Add API documentation (22c9edb)

v0.29.0 (2022-01-19)

Feature

  • Add a JSON config (c8e461c)
  • Make a parent class for CLI configs (30f7567)

v0.28.1 (2022-01-17)

Fix

Documentation

v0.28.0 (2022-01-17)

Feature

  • Allow Config.autoload to be set from Config.setup() (9735986)

Documentation

  • Tweak title and example (73bb1fe)

v0.27.0 (2022-01-17)

Feature

  • Rename 'attr' back to 'param' (2bc8e0b)

Documentation

v0.26.0 (2022-01-14)

Feature

  • Rename 'param' to 'attr' (30a37e7)
  • Rename project to 'byoc' (0ca13b9)
  • Improve log messages for FileConfig (6628a19)
  • Configure caching on a per-getter basis (75b540d)
  • Expose metadata for each parameter (7c332ac)
  • Forbid dotted keys (23efa74)
  • Always invoke param(cast=...) (f62ce56)
  • Be more conservative about exceptions (51a9a06)

Documentation

  • Describe why on-the-fly loading doesn't work (6099b42)

v0.25.0 (2022-01-11)

Feature

  • Add a main function to app classes (f7e865a)
  • Allow file configs to read multiple paths (eac2444)

v0.24.0 (2021-12-16)

Feature

  • Initialize file configs via setup() (5791e2f)

Fix

v0.23.0 (2021-06-28)

Feature

  • Provide a default bareinit() implementation (ef0242a)
  • Allow Func/Method getters to ignore exceptions (02391eb)
  • Add configs to existing objects (28563b8)
  • Support setup arguments for the CLI configs (2ce4420)
  • Rename Config.with_options to Config.setup (c7778b6)
  • Add a way to bind options to Config factories (03306de)

Fix

  • Cache exceptions (f828ff8)
  • rtoml.load() requires path objects, not strings (a8ef104)
  • Apply schema after root key (fe008dd)

v0.22.0 (2021-06-21)

Feature

  • Allow instance-level Config callbacks (3f4eb8d)

Documentation

v0.21.1 (2021-06-17)

Fix

  • Allow DictLayer 'values' argument to be positional (f0bea0e)

v0.21.0 (2021-06-17)

Feature

  • Instantiate new configs for each object (a70b2d6)

v0.20.0 (2021-06-16)

Feature

  • Log the attribute lookup process (de22e5a)

v0.19.2 (2021-06-01)

Fix

  • Use 'is' when comparing values to ignore. (41acd1d)

v0.19.1 (2021-05-19)

Fix

  • Allow falsy config keys (bd66fba)

v0.19.0 (2021-04-26)

Feature

  • Try rtoml before falling back on toml (accf065)

Fix

  • Add config_cls argument to app.load() (55ebe2a)

v0.18.2 (2021-04-22)

Fix

  • Don't share bound getters between instances (2d72a0e)

Documentation

  • Organize README into sections (d674072)
  • Link to examples from stepwise_mol_bio (d45b44a)

v0.18.1 (2021-03-30)

Fix

  • Make layers mutable again (7b23c01)

Documentation

v0.18.0 (2021-03-25)

Feature

  • Use Getter classes to pick values (aa18b52)

v0.17.0 (2021-03-24)

Feature

  • Add SelfConfig (39e3f3b)
  • Make it easier to compose cast functions (2ef93e2)
  • Force layer values to be collections (dd82715)

v0.16.0 (2021-03-05)

Feature

  • Make key names optional (3a50d13)
  • Allow subkeys to be specified using tuples (ac970dc)
  • Teach FileConfig to read paths from attributes (328544c)

v0.15.1 (2021-02-17)

Fix

  • Respect default cast argument when using Key() (0442d69)

v0.15.0 (2021-02-17)

Feature

  • Add an environment variable config (3c89019)

v0.14.0 (2021-02-17)

Feature

  • Allow parameters to control config order (12b8656)
  • Add convenience methods to load/reload app objects (f07de2b)
  • Improve error reporting for mako templates (853f8b9)

v0.13.0 (2021-01-21)

Feature

Fix

  • Only count first paragraph as part of brief (39d91d2)

v0.12.0 (2021-01-11)

Feature

  • Add @on_load and remove param(set=...) (49b4e14)

Fix

  • Don't compare to ignore unless necessary (bd70420)

v0.11.0 (2021-01-11)

Feature

  • Automatically dedent docopt usage text (25164d7)

Fix

  • Allow params to be set to non-hashable values (9571c04)

v0.10.1 (2021-01-10)

Fix

v0.10.0 (2021-01-10)

Feature

  • Add support for mutable default values (88894b6)
  • Make inherited_param compatible with all param subclasses (c65272f)
  • Implement inherited_param (518e80c)

Fix

  • Correctly handle unspecified docopt flags (30328c5)

Documentation

  • Outline the README file (e3cd57d)

v0.9.0 (2021-01-09)

Feature

  • Treat cast=... as a default when a key list is given (4567ad5)

v0.8.0 (2021-01-09)

Feature

  • Use mako to render docopt usage text (9780f98)

v0.7.0 (2021-01-08)

Feature

  • Allows keys to be arbitrary callables (87a0b9c)

v0.6.0 (2021-01-08)

Feature

  • Add an easy way to toggle boolean parameters (ea7ba89)
  • Add a metaclass for circumventing the constructor (3120f36)
  • Add callback for when parameter value is changed (3a37468)

v0.5.0 (2021-01-07)

Feature

  • Add callback for parameter access (7c3bcf5)

v0.4.0 (2021-01-07)

Feature

v0.3.0 (2021-01-07)

Feature

  • Allow multiple keys to be associated with a single config (556dfa4)
  • Add a reload() function (5fdde1f)
  • Allow layer locations to be callables (ad5ad16)
  • Allow not_found() to take any iterable type (507c133)
  • Print all docopt messages to stderr (3737b3a)
  • Export the lookup() function (9694681)
  • Teach make_map() about elipses (9c11385)
  • Add ignore argument (476b114)

Fix

v0.2.0 (2020-12-21)

Feature

  • Use classes for grouping; add CompositeConfig and CallbackConfig (751630f)

Fix

  • Exclude inactive layers when looking up parameter values (6b1433c)

v0.1.0 (2020-12-07)

Feature

Documentation

  • Add a brief description of the project (10e46e2)