From 9ce7ac44ef6e9d5d8d8a926836e8d294cccbff29 Mon Sep 17 00:00:00 2001 From: Nick Mills-Barrett Date: Wed, 25 Sep 2024 22:37:53 +0100 Subject: [PATCH] Release v3.1.1 --- CHANGELOG.md | 11 +++++++++++ pyinfra/api/deploy.py | 2 +- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b1c01e25b..7ebb24dde 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,14 @@ +# v3.1.1 + +- Improve errors with 2.x style `@decorator` (vs `@decorator()`) functions +- Document adding custom connectors (@simonhammes) +- Add basic API example to docs (@pirate) +- Fix sphinx warnings (@simonhammes) +- Fix force & pull arguments in `git.worktree` operation +- Fix `server.reboot` reconnection (@wackou) +- Fix chroot/local connector non-utf file gets (@evoldstad) +- Fix `AptSources` fact to parse components in order & with digits (@rsfzi) + # v3.1 Here's pyinfra 3.1 - a release primarily driven by contributors new and old - a HUGE THANK YOU to all of you who dedicate time to work on pushing pyinfra forward. New stuff: diff --git a/pyinfra/api/deploy.py b/pyinfra/api/deploy.py index 11e9e5318..053963f7b 100644 --- a/pyinfra/api/deploy.py +++ b/pyinfra/api/deploy.py @@ -64,7 +64,7 @@ def deploy(name: Optional[str] = None, data_defaults=None): raise PyinfraError( ( "The `deploy` decorator must be called, ie `@deploy()`, " - "see: https://docs.pyinfra.com/en/3.x/compatibility.html#upgrading-pyinfra-from-2-x-3-x" + "see: https://docs.pyinfra.com/en/3.x/compatibility.html#upgrading-pyinfra-from-2-x-3-x" # noqa ) )