Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 611614b

Browse files
committed
Move v3 to beta, release v3.0.beta0, update default branch
1 parent acabb0a commit 611614b

2 files changed

Lines changed: 24 additions & 2 deletions

File tree

‎CHANGELOG.md‎

Lines changed: 20 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,24 @@
1-
# v3.0.dev0
1+
# v3.0.beta0
22

3-
TODO
3+
Welcome to pyinfra v3! This version is the biggest overhaul of pyinfra since it was created back in 2015. Most v2 deployment code should be automatically compatible, but as always be aware. Major changes:
4+
5+
## Runtime operation execution
6+
7+
pyinfra now executes operations at runtime, rather than pre-generating commands. Although the change isn't noticeable this fixes an entire class of bugs and confusion. See the [limitations](https://docs.pyinfra.com/en/2.x/deploy-process.html#limitations) section in the v2 docs. All of those issues are now a thing of the past.
8+
9+
This represents a huge overhaul of pyinfra's internals and should be a huge improvement for users.
10+
11+
Care has been taken to reduce the overhead of this change which still supports the same diffs and change proposal mechanism.
12+
13+
## CLI flow & prompts
14+
15+
The pyinfra CLI will now prompt (instead of ignore, or immediately exit) when problems are encountered, allowing the user to choose to continue. Additionally an approval step is added before executing changes (skip with `-y`).
16+
17+
## Extendable connectors API, typing overhaul
18+
19+
v3 of pyinfra includes for the first time a (mostly) typed internal API with proper support for IDE linting. There's a whole new connectors API that provides a framework for building new connectors.
20+
21+
More TBC...
422

523
# v2.x
624

‎README.md‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@
44
</a>
55
</p>
66

7+
<p align="center">
8+
<strong>Note: this is the v3 branch, which is currently in beta. <a href="https://docs.pyinfra.com/en/next">See the docs for v3</a>. If needed the <a href="https://github.com/pyinfra-dev/pyinfra/tree/2.x/">2.x branch is here</a>, but is in bugfix only mode.</strong>
9+
</p>
10+
711
<p align="center">
812
<em>pyinfra automates infrastructure using Python. It’s fast and scales from one server to thousands. Great for ad-hoc command execution, service deployment, configuration management and more.</em>
913
</p>

0 commit comments

Comments
 (0)