Skip to content

Releases: gadventures/django-gapi-hooked

0.6.0

30 Aug 18:22
1116117
Compare
Choose a tag to compare

What's Changed

Full Changelog: 0.5.2...0.6.0

Stop validating 'href' for incoming events

11 Sep 19:25
Compare
Choose a tag to compare

0.5.0 (2017-09-11) via #18

  • The href of incoming webhook events is no longer validated. Rejecting an
    event with an unexpected href value would simply have resulted in
    repeated attempts to deliver that event again.

  • Incoming webhooks with incorrect signatures will be rejected by default and
    an error will be logged. If you wish to accept webhooks with incorrect
    signatures (and simply log a warning), set HOOKED_FAIL_ON_BAD_SIGNATURE
    to False

    If you believe that your webhook receiver is incorrectly rejecting webhooks,
    please ensure that your webhook subscription is using the same application
    key as is defined in your webhook receiver's GAPI_APPLICATION_KEY
    setting.

  • Settings changes:

    • GAPI_API_ROOT is no longer used by django-gapi-hooked
    • HOOKED_FAIL_ON_BAD_SIGNATURE defaults to True instead of False

Version fix & enabling Travis CI

05 Sep 17:06
Compare
Choose a tag to compare

Patch release (0.4.1)

  • #15 / #16 - Ensuring version.__version__ variable is loaded correctly in setup.py
  • #17 Enabling Travis-CI testing

0.4.0

29 Aug 15:29
Compare
Choose a tag to compare
  • Add Python 3.5+ support (maintaining Python 2.7 support)
  • Add MIT License, begin preparing setup.py for a release on PyPI
  • Add resource-name-based dynamic dispatch to WebhookReceiverView (e.g you
    can define a handle_profiles method on your subclass and it will handle
    profiles events without having to write your own routing code, see README
    for examples)
  • Add a (presently very small) test suite and a tox.ini to test multiple
    Python/Django versions
  • Settings changes:
    • GAPI_API_ROOT is no longer required, it defaults to
      "https://rest.gadventures.com"

    • GAPI_APPLICATION_KEY is now required

    • GAPI_WEBHOOKS_VALIDATION_KEY is no longer used at all (we compute this
      value from your application key)

0.3.0

15 Sep 16:14
Compare
Choose a tag to compare
  • Raise exceptions in clean_events instead of returning them (the caller is
    expecting a list of webhook events, not an exception)
  • Updated README to explain required settings