Skip to content

Commit

Permalink
chore: prepare new release (#824)
Browse files Browse the repository at this point in the history
# Motivation

In today's release
[2025.01.20-1030Z](https://github.com/dfinity/ic-js/releases/tag/2025.01.20-1030Z)
I did not bumped utils. As a result the new utility
`fromNullishNullable` is not released. So I think it's cleaner to make a
new release which bumps utils and all libs that use it.

# Changes

- Bump version and update CHANGELOG

---------

Signed-off-by: David Dal Busco <david.dalbusco@dfinity.org>
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
  • Loading branch information
peterpeterparker and github-actions[bot] authored Jan 20, 2025
1 parent 62107c3 commit a8680c6
Show file tree
Hide file tree
Showing 12 changed files with 61 additions and 43 deletions.
22 changes: 20 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,28 @@
# YYYY.MM.DD-HHMMZ

This comment has been minimized.

Copy link
@dskloetd

dskloetd Jan 27, 2025

Collaborator

Every time I want to create a new changelog entry after a release, I need to look at an old version to copy this line. Can we just keep the # YYYY.MM.DD-HHMMZ line when a new release is made to have a section to add new entries to?

This comment has been minimized.

Copy link
@peterpeterparker

peterpeterparker Jan 27, 2025

Author Member

I find it cleaner not to have such an entry on main when there's nothing new to release, as an external developer consulting the CHANGELOG wouldn't find an empty section..

I guess we can have something like following:

# YYYY.MM.DD-HHMMZ 

No new changes scheduled for the next version yet.

But then we'd face the same issue - someone would still need to check the history to retrieve the sentence?

Note that maybe it does not have to be # YYYY.MM.DD-HHMMZ, it's just a temporary title, # Next would work as well?

This comment has been minimized.

Copy link
@dskloetd

dskloetd via email Jan 27, 2025

Collaborator

This comment has been minimized.

Copy link
@peterpeterparker

peterpeterparker Jan 27, 2025

Author Member
# YYYY.MM.DD-HHMMZ 

No new changes scheduled for the next version yet.

## Features

- ...

I guess we just need a sentence that work when the section if empty or not empty and indeed then we can keep it.

This comment has been minimized.

Copy link
@dskloetd

dskloetd Jan 27, 2025

Collaborator

Oops, right, my bad. I'll think about it.

# 2025.01.20-1730Z

## Overview

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

| Library | Version | Status |
| ------------------------ | ------- | ------------- |
| `@dfinity/ckbtc` | v3.1.6 | Maintained ⚙️ |
| `@dfinity/cketh` | v3.4.3 | Maintained ⚙️ |
| `@dfinity/cmc` | v4.1.1 | Maintained ⚙️ |
| `@dfinity/ic-management` | v6.0.3 | Maintained ⚙️ |
| `@dfinity/ledger-icp` | v2.6.7 | Maintained ⚙️ |
| `@dfinity/ledger-icrc` | v2.7.2 | Maintained ⚙️ |
| `@dfinity/nns` | v8.2.1 | Maintained ⚙️ |
| `@dfinity/nns-proto` | v2.0.1 | Unchanged️ |
| `@dfinity/sns` | v3.2.8 | Maintained ⚙️ |
| `@dfinity/utils` | v2.9.0 | Enhanced 🔧️ |
| `@dfinity/zod-schemas` | v0.0.1 | Unchanged️ |

# Features

- Support `CanisterSettings.wasm_memory_threshold` in `@dfinity/nns`.
- Support `UpgradeSnsControlledCanister.chunked_canister_wasm` in `@dfinity/sns`.
- Add utility `fromNullishNullable` extracts the value from a nullish Candid-style variant representation.

# 2025.01.20-1030Z

Expand All @@ -29,7 +48,6 @@ The current status of the libraries at the time of the release is as follows:

- Expose types `IcrcApproveError` and `IcrcTransferFromError` in `@dfinity/ledger-icrc`.
- Expose few additional did types in `@dfinity/ledger-icp`.
- Add utility `fromNullishNullable` extracts the value from a nullish Candid-style variant representation.
- Introduce a new zod-schemas library to provide a collection of reusable Zod schemas and validators for common data patterns in ICP applications.
- Api get network economics parameters.
- Update `old_list_neurons_service.certified.idl.js`.
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": "2025.01.20-1030Z",
"version": "2025.01.20-1730Z",
"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": "3.1.5",
"version": "3.1.6",
"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": "^2.0.0",
"@dfinity/candid": "^2.0.0",
"@dfinity/principal": "^2.0.0",
"@dfinity/utils": "^2.8.0"
"@dfinity/utils": "^2.9.0"
},
"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": "3.4.2",
"version": "3.4.3",
"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": "^2.0.0",
"@dfinity/candid": "^2.0.0",
"@dfinity/principal": "^2.0.0",
"@dfinity/utils": "^2.8.0"
"@dfinity/utils": "^2.9.0"
}
}
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": "4.1.0",
"version": "4.1.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": "^2.0.0",
"@dfinity/candid": "^2.0.0",
"@dfinity/principal": "^2.0.0",
"@dfinity/utils": "^2.8.0"
"@dfinity/utils": "^2.9.0"
}
}
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": "6.0.2",
"version": "6.0.3",
"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": "^2.0.0",
"@dfinity/candid": "^2.0.0",
"@dfinity/principal": "^2.0.0",
"@dfinity/utils": "^2.8.0"
"@dfinity/utils": "^2.9.0"
}
}
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.6.6",
"version": "2.6.7",
"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 @@ -41,6 +41,6 @@
"@dfinity/agent": "^2.0.0",
"@dfinity/candid": "^2.0.0",
"@dfinity/principal": "^2.0.0",
"@dfinity/utils": "^2.8.0"
"@dfinity/utils": "^2.9.0"
}
}
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.7.1",
"version": "2.7.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": "^2.0.0",
"@dfinity/candid": "^2.0.0",
"@dfinity/principal": "^2.0.0",
"@dfinity/utils": "^2.8.0"
"@dfinity/utils": "^2.9.0"
}
}
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": "8.2.0",
"version": "8.2.1",
"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,8 +53,8 @@
"peerDependencies": {
"@dfinity/agent": "^2.0.0",
"@dfinity/candid": "^2.0.0",
"@dfinity/ledger-icp": "^2.6.6",
"@dfinity/ledger-icp": "^2.6.7",
"@dfinity/principal": "^2.0.0",
"@dfinity/utils": "^2.8.0"
"@dfinity/utils": "^2.9.0"
}
}
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": "3.2.7",
"version": "3.2.8",
"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": "^2.0.0",
"@dfinity/candid": "^2.0.0",
"@dfinity/ledger-icrc": "^2.7.1",
"@dfinity/ledger-icrc": "^2.7.2",
"@dfinity/principal": "^2.0.0",
"@dfinity/utils": "^2.8.0"
"@dfinity/utils": "^2.9.0"
},
"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.8.0",
"version": "2.9.0",
"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 a8680c6

Please sign in to comment.