From 0a3526b313ad51d3d1a6c815024bd60d17c0e519 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B8ren=20Bruus=20Zeppelin?= Date: Thu, 19 Oct 2023 09:43:59 +0200 Subject: [PATCH] Version bump --- packages/common/CHANGELOG.md | 281 ++++++++++++++++++----------------- packages/common/package.json | 2 +- packages/nodejs/CHANGELOG.md | 10 +- packages/nodejs/package.json | 4 +- packages/web/CHANGELOG.md | 8 +- packages/web/package.json | 4 +- yarn.lock | 27 +++- 7 files changed, 184 insertions(+), 152 deletions(-) diff --git a/packages/common/CHANGELOG.md b/packages/common/CHANGELOG.md index 2f3565a87..5f1f8b753 100644 --- a/packages/common/CHANGELOG.md +++ b/packages/common/CHANGELOG.md @@ -1,10 +1,11 @@ # Changelog -## Unreleased +## 9.5.0 ### Added New consensus endpoints: + - `getBakerEarliestWinTime` - `getBlockCertificates` - `getBakersRewardPeriod` @@ -22,12 +23,12 @@ New consensus endpoints: - Smart contract related types `ContractName`, `EntrypointName` and helper functions `isInitName`, `isReceiveName`, `getContractNameFromInit` and `getNamesFromReceive`. ### Fixed + - Added missing fields to `getBlockChainParameters` response. (rootKeys, level1Keys, level2Keys) - Use of bigint exponentiation causing issues in web. ## 9.3.0 - ### Added - `sendRawAccountTransaction` to the gRPC Client. @@ -47,26 +48,28 @@ New consensus endpoints: ### Added -- `CIS4Contract` class for seemlessly interacting with contracts adhering to the CIS4 standard. -- Validation of type values when verifying statements. -- Exposed `replaceDateWithTimeStampAttribute` and `reviveDateFromTimeStampAttribute`. +- `CIS4Contract` class for seemlessly interacting with contracts adhering to the CIS4 standard. +- Validation of type values when verifying statements. +- Exposed `replaceDateWithTimeStampAttribute` and `reviveDateFromTimeStampAttribute`. ### Fixed -- Aligned credential schema types with the tested types in the browser wallet. -- `addMinimumAge` now creates the precise age statement instead of one day off. +- Aligned credential schema types with the tested types in the browser wallet. +- `addMinimumAge` now creates the precise age statement instead of one day off. ## 9.1.1 ### Fixes - - `verifyWeb3IdCredentialSignature` now supports dates/timestamp attributes. - - `canProveAtomicStatement` now supports timestamp attributes, handles undefined attribute value correctly and handles strings correctly for range statements. + +- `verifyWeb3IdCredentialSignature` now supports dates/timestamp attributes. +- `canProveAtomicStatement` now supports timestamp attributes, handles undefined attribute value correctly and handles strings correctly for range statements. ## 9.1.0 ### Added Added a functions that handle conversions between CCD and micro CCD. The CCD amounts are handled as `Big`'s: + - `toMicroCcd` returns the amount of micro CCD as a `Big`. - `toCcd`: returns the amount of CCD as a `Big`. - `fromCcd`: constructs a `CcdAmount` from an amount of CCD passed as a `Big` @@ -89,337 +92,337 @@ All function parameters now also accepts strings, these strings can use comma as ### Breaking changes -- Renamed `AccountTransactionType.TransferWithScheduleWithMemo` to `AccountTransactionType.TransferWithScheduleAndMemo`. +- Renamed `AccountTransactionType.TransferWithScheduleWithMemo` to `AccountTransactionType.TransferWithScheduleAndMemo`. ### Changed -- Bumped @concordium/rust-bindings to 1.1.0 (adds `display_type_schema_template` function) +- Bumped @concordium/rust-bindings to 1.1.0 (adds `display_type_schema_template` function) ### Added -- `getTransactionKindString` function. -- `displayTypeSchemaTemplate` function. +- `getTransactionKindString` function. +- `displayTypeSchemaTemplate` function. ## 8.0.0 ### Breaking changes -- Bumped @concordium/rust-bindings to 1.0.0. (Throws proper `Error`s when execution fails for any WASM entrypoint, with improved error messages) -- Updated `types.ts` to conform to updated GRPC API, which includes adding more variants to existing types (all new variants take effect from protocol version 6): - - `ChainParametersV2` added to `ChainParameters` - - `BlockInfo` changed to `BlockInfoV0 | BlockInfoV1` - - `ConsensusStatus` changed to `ConsensusStatusV0 | ConsensusStatusV1` - - `ElectionInfo` changed to `ElectionInfoV0 | ElectionInfoV1` +- Bumped @concordium/rust-bindings to 1.0.0. (Throws proper `Error`s when execution fails for any WASM entrypoint, with improved error messages) +- Updated `types.ts` to conform to updated GRPC API, which includes adding more variants to existing types (all new variants take effect from protocol version 6): + - `ChainParametersV2` added to `ChainParameters` + - `BlockInfo` changed to `BlockInfoV0 | BlockInfoV1` + - `ConsensusStatus` changed to `ConsensusStatusV0 | ConsensusStatusV1` + - `ElectionInfo` changed to `ElectionInfoV0 | ElectionInfoV1` ### Fixed -- Cost calculation for `deployModule` transaction. -- Fixed a bug where protocol version was different (i.e. 1 less than what it should be) when using the gRPCv2 API (compared to what is returned by the gRPCv1 API). +- Cost calculation for `deployModule` transaction. +- Fixed a bug where protocol version was different (i.e. 1 less than what it should be) when using the gRPCv2 API (compared to what is returned by the gRPCv1 API). ### Changes -- Function `uleb128Decode` now parses correctly and throws an error if the given input contains more than a single ULEB128 encoded number. +- Function `uleb128Decode` now parses correctly and throws an error if the given input contains more than a single ULEB128 encoded number. ### Added -- A `parseWallet` function to parse wallet export files -- Helper functions to determine version of versioned types mentioned in "Breaking Changes" have been added. -- Support for new chain update types. -- Function `uleb128DecodeWithIndex` that can also parse more than a single ULEB128 bigint -- Added `tokenAddressFromBase58` and `tokenAddressToBase58` to CIS2 +- A `parseWallet` function to parse wallet export files +- Helper functions to determine version of versioned types mentioned in "Breaking Changes" have been added. +- Support for new chain update types. +- Function `uleb128DecodeWithIndex` that can also parse more than a single ULEB128 bigint +- Added `tokenAddressFromBase58` and `tokenAddressToBase58` to CIS2 ### Changed -- The following functions now all have an additional parameter controlling whether errors are in a verbose format or not: - - `deserializeContractState` - - `deserializeReceiveReturnValue` - - `deserializeReceiveError` - - `deserializeInitError` - - `deserializeTypeValue` - - `serializeInitContractParameters` - - `serializeUpdateContractParameters` - - `serializeTypeValue` +- The following functions now all have an additional parameter controlling whether errors are in a verbose format or not: + - `deserializeContractState` + - `deserializeReceiveReturnValue` + - `deserializeReceiveError` + - `deserializeInitError` + - `deserializeTypeValue` + - `serializeInitContractParameters` + - `serializeUpdateContractParameters` + - `serializeTypeValue` ## 7.0.1 2023-05-25 ### Fixed -- Cost calculation for `deployModule` transaction. +- Cost calculation for `deployModule` transaction. ## 7.0.0 2023-05-15 ### Breaking changes -- Updated `blockInfo` so that the `bakerId` field is optional, since it will be undefined for genesis blocks. -- `waitForTransactionFinalization` now returns a `BlockItemSummaryInBlock` -- Added missing version return type in `getModuleSchema`. It now returns an object containing the schema source and version. +- Updated `blockInfo` so that the `bakerId` field is optional, since it will be undefined for genesis blocks. +- `waitForTransactionFinalization` now returns a `BlockItemSummaryInBlock` +- Added missing version return type in `getModuleSchema`. It now returns an object containing the schema source and version. ### Added -- Helpers for calculating energy cost for a transaction and microCCD cost from energy cost: - - `getEnergyCost` - - `getExchangeRate` - - `convertEnergyToMicroCcd` -- Utility functions for extracting information from `BlockItemSummary`: - - `isInitContractSummary` - - `isUpdateContractSummary` - - `isTransferLikeSummary` - - `isRejectTransaction` - - `isSuccessTransaction` - - `getTransactionRejectReason` - - `getReceiverAccount` - - `affectedContracts` - - `affectedAccounts` -- Utility functions for extracting information from `BlockSpecialEvent`: - - `specialEventAffectedAccounts` -- Helper methods on `GRPCClient` for chain traversal: - - `getFinalizedBlocksFrom` - - `findEarliestFinalized` - - `findInstanceCreation` - - `findFirstFinalizedBlockNoLaterThan` -- Extended HdWallet with support for verifiable credential key deriviation. +- Helpers for calculating energy cost for a transaction and microCCD cost from energy cost: + - `getEnergyCost` + - `getExchangeRate` + - `convertEnergyToMicroCcd` +- Utility functions for extracting information from `BlockItemSummary`: + - `isInitContractSummary` + - `isUpdateContractSummary` + - `isTransferLikeSummary` + - `isRejectTransaction` + - `isSuccessTransaction` + - `getTransactionRejectReason` + - `getReceiverAccount` + - `affectedContracts` + - `affectedAccounts` +- Utility functions for extracting information from `BlockSpecialEvent`: + - `specialEventAffectedAccounts` +- Helper methods on `GRPCClient` for chain traversal: + - `getFinalizedBlocksFrom` + - `findEarliestFinalized` + - `findInstanceCreation` + - `findFirstFinalizedBlockNoLaterThan` +- Extended HdWallet with support for verifiable credential key deriviation. ### Changed -- Bumped @concordium/rust-bindings to 0.12.0. (Adds key derivation for verifiable credentials) +- Bumped @concordium/rust-bindings to 0.12.0. (Adds key derivation for verifiable credentials) ## 6.5.0 2023-5-03 ### Added -- Utility functions `uleb128Decode` and `uleb128Encode` functions for decoding and encoding as unsigned leb128 respectively. -- `CIS2Contract` class for interacting with smart contracts adhering to the CIS-2 standard. -- `cis0Supports` function for checking standard support in smart contracts. -- Made the `streamToList` function public. -- Made the `unwrap` function public. -- Added `wasmToSchema` utility function. -- Added `getEmbeddedSchema` to client. -- Exposed `RpcError` type and created helper `isRpcError`. -- Build function `buildAccountSigner` for creating `AccountSigner` objects from genesis format, wallet export format, and a simple representation of credentials with keys. +- Utility functions `uleb128Decode` and `uleb128Encode` functions for decoding and encoding as unsigned leb128 respectively. +- `CIS2Contract` class for interacting with smart contracts adhering to the CIS-2 standard. +- `cis0Supports` function for checking standard support in smart contracts. +- Made the `streamToList` function public. +- Made the `unwrap` function public. +- Added `wasmToSchema` utility function. +- Added `getEmbeddedSchema` to client. +- Exposed `RpcError` type and created helper `isRpcError`. +- Build function `buildAccountSigner` for creating `AccountSigner` objects from genesis format, wallet export format, and a simple representation of credentials with keys. ### Changed -- Fixed bug where `AccountCreationSummary` type did not have fields: `index`, `energyCost`, `hash` +- Fixed bug where `AccountCreationSummary` type did not have fields: `index`, `energyCost`, `hash` ## 6.4.2 2023-04-21 ### Changed -- `generateBakerKeys` now also returns the private baker keys. +- `generateBakerKeys` now also returns the private baker keys. ## 6.4.1 2023-03-31 ### Changed -- Replace use of `setImmediate` with `setTimeout` since the former is not +- Replace use of `setImmediate` with `setTimeout` since the former is not supported in browsers. ## 6.4.0 2023-03-22 ### Added -- General function for deserializing smart contract values `deserializeTypeValue`. +- General function for deserializing smart contract values `deserializeTypeValue`. ### Changed -- Bumped @concordium/rust-bindings to 0.11.0. (Includes a fix to serialization of negative numbers for smart contract values) -- `signMessage` and `verifyMessageSignature` can now handle the message being a buffer/Uint8Array instead of only a utf8 string. +- Bumped @concordium/rust-bindings to 0.11.0. (Includes a fix to serialization of negative numbers for smart contract values) +- `signMessage` and `verifyMessageSignature` can now handle the message being a buffer/Uint8Array instead of only a utf8 string. ### Fixed -- `serializeTypeValue` now reports an error when called with invalid data, such as a receive function with missing schema, or a schema that cannot be parsed. +- `serializeTypeValue` now reports an error when called with invalid data, such as a receive function with missing schema, or a schema that cannot be parsed. ## 6.3.0 2023-02-27 ### Added -- Added a client for version 2 of the Concordium gRPC API to communicate with a Concordium node. +- Added a client for version 2 of the Concordium gRPC API to communicate with a Concordium node. - - including helper function `waitForTransactionFinalization` that returns a promise that resolves when the transaction finalizes. + - including helper function `waitForTransactionFinalization` that returns a promise that resolves when the transaction finalizes. -- Serialization: +- Serialization: - - `serializeAccountTransactionPayload` - - `serializeCredentialDeploymentPayload` + - `serializeAccountTransactionPayload` + - `serializeCredentialDeploymentPayload` -- Credential deployment helpers: +- Credential deployment helpers: - - `createCredentialTransaction` - - `createCredentialTransactionNoSeed` - - `signCredentialTransaction` + - `createCredentialTransaction` + - `createCredentialTransactionNoSeed` + - `signCredentialTransaction` -- Function to generate baker keys: `generateBakerKeys`. +- Function to generate baker keys: `generateBakerKeys`. ### Fixed -- `getInitContractParameterSchema`, `getUpdateContractParameterSchema`, +- `getInitContractParameterSchema`, `getUpdateContractParameterSchema`, `serializeInitContractParameters` and `serializeUpdateContractParameters` now report an error when called with invalid data, such as a receive function with missing schema, or a schema that cannot be parsed. ### Deprecated -- The JSON-RPC client has been deprecated in favor of the new gRPC v2 client. -- Various types and helper functions used by the JSON-RPC client (and the v1 gRPC client) have also been deprecated. +- The JSON-RPC client has been deprecated in favor of the new gRPC v2 client. +- Various types and helper functions used by the JSON-RPC client (and the v1 gRPC client) have also been deprecated. ## 6.2.0 2023-01-04 ### Added -- `serializeTypeValue` that allows smart contract types to be serialized using the specific schema, instead of only by providing the entire module's schema. -- `getInitContractParameterSchema` Given a buffer containing the schema for a module, extract the schema for a given contract's init function's parameters. -- `getReceiveContractParameterSchema` Given a buffer containing the schema for a module, extract the schema for a given contract's receive methods' parameters. +- `serializeTypeValue` that allows smart contract types to be serialized using the specific schema, instead of only by providing the entire module's schema. +- `getInitContractParameterSchema` Given a buffer containing the schema for a module, extract the schema for a given contract's init function's parameters. +- `getReceiveContractParameterSchema` Given a buffer containing the schema for a module, extract the schema for a given contract's receive methods' parameters. ## 6.1.0 2022-11-30 ### Added -- `IdStatementBuilder` class to help build id statements. -- `verifyIdStatement` function to verify that a statement is well-formed and complies with rules for id statements. -- `getIdProof` function to prove a statement holds for the given identity/account. -- Enums for sex and idDocType values. +- `IdStatementBuilder` class to help build id statements. +- `verifyIdStatement` function to verify that a statement is well-formed and complies with rules for id statements. +- `getIdProof` function to prove a statement holds for the given identity/account. +- Enums for sex and idDocType values. ## 6.0.0 2022-11-15 ### Breaking changes -- Change AccountTransactionType names/string values to align with those in Concordium base. -- Change some field names in UpdateConcractPayload, InitContractPayload and DeployModule to align with those in Concordium base. -- Rename GtuAmount class to CcdAmount. And change the microGtuAmount field to microCcdAmount. -- Add custom toJSON methods for the classes CcdAmount, AccountAddress, ModuleReference, CredentialRegistrationId, DataBlob and TransactionExpiry, in order to match the serialisation of their equivalents in Concordium base. +- Change AccountTransactionType names/string values to align with those in Concordium base. +- Change some field names in UpdateConcractPayload, InitContractPayload and DeployModule to align with those in Concordium base. +- Rename GtuAmount class to CcdAmount. And change the microGtuAmount field to microCcdAmount. +- Add custom toJSON methods for the classes CcdAmount, AccountAddress, ModuleReference, CredentialRegistrationId, DataBlob and TransactionExpiry, in order to match the serialisation of their equivalents in Concordium base. ### Added -- The ability to deserialize error values of receive and init functions using `deserializeReceiveError()` and `deserializeInitError()` respectfully. -- Refactored the `upserializeUpdateContractParameters()` and `serializeInitContractParameters()` to call into rust functions. +- The ability to deserialize error values of receive and init functions using `deserializeReceiveError()` and `deserializeInitError()` respectfully. +- Refactored the `upserializeUpdateContractParameters()` and `serializeInitContractParameters()` to call into rust functions. ## 5.2.0 2022-11-8 ### Added -- The ability to deserialize the return values of receive functions using `deserializeReceiveReturnValue()`. +- The ability to deserialize the return values of receive functions using `deserializeReceiveReturnValue()`. ## 5.1.0 2022-9-29 ### Added -- Additional arguments to the JSON-RPC HttpProvider, to enable is to receive and forward cookies. +- Additional arguments to the JSON-RPC HttpProvider, to enable is to receive and forward cookies. ### Fixed -- getAccountInfo no longer relies on instanceof to determine the type of input. +- getAccountInfo no longer relies on instanceof to determine the type of input. ## 5.0.0 2022-9-29 ### Added -- `getCredentialId` to the HdWallet. +- `getCredentialId` to the HdWallet. ### Breaking changes -- Updated the signature of helper functions for accounts to sign messages. (and changed the prepend) +- Updated the signature of helper functions for accounts to sign messages. (and changed the prepend) ## 4.0.0 2022-8-26 ### Breaking changes -- ConcordiumHdWallet methods now take the identity provider index as arguments. -- Bumped @concordium/rust-bindings to 0.4.0. +- ConcordiumHdWallet methods now take the identity provider index as arguments. +- Bumped @concordium/rust-bindings to 0.4.0. ### Fixed -- Added missing `accountAddress` field to `AccountInfo` types. +- Added missing `accountAddress` field to `AccountInfo` types. ## 3.0.0 2022-8-26 ### Added -- Support for new V2 schemas which can specify error types. +- Support for new V2 schemas which can specify error types. ### Breaking changes -- SchemaVersion, Module, and schema types are now 0-indexed instead of 1-indexed. This means that the schemas used for V0 contracts are now version 0, and so is the associated types. And the first schema version for V1 contracts are now version 1. +- SchemaVersion, Module, and schema types are now 0-indexed instead of 1-indexed. This means that the schemas used for V0 contracts are now version 0, and so is the associated types. And the first schema version for V1 contracts are now version 1. ## 2.4.0 2022-8-15 ### Added -- `createIdentityRequest`, to create identity requests. -- `createCredentialV1`, to create credentials using a seedPhrase. -- `createIdentityRecoveryRequest`, to create identity recovery requests. -- Added `sendCredentialDeployment` to send credentials created from `createCredentialV1` to the chain. -- `getSignedCredentialDeploymentTransactionHash` to get the transaction hash of credentials created from `createCredentialV1`. -- Added `ConfigureBaker` to `AccountTransactionType` enum. -- Added `ConcordiumHdWallet` with functions to get keys and randomness from a seed phrase. +- `createIdentityRequest`, to create identity requests. +- `createCredentialV1`, to create credentials using a seedPhrase. +- `createIdentityRecoveryRequest`, to create identity recovery requests. +- Added `sendCredentialDeployment` to send credentials created from `createCredentialV1` to the chain. +- `getSignedCredentialDeploymentTransactionHash` to get the transaction hash of credentials created from `createCredentialV1`. +- Added `ConfigureBaker` to `AccountTransactionType` enum. +- Added `ConcordiumHdWallet` with functions to get keys and randomness from a seed phrase. ## 2.3.2 2022-7-26 ### Fixed -- `deserializeTransaction` no longer throws an error on expired transactions. +- `deserializeTransaction` no longer throws an error on expired transactions. ## 2.3.1 2022-7-26 ### Fixed -- `deserializeTransaction` is now exported from index. +- `deserializeTransaction` is now exported from index. ## 2.3.0 2022-7-25 ### Added -- `deserializeTransaction` function to deserialize transaction created by `serializeAccountTransactionForSubmission` and `serializeCredentialDeploymentTransactionForSubmission`. (Currently SimpleTransfer, SimpleTransferWithMemo and RegisterData are the only supported account transactions kinds) +- `deserializeTransaction` function to deserialize transaction created by `serializeAccountTransactionForSubmission` and `serializeCredentialDeploymentTransactionForSubmission`. (Currently SimpleTransfer, SimpleTransferWithMemo and RegisterData are the only supported account transactions kinds) ## 2.2.0 2022-7-21 ### Added -- Add support for getAccountInfo, InvokeContract, getCryptographicParameters and getModuleSource with JSON-RPC +- Add support for getAccountInfo, InvokeContract, getCryptographicParameters and getModuleSource with JSON-RPC ## 2.1.1 2022-7-8 ### Fixed -- Fixed contract schema serialization for ByteList +- Fixed contract schema serialization for ByteList ## 2.1.0 2022-7-5 ### Added -- Support deserializing new schema types: ULeb128, ILeb128, ByteArray and ByteList. -- Support deserializing schemas with versioning information. +- Support deserializing new schema types: ULeb128, ILeb128, ByteArray and ByteList. +- Support deserializing schemas with versioning information. ### Changes -- The function for deserializing a module schema `deserialModuleFromBuffer` now have the schema version as an optional argument. The function will try to extract the version from the buffer. When a version is provided it falls back to this, otherwise it throws an error. +- The function for deserializing a module schema `deserialModuleFromBuffer` now have the schema version as an optional argument. The function will try to extract the version from the buffer. When a version is provided it falls back to this, otherwise it throws an error. ## 2.0.1 2022-6-27 ### Fixed -- @noble/ed25519 and cross-fetch moved from devDependencies to dependencies. +- @noble/ed25519 and cross-fetch moved from devDependencies to dependencies. ## 2.0.0 2022-6-24 ### Added -- Support deserializing version 2 schemas. -- Support serializing parameters for contracts using version 2 schemas. -- Support for deploying versioned smart contract modules, which is the format used in cargo-concordium v2+. (This is done by not supplying the version field in the payload) +- Support deserializing version 2 schemas. +- Support serializing parameters for contracts using version 2 schemas. +- Support for deploying versioned smart contract modules, which is the format used in cargo-concordium v2+. (This is done by not supplying the version field in the payload) ### Breaking changes -- `serializeInitContractParameters` and `serializeUpdateContractParameters` each have an additional parameter, which denotes the version of the schema provided. For existing users that are using V0 contracts, that parameter should be `SchemaVersion.V1`. -- Deserialization of schemas have been changed: types and functions have been renamed and `deserialModuleFromBuffer` have an additional parameter. +- `serializeInitContractParameters` and `serializeUpdateContractParameters` each have an additional parameter, which denotes the version of the schema provided. For existing users that are using V0 contracts, that parameter should be `SchemaVersion.V1`. +- Deserialization of schemas have been changed: types and functions have been renamed and `deserialModuleFromBuffer` have an additional parameter. ## 1.0.1 2022-6-2 ### Fixed -- Fixed JSON-RPC client crash on empty response when calling getInstanceInfo. +- Fixed JSON-RPC client crash on empty response when calling getInstanceInfo. (And update the format of the arguments for the server) -- Fixed issue by bumping rust bindings version +- Fixed issue by bumping rust bindings version ## 1.0.0 2022-5-25 -- Initial release +- Initial release diff --git a/packages/common/package.json b/packages/common/package.json index dcc1523d5..9a2a0dcfb 100644 --- a/packages/common/package.json +++ b/packages/common/package.json @@ -1,6 +1,6 @@ { "name": "@concordium/common-sdk", - "version": "9.4.0", + "version": "9.5.0", "license": "Apache-2.0", "engines": { "node": ">=14.16.0" diff --git a/packages/nodejs/CHANGELOG.md b/packages/nodejs/CHANGELOG.md index 754e61ba6..894b8fcdd 100644 --- a/packages/nodejs/CHANGELOG.md +++ b/packages/nodejs/CHANGELOG.md @@ -1,5 +1,9 @@ # Changelog +## 9.5.0 + +- Bumped @concordium/common-sdk to 9.5.0. + ## 9.4.0 - Bumped @concordium/common-sdk to 9.4.0. @@ -91,6 +95,7 @@ - Bumped @concordium/common-sdk to 6.0.0. (Which changes transaction type names and field names to be aligned with other implementations) ## 5.0.0 2022-11-8 + Breaking Changes - Bumped @concordium/common-sdk to 5.2.0. (Which changes the function signature of ConcordiumHdWallet and sign helpers functions) @@ -189,8 +194,8 @@ Breaking Changes - Support for getting baker list from node. - Support for getting status of a Baker Pool/Passive delegation (required node to have protocol version 4 or later). - Support for getting reward status of chain at specific block. -- Helper functions for determining the version of `BlockSummary` and nested types. -- Helper functions for determining the version of `AccountInfo` variants. +- Helper functions for determining the version of `BlockSummary` and nested types. +- Helper functions for determining the version of `AccountInfo` variants. - Support for the new "configure delegation" transaction type. ### Changed @@ -210,7 +215,6 @@ Breaking Changes ## 0.7.2 2022-05-05 - ### Added - Export of serializeAccountTransactionForSubmission. diff --git a/packages/nodejs/package.json b/packages/nodejs/package.json index de0dc3cee..3ab511a11 100644 --- a/packages/nodejs/package.json +++ b/packages/nodejs/package.json @@ -1,6 +1,6 @@ { "name": "@concordium/node-sdk", - "version": "9.4.0", + "version": "9.5.0", "description": "Helpers for interacting with the Concordium node", "repository": { "type": "git", @@ -60,7 +60,7 @@ "build-dev": "tsc" }, "dependencies": { - "@concordium/common-sdk": "9.4.0", + "@concordium/common-sdk": "9.5.0", "@grpc/grpc-js": "^1.3.4", "@protobuf-ts/grpc-transport": "^2.8.2", "buffer": "^6.0.3", diff --git a/packages/web/CHANGELOG.md b/packages/web/CHANGELOG.md index 4f1bbfa8b..e741898ba 100644 --- a/packages/web/CHANGELOG.md +++ b/packages/web/CHANGELOG.md @@ -1,5 +1,9 @@ # Changelog +## 6.5.0 + +- Bumped @concordium/common-sdk to 9.5.0. + ## 6.4.0 - Bumped @concordium/common-sdk to 9.4.0. @@ -189,8 +193,8 @@ ## 0.1.1 -- Fixed issue with wasm from rust bindings +- Fixed issue with wasm from rust bindings ## 0.1.0 -- Initial release +- Initial release diff --git a/packages/web/package.json b/packages/web/package.json index cbb07e69c..f3c13a3cb 100644 --- a/packages/web/package.json +++ b/packages/web/package.json @@ -1,6 +1,6 @@ { "name": "@concordium/web-sdk", - "version": "6.4.0", + "version": "6.5.0", "license": "Apache-2.0", "browser": "lib/concordium.min.js", "types": "lib/index.d.ts", @@ -48,7 +48,7 @@ "webpack-cli": "^4.9.2" }, "dependencies": { - "@concordium/common-sdk": "9.4.0", + "@concordium/common-sdk": "9.5.0", "@concordium/rust-bindings": "1.2.0", "@grpc/grpc-js": "^1.3.4", "@protobuf-ts/grpcweb-transport": "^2.8.2", diff --git a/yarn.lock b/yarn.lock index 1f15a7dc1..0cddf50d1 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1334,7 +1334,7 @@ __metadata: languageName: unknown linkType: soft -"@concordium/common-sdk@9.4.0, @concordium/common-sdk@workspace:^, @concordium/common-sdk@workspace:packages/common": +"@concordium/common-sdk@9.5.0, @concordium/common-sdk@workspace:^, @concordium/common-sdk@workspace:packages/common": version: 0.0.0-use.local resolution: "@concordium/common-sdk@workspace:packages/common" dependencies: @@ -1374,6 +1374,27 @@ __metadata: languageName: unknown linkType: soft +"@concordium/common-sdk@npm:9.4.0": + version: 9.4.0 + resolution: "@concordium/common-sdk@npm:9.4.0" + dependencies: + "@concordium/rust-bindings": 1.2.0 + "@grpc/grpc-js": ^1.3.4 + "@noble/ed25519": ^1.7.1 + "@protobuf-ts/runtime-rpc": ^2.8.2 + "@scure/bip39": ^1.1.0 + big.js: ^6.2.0 + bs58check: ^2.1.2 + buffer: ^6.0.3 + cross-fetch: 3.1.5 + hash.js: ^1.1.7 + iso-3166-1: ^2.1.1 + json-bigint: ^1.0.0 + uuid: ^8.3.2 + checksum: 09b4f3303cca7677f48842c26dcc5692ef6c38bfd8c86f8b790a9f57ce942637264aaeccbcc4bf45313b88afbfff4bd3ef46bc6cbced5a29271df486819c41ad + languageName: node + linkType: hard + "@concordium/examples@workspace:examples": version: 0.0.0-use.local resolution: "@concordium/examples@workspace:examples" @@ -1402,7 +1423,7 @@ __metadata: version: 0.0.0-use.local resolution: "@concordium/node-sdk@workspace:packages/nodejs" dependencies: - "@concordium/common-sdk": 9.4.0 + "@concordium/common-sdk": 9.5.0 "@grpc/grpc-js": ^1.3.4 "@noble/ed25519": ^1.7.1 "@protobuf-ts/grpc-transport": ^2.8.2 @@ -1441,7 +1462,7 @@ __metadata: version: 0.0.0-use.local resolution: "@concordium/web-sdk@workspace:packages/web" dependencies: - "@concordium/common-sdk": 9.4.0 + "@concordium/common-sdk": 9.5.0 "@concordium/rust-bindings": 1.2.0 "@grpc/grpc-js": ^1.3.4 "@protobuf-ts/grpcweb-transport": ^2.8.2