Skip to content
This repository has been archived by the owner on Aug 2, 2022. It is now read-only.

EOSJS v22.0.0-rc1 Release Notes

Pre-release
Pre-release
Compare
Choose a tag to compare
@blockone-devops blockone-devops released this 15 Dec 12:17
· 224 commits to release/22.0.x since this release
85f753d

This is a RELEASE CANDIDATE for version 22.0.0. The latest STABLE release is v21.0.3.

This Release Candidate can be accessed by running yarn add eosjs@RC.

Support for Action Return Values

This release candidate introduces support for the new feature of return values from actions within smart contracts. More information can be found here in the documentation for eosio.cdt and here in the documentation specific to eosjs.

Additionally, an example application has been created to demonstrate how to use this new feature with nodeos and eosjs.

Support for Key Value Databases

This release candidate introduces support for the new key value database feature. More information can be found here in the documentation for eosio.cdt and here in the documentation specific to eosjs.

Due to difference in the format of key value databases in smart contract ABIs, abi.abi.json has been removed and added directly into the code of eosjs-serialize.ts.

Additionally, an example application has been created to demonstrate how to use this new feature with nodeos and eosjs.

New Method for Constructing Actions and Transactions

A concise new method for constructing actions has been added to improve the developer experience. It is now possible to either construct an action in either a shorter syntax or construct both actions and transactions by creating a stateful TransactionBuilder object that can be passed through an application before sending when ready. The details for this concise method can be found here in the eosjs documentation.

BREAKING CHANGE: Additional Typescript Types/Nodeos API Plugin Responses

New Typescript types have been added to assist developers in better understanding what to expect from certain features or responses from the nodeos api plugins. These types are defined for the latest versions of the api plugins which have changed, specifically the response for submitting a transaction.

Other Changes

  • (#742) Removing RC1 from develop version
  • (#776) Merging changes from master or release/21.0.x that were not on develop
  • (#777) add bn.js as explicit dependency
  • (#778) Adding testing for Action return values
  • (#779) Documentation for action return values
  • (#780) Updating abi.abi.json to eosio::abi/1.2
  • (#789) Bumping develop version to 21.1.0
  • (#784) Additional types for documentation/development
  • (#792) Context Free Tests/Fixes
  • (#791) Allowing a name to be an empty string (develop branch)
  • (#796) Fixing an issue with response from fetch in the query method
  • (#803) Code to support KV Tables
  • (#804) updating how-to-get-table-information with kv example
  • (#805) Adjusting bios contracts and adding kv_bios
  • (#812) New chain_api endpoints and more efficient Tapos fields
  • (#813) Documentation for new transaction shorthand design

Thanks!

Special thanks to the community contributors that submitted patches for this release:

Disclaimer: All repositories and other materials are provided subject to this IMPORTANT notice and you must familiarize yourself with its terms. The notice contains important information, limitations and restrictions relating to our software, publications, trademarks, third-party resources, and forward-looking statements. By accessing any of our repositories and other materials, you accept and agree to the terms of the notice.