Skip to content

Releases: ProvableHQ/sdk

v0.9.8

09 Sep 03:13
8e56de5
Compare
Choose a tag to compare

SDK Version v0.9.8 is a release tracking SnarkVM v4.2.0 and SnarkOS v4.2.0.

Full Diff

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 between statepath fetches.
  • Sender Ciphertext Decryption: Ability to decrypt sender ciphertexts within the RecordPlaintext and EncryptionToolbox objects, allowing SDK users a convenient way to determine the sender of transactions.
  • Verbose Transaction Error Handling: The AleoNetworkClient now has the option to set verbose mode which enables rich error information when transactions fail.

v0.10.0-testnet-rc

30 Aug 00:52
Compare
Choose a tag to compare
v0.10.0-testnet-rc Pre-release
Pre-release

SDK Version v0.10.0-testnet-rc is a patch release with the following upgrades:

Fixes

  • Implements the SnarkVM QueryTrait using the SnapshotQuery: 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

27 Aug 01:48
853f91b
Compare
Choose a tag to compare

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 the credits.aleo/split and credits.aleo/upgrade functions.

Features

  • Adds the submitProvingRequest function to the AleoNetworkClient to enable sending of ProvingRequests to remote proving services.
  • Enables the number of constraints to be read from VerifyingKeys.

v0.9.6

25 Aug 19:57
a1a5b23
Compare
Choose a tag to compare

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

06 Aug 06:30
78cf3f2
Compare
Choose a tag to compare

SDK Version 0.9.5 includes the following.

Enhancements

  • Addition of Integer and Boolean 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

22 Jul 17:56
3c5223d
Compare
Choose a tag to compare

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

04 Jul 00:30
e369b2a
Compare
Choose a tag to compare

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

16 Jun 15:18
dd3bff4
Compare
Choose a tag to compare

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 and moduleResolution: node16 now work correctly.

v0.9.0

25 Apr 00:03
4dfa3a4
Compare
Choose a tag to compare

SDK Version v0.9.0 includes the following fixes and enhancements:

Fixes

  • Fix unspent check in findRecords/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

08 Apr 22:01
2759585
Compare
Choose a tag to compare

Changelog

Fixes

  • Fix Invalid Account error in SDK deployments
  • Fixes documentation errors in Account, and NetworkClient, ProgramManager, and Wasm 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, and toPlaintext serialization methods on all supported Literal Types (Address, Field, Group, Scalar, Signature) allowing hashes to match those hashes made in the Leo environment.

Merged PRs

Full Changelog: v0.8.7...v0.8.8