From 6cf71d7554fd1b903dfd099bab5c9201d75006bf Mon Sep 17 00:00:00 2001 From: Cserna Zsolt Date: Mon, 5 Oct 2026 21:41:50 +0300 Subject: [PATCH 1/2] Version bump to 1.2.0 --- doc/conf.py | 2 +- pyproject.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/conf.py b/doc/conf.py index 2dd7cac..547fafc 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -68,7 +68,7 @@ # built documents. # # The short X.Y version. -version = "1.1.5" +version = "1.2.0" # The full version, including alpha/beta/rc tags. release = version diff --git a/pyproject.toml b/pyproject.toml index 337360f..9fb32ba 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "pytest_httpserver" -version = "1.1.5" +version = "1.2.0" description = "pytest-httpserver is a httpserver for pytest" readme = "README.md" license = "MIT" From ac3d9d3579b3a189b1a7f23b9d446ec5329f10b7 Mon Sep 17 00:00:00 2001 From: Cserna Zsolt Date: Mon, 5 Oct 2026 21:42:09 +0300 Subject: [PATCH 2/2] CHANGES.rst: add release notes for 1.2.0 --- CHANGES.rst | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/CHANGES.rst b/CHANGES.rst index d702fb9..ed6fde8 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -2,6 +2,32 @@ Release Notes ============= +.. _Release Notes_1.2.0: + +1.2.0 +===== + +.. _Release Notes_1.2.0_Upgrade Notes: + +Upgrade Notes +------------- + +- Dictionary expectations must include parameters with empty values. + A request for ``flag=&foo=123`` previously matched ``{"foo": "123"}``. + It now requires ``{"flag": "", "foo": "123"}``. + + +.. _Release Notes_1.2.0_Bug Fixes: + +Bug Fixes +--------- + +- Preserve empty query values when matching dictionaries and MultiDict objects. + Both ``flag=`` and ``flag`` match ``{"flag": ""}`` and no longer match ``{}``. + For repeated parameters, dictionary matching uses the first value even when it + is empty. MultiDict matching includes every empty value. + + .. _Release Notes_1.1.5: 1.1.5