Webhaak

Latest version: v0.5.4

Safety actively analyzes 682361 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 2

0.5.4

Fixed
- Installation through pip/pypi failed due to incorrect script entry point

0.5.3

Changed
- Pydantic settings is its own package since Pydantic 2

Fixed
- Crash when links were available in a BitBucket push, but not html link info for the branch
- Sentry pushes didn't get handled correctly

0.5.2

Fixed
- Minor error in new PushOver send function causing pushes not to be sent
- Better variable names

0.5.1

Removed
- Dependency on external PushOver library

0.5.0

Added
- Background worker through RQ (Redis Queue) for asynchronous running of jobs
- Status endpoint for a submitted job, which shows status of the (background) job, and process output
- Configuration through environment variables, including sanity checks on the values (e.g., existing paths and such); if webhaak is crashing on startup, check the last line of the stacktrace as that will likely tell what's wrong

Changed
- API backend changed from Flask to FastAPI; big refactor
- `get_app_key` endpoint is now located behind the secret key to prevent abuse
- All configuration is done through environment variables, see [Example configuration](https://github.com/aquatix/webhaak#example-configuration) and [the configuration examples](https://github.com/aquatix/webhaak/tree/master/example_config)
- Various linting, CI and code quality improvements

Removed
- settings.py file; configuration is handled through environment variables completely now; project/hook configuration is still in the yaml file

Fixed
- A crash could occur when a branch was merged, as `commits` property of payload is empty (BitBucket)
- Job results when commands were failing or when a job was still running
- Lots of other small crashes and edge-cases

0.4.0

Added
- Optional endpoint to list all projects (apps) and their triggers. Enable by setting a SECRETKEY in settings.py
The endpoint is located at /admin/<secretkey>/list and [webhaak-ui](https://github.com/aquatix/webhaak-ui) is an example client.
- Possibility to remotely use the endpoints (e.g., through jsonp)
- Git-based version string generation, use `REPOVERSION` placeholder in your projects yaml
- [ReadTheDocs](https://webhaak.readthedocs.io/en/latest/), including apiDoc
- Support for Gitea and Gogs webhooks
- Support for checking out a certain branch (use `branch: <name>`)
- Notification also includes runtime of the Git update and command execution
- Gather information about the webhook (push) event, to be used by commands, with keyword substitution
- BitBucket support

Changed
- Changed yaml library to strictyaml, to be safer
- Better logging
- Fixed 'REPODIR' substitution in commands
- Fixes for wrong payload lookups on pings and some other crashes

Removed
- pyyaml dependency
- utilkit dependency

Page 1 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.