+
Skip to content

Tags: aleph-im/aleph-client

Tags

1.6.1

Toggle 1.6.1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Fix: Relax CRN version check to use custom release also for confident…

…ials and PAYG. (#381)

Also fixed issue that prevent to show all CRNs.

1.6.0

Toggle 1.6.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Feature: Port forwarding (#376)

* temp: used sdk branch need to be repalce

* Refactor: refactor show instances for better code maintenance and using new sdk logic

* Feat: aleph instance port_forwarding ... with unit test

* feat: new help string for Port Forwarder

* Refactor: simplify network parts of instances to use sdk logic

* Fix: instance commands to use new logic from sdk

* Fix :instances unit test

* fix: only get_crns_list should not be call in case it's gpu

* feat: better mocks for crns list

* fix: ports import have change

* fix: unit test

* fix: test_port_forwarder.py

* fix: linting issue

* fix: linting issue

* fix: remove useless mocked parts and fix instance creations for gpu

* fix: unit test and improve a bit coverage

* feature: new test for display feat

* fix: mypy issue type error in test

* test: sanitize url / gpu search in list / fetch crn info

* fix: using mock_crn_list instead of new mock

* fix: lint format issue

* fix: utils was renamed to instance

* Fix: fetch_crn_info

* Fix: unit test with latest sdk change

1.5.1

Toggle 1.5.1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Feature: new SVM chain should parse as sol (#363)

1.5.0

Toggle 1.5.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Migrate from Pydantic V1 to V2 (#293)

* Fix: Project do not use the good version of aleph message and sdk

Aleph-message and sdk now uses pydantic v2 but no released yet
Using the github link atm and wait for the release.

* Fix: Replacing deprecated function after pydantic migration

When upgrading the pydantic version, some function are / will become
deprecated. replacing them in those files.

* feat: Adding custom encoding for JSON serialization

Added `default=extended_json_encoder` to `json.dumps()` to handle serialization
of non-native JSON types, such as dates and other complex objects.

Replacing function that are / will be deprecated in pydantic v2 and v3

* Fix: Conflit between pydantic and fastapi version

Pydantic>=2 is not compatible with fastapi<0.100.0

* Fix: Lint test did not pass and conflict between dependencies

Conflit between pydantic and yamlfix
black did not pass

* fix: Wrong aleph-message, aleph-python-sdk version

* fix: Pydantic 2 being more strict about type validation

With Pydantic v2, strict type validation is enforced. The type field is expected
to have the exact value "POST" as a literal.

* change version of typing_extension

* change version of typing_extension

* style: ymlfix

* style: pyproject-fmt

* style: ruff

- Unused varible deleted

* Fix: Functions are deprecated because of the migration to pydantic2

- Replacing parse_obj() by model_validate()
- Replacing copy() by model_copy()
- Replacing dict() by model_dump()

* fix: Warning about dict() being deprecated

* Fix: We can't access size_mib about Ephemeral and Persistant class because of some changes on aleph_message

Before any change, there were classes dedicated to the size of Ephemeral and Persistent class such as
PersistentVolumeSizeMb and EphemeralVolumeSizeMb.
Now, the size is included inside the classes EphemeralVolume and PersistentVolume so have to access the size
by another method.

- Creating a function to get the max and min size, that way it is more rigorous
- Calling this function to get max and min size of the different volumes

* style: mypy raise errors about unexpected arguments

- Refactor the Dict() class inside the mocks test file to allow any key-value pair to be
passed to the model.

* fix: Missing substrate-interface depedency

* Fix: Reverting some changes I made

Arnaud made some changes about getting hashes that were better but I deleted by mistakes

Putting back his code

* Fix: aleph-message version conflicts between aleph-client and aleph-sdk

* Fix: Make changes from Andres review

Reverting changes about accessing data of PersistentVolumeSizeMib and EphemeralVolumeSize
- creating a function to access annotated type because we can no longer do Persistent.le to get the data

* Fix: Solved last issues on some commands and refactored the method to get the annotation rules.

* Fix: Update the SDK dependency to the last 2.0.0 version.

---------

Co-authored-by: Andres D. Molins <amolinsdiaz@yahoo.es>

1.4.0

Toggle 1.4.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Wrap all cmd args in Annotated + minor fix on file list (#339)

- Wrap all command args in Annotated to allow to easily import CLI as a lib

1.3.1

Toggle 1.3.1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Fix & Improve aggregates + Add permission commands (#330)

* Rewrite aggregate with fixes/improvements + add permission commands

* Add all aggregate tests

1.3.0

Toggle 1.3.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Implement new EVM chains (#296)

* Feature: Implement new EVM chains.

* Fix: Linked to last version deployed on SDK and aleph_message packages.

* Fix: Removed macos-12 from CI as they are deprecated.

1.2.0

Toggle 1.2.0's commit message

Partially verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
We cannot verify signatures from co-authors, and some of the co-authors attributed to this commit require their commits to be signed.
Feature: account managment and sol (#281)

* Feature: Allow Usage of new account handling and solana

* fix: CONFIG_FILE instead of CHAINS_CONFIG_FILE

* fix: CONFIG_FILE instead of CHAINS_CONFIG_FILE

* Fix: refactor to use store only one config at the time

* Fix utils files

* Fix sign message multiline input

* Fix and improve account after SDK upgrade

* Fix and improve instance for new hold-tier chains

* Fix and add tests

* Improve account/instance cmds

* Fix chain selection on account/instance cmds

* Only include crn.hash in instance msg if (is_stream or confidential)

* Fix wrong chain in explorer url for program msgs

* Explicitely ignore crn_url/crn_hash args if (is_stream or confidential)

* Add chain field in account pytests

* New SDK version

* pyproject format

* Improve account pytests

* Fix aiohttp version / erase cmd

---------

Co-authored-by: philogicae <philogicae+github@gmail.com>

1.1.0

Toggle 1.1.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Add: price details when creating flows (instance create cmd), full pr…

…ice details (instance list cmd), available amount (account balance cmd) (#266)

1.0.0

Toggle 1.0.0's commit message

Partially verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
We cannot verify signatures from co-authors, and some of the co-authors attributed to this commit require their commits to be signed.
Feature: Allow PAYG using base (#258)

* Feature: handle superfuild flow

* feat: control of message / flow before starting the instance

* fix: mypy issue

* fix: add setuptools for ci

* Add unit test in pair programming

* fixup! Add unit test in pair programming

* Refactor: handle_flow_reduction and handle_flow into update_flow

* Fix: add type annotations

* fixup! Merge branch 'master' into 1yam-payg

* fixup! Add unit test in pair programming

* fixup! Add unit test in pair programming

* Fix raised error when no flow to reduce + dumby fix echo

* Add qemu_support, confidential_support and stream_reward_address checks

* Fix flow outputs

* Fixes after tests

* Feature: Allow PAYG on bae

* Fix instance confidential adding payment_chain arg

* fix: mypy issue

* Merge from master

* Fix PAYG + balance checks

* Remove default rootfs to allow prompting

* Fix: Update to latest Aleph-SDK version

* Fix name / crn_name

* Fix: Remove BASE chain for now and ceil flow to up number to ensure to have enough tokens.

* Fix: Solve code quality issues.

* Fix: Solve mypy issues.

---------

Co-authored-by: Hugo Herter <git@hugoherter.com>
Co-authored-by: philogicae <philogicae+github@gmail.com>
Co-authored-by: Andres D. Molins <amolinsdiaz@yahoo.es>
点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载