Releases: pytest-dev/pytest-localserver
v0.9.0.post0
This release makes some long-overdue updates to the allowed versions of pytest. For most people, this will be a drop-in replacement for version 0.9; however, anyone forced to work with a really old version of pytest (specifically pytest>=4,<4.6
) will have to stay on 0.9.
What's Changed
- Bump required pytest version to 4.6 by @diazona in #98
- Increase max allowed pytest version to 9 by @diazona in #99
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #96
- Update changes for upcoming 0.9.0.post0 release by @diazona in #100
Full Changelog: v0.9.0...v0.9.0.post0
v0.9.0
What's Changed
- Add support for exposing server certificate by @Nicoretti in #75
- Explicitly store request data by @a-gerhard in #78
- Fix pre-commit errors by @diazona in #80
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #81, #83, #85, #86, #87, #89, #90, #91, #92, #94
- Remove unused
six
from tox config by @boidolr in #84 - Drop Python 3.5 support by @diazona in #88
- Add Python 3.13 support by @diazona in #93
- Update author file and changelog for the upcoming 0.9.0 release by @diazona in #95
New Contributors
- @Nicoretti made their first contribution in #75
- @a-gerhard made their first contribution in #78
- @boidolr made their first contribution in #84
Full Changelog: v0.8.1...v0.9.0
v0.8.1
What's Changed
- Ignore AttributeError when shutting down server by @tjni in #70
- Explicit Python 3.12 support by @diazona in #71
- Update README not to specify the wrong type for the SMTP server by @diazona in #72
- Update changelog and author list for 0.8.1 by @diazona in #73
New Contributors
Full Changelog: v0.8.0...v0.8.1
v0.8.0
This release of pytest-localserver has some changes to the build infrastructure and project internals, but very little impact on end users. This is being done mainly to test the release workflow and as a checkpoint prior to a 1.0 release anticipated sometime in the next several months.
What's Changed
- Convert to trusted publishing by @diazona in #62
- Make pypi deployment dependent on test-pypi deployment by @diazona in #64
- Remove obsolete test code in runtests.py by @diazona in #63
- Remove /usr/bin/env lines by @diazona in #66
- Move SMTP driver code into a function by @diazona in #67
- Update changelog for the upcoming 0.8 release by @diazona in #69
Full Changelog: v0.7.1...v0.8.0
Release 0.7.2a0.dev1
This is a dummy release to test trusted publishing. See #62
v0.7.1
The main change in this release of pytest-localserver is a bug fix that allows the package to work with recent versions of aiosmtpd, 1.4.3 and up. There have also been some changes to the testing and deployment procedure.
As always, the package can be installed using pip:
$ pip install pytest-localserver
or, to include the optional SMTP support:
$ pip install 'pytest-localserver[smtp]'
What's Changed
- Replace the _stop method, which was removed from aiosmtp 1.4.3, with the cancel_tasks method by @henri-hulski in #55
- Use older Ubuntu for testing with Python 3.5 and 3.6 by @diazona in #56
- Mark the package as being compatible with Python 3.11 by @diazona in #57
- Update the AUTHORS file by @diazona in #59
- Release using GitHub actions by @diazona in #58
- Update changelog for the upcoming 0.7.1 release by @diazona in #60
New Contributors
- @henri-hulski made their first contribution in #55 - thank you, this was very valuable!
Full Changelog: v0.7.0...v0.7.1
v0.7.1rc0
This is a release candidate for version 0.7.1, primarily used to test the new deployment procedure from #58. Full release notes will accompany the final release of version 0.7.1.
What's Changed
- Replace the _stop method, which was removed from aiosmtp 1.4.3, with the cancel_tasks method by @henri-hulski in #55
- Use older Ubuntu for testing with Python 3.5 and 3.6 by @diazona in #56
- Mark the package as being compatible with Python 3.11 by @diazona in #57
- Update the AUTHORS file by @diazona in #59
- Release using GitHub actions by @diazona in #58
Full Changelog: v0.7.0...v0.7.1rc0
v0.7.0
This release of pytest-localserver includes one key change of interest to users: SMTP support is no longer installed by default, due to the unclear maintenance status of aiosmtpd. Those who want the SMTP server should select the [smtp]
extra when installing. Other more minor changes include many improvements to the code quality control, automated testing, and documentation.
As always, the package can be installed using pip:
$ pip install pytest-localserver
or, to include the now-optional SMTP support:
$ pip install 'pytest-localserver[smtp]'
What's Changed
- Remove redudant
wheel
dep frompyproject.toml
by @mgorny in #34 - Update syntax to Python 3 by @hramezani in #36
- Add pypi version and supported Python versions badges to README.rst by @hramezani in #38
- Fix a warning about dash-separated cfg key by @felixonmars in #37
- Make aiosmtpd dependency optional by @mgorny in #40
- Add linting by @hramezani in #39
- Add linter for workflow actions by @diazona in #42
- Skip duplicate actions when pushing in this repository by @diazona in #45
- Relax dependencies by @diazona in #44
- Fix a minor formatting error in the README by @diazona in #49
- Update changelog for the upcoming 0.7 release by @diazona in #50
New Contributors
A huge thanks to all three of the new contributors this release!
- @mgorny made their first contribution in #34
- @hramezani made their first contribution in #36
- @felixonmars made their first contribution in #37
Full Changelog: v0.6.0...v0.7.0
v0.6.0
This version of pytest-localserver mostly focuses on updating the code to use modern conventions. Among the most notable changes for users, the package no longer supports Python 3.3 and 3.4, and there is now built-in support for sending chunked responses from the HTTP server. Also, the SMTP server has been rewritten to use aiosmtpd instead of the deprecated smtpd module.
As always, the package can be installed using pip:
$ pip install pytest-localserver
What's Changed
- Drop support for older Python versions by @diazona in #25
- Use setuptools_scm for version management by @diazona in #20
- Support chunked encoding by @diazona in #21
- Fix typos by @kianmeng in #28
- Use aiosmtpd for the smtp.Server class by @diazona in #30
- Update copyright date in the README and LICENSE files by @diazona in #32
- Add notes on how to release a new version to the README by @diazona in #33
- Update changelog for the upcoming 0.6.0 release by @diazona in #31
New Contributors
Full Changelog: v0.5.1.post0...v0.6.0
v0.5.1.post0
This release makes a minor metadata update; there is no change in functionality. As always, it can be installed using pip:
$ pip install pytest-localserver
What's Changed
- Disable fail-fast in Github Actions configuration by @diazona in #22
- List required Python version as 2.7 or 3.3+ by @diazona in #24
- Bump version to 0.5.1.post0 by @diazona in #26
Full Changelog: v0.5.1...v0.5.1.post0