From b9ba23ff54d37ca9e76a1156528c0fed9f98de41 Mon Sep 17 00:00:00 2001 From: Scott Twiname Date: Mon, 29 Jul 2024 15:28:32 +1200 Subject: [PATCH] [release] 20240729 (#274) * Update dockerfile, update node-core * Update changelog, version --- packages/node/CHANGELOG.md | 11 ++++++++--- packages/node/Dockerfile | 2 +- packages/node/package.json | 7 +++---- yarn.lock | 10 +++++----- 4 files changed, 17 insertions(+), 13 deletions(-) diff --git a/packages/node/CHANGELOG.md b/packages/node/CHANGELOG.md index ddf22fa8..29affeb7 100644 --- a/packages/node/CHANGELOG.md +++ b/packages/node/CHANGELOG.md @@ -5,13 +5,17 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). ## [Unreleased] + +## [4.0.0] - 2024-07-29 ### Changed - Update cosmos and subql dependencies (#270) -- Use Subquery Project code from node core +- Use Subquery Project code from node core - Breaking change: Update to latest `@subql/node-core`, require indexing environment timezone set to UTC (#272) ### Fixed -- Fix testing service missing inject nodeConfig +- Fix testing service not injecting NodeConfig +- Bump `@subql/node-core` with fixes for data consitstency issue (#274) +- Docker images not having TZ set to UTC (#274) ### Added - Detection of Cosmos SDK version to use correct client type (#270) @@ -432,7 +436,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Added - Init release -[Unreleased]: https://github.com/subquery/subql-cosmos/compare/node-cosmos/3.12.1...HEAD +[Unreleased]: https://github.com/subquery/subql-cosmos/compare/node-cosmos/4.0.0...HEAD +[4.0.0]: https://github.com/subquery/subql-cosmos/compare/node-cosmos/3.12.1...node-cosmos/4.0.0 [3.12.1]: https://github.com/subquery/subql-cosmos/compare/node-cosmos/3.12.0...node-cosmos/3.12.1 [3.12.0]: https://github.com/subquery/subql-cosmos/compare/node-cosmos/3.11.2...node-cosmos/3.12.0 [3.11.2]: https://github.com/subquery/subql-cosmos/compare/node-cosmos/3.11.1...node-cosmos/3.11.2 diff --git a/packages/node/Dockerfile b/packages/node/Dockerfile index 5bb4c143..8a22a689 100644 --- a/packages/node/Dockerfile +++ b/packages/node/Dockerfile @@ -1,6 +1,5 @@ # Build stage FROM node:18-alpine as builder -ENV TZ ='UTC' # Set working directory WORKDIR /app @@ -41,6 +40,7 @@ RUN mkdir -p .monitor && \ # Make the user not ROOT USER 1000 +ENV TZ=utc # Set Entry point and command ENTRYPOINT ["/sbin/tini", "--", "/usr/local/lib/node_modules/@subql/node-cosmos/bin/run"] diff --git a/packages/node/package.json b/packages/node/package.json index 7f236fe8..e967a9de 100644 --- a/packages/node/package.json +++ b/packages/node/package.json @@ -1,6 +1,6 @@ { "name": "@subql/node-cosmos", - "version": "3.12.2-3", + "version": "4.0.0", "description": "", "author": "SubQuery Pte Ltd", "license": "GPL-3.0", @@ -31,7 +31,7 @@ "@nestjs/schedule": "^3.0.1", "@subql/common": "^4.1.1", "@subql/common-cosmos": "workspace:*", - "@subql/node-core": "^13.0.0", + "@subql/node-core": "^13.0.1", "@subql/types-cosmos": "workspace:*", "lodash": "^4.17.21", "protobufjs": "^6.11.4", @@ -57,6 +57,5 @@ "files": [ "/dist", "/bin" - ], - "stableVersion": "3.12.2-2" + ] } diff --git a/yarn.lock b/yarn.lock index 6c29f554..3044955e 100644 --- a/yarn.lock +++ b/yarn.lock @@ -6402,9 +6402,9 @@ __metadata: languageName: node linkType: hard -"@subql/node-core@npm:^13.0.0": - version: 13.0.0 - resolution: "@subql/node-core@npm:13.0.0" +"@subql/node-core@npm:^13.0.1": + version: 13.0.1 + resolution: "@subql/node-core@npm:13.0.1" dependencies: "@apollo/client": ^3.8.8 "@nestjs/common": ^9.4.0 @@ -6431,7 +6431,7 @@ __metadata: toposort-class: ^1.0.1 vm2: ^3.9.19 yargs: ^16.2.0 - checksum: 91ebd7999da59470ef13923db694b81353e810892d63aa15174ff1c2688e61d6b0860fb53efdb31700fccf0772a42fbe19afff66efac5fb9ca258c9aa4012b2f + checksum: 6946a95cd4ec14c9d1a00ecb830a8d92174923db85b89ba340c76afa5fa96bc07c83f6051dbd87ccb65085f43093437ebd2e24ee9de4285a576f84f5e5e5cda3 languageName: node linkType: hard @@ -6453,7 +6453,7 @@ __metadata: "@nestjs/testing": ^9.4.0 "@subql/common": ^4.1.1 "@subql/common-cosmos": "workspace:*" - "@subql/node-core": ^13.0.0 + "@subql/node-core": ^13.0.1 "@subql/types-cosmos": "workspace:*" "@types/express": ^4.17.13 "@types/jest": ^27.4.0