diff --git a/CHANGELOG.md b/CHANGELOG.md index 9f8269ea9..b89f67b82 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,28 @@ +# [0.12.0](https://github.com/dashevo/dapi/compare/v0.11.1...v0.12.0) (2020-04-18) + +### Bug Fixes + +* in case of `Timed out waiting for tx to be included in a block` DAPI responds with Internal error ([#258](https://github.com/dashevo/dapi/issues/258)) + +### Code Refactoring + +* remove Platform JSON RPC endpoints ([#256](https://github.com/dashevo/dapi/issues/256)) +* rename `TENDERMINT_CORE_...` envs to `TENDERMINT_RPC_...` ([98c6ad0](https://github.com/dashevo/dapi/commit/98c6ad02c1f8cf2ad76f30bec052f9a1f6eac34f)) +* remove rate limiter errors ([#254]((https://github.com/dashevo/dapi/issues/254))) + +### Features + +* handle insufficient funds ABCI error ([#257](https://github.com/dashevo/dapi/issues/257)) +* update deploy script to tag image for every Semver segment ([#260](https://github.com/dashevo/dapi/issues/260)) +* update according to merge of Drive and Machine ([#255](https://github.com/dashevo/dapi/issues/255), [#259](https://github.com/dashevo/dapi/issues/259)) + +### BREAKING CHANGES + +* `fetchDocuments`, `fetchDataContract`, `fetchIdentity`, `applyStateTransition` JSON RPC endpoints are removed. Use gRPC analogues. +* rename `TENDERMINT_CORE_...` envs to `TENDERMINT_RPC_...` +* see [DPP breaking changes](https://github.com/dashevo/js-dpp/releases/tag/v0.12.0) + + ## [0.11.1](https://github.com/dashevo/dapi/compare/v0.11.0...v0.11.1) (2020-03-17) ### Bug Fixes diff --git a/package-lock.json b/package-lock.json index 2da2a2a46..e88ce0912 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "@dashevo/dapi", - "version": "0.12.0-dev.3", + "version": "0.12.0", "lockfileVersion": 1, "requires": true, "dependencies": { @@ -160,39 +160,22 @@ } }, "@dashevo/dapi-client": { - "version": "0.11.0", - "resolved": "https://registry.npmjs.org/@dashevo/dapi-client/-/dapi-client-0.11.0.tgz", - "integrity": "sha512-JS477m7Q5cdwDIV2CUbH52styU4siaG7kOBQTcl+f9Cbq4FLqslBgh1IlqL3LRZn9k1Fb1O9pNgwcp8iw8VJqg==", + "version": "0.12.0-dev.1", + "resolved": "https://registry.npmjs.org/@dashevo/dapi-client/-/dapi-client-0.12.0-dev.1.tgz", + "integrity": "sha512-/3FSuS8K5yFltQop3+eKnki+qGfXsoJzHF4y8/4v1Hl+CgI1lVV2CxsZkVgRibsV1jZjTgNrJQEQSyiVOyOcUA==", "dev": true, "requires": { "@babel/polyfill": "^7.8.3", "@dashevo/dapi-grpc": "~0.12.1", "@dashevo/dash-spv": "^1.1.6", "@dashevo/dashcore-lib": "~0.18.0", - "@dashevo/dpp": "~0.11.0", + "@dashevo/dpp": "~0.12.0-dev.7", "axios": "^0.19.2", "cbor": "^5.0.1", "lodash": "^4.17.15", "lowdb": "^1.0.0" }, "dependencies": { - "@dashevo/dpp": { - "version": "0.11.1", - "resolved": "https://registry.npmjs.org/@dashevo/dpp/-/dpp-0.11.1.tgz", - "integrity": "sha512-H9UpWunAbL/IOWE1V1855UUxioqRUoStGbMFQ+5dAj/xLj3NXhQV3Y1wWn+Kvf6ExXkR1cmx2KintU8XpfeaHA==", - "dev": true, - "requires": { - "@dashevo/dashcore-lib": "~0.18.0", - "ajv": "^6.10.2", - "bs58": "^4.0.1", - "cbor": "^5.0.1", - "json-schema-ref-parser": "^7.1.3", - "lodash.get": "^4.4.2", - "lodash.mergewith": "^4.6.2", - "lodash.set": "^4.3.2", - "multihashes": "^0.4.15" - } - }, "cbor": { "version": "5.0.2", "resolved": "https://registry.npmjs.org/cbor/-/cbor-5.0.2.tgz", @@ -314,12 +297,72 @@ "lodash": "^4.17.15", "mongodb": "^3.3.4", "tendermint": "^4.0.8" + }, + "dependencies": { + "@dashevo/dapi-client": { + "version": "0.11.0", + "resolved": "https://registry.npmjs.org/@dashevo/dapi-client/-/dapi-client-0.11.0.tgz", + "integrity": "sha512-JS477m7Q5cdwDIV2CUbH52styU4siaG7kOBQTcl+f9Cbq4FLqslBgh1IlqL3LRZn9k1Fb1O9pNgwcp8iw8VJqg==", + "dev": true, + "requires": { + "@babel/polyfill": "^7.8.3", + "@dashevo/dapi-grpc": "~0.12.1", + "@dashevo/dash-spv": "^1.1.6", + "@dashevo/dashcore-lib": "~0.18.0", + "@dashevo/dpp": "~0.11.0", + "axios": "^0.19.2", + "cbor": "^5.0.1", + "lodash": "^4.17.15", + "lowdb": "^1.0.0" + }, + "dependencies": { + "cbor": { + "version": "5.0.2", + "resolved": "https://registry.npmjs.org/cbor/-/cbor-5.0.2.tgz", + "integrity": "sha512-6JiKVURxxO92FntzTJq54QdN/8fBaBwD7+nNyGIAi1HL9mBgU3YK6ULV8k7WTuT/EwfRsjy3MuqDKlkQMCmfXg==", + "dev": true, + "requires": { + "bignumber.js": "^9.0.0", + "nofilter": "^1.0.3" + } + } + } + }, + "@dashevo/dpp": { + "version": "0.11.1", + "resolved": "https://registry.npmjs.org/@dashevo/dpp/-/dpp-0.11.1.tgz", + "integrity": "sha512-H9UpWunAbL/IOWE1V1855UUxioqRUoStGbMFQ+5dAj/xLj3NXhQV3Y1wWn+Kvf6ExXkR1cmx2KintU8XpfeaHA==", + "dev": true, + "requires": { + "@dashevo/dashcore-lib": "~0.18.0", + "ajv": "^6.10.2", + "bs58": "^4.0.1", + "cbor": "^5.0.1", + "json-schema-ref-parser": "^7.1.3", + "lodash.get": "^4.4.2", + "lodash.mergewith": "^4.6.2", + "lodash.set": "^4.3.2", + "multihashes": "^0.4.15" + }, + "dependencies": { + "cbor": { + "version": "5.0.2", + "resolved": "https://registry.npmjs.org/cbor/-/cbor-5.0.2.tgz", + "integrity": "sha512-6JiKVURxxO92FntzTJq54QdN/8fBaBwD7+nNyGIAi1HL9mBgU3YK6ULV8k7WTuT/EwfRsjy3MuqDKlkQMCmfXg==", + "dev": true, + "requires": { + "bignumber.js": "^9.0.0", + "nofilter": "^1.0.3" + } + } + } + } } }, "@dashevo/dpp": { - "version": "0.12.0-dev.7", - "resolved": "https://registry.npmjs.org/@dashevo/dpp/-/dpp-0.12.0-dev.7.tgz", - "integrity": "sha512-W++UhmA7kizdoMzvcpPa02x/Nl80f9uEEXNaKilJ02eA5mPCMkdMmHOv+YbyxJO20UsP/nUDtlEbmCHz8vrBJQ==", + "version": "0.12.0", + "resolved": "https://registry.npmjs.org/@dashevo/dpp/-/dpp-0.12.0.tgz", + "integrity": "sha512-+IIi/xoDpBPaCOKSz0420DUyxWHKhOK4M3iMoy6TGVsa5CD9OYtCCNCS3oDjV7iHYMrWs0uB/mRs42yJliqD4g==", "requires": { "@apidevtools/json-schema-ref-parser": "^8.0.0", "@dashevo/dashcore-lib": "~0.18.0", @@ -381,9 +424,9 @@ } }, "@jsdevtools/ono": { - "version": "7.1.1", - "resolved": "https://registry.npmjs.org/@jsdevtools/ono/-/ono-7.1.1.tgz", - "integrity": "sha512-pu5fxkbLQWzRbBgfFbZfHXz0KlYojOfVdUhcNfy9lef8ZhBt0pckGr8g7zv4vPX4Out5vBNvqd/az4UaVWzZ9A==" + "version": "7.1.2", + "resolved": "https://registry.npmjs.org/@jsdevtools/ono/-/ono-7.1.2.tgz", + "integrity": "sha512-qS/a24RA5FEoiJS9wiv6Pwg2c/kiUo3IVUQcfeM9JvsR6pM8Yx+yl/6xWYLckZCT5jpLNhslgjiA8p/XcGyMRQ==" }, "@protobufjs/aspromise": { "version": "1.1.2", @@ -4923,9 +4966,9 @@ } }, "levelup": { - "version": "4.3.2", - "resolved": "https://registry.npmjs.org/levelup/-/levelup-4.3.2.tgz", - "integrity": "sha512-cRTjU4ktWo59wf13PHEiOayHC3n0dOh4i5+FHr4tv4MX9+l7mqETicNq3Aj07HKlLdk0z5muVoDL2RD+ovgiyA==", + "version": "4.4.0", + "resolved": "https://registry.npmjs.org/levelup/-/levelup-4.4.0.tgz", + "integrity": "sha512-94++VFO3qN95cM/d6eBXvd894oJE0w3cInq9USsyQzzoJxmiYzPAocNcuGCPGGjoXqDVJcr3C1jzt1TSjyaiLQ==", "dev": true, "requires": { "deferred-leveldown": "~5.3.0", diff --git a/package.json b/package.json index b3a76cd0d..9a92abccc 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@dashevo/dapi", - "version": "0.12.0-dev.3", + "version": "0.12.0", "description": "A decentralized API for the Dash network", "scripts": { "api": "node scripts/api.js", @@ -33,7 +33,7 @@ "@dashevo/dapi-grpc": "~0.12.1", "@dashevo/dashcore-lib": "~0.18.0", "@dashevo/dashd-rpc": "^2.0.0", - "@dashevo/dpp": "~0.12.0-dev.7", + "@dashevo/dpp": "~0.12.0", "@dashevo/grpc-common": "~0.2.1", "ajv": "^6.4.0", "bs58": "^4.0.1", @@ -49,7 +49,7 @@ "zeromq": "^5.2.0" }, "devDependencies": { - "@dashevo/dapi-client": "~0.11.0", + "@dashevo/dapi-client": "~0.12.0-dev.1", "@dashevo/dp-services-ctl": "dashevo/js-dp-services-ctl#v0.12-dev", "chai": "^4.2.0", "chai-as-promised": "^7.1.1",