Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 26 additions & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion doc/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -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"
Expand Down
Loading