Changelog History
Page 6
-
v1.2 Changes
October 21, 2020๐ Lots of smaller bits in this release and massive improvement to the documentation.
โก๏ธ Operation & fact updates:
- ๐ Deprecate
init.*
operations, renamed to:systemd.service
,upstart.service
,launchd.service
,bsdinit.service
,sysvinit.service
,sysvinit.enable
,server.service
- โ Add
systemd.daemon_reload
operation - โ Add
files.rsync
operation - โ Add
port
anduser
arguments to allssh.*
operations - โ Add
apt_keys
fact and use inapt.key
operation - Add GPG facts:
gkg_key
,gpg_keys
andgpg_secret_keys
- Add
additional_ips
innetwork_devices
fact - โ Add
ipv4_addrs
andipv6_addrs
facts to replaceipv[46]_addresses
- Add
linux_gui
&has_gui
facts
Other bits:
- Add global
chdir
,preserve_su_env
andsu_shell
arguments - โ Add
Config.REQUIRE_PACKAGES
to check requirements befor execution - Add
host_before_connect
andhost_connect_error
state callback methods - ๐ Support multiple
--limit
CLI arguments - ๐ Allow passing an integer in
files.replace
replacement lines (@vindarel) - ๐ Use
curl
ifwget
not present inapt.key
operation - 0๏ธโฃ Completely remove use of
use_default_on_error
in facts - ๐ Many updates/tweaks to documentation + theme
- ๐ Allow functions in/as group/host data (CLI)
- ๐ Implement/use Angolia docsearch on documentation
- ๐ Deprecate
-
v1.2.dev1
October 16, 2020 -
v1.2.dev0
October 08, 2020 -
v1.1.2 Changes
September 15, 2020- โ Add
port=22
argument to thessh.keyscan
operation - Add
extra_install_args
argument to thepip.packages
operation - ๐ Support uninstalling a requirements file in the
pip.packages
operation - ๐ Use state in
files.replace
operation, enabling noop support where appropriate - Add a warning when using
use_su_login
- ๐ Fix parsing stat output when groups contain spaces (
file
,directory
,link
facts) - ๐ Fix minimum gevent version (@alexandervdm)
- โ Add
-
v1.1.1 Changes
September 03, 2020- ๐ Don't fail for user error facts when the user will be added earlier in the deploy
- ๐ Support
shasum
command infiles.download
operation - Consider waiting systemd units to be running (@i-do-cpp)
- ๐ Improve regex for systemd units (support ones with
.
) (@i-do-cpp) - ๐ Fix sudo passwords with special characters (@sysadmin75)
- ๐ Fix typo in host arg warning (@weakish)
-
v1.1 Changes
August 26, 2020๐ This is a big release with some major additions & improvements on
v1
.Highlights:
- Start modifying facts during fact gathering phase, resolving common issues with interdependent operations, expand documentation on this (docs)
- Implement state callback classes dramatically improving the API experience (see
examples/api_deploy.py
) - ๐ Add
@dockerssh
connector that enables pyinfra to build Docker containers on remote machines over SSH (@charles-l) - โ Add global
precondition
andpostcondition
operation arguments - ๐ Fix using
su_user
on BSD/MacOS systems - โ Rework verbosity flags and add noop logging (ie package X is already installed) (docs)
Notable change:
๐ The
yum.packages
anddnf.packages
operations have changed their "version join" string value - both package managers use-
to join name + version while allowing-
in the name. This leads to ambiguous behaviour for packages containing dashes, as such the version join value has been changed to=
- meaning it can now actually be used! This means to specify a specific version of a yum/dnf package you should use<name>=<version>
rather than<name>-<version>
.Smaller bits:
- Add
REQUIRE_PYINFRA_VERSION
config option (& deprecateMIN_PYINFRA_VERSION
) - Validate existing files in
file.download
with checksum arguments (@sysadmin75) - ๐ Stop stripping fact output (fixes
command
fact, @sysadmin75) - Add
extra_install_args
andextra_uninstall_args
kwargs toapt.packages
operation - โ Add
--use-sudo-password
CLI argument - Normalise
server.sysctl
handling of string/int values - ๐ Improve autocomplete/intellisense handling of pseudo modules
pyinfra.[host|state|inventory]
- ๐ Fix using sudo password with a SSH user that doesn't have access to
/tmp
- ๐ Fix
python.call
docstring (@leahneukirchen) - ๐ Fix
--serial
and--no-wait
executing operations twice - ๐ Fix
server.sysctl
usage with multiple values
-
v1.1.dev2 Changes
August 23, 2020๐ This is a big release with some major additions & improvements on
v1
, especially around API usage and packaing deploys using the@deploy
decorator.What's new:
- ๐ Add
@dockerssh
connector that enables pyinfra to build Docker containers on remote machines over SSH (@charles-l) - โ Add global
precondition
andpostcondition
operation arguments - ๐ Implement state callback classes dramatically improving the API experience (see
examples/api_deploy.py
) - ๐ Start modifying facts during fact gathering phase, resolving common issues with interdependent operations, expand documentation on this (see: https://docs.pyinfra.com/en/latest/deploy_process.html#interdependent-operations)
Notable change:
๐ The
yum.packages
anddnf.packages
operations have changed their "version join" string value - both package managers use-
to join name + version while allowing-
in the name. This leads to ambiguous behaviour for packages containing dashes, as such the version join value has been changed to=
. This means to specify a specific version of a yum/dnf package you should use<name>=<version>
rather than<name>-<version>
Smaller bits:
- Validate existing files in
file.download
with checksum arguments (@sysadmin75) - ๐ Stop stripping fact output (fixes
command
fact, @sysadmin75) - Add
extra_install_args
andextra_uninstall_args
kwargs toapt.packages
operation - โ Add
--use-sudo-password
CLI argument - ๐ Fix using sudo password with a SSH user that doesn't have access to
/tmp
- ๐ Fix
python.call
docstring (@leahneukirchen) - ๐ Fix
--serial
and--no-wait
executing operations twice - ๐ Fix
su
usage on BSD/MacOS systems - ๐ Improve autocomplete/intellisense handling of pseudo modules
pyinfra.[host|state|inventory]
- ๐ Add
-
v1.1.dev1 Changes
August 16, 2020๐ This is a big release with some major additions & improvements on
v1
, especially around API usage and packaing deploys using the@deploy
decorator.What's new:
- ๐ Add
@dockerssh
connector that enables pyinfra to build Docker containers on remote machines over SSH (@charles-l) - โ Add global
precondition
andpostcondition
operation arguments - ๐ Implement state callback classes dramatically improving the API experience (see
examples/api_deploy.py
) - ๐ Start modifying facts during fact gathering phase, resolving common issues with interdependent operations, expand documentation on this (see: https://docs.pyinfra.com/en/latest/deploy_process.html#interdependent-operations)
Notable change:
๐ The
yum.packages
anddnf.packages
operations have changed their "version join" string value - both package managers use-
to join name + version while allowing-
in the name. This leads to ambiguous behaviour for packages containing dashes, as such the version join value has been changed to=
. This means to specify a specific version of a yum/dnf package you should use<name>=<version>
rather than<name>-<version>
Smaller bits:
- Validate existing files in
file.download
with checksum arguments (@sysadmin75) - ๐ Stop stripping fact output (fixes
command
fact, @sysadmin75) - Add
extra_install_args
andextra_uninstall_args
kwargs toapt.packages
operation - โ Add
--use-sudo-password
CLI argument - ๐ Fix using sudo password with a SSH user that doesn't have access to
/tmp
- ๐ Fix
python.call
docstring (@leahneukirchen) - ๐ Fix
--serial
and--no-wait
executing operations twice - ๐ Improve autocomplete/intellisense handling of pseudo modules
pyinfra.[host|state|inventory]
- ๐ Add
-
v1.1.dev0 Changes
August 11, 2020๐ This is a big release with some major additions & improvements on
v1
:- ๐ Add
@dockerssh
connector that enables pyinfra to build Docker containers on remote machines over SSH (@charles-l) - โ Add global
precondition
andpostcondition
operation arguments - ๐ Implement state callback classes dramatically improving the API experience (see
examples/api_deploy.py
) - ๐ Start modifying facts during fact gathering phase, resolving common issues with interdependent operations, expand documentation on this (see: https://docs.pyinfra.com/en/latest/deploy_process.html#interdependent-operations)
Smaller bits:
- Validate existing files in
file.download
with checksum arguments (@sysadmin75) - ๐ Stop stripping fact output (fixes
command
fact, @sysadmin75) - โ Add
--use-sudo-password
CLI argument - ๐ Fix using sudo password with a SSH user that doesn't have access to
/tmp
- ๐ Fix
python.call
docstring (@leahneukirchen) - ๐ Fix
--serial
and--no-wait
executing operations twice - ๐ Improve autocomplete/intellisense handling of pseudo modules
pyinfra.[host|state|inventory]
- ๐ Add
-
v1.0.4 Changes
July 20, 2020- โ Add
selinux
fact (@FooBarQuaxx) - ๐ Improve/fix
rpm_packages
fact parsing (@FooBarQuaxx) - Stop showing arguments on operations with names
- โ Add