Skip to content

Commit

Permalink
0.9.0
Browse files Browse the repository at this point in the history
  • Loading branch information
phalt committed Sep 25, 2024
1 parent fbeeef3 commit 9001004
Show file tree
Hide file tree
Showing 10 changed files with 14 additions and 7 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
## 0.9.0

- Support `patch` methods
- Fix `config.py` file being overwritten when generating new clients

## 0.8.3

Expand Down
1 change: 1 addition & 0 deletions CONTRIBUTORS.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@

- [Paul Hallett](https://github.com/phalt)
- [Matthew Knight](https://github.com/matthewknight)
- [Pradish Bijukchhe](https://github.com/pradishb)
2 changes: 1 addition & 1 deletion clientele/generators/standard/generator.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ def generate_templates_files(self):
write_func,
) in self.file_name_writer_tuple:
if exists(f"{self.output_dir}/{client_file}"):
if client_file == "config.py": # do not replace config.py if exists
if client_file == "config.py": # do not replace config.py if exists
continue
remove(f"{self.output_dir}/{client_file}")
template = writer.templates.get_template(client_template_file)
Expand Down
2 changes: 1 addition & 1 deletion clientele/settings.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import platform

VERSION = "0.8.3"
VERSION = "0.9.0"


def split_ver():
Expand Down
5 changes: 5 additions & 0 deletions docs/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Change log

## 0.9.0

- Support `patch` methods
- Fix `config.py` file being overwritten when generating new clients

## 0.8.3

- Fix bug with headers assignment
Expand Down
2 changes: 1 addition & 1 deletion docs/install.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@ Once installed you can run `clientele version` to make sure you have the latest

```sh
> clientele version
clientele 0.8.3
clientele 0.9.0
```
2 changes: 1 addition & 1 deletion docs/usage.md
Original file line number Diff line number Diff line change
Expand Up @@ -102,5 +102,5 @@ Print the current version of Clientele:

```sh
> clientele version
Clientele 0.8.3
Clientele 0.9.0
```
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "clientele"
version = "0.8.3"
version = "0.9.0"
description = "Generate loveable Python HTTP API Clients"
authors = ["Paul Hallett <paulandrewhallett@gmail.com>"]
license = "MIT"
Expand Down
2 changes: 1 addition & 1 deletion tests/async_test_client/MANIFEST.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ pipx install clientele

API VERSION: 0.1.0
OPENAPI VERSION: 3.0.2
CLIENTELE VERSION: 0.8.3
CLIENTELE VERSION: 0.9.0

Regenerate using this command:

Expand Down
2 changes: 1 addition & 1 deletion tests/test_client/MANIFEST.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ pipx install clientele

API VERSION: 0.1.0
OPENAPI VERSION: 3.0.2
CLIENTELE VERSION: 0.8.3
CLIENTELE VERSION: 0.9.0

Regenerate using this command:

Expand Down

0 comments on commit 9001004

Please sign in to comment.