From 629d62ee5be5d4c5901b750ac3b6cd48e7d38a8e Mon Sep 17 00:00:00 2001 From: Abel Armoa <30988000+aarmoa@users.noreply.github.com> Date: Mon, 10 Nov 2025 12:04:42 -0300 Subject: [PATCH 1/8] (fix) Updated CHANGELOG.md to include v1.12.0 details --- CHANGELOG.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 04664e6a..a37d3122 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,11 +2,12 @@ All notable changes to this project will be documented in this file. -## [Unreleased] - 9999-99-99 - -## [1.12.0] - 2025-11-10 +## [1.12.0] - 2025-11-10 ### Changed - Updated all compiled protos for compatibility with Injective core v1.17.0 and Indexer v1.17.16 +- Included the OpenNotionalCap in derivative markets +- Added support for market orders creation with the MsgBatchUpdateOrders message +- Support for order failure events and conditional orders trigger failures in the chainstrem updates ## [1.11.2] - 2025-09-24 ### Added From 162ad403dad42b5dc64a5053499400f1f3783d93 Mon Sep 17 00:00:00 2001 From: Abel Armoa <30988000+aarmoa@users.noreply.github.com> Date: Mon, 10 Nov 2025 12:12:54 -0300 Subject: [PATCH 2/8] (fix) Fixed pre-commit issues --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a37d3122..ab63c9a1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,7 +2,7 @@ All notable changes to this project will be documented in this file. -## [1.12.0] - 2025-11-10 +## [1.12.0] - 2025-11-10 ### Changed - Updated all compiled protos for compatibility with Injective core v1.17.0 and Indexer v1.17.16 - Included the OpenNotionalCap in derivative markets From ab53c2cffba9dc5222fd3635e905514e54a51254 Mon Sep 17 00:00:00 2001 From: Abel Armoa <30988000+aarmoa@users.noreply.github.com> Date: Fri, 13 Feb 2026 16:17:58 -0300 Subject: [PATCH 3/8] [CHORE] Updated CHANGELOG.md and pyproject.toml for release v1.13.0 --- CHANGELOG.md | 5 +++++ pyproject.toml | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index ab63c9a1..485dccfb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,11 @@ All notable changes to this project will be documented in this file. +## [1.13.0] - 2026-02-13 +### Changed +- Updated all compiled protos for compatibility with Injective core v1.18.0 and Indexer v1.18.3 +- Includes new proto definitions for the Chainlink Data Streams oracle + ## [1.12.0] - 2025-11-10 ### Changed - Updated all compiled protos for compatibility with Injective core v1.17.0 and Indexer v1.17.16 diff --git a/pyproject.toml b/pyproject.toml index 9ef32639..287c82aa 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "injective-py" -version = "1.13.0-rc1" +version = "1.13.0" description = "Injective Python SDK, with Exchange API Client" authors = ["Injective Labs "] license = "Apache-2.0" From c1d70c14012e12646ae5dbe15ba63bcbfceb4386 Mon Sep 17 00:00:00 2001 From: Abel Armoa <30988000+aarmoa@users.noreply.github.com> Date: Fri, 13 Feb 2026 16:39:25 -0300 Subject: [PATCH 4/8] [FIX] Added restriction to eip712 version in pyproject.toml to avoid breaking changes in the future --- poetry.lock | 2 +- pyinjective/orderhash.py | 5 ++--- pyproject.toml | 2 +- 3 files changed, 4 insertions(+), 5 deletions(-) diff --git a/poetry.lock b/poetry.lock index 33f0ce6c..3bed1a6d 100644 --- a/poetry.lock +++ b/poetry.lock @@ -3623,4 +3623,4 @@ type = ["pytest-mypy"] [metadata] lock-version = "2.1" python-versions = "^3.10" -content-hash = "fb55e3f640158a25e1a1c3834d284ee6eec7c7b979aed5a14aa8e801f23bd805" +content-hash = "a83b14c28e503d1c95e1b597e7bc0f7a46e2b86671b6102156ba7211311bded1" diff --git a/pyinjective/orderhash.py b/pyinjective/orderhash.py index 59a5beac..a0e938ba 100644 --- a/pyinjective/orderhash.py +++ b/pyinjective/orderhash.py @@ -1,16 +1,15 @@ from decimal import Decimal import requests -from eip712.messages import EIP712Domain, EIP712Message +from eip712.messages import EIP712Domain, EIP712Message, EIP712Type from eth_account.messages import _hash_eip191_message as hash_eip191_message from eth_pydantic_types import abi from hexbytes import HexBytes -from pydantic import BaseModel from pyinjective.core.token import Token -class OrderInfo(BaseModel): +class OrderInfo(EIP712Type): SubaccountId: abi.string FeeRecipient: abi.string Price: abi.string diff --git a/pyproject.toml b/pyproject.toml index 287c82aa..007afd61 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -26,7 +26,7 @@ aiohttp = "^3.9.4" # Version dependency due to https://github.com/InjectiveLabs/ bech32 = "*" bip32 = "*" ecdsa = "*" -eip712 = "*" +eip712 = "^0.3.0" grpcio = "*" grpcio-tools = "*" hdwallets = "*" From 90f8b883858bc45e866baf454cf0b70131957794 Mon Sep 17 00:00:00 2001 From: Abel Armoa <30988000+aarmoa@users.noreply.github.com> Date: Fri, 13 Feb 2026 16:56:47 -0300 Subject: [PATCH 5/8] [FIX] Added missing dependency in pyproject.toml file --- poetry.lock | 2 +- pyproject.toml | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/poetry.lock b/poetry.lock index 3bed1a6d..667b7bf3 100644 --- a/poetry.lock +++ b/poetry.lock @@ -3623,4 +3623,4 @@ type = ["pytest-mypy"] [metadata] lock-version = "2.1" python-versions = "^3.10" -content-hash = "a83b14c28e503d1c95e1b597e7bc0f7a46e2b86671b6102156ba7211311bded1" +content-hash = "ee3baab0f976981f38b5b1dd000db2313cbbb72cce5e2a290eb9b108639961b7" diff --git a/pyproject.toml b/pyproject.toml index 007afd61..082c2819 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -27,6 +27,7 @@ bech32 = "*" bip32 = "*" ecdsa = "*" eip712 = "^0.3.0" +eth-pydantic-types = "^0.2.4" grpcio = "*" grpcio-tools = "*" hdwallets = "*" From 1552bad17adfc1b1e6f99d6f683819e2b689836e Mon Sep 17 00:00:00 2001 From: Abel Armoa <30988000+aarmoa@users.noreply.github.com> Date: Tue, 3 Mar 2026 12:52:16 -0300 Subject: [PATCH 6/8] [CHORE] Added cap on max Python supported version to 3.12 --- .github/workflows/run-tests.yml | 2 +- pyproject.toml | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index bac6a0c2..57dda65b 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -8,7 +8,7 @@ jobs: run-tests: strategy: matrix: - python: ["3.10", "3.11", "3.12"] + python: ["3.10", "3.11", "3.12", "3.13", "3.14"] os: [ubuntu-latest, macos-latest] runs-on: ${{ matrix.os }} env: diff --git a/pyproject.toml b/pyproject.toml index 082c2819..33cf594a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "injective-py" -version = "1.13.0" +version = "1.13.1" description = "Injective Python SDK, with Exchange API Client" authors = ["Injective Labs "] license = "Apache-2.0" @@ -21,7 +21,7 @@ include = [ ] [tool.poetry.dependencies] -python = "^3.10" +python = ">=3.10,<3.13" aiohttp = "^3.9.4" # Version dependency due to https://github.com/InjectiveLabs/sdk-python/security/dependabot/18 bech32 = "*" bip32 = "*" @@ -82,7 +82,7 @@ skip_glob = ["pyinjective/proto/*", ".idea/*"] [tool.black] line-length = 120 -target-version = ["py39", "py310", "py311"] +target-version = ["py310", "py311", "py312"] include = '\.pyi?$' # 'extend-exclude' excludes files or directories in addition to the defaults extend-exclude = ''' From f6220b1ec4c9d483f1f1c54a7c05a1d956ebc1b1 Mon Sep 17 00:00:00 2001 From: Abel Armoa <30988000+aarmoa@users.noreply.github.com> Date: Tue, 3 Mar 2026 12:57:22 -0300 Subject: [PATCH 7/8] [CHORE] Updated poetry.lock file --- poetry.lock | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/poetry.lock b/poetry.lock index 667b7bf3..95a77767 100644 --- a/poetry.lock +++ b/poetry.lock @@ -3285,7 +3285,7 @@ files = [ {file = "typing_extensions-4.15.0-py3-none-any.whl", hash = "sha256:f0fa19c6845758ab08074a0cfa8b7aecb71c999ca73d62883bc25cc018c4e548"}, {file = "typing_extensions-4.15.0.tar.gz", hash = "sha256:0cea48d173cc12fa28ecabc3b837ea3cf6f38c6d1136f85cbaaf598984861466"}, ] -markers = {dev = "python_version == \"3.10\"", test = "python_version < \"3.13\""} +markers = {dev = "python_version == \"3.10\""} [[package]] name = "typing-inspection" @@ -3622,5 +3622,5 @@ type = ["pytest-mypy"] [metadata] lock-version = "2.1" -python-versions = "^3.10" -content-hash = "ee3baab0f976981f38b5b1dd000db2313cbbb72cce5e2a290eb9b108639961b7" +python-versions = ">=3.10,<3.13" +content-hash = "74c18c5735b905343e0dc9aec63fa8fe5e240e2220b500c02ddeb161b9325de0" From a329fe53501920c96d18c69a8832f59069d65e58 Mon Sep 17 00:00:00 2001 From: Abel Armoa <30988000+aarmoa@users.noreply.github.com> Date: Tue, 3 Mar 2026 13:11:38 -0300 Subject: [PATCH 8/8] [CHORE] Updated SDK versions for the next release (v1.14.0) --- CHANGELOG.md | 2 ++ pyproject.toml | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 485dccfb..786e6852 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,8 @@ All notable changes to this project will be documented in this file. +## [1.14.0] - 9999-99-99 + ## [1.13.0] - 2026-02-13 ### Changed - Updated all compiled protos for compatibility with Injective core v1.18.0 and Indexer v1.18.3 diff --git a/pyproject.toml b/pyproject.toml index 33cf594a..4a24a74f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "injective-py" -version = "1.13.1" +version = "1.14.0-rc1" description = "Injective Python SDK, with Exchange API Client" authors = ["Injective Labs "] license = "Apache-2.0"