Skip to content

Releases: casper-ecosystem/casper-js-sdk

Casper JS SDK v5.0.0-beta1

20 Dec 16:49
7b9905e
Compare
Choose a tag to compare
Pre-release

Added

Changed

Fixed

Full Changelog: 5.0.0-rc8...5.0.0-beta1

Casper JS SDK v5.0.0-rc8

16 Dec 11:24
4efa3ff
Compare
Choose a tag to compare
Pre-release

Added

  • makeCep18TransferDeploy and makeNftTransferDeploy utils
  • PrivateKey.toBytes method
  • Rename Key's TypeID to KeyTypeID
  • Add initial list values to CLValueList.newCLList
  • Args.getByName getter
  • Remove unused Effects class
  • Improvements for TransformKind transformation parsing

Fixed

  • Issue with ed25519 private key length

Casper JS SDK v5.0.0-rc7

12 Dec 23:33
0e133aa
Compare
Choose a tag to compare
Pre-release

Added

  • Checksummed PublicKey hex
  • Improvements in Transaction creation from JSON
  • Ability to send Deploy with the RPC.putTransaction method
  • Renamed StoredValue.prepaid to StoredValue.prepayment
  • Improvements in RPC client error processing

Fixed

  • Issue with implicit axios dependency
  • Issue with secp256k1 bytes
  • Issue with StepPayload.executionEffects annotations
  • Issue with ExecutionResult parsing from JSON

Full Changelog: 5.0.0-rc6...5.0.0-rc7

Casper JS SDK v5.0.0-rc6

09 Dec 09:23
dc8a2af
Compare
Choose a tag to compare
Pre-release

Added

  • Basic documentation for Casper 2.0 (Condor)
  • Enhanced CLValue.newCLOption Method:
    • Automatic resolution of the option type from inner when provided.
    • Optional clType parameter when inner is present.
    • Defaults to CLTypeAny if inner is null and clType is not specified.
  • New Method:
    • ExecutionResult.toJSON(executionResult: ExecutionResult): object
      • Converts an ExecutionResult instance to a plain JSON object using the TypedJSON serializer.

Fixed

  • Issue with parsing in RPC getDictionaryItem method

Full Changelog: 5.0.0-rc5...5.0.0-rc6

Casper JS SDK v5.0.0-rc5

02 Dec 15:54
4d606c3
Compare
Choose a tag to compare
Pre-release

Added

  • DelegatorKind support fot Bid
  • Calltable serialization for TransactionV1 - Reference of changes
  • Custom ttl for makeCsprTransferDeploy and makeAuctionManagerDeploy

Changed

  • TransactionV1 structure. From now on a TransactionV1 consists of hash, payload and approvals. payload is a merge of header and body concepts from before.
  • Updated documentation

Full Changelog: 5.0.0-rc4...5.0.0-rc5

Casper JS SDK v5.0.0-rc4

25 Nov 11:35
fe40022
Compare
Choose a tag to compare
Pre-release

Added

  • makeCsprTransferDeploy and makeAuctionManagerDeploy utils
  • README.md: Introduced a comprehensive README file, including detailed information about the SDK, setup instructions, and usage examples.
  • Migration Guide: Added a basic migration guide to assist developers in transitioning to the new SDK version with updated types and RPC.
  • getDeploySizeInBytes static method for Deploy

Removed

  • DeployParams class due to deprecation, renamed fromHeaderAndItems function to the makeDeploy due to consistency with previous methods names

Changed

  • Made id optional in TransferDeployItem.newTransfer

Casper JS SDK v5.0.0-rc3

19 Nov 13:46
573b563
Compare
Choose a tag to compare
Pre-release

Added

  • Deserializer function for InfoGetDeployResultV1Compatible - fromJSON
  • Annotate RPC request params

Fixed

  • Args and CLType / CLValue parsers
  • RPC serialization
  • Updated names for RPC response/request
  • Deserializer for Transform class
  • Removed unnecessary object declaration for deploy/transaction during serialization

Full Changelog: 5.0.0-rc2...5.0.0-rc3

Casper JS SDK v5.0.0-rc2

13 Nov 16:06
d8a2e00
Compare
Choose a tag to compare
Pre-release

Added

  • Caution! This release contains rewritten classes/CLValue/CLType from scratch, there are some breaking changes so consider it before upgrading.

Changed

  • We’ve entirely rewritten the casper-js-sdk from the ground up to provide a more efficient, flexible, and developer-friendly experience. This major release includes significant changes to the SDK’s architecture, type system, and API methods, introducing new types and RPC capabilities to support the latest Casper blockchain features.

  • Updated Type System:

    • Refined and expanded CLType and CLValue implementations for stronger type-checking and better type safety.
    • Introduced new types to support complex data structures and improved encoding/decoding of values for compatibility with the latest Casper updates.
  • Enhanced RPC Methods:

    • New RPC methods provide richer interaction capabilities, supporting advanced transactions, streamlined data retrieval, and improved error handling.
    • Added support for more granular transaction controls, allowing for better customizations of gas fees, transaction targets, and entry points.

Fixed

  • Fixed serializer and deserializer for json classes

Casper JS SDK v5.0.0-rc1

12 Nov 13:08
61fb169
Compare
Choose a tag to compare
Pre-release

Added

  • Caution! This release contains rewritten classes/CLValue/CLType from scratch, there are some breaking changes so consider it before upgrading.

Changed

  • We’ve entirely rewritten the casper-js-sdk from the ground up to provide a more efficient, flexible, and developer-friendly experience. This major release includes significant changes to the SDK’s architecture, type system, and API methods, introducing new types and RPC capabilities to support the latest Casper blockchain features.

  • Updated Type System:

    • Refined and expanded CLType and CLValue implementations for stronger type-checking and better type safety.
    • Introduced new types to support complex data structures and improved encoding/decoding of values for compatibility with the latest Casper updates.
  • Enhanced RPC Methods:

    • New RPC methods provide richer interaction capabilities, supporting advanced transactions, streamlined data retrieval, and improved error handling.
    • Added support for more granular transaction controls, allowing for better customizations of gas fees, transaction targets, and entry points.

Casper JS SDK v2.15.7

12 Nov 14:27
18eb5f4
Compare
Choose a tag to compare

Fixed

  • Backfilled missing variants of TransformValue type
    • AddInt32
    • AddUInt64
    • AddUInt128
    • AddUInt256
    • WriteEraInfo
    • WriteBid
    • WriteWithdraw
    • Failure
    • WriteUnbonding
  • Backfilled operations field in Effect type
  • Exported all types in services/types module so that they can be used by end users