Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/main' into update-ic
Browse files Browse the repository at this point in the history
  • Loading branch information
bitdivine committed Nov 15, 2023
2 parents 938a32f + 7b2513f commit cb5cdee
Show file tree
Hide file tree
Showing 10 changed files with 43 additions and 27 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/update-ic.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,15 +42,16 @@ jobs:
./scripts/compile-idl-js
# Checks whether it was all for nothing.
# ... Note: Ignores how we got here.
if git diff -I '\/\/ Generated from IC repo.*' | grep -q .
DIFF_IGNORING_PROVENANCE="$(git diff -I '\/\/ Generated from IC repo.*')"
if [[ "${DIFF_IGNORING_PROVENANCE:-}" == "" ]]
then
echo "API changes detected!"
echo "updated=1" >> "$GITHUB_OUTPUT"
else
commit="$(cd ic && git rev-parse --short HEAD)"
echo "No signficant differences found in IC ref ${{ inputs.ic_ref }} (commit $commit)."
git diff
echo "updated=0" >> "$GITHUB_OUTPUT"
else
echo "API changes detected!"
echo "updated=1" >> "$GITHUB_OUTPUT"
fi
- name: Create Pull Request
if: ${{ (steps.update.outputs.updated == '1') && false }}
Expand Down
31 changes: 23 additions & 8 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,17 +1,32 @@
# 2023.XX.YY
# 2023.10.15-0600Z

## Overview

<!-- TODO: To be documented. -->
The current status of the libraries at the time of the release is as follows:

| Library | Version | Status |
| ------------------------ | ------- | ----------- |
| `@dfinity/ckbtc` | v1.1.0 | Enhanced 🔧 |
| `@dfinity/cmc` | v1.0.0 | Unchanged |
| `@dfinity/ic-management` | v1.0.0 | Unchanged |
| `@dfinity/ledger-icp` | v1.1.0 | Enhanced 🔧 |
| `@dfinity/ledger-icrc` | v1.0.1 | Patched 🩹 |
| `@dfinity/nns` | v2.1.0 | Enhanced 🔧 |
| `@dfinity/nns-proto` | v1.0.0 | Unchanged |
| `@dfinity/sns` | v1.0.2 | Patched 🩹 |
| `@dfinity/utils` | v1.1.0 | Enhanced 🔧 |

## Features

- add support for ICP Index canister to library `@dfinity/ledger-icp`. New `IndexCanister` functions: `accountBalance` and `getTransactions`.
- expose few types - notably `BlockHeight` - for library `@dfinity/ledger-icp`.
- support new fields from swap canister response types: `min_direct_participation_icp_e8s`, `max_direct_participation_icp_e8s` and `neurons_fund_participation`.
- support new fields in the `CreateServiceNervousSystem` proposal action `maximum_direct_participation_icp`, `minimum_direct_participation_icp` and `neurons_fund_participation`.
- support new filter field `omit_large_fields` in `list_proposals`.
- add support for `retrieve_btc_with_approval` in `@dfinity/ckbtc`.
- add support for ICP Index canister to library `@dfinity/ledger-icp`. New `IndexCanister` functions: `accountBalance` and `getTransactions`
- expose few types - notably `BlockHeight` - for library `@dfinity/ledger-icp`
- support new fields from swap canister response types: `min_direct_participation_icp_e8s`, `max_direct_participation_icp_e8s` and `neurons_fund_participation`
- support new fields in the `CreateServiceNervousSystem` proposal action: `maximum_direct_participation_icp`, `minimum_direct_participation_icp` and `neurons_fund_participation`
- support new filter field `omit_large_fields` in `list_proposals`
- add support for `retrieve_btc_with_approval` in `@dfinity/ckbtc`
- new utility to convert seconds to a human-readable duration
- update `@dfinity/ledger-icrc` did files
- update `@dfinity/sns` did files

# 2023.10.02-1515Z

Expand Down
16 changes: 8 additions & 8 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": "2023.10.02-1515Z",
"version": "2023.10.15-0600Z",
"description": "A collection of library for interfacing with the Internet Computer.",
"license": "Apache-2.0",
"workspaces": [
Expand Down
2 changes: 1 addition & 1 deletion packages/ckbtc/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@dfinity/ckbtc",
"version": "1.0.1",
"version": "1.1.0",
"description": "A library for interfacing with ckBTC.",
"license": "Apache-2.0",
"main": "dist/cjs/index.cjs.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/ledger-icp/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@dfinity/ledger-icp",
"version": "1.0.0",
"version": "1.1.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
2 changes: 1 addition & 1 deletion packages/ledger-icrc/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@dfinity/ledger-icrc",
"version": "1.0.0",
"version": "1.0.1",
"description": "A library for interfacing with ICRC ledgers on the Internet Computer.",
"license": "Apache-2.0",
"main": "dist/cjs/index.cjs.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/nns/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@dfinity/nns",
"version": "2.0.0",
"version": "2.1.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
2 changes: 1 addition & 1 deletion packages/sns/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@dfinity/sns",
"version": "1.0.1",
"version": "1.0.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
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": "1.0.0",
"version": "1.1.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 cb5cdee

Please sign in to comment.