Skip to content

Latest commit

 

History

History
398 lines (227 loc) · 6.89 KB

CHANGELOG.md

File metadata and controls

398 lines (227 loc) · 6.89 KB

0.26.1

10/11/2022

gear-tech/gear-js#1031

Changes

  • Rename gr_msg_id syscall to gr_message_id

0.26.0

10/06/2022

gear-tech/gear-js#1030

Changes

  • Bump @polkadot/api to 9.5.1

0.25.9

10/06/2022

gear-tech/gear-js#1023

Changes

  • Add method to get all code ids existed on chain

0.25.8

10/03/2022

gear-tech/gear-js#1012

Changes

  • Add new syscalls

0.25.7

09/17/2022

gear-tech/gear-js#996

Changes

  • Add Exited variant to Program enum

0.25.6

09/13/2022

gear-tech/gear-js#988

Changes

  • Add function to convert type name

0.25.5

09/12/2022

gear-tech/gear-js#982

Changes

  • Add method to subscribe to UserMessageSent events by actorId

0.25.4

09/12/2022

gear-tech/gear-js#981

Changes

  • Add new TypeInfo parser

0.25.3

09/08/2022

gear-tech/gear-js#979

Changes

  • Use api.derive to subscription to new blocks

0.25.2

08/17/2022

gear-tech/gear-js#933 gear-tech/gear-js#937

Changes

0.25.1

08/18/2022

gear-tech/gear-js#935

Changes

  • Describe Null type in createPayloadTypeStructure function

0.25.0

08/06/2022

gear-tech/gear-js#901

Breaking Changes

  • Support create_program extrinsic according to gear-tech/gear#1241 Use the api.program.create method for this
  • Remove MessageReply class. From now on, use api.message.sendReply method to send reply
  • Rename api.message.submit to api.message.send
  • Rename api.program.submit to api.program.upload
  • Rename api.code.submit to api.code.upload
  • Rename submitted field in GearTransaction class to extrinsic
  • Update GasInfo type according to gear-tech/gear#1211

0.24.2

07/27/2022

gear-tech/gear-js#894

Changes

  • Fix type of paymentInfo method's argument.

0.24.1

07/22/2022

gear-tech/gear-js#872

Changes

  • Add oportunity to call gr_block_height syscall in meta_state function

0.24.0

07/19/2022

gear-tech/gear-js#848

Changes

  • Update reply field of Message type according to gear-tech/gear#1198 Type of reply field is Struct with fields replyTo and exitCode instead of Tuple from now on
  • Update type of waitlist and mailbox item according to gear-tech/gear#1197 From this moment the types are Tuple with 2 elements, the first one remained the same and the 2nd one is object with start and finish fields that show block's number when message gets into mailbox / waitlist and last block's number when message gets out of mailbox / waitlist
  • Also waitlist.read and mailbox.read methods now return Codec types without keys.

0.23.6

07/19/2022

gear-tech/gear-js#845

Changes

  • Adjust simple enum generation

0.23.5

07/18/2022

gear-tech/gear-js#843

Changes


0.23.4

07/18/2022

gear-tech/gear-js#840

Changes

  • Rename api.program.is method to api.program.exists
  • Add validation of gasLimit, value and codeId before sending transactions
  • api.code.submit method is now async
  • Add get some runtime constants (existentialDeposit, blockGasLimit, mailboxTreshold, waitlistCost)
  • Add eslint config

0.23.3

07/12/2022

gear-tech/gear-js#822

Changes

  • Add specific types for gas limit and value
  • Update build process

0.23.2

07/12/2022

gear-tech/gear-js#819

Changes

  • Improve types
  • Update build process

0.23.1

07/08/2022

gear-tech/gear-js#811

Changes

  • Add api.program.is method to check whether the address belongs to some program.

0.23.0

07/08/2022

gear-tech/gear-js#806

Changes

  • Build library using rollup
  • Add eslint config
  • Specify specific types instead any
  • Bump @polkadot/api to 8.11.3

0.22.3

07/05/2022

gear-tech/gear-js#794

Changes

  • Rename the stateChanged field to stateChanges in the MessagesDispatchedData class
  • Set type of expiration in the UserMessageSentData class to Option

0.22.2

06/27/2022

gear-tech/gear-js#770

Changes

  • Change GasInfo interface (Replace to_send with reserved)
  • Fix gas tests

0.22.1

06/21/2022

gear-tech/gear-js#754

Breaking Changes

  • Update subscription to Transfer balance events
  • Update GearBalance class.

From now on, it's necessary to use 2 separate methods (transfer and singAndSend) to send transaction


0.22.0

06/21/2022

gear-tech/gear-js#753

Breaking Changes

  • Updated event data sturcture.
  • Remove events and event data classes, and add interfaces instead

0.21.0

06/17/2022

gear-tech/gear-js#743

Breaking Changes

  • Update calculation gas logic follow gear-tech/gear#1051

    From now on, gas calculation returns the object GasInfo instead of the u64 value


0.20.1

06/13/2022

gear-tech/gear-js#725

Changes

  • Throw error while reading the state in case if program does not exist in the storage

0.20.0

06/03/2022

gear-tech/gear-js#692

Breaking Changes


0.19.2

05/31/2022

gear-tech/gear-js#681

Changes

  • Add method to get transaction fee

0.19.1

05/30/2022

gear-tech/gear-js#676

Changes

  • Add GearWaitlist class to read waitlist of programs

0.19.0

05/20/2022

gear-tech/gear-js#658

Changes

  • Update pallet name with mailbox

0.18.3

05/16/2022

gear-tech/gear-js#648

Changes

  • Add ability to specify code in submitProgram and submitCode as Uint8Array

0.18.2

05/16/2022

gear-tech/gear-js#647

Changes

  • Add gr_error syscall to wasm importObj

0.18.1

05/11/2022

gear-tech/gear-js#634

Changes

  • Bump @polkadot/api to 8.3.2
  • Test creating BTreeSet type