Skip to content

Commit

Permalink
chore: Release v1.3.3 - See CHANGELOG
Browse files Browse the repository at this point in the history
  • Loading branch information
Arun-KumarH committed Nov 26, 2023
1 parent b09d724 commit 3acebfd
Show file tree
Hide file tree
Showing 4 changed files with 34 additions and 22 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
### 1.3.3 (November 26th, 2023)

- removed deprecated method in chassis-srv (collection.load)
- fixed logger transformer

## 1.3.2 (November 25th, 2023)

- up deps
Expand Down
36 changes: 18 additions & 18 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@restorecommerce/catalog-srv",
"version": "1.3.2",
"version": "1.3.3",
"description": "Restore Commerce microservice for catalog and offers",
"main": "./lib/index.js",
"author": "n-fuse GmbH",
Expand All @@ -17,12 +17,12 @@
"srv"
],
"dependencies": {
"@restorecommerce/chassis-srv": "^1.4.3",
"@restorecommerce/chassis-srv": "^1.4.4",
"@restorecommerce/cluster-service": "^1.0.2",
"@restorecommerce/kafka-client": "^1.1.12",
"@restorecommerce/logger": "^1.2.8",
"@restorecommerce/rc-grpc-clients": "^5.1.12",
"@restorecommerce/resource-base-interface": "^1.4.3",
"@restorecommerce/resource-base-interface": "^1.4.4",
"@restorecommerce/service-config": "^1.0.10",
"elasticsearch": "^16.7.3",
"lodash": "^4.17.21",
Expand Down
9 changes: 8 additions & 1 deletion src/worker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,14 @@ export class Worker {
redisClient: RedisClientType;
constructor(cfg?: any) {
this.cfg = cfg || createServiceConfig(process.cwd());
this.logger = createLogger(this.cfg.get('logger'));
const loggerCfg = this.cfg.get('logger');
if (loggerCfg) {
loggerCfg.esTransformer = (msg) => {
msg.fields = JSON.stringify(msg.fields);
return msg;
};
}
this.logger = createLogger(loggerCfg);
this.topics = {};
this.services = {};
}
Expand Down

0 comments on commit 3acebfd

Please sign in to comment.