From 942aaa5dc7beb6a3e5e32b3456d28bbf4b6d7441 Mon Sep 17 00:00:00 2001 From: Greg Svoboda <13701780+gregsvo@users.noreply.github.com> Date: Thu, 29 Oct 2026 17:09:15 -0400 Subject: [PATCH] chore: release 0.5.0 Bump the version to 0.5.0 and date the changelog. This release fixes several response-parsing and filter bugs found by testing against the live API, adds bulk-request listing and webhook statistics and verification, and credits the contributor of the Django client cleanup fix. --- CHANGELOG.md | 6 ++++-- pyproject.toml | 2 +- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 585586f..f13c8f9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,7 +7,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/). --- -## [Unreleased] +## [0.5.0] - 2026-10-29 + +Upgrading from 0.4.x? See the [Upgrading to 0.5.0](https://github.com/ActiveCampaign/postmark-python/wiki/Upgrading-to-0.5.0) guide for the few behaviour changes to check. ### Added @@ -20,7 +22,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/). ### Fixed -- Django backend closes clients it automatically opens when a batch send fails, while preserving caller-owned connections for reuse. +- Django backend closes clients it automatically opens when a batch send fails, while preserving caller-owned connections for reuse. Thanks to @Kayvan-Zahiri for reporting (#38) and fixing (#39) this. - `send_bulk()` no longer raises `ValidationError` after Postmark accepts the request. The response key is `Id` (`ID` is still accepted); `BulkSendResponse` and `BulkSendStatus` now also expose `subject`, `total_messages`, `percentage_completed`, `released_count` and `failed_count`. - `BulkJobStatus` gains `CANCELLED`. `FAILED` is kept for backward compatibility. - `send_batch()` and `send_batch_with_template()` no longer raise when an entry fails. Failed entries come back as results (check `success` / `error_code`) instead of discarding the whole batch. diff --git a/pyproject.toml b/pyproject.toml index ecd023e..65f6d29 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "postmark-python" -version = "0.4.0" +version = "0.5.0" description = "The Official Postmark Python SDK." authors = [ { name = "Greg Svoboda", email = "gsvoboda@activecampaign.com" },