diff --git a/CHANGELOG.md b/CHANGELOG.md index 2c57e2074..8155691de 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,7 +3,25 @@ All notable changes to this project will be documented in this file. The changelog format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). -## [v0.7.1[v0.7.1] - 19-Dec-2020 +## [v0.8.0][v0.8.0] - 16-Jan-2021 + +### Milestone: [catapult-server@v0.10.0.5][catapult-server@v0.10.0.5] + +Package | Version | Link +---|---|--- +REST Core| v2.3.0 | [catapult-rest][catapult-rest@v2.3.0] +SDK Core| v0.23.0 | [symbol-sdk][symbol-sdk@v0.23.0] + +### Added +- Added compatibility for 0.10.0.5 server. +- Update SDK. [#753](https://github.com/nemgrouplimited/symbol-explorer/issues/753) + +### Fixed +- Removed NEM Foundation in Explorer [#748](https://github.com/nemgrouplimited/symbol-explorer/issues/748) +- Do not expose whole ENV in /config [#754](https://github.com/nemgrouplimited/symbol-explorer/issues/754) +- Minor bug in explorer + +## [v0.7.1][v0.7.1] - 19-Dec-2020 ### Milestone: [catapult-server@v0.10.0.4](https://github.com/nemtech/catapult-server/releases/tag/v0.10.0.4) @@ -227,3 +245,8 @@ SDK Core| v0.20.7 | [symbol-sdk](https://www.npmjs.com/package/symbol-sdk) [v0.6.2]: https://github.com/nemfoundation/symbol-explorer/releases/tag/v0.6.2 [v0.7.0]: https://github.com/nemfoundation/symbol-explorer/releases/tag/v0.7.0 [v0.7.1]: https://github.com/nemfoundation/symbol-explorer/releases/tag/v0.7.1 +[v0.8.0]: https://github.com/nemfoundation/symbol-explorer/releases/tag/v0.8.0 + +[catapult-server@v0.10.0.5]: https://github.com/nemtech/catapult-server/releases/tag/v0.10.0.5 +[symbol-sdk@v0.23.0]: https://www.npmjs.com/package/symbol-sdk/v/0.23.0 +[catapult-rest@v2.3.0]: https://github.com/nemtech/catapult-rest/releases/tag/v2.3.0 \ No newline at end of file diff --git a/CODE_OF_CONDUCT.md b/CODE_OF_CONDUCT.md index ad6068b7b..25408f2bb 100644 --- a/CODE_OF_CONDUCT.md +++ b/CODE_OF_CONDUCT.md @@ -34,7 +34,7 @@ This Code of Conduct applies both within project spaces and in public spaces whe ## Enforcement -Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the project team at greg@nem.foundation. The project team will review and investigate all complaints, and will respond in a way that it deems appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident. Further details of specific enforcement policies may be posted separately. +Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the project team at support@nem.group. The project team will review and investigate all complaints, and will respond in a way that it deems appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident. Further details of specific enforcement policies may be posted separately. Project maintainers who do not follow or enforce the Code of Conduct in good faith may face temporary or permanent repercussions as determined by other members of the project's leadership. diff --git a/package-lock.json b/package-lock.json index 7a85dbe64..574c11411 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "symbol-explorer", - "version": "0.7.2", + "version": "0.8.0", "lockfileVersion": 1, "requires": true, "dependencies": { @@ -6624,9 +6624,9 @@ "dev": true }, "catbuffer-typescript": { - "version": "0.0.25", - "resolved": "https://registry.npmjs.org/catbuffer-typescript/-/catbuffer-typescript-0.0.25.tgz", - "integrity": "sha512-ju+46OuI/f9dpvzS6S/oDfLFdT/kDWilKXBe3e4DXGy9bZFtEfmxXBmNyUy4a36JlHKoDDZMq15D+0k+rDWNSg==" + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/catbuffer-typescript/-/catbuffer-typescript-0.1.1.tgz", + "integrity": "sha512-r/z3UKG3YCCdsTEHRXGe3IQxA8OaBRBE31e9du2LOaLStGxYCmxUjfRtJ/DyKfgpS55fJPl3w/VFMnsfwIHmkA==" }, "ccount": { "version": "1.0.4", @@ -10304,8 +10304,7 @@ }, "ini": { "version": "1.3.5", - "resolved": "https://registry.npmjs.org/ini/-/ini-1.3.5.tgz", - "integrity": "sha512-RZY5huIKCMRWDUqZlEi72f/lmXKMvuszcMBduliQ3nnWbx9X/ZBQO7DijMEYS9EhHBb2qacRUMtC7svLwe0lcw==", + "resolved": "", "dev": true, "optional": true }, @@ -20821,18 +20820,18 @@ "dev": true }, "symbol-openapi-typescript-fetch-client": { - "version": "0.10.5-1", - "resolved": "https://registry.npmjs.org/symbol-openapi-typescript-fetch-client/-/symbol-openapi-typescript-fetch-client-0.10.5-1.tgz", - "integrity": "sha512-LS+Ka7hF+IaxinJjvnykKK05wUySXTeYFv1GOjEgj+vXQxewK/TtWrlx9baCeGs6198GJ2f1nYmykflAlLt9OQ==" + "version": "0.11.1", + "resolved": "https://registry.npmjs.org/symbol-openapi-typescript-fetch-client/-/symbol-openapi-typescript-fetch-client-0.11.1.tgz", + "integrity": "sha512-4YVS4RzKOPv3c2+g0N989mglw53Kd91jEUpjxEltjZBzfoCNPc2cM12Ct1DWZVlnypo23iVOkGCM/mkR7Qflsw==" }, "symbol-sdk": { - "version": "0.22.2", - "resolved": "https://registry.npmjs.org/symbol-sdk/-/symbol-sdk-0.22.2.tgz", - "integrity": "sha512-NQWP3fBtDNfqwU7wEB46fUt7sqckyjjVTjldDpK6Y9KE1sLvYFoM81OrKNnn3MjaZMe65lY0MytyRSSiMEqR/w==", + "version": "0.23.0", + "resolved": "https://registry.npmjs.org/symbol-sdk/-/symbol-sdk-0.23.0.tgz", + "integrity": "sha512-rYqy2f+omwZC7JUXznR2timoEnUkC/OZIEh8mBW/zyrKrMpseZdL/YTIq6Ht11TKolBPib2J5f5H1n33a+sYng==", "requires": { "@js-joda/core": "^3.2.0", "bluebird": "^3.7.2", - "catbuffer-typescript": "0.0.25", + "catbuffer-typescript": "0.1.1", "crypto-js": "^4.0.0", "diff": "^4.0.2", "futoin-hkdf": "^1.3.2", @@ -20846,7 +20845,7 @@ "ripemd160": "^2.0.2", "rxjs": "^6.6.3", "rxjs-compat": "^6.6.3", - "symbol-openapi-typescript-fetch-client": "0.10.5-1", + "symbol-openapi-typescript-fetch-client": "0.11.1", "tweetnacl": "^1.0.3", "ws": "^7.3.1" }, @@ -20870,9 +20869,9 @@ "integrity": "sha512-6rt+RN7aOi1nGMyC4Xa5DdYiukl2UWCbcJft7YhxReBGQD7OAM8Pbxw6YMo4r2diNEA8FEmu32YOn9rhaiE5yw==" }, "ws": { - "version": "7.4.1", - "resolved": "https://registry.npmjs.org/ws/-/ws-7.4.1.tgz", - "integrity": "sha512-pTsP8UAfhy3sk1lSk/O/s4tjD0CRwvMnzvwr4OKGX7ZvqZtUyx4KIJB5JWbkykPoc55tixMGgTNoh3k4FkNGFQ==" + "version": "7.4.2", + "resolved": "https://registry.npmjs.org/ws/-/ws-7.4.2.tgz", + "integrity": "sha512-T4tewALS3+qsrpGI/8dqNMLIVdq/g/85U98HPMa6F0m6xTbvhXU6RCQLqPH3+SlomNV/LdY6RXEbBpMH6EOJnA==" } } }, diff --git a/package.json b/package.json index 48d0bdb8d..1b59b33ae 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "symbol-explorer", "description": "Symbol Block and Network Explorer", "homepage": "https://github.com/nemgrouplimited/symbol-explorer", - "version": "0.7.2", + "version": "0.8.0", "scripts": { "dev": "vue-cli-service serve", "build": "vue-cli-service build", @@ -29,7 +29,7 @@ "leaflet.markercluster": "^1.4.1", "merkletreejs": "^0.2.9", "moment-timezone": "^0.5.28", - "symbol-sdk": "^0.22.2", + "symbol-sdk": "^0.23.0", "url-parse": "^1.4.7", "utf8": "^3.0.0", "vue": "^2.6.11", diff --git a/server.js b/server.js index 4c66b0e7d..3139e5af0 100644 --- a/server.js +++ b/server.js @@ -20,7 +20,9 @@ const readConfig = (callback) => { const parsedENV = {}; Object.keys(ENV).forEach(key => { try { - parsedENV[key] = JSON.parse(ENV[key]); + if (defaultConfig[key]) { + parsedENV[key] = JSON.parse(ENV[key]); + } } catch(e) { parsedENV[key] = ENV[key]; @@ -71,13 +73,13 @@ readConfig(res => { if(req.url === '/') req.url = INDEX_HTML; - if(req.url === CONFIG_ROUTE) { + if(req.url === CONFIG_ROUTE) { sendJSON(res, ENV); } else { - getFile(req.url, + getFile(req.url, () => { - getFile(INDEX_HTML, + getFile(INDEX_HTML, err => sendError(res, err, 404), data => send(res, data) ); diff --git a/src/components/NemCopyright.vue b/src/components/NemCopyright.vue index 7b16bb048..d0080fcc8 100644 --- a/src/components/NemCopyright.vue +++ b/src/components/NemCopyright.vue @@ -20,7 +20,7 @@
- NEM.io Foundation 2019 + © NSL {{ currentYear }} | All Rights Reserved | @@ -33,6 +33,16 @@
+ +