Skip to content

v0.4.0 - Improved config loading, debugging, and XDG Base Directory Specification support

Latest
Compare
Choose a tag to compare
@Rican7 Rican7 released this 06 Mar 05:45

Features

  • Improved internal tooling for more strict linting
  • Updated dependencies
  • Added support for loading config files in multiple locations, based on the OS/environment
  • Added support for the XDG Base Directory Specification for config locations in *nix/Unix-like environments
  • Tweaked configuration fallback-order/precedence to use the more common ordering of:
    1. Command line flags
    2. Environment variables
    3. A configuration file
    4. Default values
  • Added a --debug-config flag to print config file loading status and the paths that are searched for config files

Bug fixes

  • Updated the install instructions in the README
  • Made some refactors to satisfy more strict linting
  • Fixed the automatic inflection correction fallback searching in the Oxford source to prevent searching for no word (an empty query, which causes an invalid request error)