Skip to content

0.2.0.post1

Latest

Choose a tag to compare

@nukemiko nukemiko released this 27 Jul 20:20
a711ae8

Full Changelog: 0.2.0...0.2.0.post1

Changelog of this version

  • Fixed some typos in README.md.
  • Added missing changelog of version 0.2.0.

Changelog of version 0.2.0

  • Added an environparse-based HTTP server start script for example purpose.

    • To access/use this script, run:

      $ > [ENVIRONS]... python -m environparse.examples.httpserver
  • Added some base path validators.

    • These validators are members of class PathValidators. For example, PathValidators.HasPermission can validate the path accessibility with specified mode argument.
    • To create a custom path validator, please inherit from environparse.AbstractPathValidator and implement the __call__() method.
  • Now you can finer control over display of option defaults in help messages through keyword-only argument show_default in parser initialization and option definition.

  • Protocol class DefinedOptionType is removed. Now DefinedOption (renamed from _DefinedOption) can use to annotate the return type of EnvironmentVariableParser.defineOption().