Skip to content

Commit 57e03f1

Browse files
committed
docs(CHANGES): Note refactor of project params
1 parent 0c32240 commit 57e03f1

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

CHANGES

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,22 @@ $ pip install --user --upgrade --pre libvcs
2222

2323
- `run(cmd, ...)` is now `run(args, ...)` to match `Popen`'s convention.
2424

25+
- {issue}`364`: Project classes no longer accept positional arguments. Per [PEP 570].
26+
27+
Deprecated in >=0.13:
28+
29+
```python
30+
GitProject('https://github.com/vcs-python/libvcs.git')
31+
```
32+
33+
New style in >=0.13:
34+
35+
```python
36+
GitProject(url='https://github.com/vcs-python/libvcs.git')
37+
```
38+
39+
[pep 570]: https://peps.python.org/pep-0570/
40+
2541
### What's new
2642

2743
- **Commands**: Experimental command wrappers added ({issue}`346`):

0 commit comments

Comments
 (0)