Skip to content

Releases: aleph-im/pyaleph

0.5.9

23 Jan 14:26
Compare
Choose a tag to compare

This new release of the aleph.im Core Channel Node application improve the P2P and message processing performance reducing the number of un-needed messages on the network. Also include other bug fixes, dependency updates, new features such as GPU message support and additional endpoints, documentation improvements, and performance optimizations, all aimed at improving the stability and functionality of the SDK

New Features

  • Message Status Retrieval: Added a new endpoint to retrieve the status of messages. (PR #650)
  • Balance Filtering: Implemented the ability to filter balances by chain on the balance endpoint. (PR #633)
  • Message Hash Listing: Introduced a new feature to list message hashes. (PR #652)
  • GPU Support: Enabled GPU support for Aleph Instances. (PR #666)
  • aioipfs Update: Updated aioipfs to version 0.7.1. (PR #658)
  • Release Candidate: Created a release candidate (0.5.9-rc1). (PR #680)

Bug Fixes

  • Duplicate ack() Calls: Resolved an issue with duplicate ack() method calls. (PR #647)
  • Multichain Indexer Query: Fixed a breaking change in the multichain indexer query. (PR #642)
  • Typing Error: Addressed a typing error. (PR #651)
  • Instance Pricing: Reduced the price of normal instances. (PR #649)
  • messages.json Parameters: Fixed an error related to messages.json start and end block parameters. (PR #653)
  • UnknownHashError: Addressed an UnknownHashError in web.controllers.messages. (PR #661)
  • /posts.json Parameter Naming: Fixed API parameter naming for /posts.json. (PR #659) (Reverted in PR #682)
  • RPC Calls: Reduced the number of RPC calls. (PR #662)
  • VM Cost View: Fixed the VM cost view. (PR #664)
  • aioipfs Import: Addressed an import error caused by aioipfs. (PR #673)
  • Documentation Typo: Fixed a documentation typo related to Sentry. (PR #674)
  • Double-Processed P2P Messages: Resolved an issue with double-processed P2P messages. (PR #676)
  • Pending Message Origin Field: Added an origin field to pending messages. (PR #677)
  • Pending Messages Constraints: Fixed unique constraint issues with pending messages. (PR #679)
  • Postgresql Integrity Errors: Addressed integrity error logs on Postgresql. (PR #683)
  • vm_cost_views Join: Fixed a missing join in vm_cost_views. (PR #684)
  • Volume Deletion: Prevented deletion of volumes used by VMs. (PR #685)
  • IPFS Subscription Crashing: Resolved a crashing issue related to IPFS subscriptions. (PR #687)
  • COSMOS Fix: Addressed an issue with COSMOS. (PR #688)

Dependency Updates

  • Upgraded several dependencies, including uvloop, aio-pika, ujson, urllib3, and requests. (PR #615, #617, #624, #631, #657)
  • Bumped aiohttp from 3.9.5 to 3.11.11. (PR #672)

Other Improvements

  • Code Cleanup: Removed unnecessary comments and clarified code sections. (PR #638)
  • Ethereum Client Configuration: Added a timeout option for the Ethereum client configuration. (PR #665)
  • Documentation: Removed an outdated section from the documentation. (PR #675)
  • IPFS Garbage Collection: Enabled automatic garbage collection for IPFS. (PR #678)

Full list

  • Remove double ack() method call by @nesitor in #647
  • fix: update breaking change on multichain indexer query by @amalcaraz in #642
  • Add already supported EVM chains to use EVMVerifier. by @nesitor in #641
  • Feature: Add new endpoint to retreive message status by @aliel in #650
  • fix typing by @aliel in #651
  • Feature: details and chain filter on balance endpoint by @1yam in #633
  • Chore(deps): Bump uvloop from 0.19 to 0.21.0 by @dependabot in #631
  • Store handler: Remove 'useless' comment and clarify the purpose of the check for not adding files by @aliel in #638
  • Fix: reduce normal instance price by @1yam in #649
  • Chore(deps): Bump aio-pika from 9.1.3 to 9.5.0 by @dependabot in #657
  • Chore(deps): Bump ujson from 5.1.0 to 5.4.0 by @dependabot in #617
  • Chore(deps): Bump urllib3 from 2.0.7 to 2.2.2 by @dependabot in #615
  • Chore(deps): Bump requests from 2.31 to 2.32.3 by @dependabot in #624
  • Aleph-302: fix messages.json start_block and end_block params by @Psycojoker in #653
  • Fix: UnknownHashError in web.controllers.messages by @1yam in #661
  • fix(api): correctly name types paramters of /posts.json by @Psycojoker in #659
  • Reduce RPC calls by @nesitor in #662
  • Implement GPU support on Instances by @nesitor in #666
  • Fix: Vm cost view by @1yam in #664
  • Feature: Update aioipfs to 0.7.1 by @1yam in #658
  • config: Add a timeout option for the ethereum client by @aliel in #665
  • Feature: Add new endpoint to list message hashes by @aliel in #652
  • Fix: import multihash (caused by aioipfs) by @1yam in #673
  • doc: remove useless firewall section by @Psycojoker in #675
  • doc: typo DNS -> DSN for sentry by @Psycojoker in #674
  • Solve double processed P2P messages by @nesitor in #676
  • Chore(deps): Bump urllib3 from 2.2.2 to 2.3.0 by @dependabot in #671
  • IPFS: enable automatic gc by @aliel in #678
  • Fix: add origin pending message field by @1yam in #677
  • Fix: Pending message miss unique constraint by @1yam in #679
  • Feature: Create 0.5.9-rc1 release candidate by @nesitor in #680
  • Revert "fix(api): correctly name types paramters of /posts.json (#659)" by @aliel in #682
  • Fix: pending_messages constraints by @1yam in #681
  • Solve integrity error logs on Postgresql by @nesitor in #683
  • Fix: vm_cost_views missing join with status by @1yam in #684
  • Prevent delete volumes used by VMs by @nesitor in #685
  • Chore(deps): Bump aiohttp from 3.9.5 to 3.11.11 by @dependabot in #672
  • Solve crashing issue on IPFS subscription exception by @nesitor in #687
  • fix COSMOS by @aliel in #688

New Contributors

Full Changelog: 0.5.8...0.5.9

Upgrade guide

Make sure that your node is running v0.5.1 or later. If that is not the case already, follow the upgrade guide here.

From v0.5.1, simply bump the version of these services:

  • On the docker-compose.yml file, in the pyaleph and pyaleph-api services must use alephim/pyaleph-node:0.5.9.
  • On the docker-compose.yml file, in the p2p-service service must use alephim/p2p-service:0.1.4.

⚠️ we removed the v in the version number

Then, restart your node: docker-compose pull && docker-compose down && docker-compose up -d.

0.5.9-rc4

16 Jan 17:46
Compare
Choose a tag to compare
0.5.9-rc4 Pre-release
Pre-release

This new release of the aleph.im Core Channel Node application improve the P2P and message processing performance reducing the number of un-needed messages on the network. Also include other bug fixes, dependency updates, new features such as GPU message support and additional endpoints, documentation improvements, and performance optimizations, all aimed at improving the stability and functionality of the SDK

Bug Fixes:

  • Removed unnecessary duplicate ack() method call (by @nesitor).
  • Fixed a breaking change in the multichain indexer query (by @amalcaraz).
  • Addressed an issue with typing (by @aliel).
  • Reduced the price of normal instances (by @1yam).
  • Fixed an error related to unknown hashes (by @1yam).
  • Corrected API parameter names for /posts.json (by @Psycojoker).
  • Fixed issues related to message processing (by @nesitor, @1yam).
  • Fixed errors in VM cost view and messages table (by @1yam).
  • Addressed import errors related to aioipfs (by @1yam).
  • Fixed typos in documentation (by @Psycojoker).
  • Resolved issues with pending messages and database integrity (by @1yam, @nesitor).
  • Prevented accidental deletion of volumes used by VMs (by @nesitor).

Dependency Updates:

  • Upgraded ledgeroth from version 0.9.1 to 0.10.0 (by @dependabot).
  • Upgraded uvloop from version 0.19 to 0.21.0 (by @dependabot).
  • Upgraded aio-pika from version 9.1.3 to 9.5.0 (by @dependabot).
  • Upgraded ujson from version 5.1.0 to 5.4.0 (by @dependabot).
  • Upgraded urllib3 from versions 2.0.7 to 2.2.2 and then to 2.3.0 (by @dependabot).
  • Upgraded requests from version 2.31 to 2.32.3 (by @dependabot).

New Features:

  • Added VmClient.operate function (by @olethanh).
  • Implemented a new endpoint to retrieve message status (by @aliel).
  • Added support for filtering balances by chain (by @1yam).
  • Introduced a new endpoint to list message hashes (by @aliel).
  • Implemented GPU support for Instances (by @nesitor).
  • Updated aioipfs to version 0.7.1 (by @1yam).
  • Added a configuration option for Ethereum client timeout (by @aliel).
  • Created a new endpoint to list message hashes (by @aliel).

Documentation Improvements:

  • Updated default memory value in the create_instance docstring (by @RezaRahemtola).
  • Removed unnecessary comments and clarified code purpose (by @aliel).

Other:

  • Reverted a change to API parameter names due to conflicts (by @aliel).
  • Created a release candidate (v0.5.9-rc1) (by @nesitor).

What's Changed

  • Remove double ack() method call by @nesitor in #647
  • fix: update breaking change on multichain indexer query by @amalcaraz in #642
  • Add already supported EVM chains to use EVMVerifier. by @nesitor in #641
  • Feature: Add new endpoint to retreive message status by @aliel in #650
  • fix typing by @aliel in #651
  • Feature: details and chain filter on balance endpoint by @1yam in #633
  • Chore(deps): Bump uvloop from 0.19 to 0.21.0 by @dependabot in #631
  • Store handler: Remove 'useless' comment and clarify the purpose of the check for not adding files by @aliel in #638
  • Fix: reduce normal instance price by @1yam in #649
  • Chore(deps): Bump aio-pika from 9.1.3 to 9.5.0 by @dependabot in #657
  • Chore(deps): Bump ujson from 5.1.0 to 5.4.0 by @dependabot in #617
  • Chore(deps): Bump urllib3 from 2.0.7 to 2.2.2 by @dependabot in #615
  • Chore(deps): Bump requests from 2.31 to 2.32.3 by @dependabot in #624
  • Aleph-302: fix messages.json start_block and end_block params by @Psycojoker in #653
  • Fix: UnknownHashError in web.controllers.messages by @1yam in #661
  • fix(api): correctly name types paramters of /posts.json by @Psycojoker in #659
  • Reduce RPC calls by @nesitor in #662
  • Implement GPU support on Instances by @nesitor in #666
  • Fix: Vm cost view by @1yam in #664
  • Feature: Update aioipfs to 0.7.1 by @1yam in #658
  • config: Add a timeout option for the ethereum client by @aliel in #665
  • Feature: Add new endpoint to list message hashes by @aliel in #652
  • Fix: import multihash (caused by aioipfs) by @1yam in #673
  • doc: remove useless firewall section by @Psycojoker in #675
  • doc: typo DNS -> DSN for sentry by @Psycojoker in #674
  • Solve double processed P2P messages by @nesitor in #676
  • Chore(deps): Bump urllib3 from 2.2.2 to 2.3.0 by @dependabot in #671
  • IPFS: enable automatic gc by @aliel in #678
  • Fix: add origin pending message field by @1yam in #677
  • Fix: Pending message miss unique constraint by @1yam in #679
  • Feature: Create 0.5.9-rc1 release candidate by @nesitor in #680
  • Revert "fix(api): correctly name types paramters of /posts.json (#659)" by @aliel in #682
  • Fix: pending_messages constraints by @1yam in #681
  • Solve integrity error logs on Postgresql by @nesitor in #683
  • Fix: vm_cost_views missing join with status by @1yam in #684
  • Prevent delete volumes used by VMs by @nesitor in #685

New Contributors

Full Changelog: 0.5.8...0.5.9-rc4

0.5.8

04 Dec 17:15
Compare
Choose a tag to compare

This new release of the aleph.im Core Channel Node application improve and reduce the number of RPC calls to 3 times less.

Bugfixes

  • Reduce RPC calls to every 30 seconds instead every 10 seconds by @nesitor in #662

What's changed

  • Reduce RPC calls to every 30 seconds instead every 10 seconds by @nesitor in #662

Full Changelog: 0.5.7...0.5.8

Upgrade guide

Make sure that your node is running v0.5.1 or later. If that is not the case already, follow the upgrade guide here.

From v0.5.1, simply bump the version of these services:

  • On the docker-compose.yml file, in the pyaleph and pyaleph-api services must use alephim/pyaleph-node:0.5.8.

⚠️ we removed the v in the version number

Then, restart your node: docker-compose pull && docker-compose down && docker-compose up -d.

0.5.7

12 Nov 10:37
4251795
Compare
Choose a tag to compare

This new release of the aleph.im Core Channel Node application improve the P2P issues related with duplicated messages.

Bugfixes

  • Avoid dealing with duplicated pending messages by @nesitor in #645

What's changed

  • Avoid dealing with duplicated pending messages by @nesitor in #645
  • Increase package to version 0.5.7 by @nesitor in #646

Full Changelog: 0.5.6...0.5.7

Upgrade guide

Make sure that your node is running v0.5.1 or later. If that is not the case already, follow the upgrade guide here.

From v0.5.1, simply bump the version of these services:

  • On the docker-compose.yml file, in the pyaleph and pyaleph-api services must use alephim/pyaleph-node:0.5.7.

⚠️ we removed the v in the version number

Then, restart your node: docker-compose pull && docker-compose down && docker-compose up -d.

0.5.6

11 Nov 11:18
fd4e2ee
Compare
Choose a tag to compare

This new release of the aleph.im Core Channel Node application solves a P2P issue that was creating duplicated messages.

Bugfixes

Full Changelog: 0.5.5...0.5.6

Upgrade guide

Make sure that your node is running v0.5.1 or later. If that is not the case already, follow the upgrade guide here.

From v0.5.1, simply bump the version of these services:

  • On the docker-compose.yml file, in the pyaleph and pyaleph-api services must use alephim/pyaleph-node:0.5.6.

⚠️ we removed the v in the version number

Then, restart your node: docker-compose pull && docker-compose down && docker-compose up -d.

0.5.5

04 Nov 18:26
75e9f41
Compare
Choose a tag to compare

This new release of the aleph.im Core Channel Node application significantly solve an important error on instances and implements support for more blockchains and tokens.

Bug Fixes

  • Docker: Fixed an issue where the Docker image wasn't built for the main branch (by @hoh).
  • Tests: Resolved a test error related to mock.called_once (by @Psycojoker).

Improvements

  • Automation: Automated dependency updates configured using Dependabot (by @Psycojoker).
  • Contributions: Added a template for creating new pull requests (by @olethanh).
  • EVM: Implemented support for new Ethereum Virtual Machine (EVM) chains (by @nesitor).
  • Modernization: Migrated the project to Python 3.12, Hatch, and pyproject.toml for better project structure and dependency management (by @Psycojoker).
  • Updates and Documentation: Upgraded project dependencies and improved documentation (by @Psycojoker).
  • Formatting: Added yamlfix tool for automatic YAML formatting (by @Psycojoker).
  • Configuration: Added missing configurations for yamlfix (by @Psycojoker).
  • Messages: Implemented a new path for message content access (by @nesitor).

Dependency Updates

  • asyncpg: Upgraded from version 0.28 to 0.30.0 (by @dependabot).

Full list

  • Fix: Docker image was not built for main branch by @hoh in #601
  • chore: configure dependabot to auto update dependencies by @Psycojoker in #604
  • Provide a template for new PRs by @olethanh in #596
  • Solve large int errors by @nesitor in #610
  • Added large ints test case by @nesitor in #611
  • ALEPH-7 project modernization: migrate project to python 3.12, hatch, pyproject.toml, upgrade dependencies, migrate to latest pytezos and add a bunch of other improvements and some documentation improvement. by @Psycojoker in #574
  • add yamlfix tool to autoformat yaml by @Psycojoker in #592
  • add missing configurations options for yamlfix by @Psycojoker in #625
  • fix: mock.called_once is not a valid test by @Psycojoker in #602
  • Implement messages content path by @nesitor in #634
  • Chore(deps): Bump asyncpg from 0.28 to 0.30.0 by @dependabot in #632
  • Implement new EVM chains by @nesitor in #637

Full Changelog: 0.5.4...0.5.5

Upgrade guide

Make sure that your node is running v0.5.1 or later. If that is not the case already, follow the upgrade guide here.

From v0.5.1, simply bump the version of these services:

  • On the docker-compose.yml file, in the pyaleph and pyaleph-api services must use alephim/pyaleph-node:0.5.5.

⚠️ we removed the v in the version number

Then, restart your node: docker-compose pull && docker-compose down && docker-compose up -d.

0.5.4

05 Sep 15:23
b858351
Compare
Choose a tag to compare

This new release of the aleph.im Core Channel Node application significantly solve an important error on instances and implements support for more blockchains and tokens.

What's Changed

  • Solve issue with instance messages and requirements empty field by @nesitor in #599
  • Created new version 0.5.4 by @nesitor in #600

Full Changelog: v0.5.3...0.5.4

Upgrade guide

Make sure that your node is running v0.5.1 or later. If that is not the case already, follow the upgrade guide here.

From v0.5.1, simply bump the version of these services:

  • On the docker-compose.yml file, in the pyaleph and pyaleph-api services must use alephim/pyaleph-node:0.5.4.

⚠️ we removed the v in the version number

Then, restart your node: docker-compose pull && docker-compose down && docker-compose up -d.

v0.5.3

26 Aug 12:58
38f8fa7
Compare
Choose a tag to compare
v0.5.3 Pre-release
Pre-release

This new release of the aleph.im Core Channel Node application significantly improves the stability of the nodes solving some bugs and errors.

Key Highlights of the Release:

  1. Core Functionality: Resolved several issues related to core functionalities such as axios headers, dependency management, metric handling, error handling, aggregate filters, sorting, chain writing, and upload.

  2. Data Handling: Addressed problems with data handling, including initial message sync on private CCN, Flow pricing calculations, and volume handling.

What's Changed

  • docs metric name correction by @hoh in #553
  • Improve error handling by @hoh in #550
  • Fix aggregate filter by keys by @aliel in #556
  • Fix sortBy/sortOrder on Message/Post queries by @philogicae in #555
  • Fix: Chain writer failed due to TypeError by @hoh in #549
  • Add CodeCov for code coverage follow up by @hoh in #558
  • Add param to only return the value of an aggregate by its key by @aliel in #557
  • Allow developers to use nix-shell to get started by @hoh in #554
  • Fix upload by @aliel in #559
  • Fix Pydantic alias issue by @aliel in #560
  • Add initial messages sync on private CCN by @nesitor in #561
  • Solve initial sync script issue by @nesitor in #562
  • Solve Flow pricing calculation issues by @nesitor in #566
  • Fix: Upload Endpoints by @1yam in #565
  • doc(README): we don't use mongodb anymore by @Psycojoker in #567
  • doc: add instructions to run tests by @Psycojoker in #569
  • a lot of fixes and improvement for running local tests using nix-shell because it was just broken by @Psycojoker in #570
  • feat: upgrade aleph-message from 0.4.2 to 0.4.8 and fix all mypy issues. by @Psycojoker in #578
  • doc(nix): the database is named aleph for the user aleph by @Psycojoker in #577
  • Fix: nix-shell did not use latest stable channel by @hoh in #579
  • Fix: Wrong usage of node_hash by @1yam in #583
  • Fix: Handle no volume found instead of error 500 by @1yam in #581
  • Use latest Docker RC version by @nesitor in #586
  • Allow to connect postgresql in a passwordless mode and with a unix socket by @Psycojoker in #584
  • doc(docker): fix typo in path by @Psycojoker in #587
  • doc: remove references to MongoDB by @Psycojoker in #585
  • doc: update docker documentation and script to match reality by @Psycojoker in #588
  • Fix: check if requirements exist on message by @1yam in #591
  • Fix: nix-shell raised 'pop_var_context' by @hoh in #594
  • Fix: Update aleph-message package version by @nesitor in #597
  • Create version 0.5.3 by @nesitor in #598

New Contributors

Full Changelog: v0.5.2...v0.5.3

v0.5.3-rc2

30 Jul 10:47
Compare
Choose a tag to compare
v0.5.3-rc2 Pre-release
Pre-release

This new release of the aleph.im Core Channel Node application significantly improves the stability of the nodes solving some bugs and errors.

Key Highlights of the Release:

  1. Core Functionality: Resolved several issues related to core functionalities such as axios headers, dependency management, metric handling, error handling, aggregate filters, sorting, chain writing, and upload.

  2. Data Handling: Addressed problems with data handling, including initial message sync on private CCN, Flow pricing calculations, and volume handling.

What's Changed

  • Implement workaround for axios not passing Content-Length headers in multipart fields by @MHHukiewitz in #537
  • Fix: Dependency aleph-message used an rc, stable available by @hoh in #546
  • Fix: All node metrics were returned by default by @hoh in #547
  • docs metric name correction by @hoh in #553
  • Improve error handling by @hoh in #550
  • Fix aggregate filter by keys by @aliel in #556
  • Fix sortBy/sortOrder on Message/Post queries by @philogicae in #555
  • Fix: Chain writer failed due to TypeError by @hoh in #549
  • Add CodeCov for code coverage follow up by @hoh in #558
  • Add param to only return the value of an aggregate by its key by @aliel in #557
  • Allow developers to use nix-shell to get started by @hoh in #554
  • Fix upload by @aliel in #559
  • Fix Pydantic alias issue by @aliel in #560
  • Add initial messages sync on private CCN by @nesitor in #561
  • Solve initial sync script issue by @nesitor in #562
  • Solve Flow pricing calculation issues by @nesitor in #566
  • Fix: Upload Endpoints by @1yam in #565
  • doc(README): we don't use mongodb anymore by @Psycojoker in #567
  • doc: add instructions to run tests by @Psycojoker in #569
  • a lot of fixes and improvement for running local tests using nix-shell because it was just broken by @Psycojoker in #570
  • feat: upgrade aleph-message from 0.4.2 to 0.4.8 and fix all mypy issues. by @Psycojoker in #578
  • doc(nix): the database is named aleph for the user aleph by @Psycojoker in #577
  • Fix: nix-shell did not use latest stable channel by @hoh in #579
  • Fix: Wrong usage of node_hash by @1yam in #583

New Contributors

Full Changelog: v0.5.2-rc3...v0.5.3-rc2

v0.5.2

24 Jan 17:15
@hoh hoh
cad2d9c
Compare
Choose a tag to compare

This new release of the aleph.im Core Channel Node application significantly improves the performance of the nodes, allowing them to scale the ever increasing usage of the network.

Key Highlights of the Release:

  1. Event-Based Processing: A major shift in this update is the transition to event-based processing for both transactions (TX) and message handling. This change is pivotal in optimizing the flow and handling of information within the network, ensuring more responsive and reliable operations.

  2. Asynchronous Garbage Collector: The deletion of temporary files and files deleted by FORGET messages is now asynchronous and does not block other processes anymore.

  3. New Metrics API endpoint for CRN & CNN: Obtain the metrics of a specific node using /api/v0/core/{node_id}/metrics or /api/v0/compute/{node_id}/metrics from the API of a Core Channel Node.

What's Changed

Full Changelog: v0.5.1...v0.5.2

Upgrade guide

Make sure that your node is running v0.5.1 or later. If that is not the case already, follow the upgrade guide here.

From v0.5.1, simply bump the version of these services:

  • The pyaleph and pyaleph-api services must use alephim/pyaleph-node:0.5.2.

⚠️ we removed the v in the version number

Then, restart your node: docker-compose pull && docker-compose down && docker-compose up -d.