Skip to content

Feature/1.2.0#7

Merged
mononz merged 7 commits into
mainfrom
feature/1.2.0
Jun 1, 2026
Merged

Feature/1.2.0#7
mononz merged 7 commits into
mainfrom
feature/1.2.0

Conversation

@mononz
Copy link
Copy Markdown
Contributor

@mononz mononz commented Jun 1, 2026

Summary

Matches the design used in the new go and js SDKs.

Changes

  • ApiAlerts singleton with configure / send / send_async / set_overrides. ApiAlertsClient still around for multi-workspace
  • send_async returns a SendResult. Neither method raises
  • All 7 event fields, optional ones dropped from the body when None
  • 30s timeout, X-Integration: python / X-Version: 1.2.0 headers
  • set_overrides is there so wrappers (django-apialerts etc) can tag themselves
  • errors.py gone, errors come back on SendResult.error
  • New test_constants.py pinning name, URL, timeout, version
  • README and web docs updated

Jared Hall added 6 commits March 21, 2026 16:36
 - API spec 2.0. Add title, event and data properties
 - SendAsync returns an object
 - Move to zero dependencies, stdlib only
 - Add functional tests
 - Update Sample
 - update for event title and json
 - more tests
 - function comments
 - add timeout
 - new logger
@mononz mononz added this to the 1.2.0 milestone Jun 1, 2026
@mononz mononz self-assigned this Jun 1, 2026
@mononz mononz merged commit 25a036c into main Jun 1, 2026
1 check passed
@mononz mononz deleted the feature/1.2.0 branch June 1, 2026 17:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant