Visitar URL original
Releases Β· csernazs/pytest-httpserver Β· GitHub
Skip to content

Releases: csernazs/pytest-httpserver

1.2.0

Choose a tag to compare

@csernazs csernazs released this 05 Oct 18:59

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"}.

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.

1.1.5

Choose a tag to compare

@csernazs csernazs released this 14 Feb 13:26

What's Changed

  • Add bake() method for pre-configured request expectations by @HayaoSuzuki in #470

Full Changelog: 1.1.4...1.1.5

1.1.4

Choose a tag to compare

@csernazs csernazs released this 09 Feb 18:17

What's Changed

Full Changelog: 1.1.3...1.1.4

1.1.3

Choose a tag to compare

@csernazs csernazs released this 10 Apr 08:16
  • Run server threads with daemon flag, preventing shutdown issues. #411

1.1.2

Choose a tag to compare

@csernazs csernazs released this 24 Feb 20:25

Deprecate python 3.8, type hinting improvements (fixes #387)

1.1.1

Choose a tag to compare

@csernazs csernazs released this 21 Jan 19:44

Add a new expect method to the HTTPServer object which allows developers to provide their own request matcher object.

1.1.0

Choose a tag to compare

@csernazs csernazs released this 11 Aug 21:47

What's Changed

  • httpserver: Clear state in function-scoped fixtures before the test by @netaneld122 in #352

Full Changelog: 1.0.12...1.1.0

1.0.12

Choose a tag to compare

@csernazs csernazs released this 21 Jul 18:40

What's Changed

  • Fix pytest-httpserver's own tests related to log querying. No functional changes in pytest-httpserver code itself. #345

Full Changelog: 1.0.11...1.0.12

1.0.11

Choose a tag to compare

@csernazs csernazs released this 19 Jul 20:21

What's Changed

  • Hooks API
  • New methods added to query for matching requests in the log.
  • Threading support to serve requests in parallel

Full Changelog: 1.0.10...1.0.11

1.0.10

Choose a tag to compare

@csernazs csernazs released this 24 Feb 19:47

What's Changed

New Contributors

Full Changelog: 1.0.9...1.0.10