All Versions
69
Latest Version
2.2
Avg Release Cycle
8 days
Latest Release
-

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 and user arguments to all ssh.* operations
    • โž• Add apt_keys fact and use in apt.key operation
    • Add GPG facts: gkg_key, gpg_keys and gpg_secret_keys
    • Add additional_ips in network_devices fact
    • โž• Add ipv4_addrs and ipv6_addrs facts to replace ipv[46]_addresses
    • Add linux_gui & has_gui facts

    Other bits:

    • Add global chdir, preserve_su_env and su_shell arguments
    • โž• Add Config.REQUIRE_PACKAGES to check requirements befor execution
    • Add host_before_connect and host_connect_error state callback methods
    • ๐Ÿ‘Œ Support multiple --limit CLI arguments
    • ๐Ÿ‘ Allow passing an integer in files.replace replacement lines (@vindarel)
    • ๐Ÿ‘‰ Use curl if wget not present in apt.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
  • v1.2.dev1

    October 16, 2020
  • v1.2.dev0

    October 08, 2020
  • v1.1.2 Changes

    September 15, 2020
    • โž• Add port=22 argument to the ssh.keyscan operation
    • Add extra_install_args argument to the pip.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)
  • 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 in files.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 and postcondition 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 and dnf.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 (& deprecate MIN_PYINFRA_VERSION)
    • Validate existing files in file.download with checksum arguments (@sysadmin75)
    • ๐Ÿ›  Stop stripping fact output (fixes command fact, @sysadmin75)
    • Add extra_install_args and extra_uninstall_args kwargs to apt.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 and postcondition 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 and dnf.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 and extra_uninstall_args kwargs to apt.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]
  • 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 and postcondition 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 and dnf.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 and extra_uninstall_args kwargs to apt.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]
  • 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 and postcondition 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]
  • 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