From f5ff0fc92b291fc15679d028292ef8452d500593 Mon Sep 17 00:00:00 2001 From: Ivan Shumkov Date: Mon, 21 Mar 2022 20:21:13 +0700 Subject: [PATCH] chore(release): update changelog and bump version to 0.22.0 (#305) --- CHANGELOG.md | 103 ++++++++++++++++++ package.json | 2 +- packages/dapi-grpc/package.json | 2 +- packages/dapi/package.json | 2 +- packages/dashmate/package.json | 2 +- packages/dashpay-contract/package.json | 2 +- packages/dpns-contract/package.json | 2 +- packages/feature-flags-contract/package.json | 2 +- packages/js-dapi-client/package.json | 2 +- packages/js-dash-sdk/package.json | 2 +- packages/js-dpp/package.json | 2 +- packages/js-drive/package.json | 2 +- packages/js-grpc-common/package.json | 2 +- .../package.json | 2 +- packages/platform-test-suite/package.json | 2 +- packages/wallet-lib/package.json | 2 +- 16 files changed, 118 insertions(+), 15 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index ded3d7f0e54..200f0482458 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,106 @@ +## [0.22.0](https://github.com/dashevo/platform/compare/v0.21.8...v0.22.0) (2022-03-21) + +### ⚠ BREAKING CHANGES + +* `name` is required for document index definition +* `platform.contracts.broadcast` method in SDK renamed to `platform.contracts.publish` +* Identity public key requires `purpose` and `securityLevel` properties +* `$id` property can't be used in document indices +* Indexed properties now require size constraints +* `getIdentitiesByPublicKeyHashes` returns array of arrays of identities +* `getIdentityIdsByPublicKeyHashes` returns array of arrays of identity ids +* Document array properties temporarily cannot be indexed. Will be enabled in v0.23 +* Range operations in document queries can be used only in the last where clause +* sorting (`orderBy`) in document queries is required for range operations +* `elementMatch`, `contains` and `includes` operations are temporarily disabled in document query. Will be enabled in v0.23 +* `$ref` in data contract is temporarily disabled +* `startAt` and `startAfter` accept now only document id instead of document offset +* `in` operator can be used only in two last where clauses +* Cryptographical proofs for platform state are temporarily disabled. Will be enabled in upcoming releases +* Platform data is not compatible with previous platform versions. Please reset your node. + + +### Features + +* identity public key purpose and security levels ([#46](https://github.com/dashevo/platform/issues/46)) +* allow using non-unique Identity public keys ([#168](https://github.com/dashevo/platform/issues/168)) +* distribute dashmate with NPM ([#148](https://github.com/dashevo/platform/issues/148)) +* create and update masternode identities ([#160](https://github.com/dashevo/platform/issues/160), [#170](https://github.com/dashevo/platform/issues/170), [#257](https://github.com/dashevo/platform/issues/257), [#272](https://github.com/dashevo/platform/issues/272), [#279](https://github.com/dashevo/platform/issues/279), [#287](https://github.com/dashevo/platform/issues/287)) +* added WalletStore ([#197](https://github.com/dashevo/platform/issues/197)) +* register system contracts on `initChain` ([#182](https://github.com/dashevo/platform/issues/182), [#192](https://github.com/dashevo/platform/issues/192)) +* integrate new storage (GroveDB) and secondary indices (RS Drive) ([#77](https://github.com/dashevo/platform/issues/77), [#177](https://github.com/dashevo/platform/issues/177), [#178](https://github.com/dashevo/platform/issues/178), [#199](https://github.com/dashevo/platform/issues/199), [#201](https://github.com/dashevo/platform/issues/201), [#225](https://github.com/dashevo/platform/issues/225), [#259](https://github.com/dashevo/platform/issues/259), [#280](https://github.com/dashevo/platform/issues/280), [#303](https://github.com/dashevo/platform/issues/303)) +* fallback to chain asset lock proof ([#297](https://github.com/dashevo/platform/issues/297)) +* add an ability to update data contract ([#52](https://github.com/dashevo/platform/issues/52), [#83](https://github.com/dashevo/platform/issues/83), [#223](https://github.com/dashevo/platform/issues/223)) +* add required `name` property to index definition ([#74](https://github.com/dashevo/platform/issues/74)) +* use document for `startAt` and `startAfter` in document query ([#227](https://github.com/dashevo/platform/pull/227), [#255](https://github.com/dashevo/platform/issues/255)) +* **dashmate:** enable mainnet for dashmate ([#2](https://github.com/dashevo/platform/issues/2)) +* **dashmate:** json output for status commands ([#31](https://github.com/dashevo/platform/issues/31), [#262](https://github.com/dashevo/platform/issues/262)) +* **dashmate:** add an ability to configure node subnet mask ([#237](https://github.com/dashevo/platform/issues/237)) +* **dpp:** add `readOnly` flag to `IdentityPublicKey` ([#142](https://github.com/dashevo/platform/issues/142), [#239](https://github.com/dashevo/platform/issues/239)) +* **dpp:** allow using BLS key to sign state transitions ([#268](https://github.com/dashevo/platform/issues/268), [#275](https://github.com/dashevo/platform/issues/275)) +* **drive:** network address in `ValidatorUpdate` ABCI ([#140](https://github.com/dashevo/platform/issues/140), [#155](https://github.com/dashevo/platform/issues/155), [#184](https://github.com/dashevo/platform/issues/184)) +* **drive:** add performance timers to measure block execution ([#281](https://github.com/dashevo/platform/issues/281)) +* **dapi:** `subscribeToBlockHeadersWithChainLocks` endpoint ([#153](https://github.com/dashevo/platform/issues/153)) +* **wallet-lib:** ChainStore ([#196](https://github.com/dashevo/platform/issues/196)) +* **dapi-client:** get and verify block headers with dash-spv ([#211](https://github.com/dashevo/platform/issues/211)) +* **dapi-client:** handle asynchronous errors ([#233](https://github.com/dashevo/platform/issues/233)) + + +### Bug Fixes + +* **dashmate:** `cannot read properties of undefined (reading 'dpns')` on reset ([#47](https://github.com/dashevo/platform/issues/47)) +* **drive:** missed JS ABCI yarn cache ([#156](https://github.com/dashevo/platform/issues/156)) +* **build:** `zeromq` build is not working on linux ([#236](https://github.com/dashevo/platform/issues/236)) +* cannot install `protobufjs` in some cases ([#266](https://github.com/dashevo/platform/issues/266), [#267](https://github.com/dashevo/platform/issues/267)) +* **dashmate:** `rimraf` module could not remove config directory ([#248](https://github.com/dashevo/platform/issues/248)) +* **dashmate:** logs were incorrectly mounted ([#261](https://github.com/dashevo/platform/issues/261)) +* **drive:** documents have mixed owner ids ([#283](https://github.com/dashevo/platform/issues/283)) +* cannot read properties of undefined (reading 'getIp') ([#285](https://github.com/dashevo/platform/issues/285)) +* InstantLock waiting period for transaction... ([#293](https://github.com/dashevo/platform/issues/293)) +* **dpp:** re2 memory leak ([#301](https://github.com/dashevo/platform/issues/301)) +* **drive:** internal error on verify instant lock ([#295](https://github.com/dashevo/platform/issues/295)) + + +### Documentation + +* improved sidebar and usage in DAPI client ([#3](https://github.com/dashevo/platform/issues/3)) +* provide getTransactionHistory ([#5](https://github.com/dashevo/platform/issues/5)) +* minor Readme fixes ([#163](https://github.com/dashevo/platform/issues/163)) +* add readme to docs folder ([#175](https://github.com/dashevo/platform/issues/175)) +* escape literal '|' in table ([#164](https://github.com/dashevo/platform/issues/164)) +* indicate which network(s) this repo supports ([#174](https://github.com/dashevo/platform/issues/174)) +* ignore folder with empty docs during build ([#212](https://github.com/dashevo/platform/issues/212)) + + +### Tests + +* **wallet-lib:** enable skipped test after the fix for grpc-js lib ([#71](https://github.com/dashevo/platform/issues/71)) + + +### Miscellaneous Chores + +* fix wrong version in a release PR title ([#82](https://github.com/dashevo/platform/issues/82)) +* missed merk darwin x64 pre-build binary ([#144](https://github.com/dashevo/platform/issues/144)) +* undefined "-w" argument in restart script ([#85](https://github.com/dashevo/platform/issues/85)) +* **drive:** send initial core chain locked height on init chain ([#180](https://github.com/dashevo/platform/issues/180)) +* update to use current @oclif/core ([#154](https://github.com/dashevo/platform/issues/154)) +* remove `fixCumulativeFeesBug` feature flag ([#191](https://github.com/dashevo/platform/issues/191)) +* update tenderdash and core images ([#188](https://github.com/dashevo/platform/issues/188), [#252](https://github.com/dashevo/platform/issues/252), [#269](https://github.com/dashevo/platform/issues/269)) +* **dpp:** temporarily disable $refs in data contract definitions ([#300](https://github.com/dashevo/platform/issues/300)) +* **dpp:** size constraints for indexed properties ([#179](https://github.com/dashevo/platform/issues/179), [#273](https://github.com/dashevo/platform/issues/273)) + + +### Build System + +* **test-suite:** docker image build doesn't work ([#172](https://github.com/dashevo/platform/issues/172)) +* fix configure test suite script for grep 2.5.1 ([#187](https://github.com/dashevo/platform/issues/187)) + + +### Code Refactoring + +* **dapi:** rename tx-filter-stream.js to core-streams.js ([#169](https://github.com/dashevo/platform/issues/169)) + + ## [0.22.0-dev.16](https://github.com/dashevo/platform/compare/v0.22.0-dev.15...v0.22.0-dev.16) (2022-03-18) diff --git a/package.json b/package.json index ff37f1f70eb..464c8f27318 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@dashevo/platform", - "version": "0.22.0-dev.16", + "version": "0.22.0", "private": true, "scripts": { "setup": "yarn install && yarn run build && yarn run configure", diff --git a/packages/dapi-grpc/package.json b/packages/dapi-grpc/package.json index 0b14c96621e..2c6d1b820b6 100644 --- a/packages/dapi-grpc/package.json +++ b/packages/dapi-grpc/package.json @@ -1,6 +1,6 @@ { "name": "@dashevo/dapi-grpc", - "version": "0.22.0-dev.16", + "version": "0.22.0", "description": "DAPI GRPC definition file and generated clients", "browser": "browser.js", "main": "node.js", diff --git a/packages/dapi/package.json b/packages/dapi/package.json index 52fecd9d361..5c9772724ae 100644 --- a/packages/dapi/package.json +++ b/packages/dapi/package.json @@ -1,7 +1,7 @@ { "name": "@dashevo/dapi", "private": true, - "version": "0.22.0-dev.16", + "version": "0.22.0", "description": "A decentralized API for the Dash network", "scripts": { "api": "node scripts/api.js", diff --git a/packages/dashmate/package.json b/packages/dashmate/package.json index c0676d59d86..02fad9f61a4 100644 --- a/packages/dashmate/package.json +++ b/packages/dashmate/package.json @@ -1,6 +1,6 @@ { "name": "dashmate", - "version": "0.22.0-dev.16", + "version": "0.22.0", "description": "Distribution package for Dash Masternode installation", "main": "src/index.js", "scripts": { diff --git a/packages/dashpay-contract/package.json b/packages/dashpay-contract/package.json index 495d8667e6d..7bbdab27e92 100644 --- a/packages/dashpay-contract/package.json +++ b/packages/dashpay-contract/package.json @@ -1,6 +1,6 @@ { "name": "@dashevo/dashpay-contract", - "version": "0.22.0-dev.16", + "version": "0.22.0", "description": "Reference contract of the DashPay DPA on Dash Evolution", "scripts": { "lint": "eslint .", diff --git a/packages/dpns-contract/package.json b/packages/dpns-contract/package.json index 320c883f0ae..d486e3a4ef5 100644 --- a/packages/dpns-contract/package.json +++ b/packages/dpns-contract/package.json @@ -1,6 +1,6 @@ { "name": "@dashevo/dpns-contract", - "version": "0.22.0-dev.16", + "version": "0.22.0", "description": "A contract and helper scripts for DPNS DApp", "scripts": { "lint": "eslint .", diff --git a/packages/feature-flags-contract/package.json b/packages/feature-flags-contract/package.json index dc5aa788e75..7c84897d41b 100644 --- a/packages/feature-flags-contract/package.json +++ b/packages/feature-flags-contract/package.json @@ -1,6 +1,6 @@ { "name": "@dashevo/feature-flags-contract", - "version": "0.22.0-dev.16", + "version": "0.22.0", "description": "Data Contract to store Dash Platform feature flags", "scripts": { "build": "", diff --git a/packages/js-dapi-client/package.json b/packages/js-dapi-client/package.json index 9e539f919fd..ad341211c0f 100644 --- a/packages/js-dapi-client/package.json +++ b/packages/js-dapi-client/package.json @@ -1,6 +1,6 @@ { "name": "@dashevo/dapi-client", - "version": "0.22.0-dev.16", + "version": "0.22.0", "description": "Client library used to access Dash DAPI endpoints", "main": "lib/DAPIClient.js", "contributors": [ diff --git a/packages/js-dash-sdk/package.json b/packages/js-dash-sdk/package.json index 6d8874bf869..3e458a95b75 100644 --- a/packages/js-dash-sdk/package.json +++ b/packages/js-dash-sdk/package.json @@ -1,6 +1,6 @@ { "name": "dash", - "version": "3.22.0-dev.16", + "version": "3.22.0", "description": "Dash library for JavaScript/TypeScript ecosystem (Wallet, DAPI, Primitives, BLS, ...)", "main": "build/src/index.js", "unpkg": "dist/dash.min.js", diff --git a/packages/js-dpp/package.json b/packages/js-dpp/package.json index 261eb2f02fc..a342192fa5c 100644 --- a/packages/js-dpp/package.json +++ b/packages/js-dpp/package.json @@ -1,6 +1,6 @@ { "name": "@dashevo/dpp", - "version": "0.22.0-dev.16", + "version": "0.22.0", "description": "The JavaScript implementation of the Dash Platform Protocol", "scripts": { "lint": "eslint .", diff --git a/packages/js-drive/package.json b/packages/js-drive/package.json index d87ec7e5ae7..78fb475b1f7 100644 --- a/packages/js-drive/package.json +++ b/packages/js-drive/package.json @@ -1,7 +1,7 @@ { "name": "@dashevo/drive", "private": true, - "version": "0.22.0-dev.16", + "version": "0.22.0", "description": "Replicated state machine for Dash Platform", "engines": { "node": ">=12" diff --git a/packages/js-grpc-common/package.json b/packages/js-grpc-common/package.json index 883d02496bf..e937b21cb1b 100644 --- a/packages/js-grpc-common/package.json +++ b/packages/js-grpc-common/package.json @@ -1,6 +1,6 @@ { "name": "@dashevo/grpc-common", - "version": "0.22.0-dev.16", + "version": "0.22.0", "description": "Common GRPC library", "main": "index.js", "scripts": { diff --git a/packages/masternode-reward-shares-contract/package.json b/packages/masternode-reward-shares-contract/package.json index 1ec3228441f..30d4add284d 100644 --- a/packages/masternode-reward-shares-contract/package.json +++ b/packages/masternode-reward-shares-contract/package.json @@ -1,6 +1,6 @@ { "name": "@dashevo/masternode-reward-shares-contract", - "version": "0.22.0-dev.16", + "version": "0.22.0", "description": "A contract and helper scripts for reward sharing", "scripts": { "lint": "eslint .", diff --git a/packages/platform-test-suite/package.json b/packages/platform-test-suite/package.json index 2adeff7f0c2..6bd34228c16 100644 --- a/packages/platform-test-suite/package.json +++ b/packages/platform-test-suite/package.json @@ -1,7 +1,7 @@ { "name": "@dashevo/platform-test-suite", "private": true, - "version": "0.22.0-dev.16", + "version": "0.22.0", "description": "Dash Network end-to-end tests", "scripts": { "test": "mocha -b './test/**/*.spec.js'", diff --git a/packages/wallet-lib/package.json b/packages/wallet-lib/package.json index e1f2d6e4c7c..8df729b17e5 100644 --- a/packages/wallet-lib/package.json +++ b/packages/wallet-lib/package.json @@ -1,6 +1,6 @@ { "name": "@dashevo/wallet-lib", - "version": "7.22.0-dev.16", + "version": "7.22.0", "description": "Light wallet library for Dash", "main": "src/index.js", "unpkg": "dist/wallet-lib.min.js",