Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion bridge-sdk/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "aleo-bridge-sdk"
version = "0.7.0"
version = "0.8.0"
description = "Bridge Aleo, Ethereum, Arc, Base, Arbitrum and Solana assets with Hyperlane, Circle xReserve and CCTP"
readme = "README.md"
requires-python = ">=3.10"
Expand Down
2 changes: 1 addition & 1 deletion bridge-sdk/python/aleo_bridge/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

from pathlib import Path

__version__ = "0.7.0"
__version__ = "0.8.0"
_ALEO_SDK_MINIMUM = "0.7.0"


Expand Down
2 changes: 1 addition & 1 deletion bridge-sdk/tests/test_client_lifecycle.py
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ def test_public_exports_pin_pre_existing_set_and_add_lifecycle_names():
assert hasattr(aleo_bridge, name), name
assert set(PRE_EXISTING_EXPORTS) <= set(aleo_bridge.__all__)
assert set(NEW_EXPORTS) <= set(aleo_bridge.__all__)
assert aleo_bridge.__version__ == "0.7.0"
assert aleo_bridge.__version__ == "0.8.0"
assert aleo_bridge.lifecycle is lifecycle
assert aleo_bridge.prepare is lifecycle.prepare
assert aleo_bridge.bridge_tools is agent.bridge_tools
Expand Down
4 changes: 2 additions & 2 deletions bridge-sdk/tests/test_package.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

def test_version_is_pinned_in_lockstep():
pyproject = tomllib.loads((ROOT / "pyproject.toml").read_text())
assert pyproject["project"]["version"] == "0.7.0" == aleo_bridge.__version__
assert pyproject["project"]["version"] == "0.8.0" == aleo_bridge.__version__
assert pyproject["project"]["name"] == "aleo-bridge-sdk"
deps = pyproject["project"]["dependencies"]
for base in ("aleo-sdk", "pynacl", "web3", "eth-account", "solders", "solana", "privy-client", "dynamic-wallet-sdk"):
Expand Down Expand Up @@ -105,7 +105,7 @@ def test_import_without_optional_extras(monkeypatch):
monkeypatch.delitem(sys.modules, name) # reverted at teardown — a fresh reimport below must not
# leak new module/class objects into tests that run after this one
pkg = importlib.import_module("aleo_bridge")
assert pkg.__version__ == "0.7.0"
assert pkg.__version__ == "0.8.0"
assert issubclass(pkg.RouteNotFoundError, pkg.BridgeError)


Expand Down
2 changes: 1 addition & 1 deletion sdk-abi/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion sdk-abi/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

[package]
name = "aleo-abi"
version = "0.7.0"
version = "0.8.0"
edition = "2024"
license = "GPL-3.0-or-later"
description = "Python bindings for ABI generation from Aleo bytecode (via Leo's leo-abi crate)"
Expand Down
2 changes: 1 addition & 1 deletion sdk-abi/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "maturin"

[project]
name = "aleo-contract-abi-generator"
version = "0.7.0"
version = "0.8.0"
description = "Python bindings for ABI generation from Aleo bytecode"
readme = "README.md"
license = {text = "GPL-3.0-or-later"}
Expand Down
2 changes: 1 addition & 1 deletion sdk/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion sdk/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "aleo"
authors = ["Konstantin Pandl", "Mike Turner", "Roman Proskuryakov"]
version = "0.7.0"
version = "0.8.0"
description = "A Python sdk for zero-knowledge cryptography based on Aleo"
edition = "2021"
license = "GPL-3.0-or-later"
Expand Down
2 changes: 1 addition & 1 deletion sdk/docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
copyright = '2019-2026, Provable Inc.'
author = 'kpp'

version = '0.7.0'
version = '0.8.0'

# -- General configuration

Expand Down
2 changes: 1 addition & 1 deletion sdk/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[project]
name = "aleo-sdk"
description = "Python SDK for building zero-knowledge apps and DeFi on the Aleo network"
version = "0.7.0"
version = "0.8.0"
readme = "Readme.md"
license = {file = "LICENSE.md"}
authors = [
Expand Down
2 changes: 1 addition & 1 deletion shield-swap-sdk/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ pip install -e "shield-swap-sdk[async]" # + AsyncShieldSwap (httpx)
pip install -e "shield-swap-sdk[mcp]" # + the MCP server
```

Requires `aleo-sdk>=0.5.1` (this repo's SDK; imports as `aleo`) and Python 3.10+.
Requires `aleo-sdk>=0.8.0` (this repo's SDK; imports as `aleo`) and Python 3.10+.

## First swap example

Expand Down
4 changes: 2 additions & 2 deletions shield-swap-sdk/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
[project]
name = "shield-swap-sdk"
version = "0.7.0"
version = "0.8.0"
description = "Python SDK for the shield swap AMM Dex on Aleo"
readme = "README.md"
requires-python = ">=3.10"
dependencies = ["aleo-sdk>=0.7.0", "requests>=2"] # 0.7.0: aleo.compliance (freeze-list proofs)
dependencies = ["aleo-sdk>=0.8.0", "requests>=2"] # 0.8.0: aleo.inventory (record management)

[project.optional-dependencies]
async = ["httpx>=0.27"]
Expand Down
14 changes: 7 additions & 7 deletions shield-swap-sdk/python/aleo_shield_swap/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,18 +14,18 @@
amount_in=10**9).delegate()
out = dex.claim_swap_output(handle).delegate()
"""
_ALEO_SDK_MINIMUM = "0.7.0"
_ALEO_SDK_MINIMUM = "0.8.0"


def _require_aleo_sdk() -> None:
"""Fail at import, naming the fix, when the installed aleo-sdk predates ``aleo.compliance``.
"""Fail at import, naming the fix, when the installed aleo-sdk predates ``aleo.inventory``.

Freeze-list proofs come from ``aleo.compliance``, which first shipped in aleo-sdk 0.7.0. An
older install would otherwise fail on the first import of the client with a bare
``ModuleNotFoundError``.
Record management comes from ``aleo.inventory``, which first shipped in aleo-sdk 0.8.0
(freeze-list proofs, from ``aleo.compliance``, arrived in 0.7.0). An older install would
otherwise fail on the first import of the client with a bare ``ModuleNotFoundError``.
"""
try:
import aleo.compliance # noqa: F401
import aleo.inventory # noqa: F401
except ImportError as exc:
from importlib.metadata import PackageNotFoundError, version
try:
Expand Down Expand Up @@ -118,7 +118,7 @@ def agent_guide() -> str:
return files(__name__).joinpath("AGENTS.md").read_text()


__version__ = "0.7.0"
__version__ = "0.8.0"

__all__ = [
"ShieldSwap", "AsyncShieldSwap", "ApiClient", "AsyncApiClient",
Expand Down
8 changes: 4 additions & 4 deletions shield-swap-sdk/tests/test_package.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@


def test_version():
assert aleo_shield_swap.__version__ == "0.7.0"
assert aleo_shield_swap.__version__ == "0.8.0"


def test_lifecycle_exports():
Expand Down Expand Up @@ -32,7 +32,7 @@ def test_import_guard_names_the_aleo_sdk_upgrade(monkeypatch):
import pytest

import aleo_shield_swap
aleo_shield_swap._require_aleo_sdk() # the installed sdk has aleo.compliance
monkeypatch.setitem(sys.modules, "aleo.compliance", None) # simulate an aleo-sdk without it
with pytest.raises(ImportError, match=r'needs aleo-sdk>=0\.7\.0 \(found .*\); run: pip install -U "aleo-sdk>=0\.7\.0"'):
aleo_shield_swap._require_aleo_sdk() # the installed sdk has aleo.inventory
monkeypatch.setitem(sys.modules, "aleo.inventory", None) # simulate an aleo-sdk without it
with pytest.raises(ImportError, match=r'needs aleo-sdk>=0\.8\.0 \(found .*\); run: pip install -U "aleo-sdk>=0\.8\.0"'):
aleo_shield_swap._require_aleo_sdk()
Loading