Skip to content

Commit 3417675

Browse files
New version 2.7.1 with big fixes
1 parent bb1ab7f commit 3417675

File tree

7 files changed

+14
-11
lines changed

7 files changed

+14
-11
lines changed

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,8 @@ See the README.md that's created in your scaffolded TypeScript project for more
154154
- [Writing Custom Components](https://github.com/oracle/bots-node-sdk/blob/master/CUSTOM_COMPONENT.md) - Guidelines and tips for writing custom components.
155155
- [Writing Entity Event Handlers](https://github.com/oracle/bots-node-sdk/blob/master/ENTITY_EVENT_HANDLER.md) - Guidelines and tips for writing entity event handlers.
156156
- [Writing SQL Query Event Handlers](https://github.com/oracle/bots-node-sdk/blob/master/DATA_QUERY_EVENT_HANDLER.md) - Guidelines and tips for writing data query event handlers.
157+
- [Writing LLM Transformation Handlers](https://github.com/oracle/bots-node-sdk/blob/master/LLM_TRANSFORMATION_HANDLER.md) - Guidelines and tips for writing LLM transformation handlers.
158+
- [Writing LLM Validation & Customization Handlers](https://github.com/oracle/bots-node-sdk/blob/master/LLM_COMPONENT_HANDLER.md) - Guidelines and tips for writing LLM validation & customization handlers.
157159
- [Conversation Messaging](https://github.com/oracle/bots-node-sdk/blob/master/MESSAGE_FACTORY.md) - Creating conversation messages from custom code.
158160
- [Writing Webhooks](https://github.com/oracle/bots-node-sdk/blob/master/WEBHOOK.md) - Integrate with custom messaging channels using incoming/outgoing webhook.
159161
- [Unit Testing](https://github.com/oracle/bots-node-sdk/blob/master/testing/TESTING.md) - Unit testing facilities.
@@ -170,7 +172,7 @@ See the README.md that's created in your scaffolded TypeScript project for more
170172

171173
## License
172174

173-
Copyright © 2018-2022, Oracle and/or its affiliates. All rights reserved.
175+
Copyright © 2018-2023, Oracle and/or its affiliates. All rights reserved.
174176

175177
The Universal Permissive License (UPL), Version 1.0
176178

RELEASE_NOTES.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# Release Notes
22

3+
- [Version 2.7.1](#v271)
34
- [Version 2.7.0](#v270)
45
- [Version 2.6.8](#v268)
56
- [Version 2.6.7](#v267)
@@ -19,6 +20,12 @@
1920
- [Version 2.4.3](#v243)
2021
- [Version 2.4.2](#v242)
2122

23+
## <a name="v271">Version 2.7.1 </a>
24+
25+
### Fixed Issues
26+
27+
- Removed logging of context variable values
28+
2229
## <a name="v270">Version 2.7.0 </a>
2330

2431
### New Features

lib/component/baseContext.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -274,20 +274,16 @@ class BaseContext {
274274
}
275275
return context.variables[nameToUse].value;
276276
} else {
277-
this.logger().debug('SDK: About to set variable ' + name);
278-
279277
if (!context.variables) {
280278
context.variables = {};
281279
}
282280
if (!context.variables[nameToUse]) {
283-
this.logger().debug('SDK: Creating new variable ' + nameToUse);
284281
context.variables[nameToUse] = Object.assign({}, VARIABLE);
285282
}
286283

287284
context.variables[nameToUse].value = value;
288285
this.getResponse().modifyContext = true;
289286

290-
this.logger().debug('SDK: Setting variable ' + JSON.stringify(context.variables[nameToUse]));
291287
return this;
292288
}
293289
}

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@oracle/bots-node-sdk",
3-
"version": "2.7.0",
3+
"version": "2.7.1",
44
"description": "Oracle Digital Assistant SDK for custom component development and webhook integrations",
55
"main": "index.js",
66
"browser": "index-browser.js",

ts/lib/component/baseContext.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -280,20 +280,17 @@ export abstract class BaseContext {
280280
}
281281
return context.variables[nameToUse].value;
282282
} else {
283-
this.logger().debug('SDK: About to set variable ' + name);
284283

285284
if (!context.variables) {
286285
context.variables = {};
287286
}
288287
if (!context.variables[nameToUse]) {
289-
this.logger().debug('SDK: Creating new variable ' + nameToUse);
290288
context.variables[nameToUse] = Object.assign({}, VARIABLE);
291289
}
292290

293291
context.variables[nameToUse].value = value;
294292
this.getResponse().modifyContext = true;
295293

296-
this.logger().debug('SDK: Setting variable ' + JSON.stringify(context.variables[nameToUse]));
297294
return this;
298295
}
299296
}

ts/lib2/llmtransformation/llmTransformationTypes.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ export interface LlmTransformationHandlers {
1818
}
1919

2020
export interface TransformPayloadEvent {
21-
payload: any
21+
payload: any;
22+
compartmentId?: string
2223
}
2324

0 commit comments

Comments
 (0)