|
1 |
| -# v1.1.dev2 |
| 1 | +# v1.1 |
2 | 2 |
|
3 |
| -This is a big release with some major additions & improvements on `v1`, especially around API usage and packaing deploys using the `@deploy` decorator. |
| 3 | +This is a big release with some major additions & improvements on `v1`. |
4 | 4 |
|
5 |
| -What's new: |
| 5 | +Highlights: |
6 | 6 |
|
| 7 | ++ Start **modifying facts during fact gathering phase**, resolving common issues with interdependent operations, expand documentation on this ([docs](https://docs.pyinfra.com/page/deploy_process.html#interdependent-operations)) |
| 8 | ++ Implement **state callback classes** dramatically improving the API experience (see `examples/api_deploy.py`) |
7 | 9 | + Add `@dockerssh` connector that enables pyinfra to **build Docker containers on remote machines over SSH** (@charles-l)
|
8 | 10 | + Add global `precondition` and `postcondition` operation arguments
|
9 |
| -+ Implement state callback classes dramatically improving the API experience (see `examples/api_deploy.py`) |
10 |
| -+ 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) |
| 11 | ++ Fix using `su_user` on BSD/MacOS systems |
| 12 | ++ Rework verbosity flags and **add noop logging** (ie package X is already installed) ([docs](https://docs.pyinfra.com/page/cli.html#verbosity)) |
11 | 13 |
|
12 | 14 | Notable change:
|
13 | 15 |
|
14 |
| -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>` |
| 16 | +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>`. |
15 | 17 |
|
16 | 18 | Smaller bits:
|
17 | 19 |
|
| 20 | ++ Add `REQUIRE_PYINFRA_VERSION` config option (& deprecate `MIN_PYINFRA_VERSION`) |
18 | 21 | + Validate existing files in `file.download` with checksum arguments (@sysadmin75)
|
19 | 22 | + Stop stripping fact output (fixes `command` fact, @sysadmin75)
|
20 | 23 | + Add `extra_install_args` and `extra_uninstall_args` kwargs to `apt.packages` operation
|
21 | 24 | + Add `--use-sudo-password` CLI argument
|
| 25 | ++ Normalise `server.sysctl` handling of string/int values |
| 26 | ++ Improve autocomplete/intellisense handling of pseudo modules `pyinfra.[host|state|inventory]` |
22 | 27 | + Fix using sudo password with a SSH user that doesn't have access to `/tmp`
|
23 | 28 | + Fix `python.call` docstring (@leahneukirchen)
|
24 | 29 | + Fix `--serial` and `--no-wait` executing operations twice
|
25 |
| -+ Fix `su` usage on BSD/MacOS systems |
26 |
| -+ Improve autocomplete/intellisense handling of pseudo modules `pyinfra.[host|state|inventory]` |
| 30 | ++ Fix `server.sysctl` usage with multiple values |
27 | 31 |
|
28 | 32 |
|
29 | 33 | # v1.0.4
|
|
0 commit comments