From 8278d7e98457f65ae91eb78b4134f8080493ee2f Mon Sep 17 00:00:00 2001 From: Scott Twiname Date: Mon, 29 Jul 2024 15:19:11 +1200 Subject: [PATCH 1/2] Update dockerfile, update node-core --- packages/node/Dockerfile | 2 +- packages/node/package.json | 2 +- yarn.lock | 10 +++++----- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/packages/node/Dockerfile b/packages/node/Dockerfile index 5bb4c143..b6292d36 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..30ff7357 100644 --- a/packages/node/package.json +++ b/packages/node/package.json @@ -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", 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 From b6798c7dd1416e0a9296c42c175dd3e525a82bfc Mon Sep 17 00:00:00 2001 From: Scott Twiname Date: Mon, 29 Jul 2024 15:27:19 +1200 Subject: [PATCH 2/2] Update changelog, version --- packages/node/CHANGELOG.md | 11 ++++++++--- packages/node/Dockerfile | 2 +- packages/node/package.json | 5 ++--- 3 files changed, 11 insertions(+), 7 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 b6292d36..8a22a689 100644 --- a/packages/node/Dockerfile +++ b/packages/node/Dockerfile @@ -40,7 +40,7 @@ RUN mkdir -p .monitor && \ # Make the user not ROOT USER 1000 -ENV TZ utc +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 30ff7357..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", @@ -57,6 +57,5 @@ "files": [ "/dist", "/bin" - ], - "stableVersion": "3.12.2-2" + ] }