Skip to content

Commit

Permalink
build: v1 and semantic versioning (#431)
Browse files Browse the repository at this point in the history
# Motivation

Bump versions to v1.0.0 and commit to start adopting semantic versioning.

This PR also set the release dates in CHANGELOG that way we can effectively release v1 today.
  • Loading branch information
peterpeterparker authored Oct 2, 2023
1 parent ed5757e commit 21a73b7
Show file tree
Hide file tree
Showing 13 changed files with 58 additions and 61 deletions.
19 changes: 10 additions & 9 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
# 0.18.5 (wip)
# 1.0.0 (2023-10-02)

## Release

- nns `v0.16.8`
- sns `v0.0.23`
- cmc `v0.0.19`
- ledger `v0.0.16`
- ckBTC `v0.0.12`
- ic-management `v0.0.9`
- utils `v0.0.23`
- nns-proto `v0.0.9`
- nns `v1.0.0`
- sns `v1.0.0`
- cmc `v1.0.0`
- ledger `v1.0.0`
- ckBTC `v1.0.0`
- ic-management `v1.0.0`
- utils `v1.0.0`
- nns-proto `v1.0.0`

## Features

Expand All @@ -20,6 +20,7 @@
## Build

- bump did files in Cmc
- starting from this version, we commit to adhering to [semantic versioning](https://semver.org/) for any libraries published in ic-js

# 0.18.4 (2023-09-05)

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

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

11 changes: 0 additions & 11 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -95,17 +95,6 @@
"@dfinity/utils"
]
},
{
"name": "@dfinity/ledger-icp",
"path": "./packages/ledger-icp/dist/index.js",
"limit": "4 kB",
"ignore": [
"@dfinity/agent",
"@dfinity/candid",
"@dfinity/principal",
"@dfinity/utils"
]
},
{
"name": "@dfinity/nns",
"path": "./packages/nns/dist/index.js",
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": "0.0.12",
"version": "1.0.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.19.2",
"@dfinity/candid": "^0.19.2",
"@dfinity/principal": "^0.19.2",
"@dfinity/utils": "^0.0.23"
"@dfinity/utils": "^1.0.0"
},
"dependencies": {
"@noble/hashes": "^1.3.2",
Expand Down
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": "0.0.19",
"version": "1.0.0",
"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.19.2",
"@dfinity/candid": "^0.19.2",
"@dfinity/principal": "^0.19.2",
"@dfinity/utils": "^0.0.23"
"@dfinity/utils": "^1.0.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": "0.0.9",
"version": "1.0.0",
"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.19.2",
"@dfinity/candid": "^0.19.2",
"@dfinity/principal": "^0.19.2",
"@dfinity/utils": "^0.0.23"
"@dfinity/utils": "^1.0.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": "0.0.1",
"version": "1.0.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 @@ -41,6 +41,6 @@
"@dfinity/agent": "^0.19.2",
"@dfinity/candid": "^0.19.2",
"@dfinity/principal": "^0.19.2",
"@dfinity/utils": "^0.0.23"
"@dfinity/utils": "^1.0.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": "0.0.1",
"version": "1.0.0",
"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.19.2",
"@dfinity/candid": "^0.19.2",
"@dfinity/principal": "^0.19.2",
"@dfinity/utils": "^0.0.23"
"@dfinity/utils": "^1.0.0"
}
}
4 changes: 2 additions & 2 deletions packages/ledger/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@dfinity/ledger",
"version": "0.0.16",
"version": "1.0.0",
"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.19.2",
"@dfinity/candid": "^0.19.2",
"@dfinity/principal": "^0.19.2",
"@dfinity/utils": "^0.0.23"
"@dfinity/utils": "^1.0.0"
}
}
2 changes: 1 addition & 1 deletion packages/nns-proto/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@dfinity/nns-proto",
"version": "0.0.9",
"version": "1.0.0",
"description": "The protobuf source used by nns-js to support hardware wallets.",
"license": "Apache-2.0",
"main": "dist/cjs/index.cjs.js",
Expand Down
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": "0.16.8",
"version": "1.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,8 +53,8 @@
"peerDependencies": {
"@dfinity/agent": "^0.19.2",
"@dfinity/candid": "^0.19.2",
"@dfinity/nns-proto": "^0.0.9",
"@dfinity/nns-proto": "^1.0.0",
"@dfinity/principal": "^0.19.2",
"@dfinity/utils": "^0.0.23"
"@dfinity/utils": "^1.0.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": "0.0.23",
"version": "1.0.0",
"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.19.2",
"@dfinity/candid": "^0.19.2",
"@dfinity/ledger": "^0.0.16",
"@dfinity/ledger": "^1.0.0",
"@dfinity/principal": "^0.19.2",
"@dfinity/utils": "^0.0.23"
"@dfinity/utils": "^1.0.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": "0.0.23",
"version": "1.0.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 21a73b7

Please sign in to comment.