Releases: aleph-im/pyaleph
0.5.8
This new release of the aleph.im Core Channel Node application improve and reduce the number of RPC calls to 3 times less.
Bugfixes
What's changed
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 thepyaleph
andpyaleph-api
services must usealephim/pyaleph-node:0.5.8
.
⚠️ we removed thev
in the version number
Then, restart your node: docker-compose pull && docker-compose down && docker-compose up -d
.
0.5.7
This new release of the aleph.im Core Channel Node application improve the P2P issues related with duplicated messages.
Bugfixes
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 thepyaleph
andpyaleph-api
services must usealephim/pyaleph-node:0.5.7
.
⚠️ we removed thev
in the version number
Then, restart your node: docker-compose pull && docker-compose down && docker-compose up -d
.
0.5.6
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 thepyaleph
andpyaleph-api
services must usealephim/pyaleph-node:0.5.6
.
⚠️ we removed thev
in the version number
Then, restart your node: docker-compose pull && docker-compose down && docker-compose up -d
.
0.5.5
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 thepyaleph
andpyaleph-api
services must usealephim/pyaleph-node:0.5.5
.
⚠️ we removed thev
in the version number
Then, restart your node: docker-compose pull && docker-compose down && docker-compose up -d
.
0.5.4
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 thepyaleph
andpyaleph-api
services must usealephim/pyaleph-node:0.5.4
.
⚠️ we removed thev
in the version number
Then, restart your node: docker-compose pull && docker-compose down && docker-compose up -d
.
v0.5.3
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:
-
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.
-
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
- @aliel made their first contribution in #556
- @philogicae made their first contribution in #555
Full Changelog: v0.5.2...v0.5.3
v0.5.3-rc2
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:
-
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.
-
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
- @aliel made their first contribution in #556
- @philogicae made their first contribution in #555
- @Psycojoker made their first contribution in #567
Full Changelog: v0.5.2-rc3...v0.5.3-rc2
v0.5.2
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:
-
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.
-
Asynchronous Garbage Collector: The deletion of temporary files and files deleted by FORGET messages is now asynchronous and does not block other processes anymore.
-
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
- Internal: remove useless variable in commands.py by @odesenfans in #491
- Doc: configuration module by @odesenfans in #493
- Internal: remove test-only method of MessageHandler by @odesenfans in #494
- Internal: split message handler by @odesenfans in #495
- CI: do not build on push by @odesenfans in #499
- Internal: TX processing is now event-based by @odesenfans in #492
- Chore: bump aio_pika to 9.1.5 by @odesenfans in #496
- Chore: bump alembic to 1.12.1 by @odesenfans in #498
- Chore: bump asyncpg to 0.28.0 by @odesenfans in #501
- Chore: bump coincurve to 18.0.0 by @odesenfans in #502
- Chore: bump aiocache to 0.12.2 by @odesenfans in #497
- Chore: bump configparser to 6.0.0 by @odesenfans in #503
- Chore: bump eth_account to 0.10.0 by @odesenfans in #504
- Chore: bump pytz to 2023.3 by @odesenfans in #506
- Chore: bump gunicorn to 21.2.0 by @odesenfans in #505
- Chore: bump Redis (Python lib) to 5.0.1 by @odesenfans in #507
- Chore: bump Sentry SDK to 1.34.0 by @odesenfans in #508
- Chore: bump substrate-interface to 1.7.4 by @odesenfans in #510
- Chore: bump to uvloop 0.19.0 by @odesenfans in #512
- Chore: bump setproctitle to 1.3.3 by @odesenfans in #509
- Chore: bump web3 to 6.11.2 by @odesenfans in #513
- Chore: bump urllib3 to 2.0.7 and requests to 2.31.0 by @odesenfans in #511
- Chore: bump Kubo to 0.23.0 by @odesenfans in #515
- Internal: message processing is now event-based by @odesenfans in #500
- Fix: warning on failure to close node cache properly by @odesenfans in #514
- Feature: asynchronous garbage collector by @odesenfans in #516
- Release candidate: v0.5.2-rc1 by @odesenfans in #517
- CI: enable -Werror for pytest by @odesenfans in #518
- Revert: downgrade Kubo from 0.23.0 to 0.15.0 by @odesenfans in #519
- Release candidate: v0.5.2-rc2 by @odesenfans in #521
- Fix: Conflict between multiple database migrations by @hoh in #531
- Filter and sort objects (messages, posts, etc) by confirmation block ID #445 by @MHHukiewitz in #446
- 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
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
andpyaleph-api
services must usealephim/pyaleph-node:0.5.2
.
⚠️ we removed thev
in the version number
Then, restart your node: docker-compose pull && docker-compose down && docker-compose up -d
.
v0.5.2-rc4
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
Full Changelog: v0.5.2-rc3...v0.5.2-rc4
v0.5.2-rc3
What's Changed
- Fix: Conflict between multiple database migrations by @hoh in #531
- Filter and sort objects (messages, posts, etc) by confirmation block ID #445 by @MHHukiewitz in #446
Full Changelog: v0.5.2-rc2...v0.5.2-rc3
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
andpyaleph-api
services must usealephim/pyaleph-node:0.5.2-rc3
.
⚠️ we removed thev
in the version number
Then, restart your node: docker-compose pull && docker-compose down && docker-compose up -d
.