Skip to content

Commit

Permalink
chore: prepare next version (#543)
Browse files Browse the repository at this point in the history
# Changes

- bump version numbers
- update and document CHANGELOG accordingly

# Notes

Few libraries were not modified code wise but, given that we have updated all dev dependencies including esbuild, I think it makes sense to release minor version.
  • Loading branch information
peterpeterparker authored Feb 14, 2024
1 parent a235169 commit 5b3ee2b
Show file tree
Hide file tree
Showing 13 changed files with 65 additions and 44 deletions.
25 changes: 23 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,31 @@
# XXXX.XX
# 2024.02.14-1600Z

## Overview

The current status of the libraries at the time of the release is as follows:

| Library | Version | Status |
| ------------------------ | ------- | ------------------- |
| `@dfinity/ckbtc` | v2.2.0 | Enhanced 🔧 |
| `@dfinity/cketh` | v1.0.1 | Maintained ⚙️ |
| `@dfinity/cmc` | v3.0.1 | Maintained ⚙️ |
| `@dfinity/ic-management` | v2.2.1 | Maintained ⚙️ |
| `@dfinity/ledger-icp` | v2.2.0 | Enhanced 🔧 |
| `@dfinity/ledger-icrc` | v2.1.2 | Maintained ⚙️ |
| `@dfinity/nns` | v4.0.0 | Breaking Changes ⚠️ |
| `@dfinity/nns-proto` | v1.0.1 | Unchanged️ |
| `@dfinity/sns` | v2.1.2 | Maintained ⚙️ |
| `@dfinity/utils` | v2.1.1 | Maintained ⚙️ |

## Breaking changes

- Replace duplicate string type `AccountIdentifier` in `@dfinity/nns` with `AccountIdentifierHex` of `@dfinity/ledger-icp`.

## Features

- Extend ckBTC `retrieveBtcStatusV2ByAccount` with optional `account` parameter.
- Replace duplicate string type `AccountIdentifier` in `@dfinity/nns` with `AccountIdentifierHex` of `@dfinity/ledger-icp`.
- Remove unused Uint8Array type `SubAccount` in `@dfinity/nns`.
- Modify the `@dfinity/ledger-icp` package's `SubAccount.formID` function to support more than 256 subaccounts, enabling it to handle larger numbers.

## Build

Expand Down
42 changes: 21 additions & 21 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@dfinity/ic-js",
"version": "2024.01.30-1600Z",
"version": "2024.02.14-1600Z",
"description": "A collection of library for interfacing with the Internet Computer.",
"license": "Apache-2.0",
"workspaces": [
Expand Down
4 changes: 2 additions & 2 deletions packages/ckbtc/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@dfinity/ckbtc",
"version": "2.1.1",
"version": "2.2.0",
"description": "A library for interfacing with ckBTC.",
"license": "Apache-2.0",
"main": "dist/cjs/index.cjs.js",
Expand Down Expand Up @@ -41,7 +41,7 @@
"@dfinity/agent": "^0.20.2",
"@dfinity/candid": "^0.20.2",
"@dfinity/principal": "^0.20.2",
"@dfinity/utils": "^2.1.0"
"@dfinity/utils": "^2.1.1"
},
"dependencies": {
"@noble/hashes": "^1.3.2",
Expand Down
4 changes: 2 additions & 2 deletions packages/cketh/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@dfinity/cketh",
"version": "1.0.0",
"version": "1.0.1",
"description": "A library for interfacing with ckETH.",
"license": "Apache-2.0",
"main": "dist/cjs/index.cjs.js",
Expand Down Expand Up @@ -41,6 +41,6 @@
"@dfinity/agent": "^0.20.2",
"@dfinity/candid": "^0.20.2",
"@dfinity/principal": "^0.20.2",
"@dfinity/utils": "^2.1.0"
"@dfinity/utils": "^2.1.1"
}
}
4 changes: 2 additions & 2 deletions packages/cmc/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@dfinity/cmc",
"version": "3.0.0",
"version": "3.0.1",
"description": "A library for interfacing with the cycle minting canister.",
"license": "Apache-2.0",
"main": "dist/cjs/index.cjs.js",
Expand Down Expand Up @@ -39,6 +39,6 @@
"@dfinity/agent": "^0.20.2",
"@dfinity/candid": "^0.20.2",
"@dfinity/principal": "^0.20.2",
"@dfinity/utils": "^2.1.0"
"@dfinity/utils": "^2.1.1"
}
}
4 changes: 2 additions & 2 deletions packages/ic-management/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@dfinity/ic-management",
"version": "2.2.0",
"version": "2.2.1",
"description": "A library for interfacing with the IC management canister.",
"license": "Apache-2.0",
"main": "dist/cjs/index.cjs.js",
Expand Down Expand Up @@ -37,6 +37,6 @@
"@dfinity/agent": "^0.20.2",
"@dfinity/candid": "^0.20.2",
"@dfinity/principal": "^0.20.2",
"@dfinity/utils": "^2.1.0"
"@dfinity/utils": "^2.1.1"
}
}
2 changes: 1 addition & 1 deletion packages/ledger-icp/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ const data = await metadata();
| -------------- | ------------------ |
| `toUint8Array` | `() => Uint8Array` |

[:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/ledger-icp/src/account_identifier.ts#L109)
[:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/ledger-icp/src/account_identifier.ts#L121)

### :factory: LedgerCanister

Expand Down
4 changes: 2 additions & 2 deletions packages/ledger-icp/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@dfinity/ledger-icp",
"version": "2.1.2",
"version": "2.2.0",
"description": "A library for interfacing with the ICP ledger on the Internet Computer.",
"license": "Apache-2.0",
"main": "dist/cjs/index.cjs.js",
Expand Down Expand Up @@ -42,6 +42,6 @@
"@dfinity/candid": "^0.20.2",
"@dfinity/nns-proto": "^1.0.1",
"@dfinity/principal": "^0.20.2",
"@dfinity/utils": "^2.1.0"
"@dfinity/utils": "^2.1.1"
}
}
4 changes: 2 additions & 2 deletions packages/ledger-icrc/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@dfinity/ledger-icrc",
"version": "2.1.1",
"version": "2.1.2",
"description": "A library for interfacing with ICRC ledgers on the Internet Computer.",
"license": "Apache-2.0",
"main": "dist/cjs/index.cjs.js",
Expand Down Expand Up @@ -40,6 +40,6 @@
"@dfinity/agent": "^0.20.2",
"@dfinity/candid": "^0.20.2",
"@dfinity/principal": "^0.20.2",
"@dfinity/utils": "^2.1.0"
"@dfinity/utils": "^2.1.1"
}
}
6 changes: 3 additions & 3 deletions packages/nns/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@dfinity/nns",
"version": "3.1.1",
"version": "4.0.0",
"description": "A library for interfacing with the Internet Computer's Network Nervous System.",
"license": "Apache-2.0",
"main": "dist/cjs/index.cjs.js",
Expand Down Expand Up @@ -53,9 +53,9 @@
"peerDependencies": {
"@dfinity/agent": "^0.20.2",
"@dfinity/candid": "^0.20.2",
"@dfinity/ledger-icp": "^2.1.2",
"@dfinity/ledger-icp": "^2.2.0",
"@dfinity/nns-proto": "^1.0.1",
"@dfinity/principal": "^0.20.2",
"@dfinity/utils": "^2.1.0"
"@dfinity/utils": "^2.1.1"
}
}
6 changes: 3 additions & 3 deletions packages/sns/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@dfinity/sns",
"version": "2.1.1",
"version": "2.1.2",
"description": "A library for interfacing with a Service Nervous System (SNS) project.",
"license": "Apache-2.0",
"main": "dist/cjs/index.cjs.js",
Expand Down Expand Up @@ -38,9 +38,9 @@
"peerDependencies": {
"@dfinity/agent": "^0.20.2",
"@dfinity/candid": "^0.20.2",
"@dfinity/ledger-icrc": "^2.1.1",
"@dfinity/ledger-icrc": "^2.1.2",
"@dfinity/principal": "^0.20.2",
"@dfinity/utils": "^2.1.0"
"@dfinity/utils": "^2.1.1"
},
"dependencies": {
"@noble/hashes": "^1.3.2"
Expand Down
2 changes: 1 addition & 1 deletion packages/utils/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@dfinity/utils",
"version": "2.1.0",
"version": "2.1.1",
"description": "A collection of utilities and constants for NNS/SNS projects.",
"license": "Apache-2.0",
"main": "dist/cjs/index.cjs.js",
Expand Down

0 comments on commit 5b3ee2b

Please sign in to comment.