Releases: hotosm/central-webhook
Releases · hotosm/central-webhook
1.1.0
1.0.2
- Fix small memory leak due to shared var in SQL trigger function.
Full Changelog: 1.0.1...1.0.2
1.0.1
What's Changed
- Fixed duplicate webhook trigger for submission.update event #15.
Full Changelog: 1.0.0...1.0.1
1.0.0
Breaking Change
- Replaced the pg_notify approach entirely with pgsql-http extension #14.
Note
The pgsql-http extension must be installed and enabled in your database.
See: https://github.com/hotosm/central-webhook#prerequisites
If you tested a previous version, it would be best to remove the trigger first, before testing this out:
./centralwebhook uninstall \
-db 'postgresql://{user}:{password}@{hostname}/{db}?sslmode=disable'Full Changelog: 0.3.0...1.0.0
0.3.0
- Add ca-certs to call remote APIs with valid SSL certs!
Full Changelog: 0.2.0...0.3.0
0.2.0
What's Changed
- Make sql trigger func modular so they do not interfere with one another by @spwoodcock in #11
Full Changelog: 0.1.1...0.2.0
0.1.1
- Minor tweak to 0.1.0: adding the pg_notify truncation logic to submission.create (the important one) and entity.update (just in case).
Full Changelog: 0.1.0...0.1.1
0.1.0
- There are a couple of small bugs to fix, but they don't impact the main workflow too much: #2 & #9
- Overall, this is pretty stable and has been working well in production for a good 4 months now.
What's Changed
- Fix sending large payloads via pg_notify with truncated content for now by @spwoodcock in #10
Full Changelog: 0.0.0...0.1.0
0.1.0-rc
- Adding ability to use CENTRAL_WEBHOOK_API_KEY environment variable to configure API key.
Full Changelog: 0.1.0-beta...0.1.0-rc
0.1.0-beta
- Most functionality should be working now, with three webhook triggers:
-updateEntityUrl: when properties of Entities are updated.-newSubmissionUrl: when a new submission is made.-reviewSubmissionUrl: when a submission review state is updated.
- An
-apiKeyflag is also supported for passing aX-API-Keyheader in the request to the receiving server.
Usage of ./centralwebhook:
-apiKey string
X-API-Key header value, for autenticating with webhook API
-db string
DB host (postgresql://{user}:{password}@{hostname}/{db}?sslmode=disable)
-debug
Enable debug logging
-newSubmissionUrl string
Webhook URL for new submission events
-reviewSubmissionUrl string
Webhook URL for review submission events
-updateEntityUrl string
Webhook URL for update entity events
Full Changelog: 0.0.0...0.1.0-beta