From bab56e579dc3160a0903e2c781bc286d778c41b9 Mon Sep 17 00:00:00 2001 From: Julie Lee <5377598+synapticlee@users.noreply.github.com> Date: Mon, 29 Jun 2026 16:26:24 -0400 Subject: [PATCH 1/3] Tiny typo - y2 is there twice --- documentcloud/annotations.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/documentcloud/annotations.py b/documentcloud/annotations.py index 01b1457..c02290d 100644 --- a/documentcloud/annotations.py +++ b/documentcloud/annotations.py @@ -79,7 +79,7 @@ def create( x2=None, y2=None, ): - coords = [x1, y2, x2, y2] + coords = [x1, y1, x2, y2] if not (all(c is None for c in coords) or all(c is not None for c in coords)): raise ValueError( "x1, y2, x2, y2 must either all be None or all be not None" From 5e20d20024c22c44a4ad01a9ab421c4e88be393c Mon Sep 17 00:00:00 2001 From: duckduckgrayduck <102841251+duckduckgrayduck@users.noreply.github.com> Date: Mon, 29 Jun 2026 16:49:41 -0500 Subject: [PATCH 2/3] Bump to 4.8.0 --- docs/changelog.rst | 4 ++++ docs/conf.py | 4 ++-- setup.py | 2 +- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/docs/changelog.rst b/docs/changelog.rst index 8520b34..b732023 100644 --- a/docs/changelog.rst +++ b/docs/changelog.rst @@ -1,6 +1,10 @@ Changelog --------- +4.8.0 +~~~~~ +* Fixes coordinates for annotations. Credit: @synapticlee + 4.7.0 ~~~~~ * Added burst-based sane rate limits to several endpoints. diff --git a/docs/conf.py b/docs/conf.py index e80e36c..927ef91 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -55,9 +55,9 @@ # built documents. # # The short X.Y version. -version = "4.7" +version = "4.8" # The full version, including alpha/beta/rc tags. -release = "4.7.0" +release = "4.8.0" # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/setup.py b/setup.py index fb58793..39a1809 100644 --- a/setup.py +++ b/setup.py @@ -7,7 +7,7 @@ setup( name="python-documentcloud", - version="4.7.0", + version="4.8.0", description="A simple Python wrapper for the DocumentCloud API", author="Mitchell Kotler", author_email="mitch@muckrock.com", From ca615a45946d6a08e5f66516a77bae13adbab66b Mon Sep 17 00:00:00 2001 From: duckduckgrayduck <102841251+duckduckgrayduck@users.noreply.github.com> Date: Mon, 29 Jun 2026 17:10:27 -0500 Subject: [PATCH 3/3] 4.8.1 --- docs/changelog.rst | 2 +- docs/conf.py | 2 +- setup.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/changelog.rst b/docs/changelog.rst index b732023..39939f0 100644 --- a/docs/changelog.rst +++ b/docs/changelog.rst @@ -1,7 +1,7 @@ Changelog --------- -4.8.0 +4.8.1 ~~~~~ * Fixes coordinates for annotations. Credit: @synapticlee diff --git a/docs/conf.py b/docs/conf.py index 927ef91..faf0f84 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -57,7 +57,7 @@ # The short X.Y version. version = "4.8" # The full version, including alpha/beta/rc tags. -release = "4.8.0" +release = "4.8.1" # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/setup.py b/setup.py index 39a1809..e30b375 100644 --- a/setup.py +++ b/setup.py @@ -7,7 +7,7 @@ setup( name="python-documentcloud", - version="4.8.0", + version="4.8.1", description="A simple Python wrapper for the DocumentCloud API", author="Mitchell Kotler", author_email="mitch@muckrock.com",