Skip to content

Commit 2e61c29

Browse files
authored
Merge pull request #144 from vintasoftware/release/0.0.2
Release 0.0.2
2 parents dac9fbf + 0da6bf1 commit 2e61c29

File tree

6 files changed

+16
-9
lines changed

6 files changed

+16
-9
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,11 @@ frontend TypeScript client, `django-ai-assistant-client`.
88
The backend and the frontend are versioned together, that is, they have the same version number.
99
When you update the backend, you should also update the frontend to the same version.
1010

11+
## 0.0.2 <small>June 28, 2024</small> {id="0.0.2"}
12+
13+
- Add support for Django 4.2 LTS
14+
- Add support for Python 3.10 and 3.11
15+
1116
## 0.0.1 <small>June 25, 2024</small> {id="0.0.1"}
1217

1318
- Initial release

CONTRIBUTING.md

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -102,8 +102,10 @@ poetry run mkdocs serve
102102
To release and publish a new version, follow these steps:
103103

104104
1. Update the version in `pyproject.toml` and `frontend/package.json`.
105-
2. Update the changelog in `CHANGELOG.md`.
106-
3. Open a PR with the changes.
107-
4. Once the PR is merged, run the [Release GitHub Action](https://github.com/vintasoftware/django-ai-assistant/actions/workflows/release.yml) to create a draft release.
108-
5. Review the draft release, ensure the description has at least the associated changelog entry, and publish it.
109-
6. Once the review is publish, the [Publish GitHub Action](https://github.com/vintasoftware/django-ai-assistant/actions/workflows/publish.yml) will automatically run to publish the new version to [PyPI](https://pypi.org/project/django-ai-assistant) and [npm](https://www.npmjs.com/package/django-ai-assistant-client). Check the logs to ensure the publication was successful.
105+
2. In the project root, run `poetry run python manage.py generate_openapi_schema --output frontend/openapi_schema.json` to update the OpenAPI schema.
106+
3. In the frontend directory, run `pnpm run generate-client` to update the TypeScript client with the new OpenAPI schema.
107+
4. Update the changelog in `CHANGELOG.md`.
108+
5. Open a PR with the changes.
109+
6. Once the PR is merged, run the [Release GitHub Action](https://github.com/vintasoftware/django-ai-assistant/actions/workflows/release.yml) to create a draft release.
110+
7. Review the draft release, ensure the description has at least the associated changelog entry, and publish it.
111+
8. Once the review is publish, the [Publish GitHub Action](https://github.com/vintasoftware/django-ai-assistant/actions/workflows/publish.yml) will automatically run to publish the new version to [PyPI](https://pypi.org/project/django-ai-assistant) and [npm](https://www.npmjs.com/package/django-ai-assistant-client). Check the logs to ensure the publication was successful.

frontend/openapi_schema.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"openapi": "3.1.0",
33
"info": {
44
"title": "django_ai_assistant",
5-
"version": "0.0.1",
5+
"version": "0.0.2",
66
"description": ""
77
},
88
"paths": {

frontend/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
"engines": {
2121
"node": ">=20 <21"
2222
},
23-
"version": "0.0.1",
23+
"version": "0.0.2",
2424
"description": "TypeScript client to facilitate the integration with the Django AI Assistant backend.",
2525
"homepage": "https://github.com/vintasoftware/django-ai-assistant",
2626
"documentation": "https://vintasoftware.github.io/django-ai-assistant",

frontend/src/client/core/OpenAPI.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ export const OpenAPI: OpenAPIConfig = {
4848
PASSWORD: undefined,
4949
TOKEN: undefined,
5050
USERNAME: undefined,
51-
VERSION: '0.0.1',
51+
VERSION: '0.0.2',
5252
WITH_CREDENTIALS: false,
5353
interceptors: {
5454
request: new Interceptors(),

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "django-ai-assistant"
3-
version = "0.0.1"
3+
version = "0.0.2"
44
description = "Django app to integrate with OpenAI Assistants API"
55
authors = ["Vinta Software <contact@vinta.com.br>"]
66
license = "MIT"

0 commit comments

Comments
 (0)