Skip to content

Commit

Permalink
Merge pull request #564 from nervosnetwork/rc/v0.101.0
Browse files Browse the repository at this point in the history
Rc/v0.101.0
  • Loading branch information
Keith-CY authored Oct 25, 2021
2 parents c73b833 + 459ed41 commit a4c7532
Show file tree
Hide file tree
Showing 34 changed files with 4,257 additions and 3,762 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/bundle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
- name: Install Node.js
uses: actions/setup-node@v2-beta
with:
node-version: 12
node-version: 14

- name: Restore
uses: actions/cache@v2
Expand Down
26 changes: 26 additions & 0 deletions .github/workflows/merge_master_into_develop.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Merge released into develop

on:
release:
branches:
- master
types:
- published
- prereleased

jobs:
merge-to-dev:
name: Merge master into develop
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: Request
uses: repo-sync/pull-request@v2
with:
source_branch: master
destination_branch: develop
pr_title: 'Merge released ${{ github.ref }} into develop'
pr_reviewer: keith-cy
pr_label: auto-pr
pr_body: ':crown: *Anautomated PR*'
github_token: ${{ secrets.GITHUB_TOKEN }}
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
default:
strategy:
matrix:
node: [12, 13, 14]
node: [12, 14, 16]
os: [macos-latest, ubuntu-18.04]
runs-on: ${{ matrix.os }}
steps:
Expand Down
27 changes: 27 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,33 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

# [0.101.0](https://github.com/nervosnetwork/ckb-sdk-js/compare/v0.43.0...v0.101.0) (2021-10-25)


### Features

* extends hash_type to 'data' | 'type' | 'data1' ([#555](https://github.com/nervosnetwork/ckb-sdk-js/issues/555)) ([30c49e8](https://github.com/nervosnetwork/ckb-sdk-js/commit/30c49e8960a704eb76dd0c5e0d8f370212a84a6d))
* **rpc:** a new field 'extension' is added to the block body ([285a829](https://github.com/nervosnetwork/ckb-sdk-js/commit/285a829e4e5af7a43779e7cb854394f75fa61ff6))
* **rpc:** add a new field 'hardforkFeatures' in response of getConsensus ([133fe26](https://github.com/nervosnetwork/ckb-sdk-js/commit/133fe26f92d49e2df2445d1530871923ef51892c))
* **rpc:** rename 'uncles_hash' to 'extra_hash' in block header ([58c055c](https://github.com/nervosnetwork/ckb-sdk-js/commit/58c055c4b25fbd1f7abf78c334ca27e6c2566623))


### BREAKING CHANGES

* **rpc:** Add a new field 'hardforkFeatures' in response of getConsensus

ref https://github.com/nervosnetwork/ckb/pull/2879
* **rpc:** A new field 'extension' is added to the block body

ref https://github.com/nervosnetwork/rfcs/pull/224
* **rpc:** The field 'uncles_hash' in block header is renamed to 'extra_hash'

ref: https://github.com/nervosnetwork/rfcs/pull/224





# [0.43.0](https://github.com/nervosnetwork/ckb-sdk-js/compare/v0.41.1...v0.43.0) (2021-06-29)

**Note:** Version bump only for package ckb-sdk-js
Expand Down
2 changes: 1 addition & 1 deletion lerna.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@
],
"npmClient": "yarn",
"useWorkspaces": true,
"version": "0.43.0"
"version": "0.101.0"
}
39 changes: 18 additions & 21 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,30 +25,27 @@
"git add"
]
},
"optionalDependencies": {
"@ckb-lumos/indexer": "0.14.0"
},
"devDependencies": {
"@cryptape/sdk-ts-config": "0.0.1",
"@types/node": "14.0.23",
"@typescript-eslint/eslint-plugin": "3.6.1",
"@typescript-eslint/parser": "3.6.1",
"commitizen": "4.1.2",
"cz-conventional-changelog": "3.2.0",
"eslint": "7.4.0",
"eslint-config-airbnb-base": "14.2.0",
"eslint-config-prettier": "6.11.0",
"eslint-plugin-import": "2.22.0",
"eslint-plugin-jest": "23.18.0",
"eslint-plugin-prettier": "3.1.4",
"husky": "4.2.5",
"jest": "26.1.0",
"lerna": "3.22.1",
"lint-staged": "10.2.11",
"prettier": "2.0.5",
"@types/node": "16.10.2",
"@typescript-eslint/eslint-plugin": "4.32.0",
"@typescript-eslint/parser": "4.32.0",
"commitizen": "4.2.4",
"cz-conventional-changelog": "3.3.0",
"eslint": "7.32.0",
"eslint-config-airbnb-base": "14.2.1",
"eslint-config-prettier": "8.3.0",
"eslint-plugin-import": "2.24.2",
"eslint-plugin-jest": "24.5.0",
"eslint-plugin-prettier": "4.0.0",
"husky": "7.0.2",
"jest": "27.2.4",
"lerna": "4.0.0",
"lint-staged": "11.1.2",
"prettier": "2.4.1",
"rimraf": "3.0.2",
"typedoc": "0.17.8",
"typescript": "4.0.1-rc"
"typedoc": "0.22.4",
"typescript": "4.4.3"
},
"config": {
"commitizen": {
Expand Down
18 changes: 18 additions & 0 deletions packages/ckb-sdk-core/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,24 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

# [0.101.0](https://github.com/nervosnetwork/ckb-sdk-js/compare/v0.43.0...v0.101.0) (2021-10-25)


### Features

* **rpc:** rename 'uncles_hash' to 'extra_hash' in block header ([58c055c](https://github.com/nervosnetwork/ckb-sdk-js/commit/58c055c4b25fbd1f7abf78c334ca27e6c2566623))


### BREAKING CHANGES

* **rpc:** The field 'uncles_hash' in block header is renamed to 'extra_hash'

ref: https://github.com/nervosnetwork/rfcs/pull/224





# [0.43.0](https://github.com/nervosnetwork/ckb-sdk-js/compare/v0.41.1...v0.43.0) (2021-06-29)

**Note:** Version bump only for package @nervosnetwork/ckb-sdk-core
Expand Down
2 changes: 1 addition & 1 deletion packages/ckb-sdk-core/__mocks__/data/genesisBlock.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"parentHash": "0x0000000000000000000000000000000000000000000000000000000000000000",
"transactionsRoot": "0x0d31bf4fe7d0274d8331c76b320dbb0c9557a21fdf599e9f56d8c369529f8961",
"proposalsHash": "0x0000000000000000000000000000000000000000000000000000000000000000",
"unclesHash": "0x0000000000000000000000000000000000000000000000000000000000000000",
"extraHash": "0x0000000000000000000000000000000000000000000000000000000000000000",
"dao": "0x0469b82c6c1ea12e0000c16ff286230066cbed490e00000000b2b49f02fbfe06",
"epoch": "0x0",
"hash": "0x184ac4658ed0c04a126551257990db132366cac22ab6270bbbc1f8c3220f302d",
Expand Down
14 changes: 7 additions & 7 deletions packages/ckb-sdk-core/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@nervosnetwork/ckb-sdk-core",
"version": "0.43.0",
"version": "0.101.0",
"description": "JavaScript SDK for Nervos Network CKB Project",
"author": "Nervos <[email protected]>",
"homepage": "https://github.com/nervosnetwork/ckb-sdk-js#readme",
Expand All @@ -16,7 +16,7 @@
"types"
],
"publishConfig": {
"registry": "http://registry.npmjs.org/",
"registry": "https://registry.npmjs.org/",
"access": "public"
},
"repository": {
Expand All @@ -31,10 +31,10 @@
"url": "https://github.com/nervosnetwork/ckb-sdk-js/issues"
},
"dependencies": {
"@nervosnetwork/ckb-sdk-rpc": "0.43.0",
"@nervosnetwork/ckb-sdk-utils": "0.43.0",
"@nervosnetwork/ckb-types": "0.43.0",
"tslib": "2.0.1"
"@nervosnetwork/ckb-sdk-rpc": "0.101.0",
"@nervosnetwork/ckb-sdk-utils": "0.101.0",
"@nervosnetwork/ckb-types": "0.101.0",
"tslib": "2.3.1"
},
"gitHead": "2beba032c0421ba14fece41fa42f9879ab767fa1"
"gitHead": "19434575f22752458bfcce58f68faae483daa23d"
}
27 changes: 27 additions & 0 deletions packages/ckb-sdk-rpc/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,33 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

# [0.101.0](https://github.com/nervosnetwork/ckb-sdk-js/compare/v0.43.0...v0.101.0) (2021-10-25)


### Features

* extends hash_type to 'data' | 'type' | 'data1' ([#555](https://github.com/nervosnetwork/ckb-sdk-js/issues/555)) ([30c49e8](https://github.com/nervosnetwork/ckb-sdk-js/commit/30c49e8960a704eb76dd0c5e0d8f370212a84a6d))
* **rpc:** a new field 'extension' is added to the block body ([285a829](https://github.com/nervosnetwork/ckb-sdk-js/commit/285a829e4e5af7a43779e7cb854394f75fa61ff6))
* **rpc:** add a new field 'hardforkFeatures' in response of getConsensus ([133fe26](https://github.com/nervosnetwork/ckb-sdk-js/commit/133fe26f92d49e2df2445d1530871923ef51892c))
* **rpc:** rename 'uncles_hash' to 'extra_hash' in block header ([58c055c](https://github.com/nervosnetwork/ckb-sdk-js/commit/58c055c4b25fbd1f7abf78c334ca27e6c2566623))


### BREAKING CHANGES

* **rpc:** Add a new field 'hardforkFeatures' in response of getConsensus

ref https://github.com/nervosnetwork/ckb/pull/2879
* **rpc:** A new field 'extension' is added to the block body

ref https://github.com/nervosnetwork/rfcs/pull/224
* **rpc:** The field 'uncles_hash' in block header is renamed to 'extra_hash'

ref: https://github.com/nervosnetwork/rfcs/pull/224





# [0.43.0](https://github.com/nervosnetwork/ckb-sdk-js/compare/v0.41.1...v0.43.0) (2021-06-29)

**Note:** Version bump only for package @nervosnetwork/ckb-sdk-rpc
Expand Down
Loading

0 comments on commit a4c7532

Please sign in to comment.