From 08e7cbda1186e83ed17fdaa6b24dd8be304a8fce Mon Sep 17 00:00:00 2001 From: Jun Luo <4catcode@gmail.com> Date: Mon, 18 Nov 2024 07:49:03 +0800 Subject: [PATCH] release: 0.6.0 --- .../continuous-integration-workflow.yml | 34 +++++++++---------- CHANGELOG.rst | 4 +++ README.rst | 2 +- pyproject.toml | 2 +- stellar_model/__init__.py | 2 +- .../model/horizon/claimable_balance.py | 2 +- 6 files changed, 25 insertions(+), 21 deletions(-) diff --git a/.github/workflows/continuous-integration-workflow.yml b/.github/workflows/continuous-integration-workflow.yml index 0db2123..154c971 100644 --- a/.github/workflows/continuous-integration-workflow.yml +++ b/.github/workflows/continuous-integration-workflow.yml @@ -39,20 +39,20 @@ jobs: - name: Test with unittest run: python -m unittest - deploy: - needs: test - runs-on: ubuntu-latest - if: github.event_name == 'release' && github.event.action == 'created' - permissions: - id-token: write - steps: - - uses: actions/checkout@v3 - - - name: Install poetry - run: pipx install poetry - - - name: Build Packages - run: poetry build - - - name: Publish package distributions to PyPI - uses: pypa/gh-action-pypi-publish@release/v1 \ No newline at end of file + deploy: + needs: test + runs-on: ubuntu-latest + if: github.event_name == 'release' && github.event.action == 'created' + permissions: + id-token: write + steps: + - uses: actions/checkout@v3 + + - name: Install poetry + run: pipx install poetry + + - name: Build Packages + run: poetry build + + - name: Publish package distributions to PyPI + uses: pypa/gh-action-pypi-publish@release/v1 \ No newline at end of file diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 7e96207..f40946e 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -4,6 +4,10 @@ Change Log This document records all notable changes to `stellar-model `_. +0.6.0 +---------------------------- +* feat: add support for Horizon v22.0.0. (`#63 `_) + 0.5.4 ---------------------------- * feat: add support for Horizon v2.27.0. (`#59 `_) diff --git a/README.rst b/README.rst index 37a8333..be6b239 100644 --- a/README.rst +++ b/README.rst @@ -29,7 +29,7 @@ Please check the list `here "] readme = "README.rst" diff --git a/stellar_model/__init__.py b/stellar_model/__init__.py index 4edbdb3..8969be8 100644 --- a/stellar_model/__init__.py +++ b/stellar_model/__init__.py @@ -1,4 +1,4 @@ -__version__ = "0.5.4" +__version__ = "0.6.0" __url__ = "https://github.com/StellarCN/stellar-model" __issues__ = f"{__url__}/issues" diff --git a/stellar_model/model/horizon/claimable_balance.py b/stellar_model/model/horizon/claimable_balance.py index f2c2b11..de26952 100644 --- a/stellar_model/model/horizon/claimable_balance.py +++ b/stellar_model/model/horizon/claimable_balance.py @@ -121,4 +121,4 @@ class ClaimableBalance(BaseModel): links: Links = Field(alias="_links") -ClaimPredicate.update_forward_refs() +ClaimPredicate.model_rebuild()