Releases: casper-ecosystem/casper-js-sdk
Casper JS SDK v5.0.0-beta1
Added
- Feat utils and fixes by @Comp0te in #464 and #467
- Added
toJSON
method for eachCLValue
representation by @alexmyshchyshyn in #470 - Added
transaction
builders by @alexmyshchyshyn in #473
Changed
- Updated
TransactionRuntime
/TransactionTarget
serialization by @alexmyshchyshyn in #466 - Updated
MessageTopic
serialization,MessageAddr
key parsing by @alexmyshchyshyn in #472
Fixed
- Transform Raw serialization, removed message topics from
AddressableEntity
,EntryPointPayment
change by @alexmyshchyshyn in #468 - Map and List
fromBytes
methods by @Comp0te in #469 - Derializers by @Comp0te in #471
Full Changelog: 5.0.0-rc8...5.0.0-beta1
Casper JS SDK v5.0.0-rc8
Added
makeCep18TransferDeploy
andmakeNftTransferDeploy
utilsPrivateKey.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
Added
- Checksummed
PublicKey
hex - Improvements in
Transaction
creation from JSON - Ability to send
Deploy
with theRPC.putTransaction
method - Renamed
StoredValue.prepaid
toStoredValue.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
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 wheninner
is present. - Defaults to
CLTypeAny
ifinner
isnull
andclType
is not specified.
- Automatic resolution of the option type from
- New Method:
ExecutionResult.toJSON(executionResult: ExecutionResult): object
- Converts an
ExecutionResult
instance to a plain JSON object using theTypedJSON
serializer.
- Converts an
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
Added
- DelegatorKind support fot Bid
- Calltable serialization for
TransactionV1
- Reference of changes - Custom ttl for
makeCsprTransferDeploy
andmakeAuctionManagerDeploy
Changed
TransactionV1
structure. From now on a TransactionV1 consists ofhash
,payload
andapprovals
.payload
is a merge ofheader
andbody
concepts from before.- Updated documentation
Full Changelog: 5.0.0-rc4...5.0.0-rc5
Casper JS SDK v5.0.0-rc4
Added
makeCsprTransferDeploy
andmakeAuctionManagerDeploy
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, renamedfromHeaderAndItems
function to themakeDeploy
due to consistency with previous methods names
Changed
- Made
id
optional inTransferDeployItem.newTransfer
Casper JS SDK v5.0.0-rc3
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
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
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
Fixed
- Backfilled missing variants of
TransformValue
type- AddInt32
- AddUInt64
- AddUInt128
- AddUInt256
- WriteEraInfo
- WriteBid
- WriteWithdraw
- Failure
- WriteUnbonding
- Backfilled
operations
field inEffect
type - Exported all types in
services/types
module so that they can be used by end users