diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e188ea37..3a7365fc 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -20,10 +20,10 @@ jobs: steps: - name: Checkout the commit - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v3 + uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} @@ -38,17 +38,18 @@ jobs: run: | cd $GITHUB_WORKSPACE pytest - release: + + docs: name: Release runs-on: ubuntu-latest if: "startsWith(github.ref, 'refs/tags/')" needs: test steps: - name: Checkout the commit - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Set up Python 3.8 - uses: actions/setup-python@v3 + uses: actions/setup-python@v5 with: python-version: "3.8" @@ -59,11 +60,8 @@ jobs: python --version pip install -r requirements.txt - name: Build - run: | - python -m build + run: python -m build - name: Deploy docs - run: | - mkdocs gh-deploy --force + run: mkdocs gh-deploy --force - name: Upload to pypi - run: | - twine upload -u ${{ secrets.PYPI_USERNAME }} -p ${{ secrets.PYPI_PASSWORD }} dist/* + run: twine upload --skip-existing -u __token__ -p ${{ secrets.TINI_PYPI_TOKEN }} dist/* diff --git a/docs/change-log.md b/docs/change-log.md index 99f0b318..b8933b7c 100644 --- a/docs/change-log.md +++ b/docs/change-log.md @@ -7,6 +7,19 @@ and this project adheres to [Semantic Versioning](http://semver.org/). ## [Unreleased] +## [0.5.0] - 2024-02-10 + +### Added + +### Changed + +- Upgraded to pydantic v2. + +### Fixed + +- Fixed orjson.JSONDecodeError when models have optional string fields +- Fixed ModuleNotFoundError: No module named 'mkdocstrings_handlers' + ## [0.4.3] - 2022-12-29 ### Added