Releases: ProvableHQ/sdk
v0.9.8
SDK Version v0.9.8 is a release tracking SnarkVM v4.2.0 and SnarkOS v4.2.0.
Features
- Robust Private Function Executions: Private function execution now complete at nearly %100 success rate. This is enabled via the SnapshotQuery (built by @christianwwwwwwww) that uses the new /statepaths endpoints to fetch the statepaths for all record inputs to a function with a fixed stateroot. This object stores all stateroot, statepath, and block height info within the Query object to ensure consistency of
stateroot
betweenstatepath
fetches. - Sender Ciphertext Decryption: Ability to decrypt sender ciphertexts within the
RecordPlaintext
andEncryptionToolbox
objects, allowing SDK users a convenient way to determine the sender of transactions. - Verbose Transaction Error Handling: The
AleoNetworkClient
now has the option to setverbose
mode which enables rich error information when transactions fail.
v0.10.0-testnet-rc
SDK Version v0.10.0-testnet-rc is a patch release with the following upgrades:
Fixes
- Implements the
SnarkVM
QueryTrait
using theSnapshotQuery
: This query calls the new/statePaths
endpoint developed for SnarkOS which ensures a consistent stateroot is fetched for multiple commitments avoiding failures due to stateroots being different between iterations - Adds the ?debug=true flag to transaction broadcasts which return debug information as to why transactions failed
Note that this SDK release is a pre-release meant for testing the newest SnarkOS version and will not work in production until these changes are released to the public.
v0.9.7
SDK Version 0.9.7 is a patch release which fixes split
and upgrade
transactions and enables two important features.
Fixes.
- Fixes
buildExecutionTransaction
function to build valid transactions for thecredits.aleo/split
andcredits.aleo/upgrade
functions.
Features
- Adds the
submitProvingRequest
function to theAleoNetworkClient
to enable sending of ProvingRequests to remote proving services. - Enables the number of constraints to be read from VerifyingKeys.
v0.9.6
What's Changed
- [Update] Upgrade SnarkVM to v4.1.0 in PR 1075
- Execution of arbitrary program versions is enabled.
- Deployment using constructors is now supported.
Full Changelog: v0.9.5...v0.9.6
SDK Release v0.9.5
SDK Version 0.9.5 includes the following.
Enhancements
- Addition of
Integer
andBoolean
plaintext types to the SDK. - Addition of Bulk Record decryption utilties.
- Addition of
getLatestEdition
method to the network client which returns the currently deployed edition of a program. - Ability to get multiple editions of a program using the
getProgram
method of the network client.
v0.9.4
SDK Version 0.9.4 includes the following enhancements and fixes.
Fixes
- Fix offline transaction creation via the SDK to enable fully offline transaction creation. To use this functionality, set your SDK dependency to
0.9.4-offline-rc
- Fixes SDK docstrings and completion of underspecified docstrings.
Enhancements
- Addition of a
buildAuthorizationUnchecked
method which allows building authorizations without building a circuit, allowing for build fast requests to trusted external provers. - Addition of a ProvingRequest object for offloading proving to trusted provers.
v0.9.3
SDK Version 0.9.e will include the following enhancements and fixes.
Feature Additions
- Users of the SDK will be able to create authorization objects from the SDK.
- Methods added to generate record view keys and decrypt records using them.
- Ability to generate transition view keys using account view keys.
- Addition of a convenience method to decrypt an entire transition using an account view key.
- Addition of a
EncryptionToolkit
object that provides convenience methods for encrypting and decrypting key Aleo protocol objects in JS.
v0.9.2
SDK Version v0.9.2 includes the following fixes and enhancements:
Fixes
- Fix strict module resolution required by stricter module resolution introduced in the most recent versions of typescript.
moduleResolution: nodenext
andmoduleResolution: node16
now work correctly.
v0.9.0
SDK Version v0.9.0 includes the following fixes and enhancements:
Fixes
- Fix
unspent
check infindRecords
/findUnspentRecords
- Fix issue related to function import ordering for offline function verification
Enhancements
- Implementation of a network retry to handle function errors
- Implement a client-side awaitable future for transactions submitted to the network
v0.8.8
Changelog
Fixes
- Fix
Invalid Account
error in SDK deployments - Fixes documentation errors in
Account
, andNetworkClient
,ProgramManager
, andWasm
documentation - Update SnarkVM Version to v1.5.0
Enhancements
- Adds the ability to specify templates to create in
create-leo-app
- Automatic minimum fee calculation, developers no longer need to specify minimum fees
- Pre-check of sufficient public balance for public fees prior to execution via the ProgramManager.
fromFields
/toFields
,fromBitsLe
/toBitsLe
,fromBytesLe
/toBytesLe
, andtoPlaintext
serialization methods on all supported Literal Types (Address
,Field
,Group
,Scalar
,Signature
) allowing hashes to match those hashes made in theLeo
environment.
Merged PRs
- [Feature] Expose bit, byte, and fields serialization methods for plaintext, ciphertext, records, and addresses by @alexpitsikoulis in #1010
- Create Leo App - specify template via command line by @christianwwwwwwww in #1011
- Bump openssl from 0.10.70 to 0.10.72 in /wasm by @dependabot in #1015
- Bump tokio from 1.43.0 to 1.44.2 in /wasm by @dependabot in #1016
- [Feature] Automatic fee calculation by @Roee-87 in #1007
- [Release Candidate] Update SDK version to v0.8.8 by @iamalwaysuncomfortable in #1017
- [Docs] Update SDK documentation by @iamalwaysuncomfortable in #1018
Full Changelog: v0.8.7...v0.8.8