pyinfra v2.4 Release Notes

  • Delayed getting this out, lots of little improvements.

    โž• Added:

    • Add server.user_authorized_keys operation
    • Add global _continue_on_error argument
    • โž• Add dir_mode argument to files.sync operation (@filips123)
    • Copy local permissions when mode=True in files.put operation
    • โž• Add headers and insecure arguments to files.download operation

    ๐Ÿ›  Fixed:

    • Get facts with host & state context (@jaysoffian)
    • ๐Ÿ›  Fix short facts with arguments (@jaysoffian)
    • ๐Ÿ›  Fix hang on launch of container in lxd.container operation (@zachwaite)
    • โš™ Run operations with host context
    • ๐Ÿ›  Fix idempotency with uploads to a directory in files.put operation

    Other changes:

    • ๐Ÿ›  Fix multiple doc typos (@timgates42)
    • ๐Ÿ›  Fix variable typo (@bouke-sf)
    • ๐Ÿ›  Fix CLI shell autocomplete doc (@jaysoffian)
    • Implement idempotency in git.bare_repo operation
    • โž• Add typing to fact classes
    • โœ… Start testing files operations with pathlib objects