Skip to content

Releases: doodla/octohook

v0.12.0

01 Nov 19:58
Compare
Choose a tag to compare
  • Added converted_to_draft action for pull requests.
  • Added a bunch of attributes which were missing from Repository.

v0.11.0

21 Sep 22:39
Compare
Choose a tag to compare
  • Added support for released action for the release event.

This seems to have been added in the last week or so.

v0.10.0

30 Aug 00:43
Compare
Choose a tag to compare

Added support for a new webhook type branch_protection_rule

v0.9.0

12 Apr 22:13
Compare
Choose a tag to compare
  • Added Python 3.10 support
  • Added pull_request_event_thread support ( Thanks @tylerbwong ! )

v0.8.0

18 Feb 21:01
Compare
Choose a tag to compare

Breaking Changes

  • Refactored load_hooks to use importlib. This prevents a bug where internal imports would re-register existing hooks. load_hooks now accepts a package path rather than a file path ( dots not slashes ).

v0.7.0

03 Jan 19:11
Compare
Choose a tag to compare
  • Added the ability to override octohook models.
  • Added multi-repository support to @hook.
  • Added some __str__ values to a few models.

Documentation is in the README.

v0.6.3

17 Dec 19:52
Compare
Choose a tag to compare

Added useful dunder methods to Label.

You can now do

"label_name" in event.pull_request.labels

v0.6.2

17 Dec 19:49
Compare
Choose a tag to compare

Rename _payload to payload.

v0.6.1

06 Dec 18:30
Compare
Choose a tag to compare
  • Added _payload attribute to every object representing the incoming json.

v0.6.0

04 Dec 00:02
Compare
Choose a tag to compare
  • Added type hints for all variables.
  • Added an option to debug hooks.