Skip to content

Releases: apiaryio/dredd-hooks-python

Handler options and ValueError fix

09 Apr 12:32
0a1b6d7
Compare
Choose a tag to compare

Hook handler now supports handler options (files, --host, --port). ValueError is propagated where it can.

Exceptions are caught

08 Mar 17:21
Compare
Choose a tag to compare

Exceptions in hook files are caught and passed to stderr where it is picked up by Dredd. This should help to solve issues like #32.

Hook files loaded in sorted order

09 Dec 11:07
Compare
Choose a tag to compare

Hook files are now loaded in alphabetical order.

See #26 for more details.

Importing local modules in hooks

25 Oct 17:41
Compare
Choose a tag to compare

Fixes issue #17 by adding the directory with hooks file into sys.path

Composable decorators

15 Jul 15:02
Compare
Choose a tag to compare

Improvements

  • the decorators can be now combined together, one function can server for different hooks
  • no need to do sys.stdout.flush() anymore it is added auto-magically

Improved error handling

26 Jan 09:00
Compare
Choose a tag to compare

Improved error handling and logging.

v0.0.2

21 Aug 13:49
Compare
Choose a tag to compare

Initial beta release on pypi