Skip to content

Commit da53e95

Browse files
Releasing version 2.84.0
Releasing version 2.84.0
2 parents a6af262 + f60b43f commit da53e95

File tree

235 files changed

+1826
-489
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

235 files changed

+1826
-489
lines changed

CHANGELOG.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,18 @@
33
All notable changes to this project will be documented in this file.
44

55
The format is based on [Keep a Changelog](http://keepachangelog.com/).
6+
## 2.84.0 - 2024-04-02
7+
### Added
8+
- Support for assigned private IP and single stack IPV6 feature for Network Load Balancer Service
9+
- Support for Configuration API in Email Delivery Service
10+
- Support for the status field in creating data source resource for Cloud Guard Service
11+
- Support for TLSv1.3 in Load Balancer Service
12+
- Support for sending mails via HTTPS for Email Delivery Service
13+
14+
### Breaking Changes
15+
- The type of field `reason` was changed from `SuppressionSummary.Reason` to `model.SuppressionReason` in the model `SuppressionSummary` in the Email Delivery Service
16+
17+
618
## 2.83.0 - 2024-03-26
719
### Added
820
- Support for creating and updating a refreshable clone with auto-refresh for an Autonomous Database in the Database service

examples/typescript/generate-text.ts

Lines changed: 19 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -4,19 +4,16 @@
44
*/
55

66
/*
7-
* This example demostrates the usage of Instance Principal. In order to run this example, this code
8-
* must be in an Oracle Cloud instance. The Instance Principal will utiltize internal resources to
9-
* create an authentication provider. Refer to:
10-
* https://docs.cloud.oracle.com/en-us/iaas/Content/Identity/Tasks/callingservicesfrominstances.htm
11-
* for more details.
7+
* This example demostrates the parsing of SSE response. In order to run this example, this code
8+
* must be in an Oracle Cloud instance. Any API which return Content-Type as event-stream can be handled this way.
129
*/
1310

1411
import * as genai from "oci-generativeaiinference";
1512
import common = require("oci-common");
1613

1714
(async () => {
1815
const region = "us-chicago-1";
19-
const provider = new common.ConfigFileAuthenticationDetailsProvider();
16+
const provider = new common.SessionAuthDetailProvider();
2017
provider.setRegion(region);
2118

2219
const client = new genai.GenerativeAiInferenceClient({
@@ -60,19 +57,28 @@ import common = require("oci-common");
6057
const response = await client.generateText(req_body);
6158
console.log(
6259
"Response: " +
63-
(response.generateTextResult.inferenceResponse as genai.models.CohereLlmInferenceResponse)
64-
.generatedTexts[0].text
60+
((<genai.responses.GenerateTextResponse>response).generateTextResult
61+
.inferenceResponse as genai.models.CohereLlmInferenceResponse).generatedTexts[0].text
6562
);
6663

6764
// Attempt to generate text as SSE stream (throws error)
6865
try {
6966
inference_request.isStream = true;
7067
const responseStream = await client.generateText(req_body);
71-
console.log(
72-
"Response: " +
73-
(responseStream.generateTextResult
74-
.inferenceResponse as genai.models.CohereLlmInferenceResponse).generatedTexts[0].text
75-
);
68+
69+
let streamData = "";
70+
const lines = String(responseStream).split("\n");
71+
72+
lines.forEach(line => {
73+
if (line.trim() === "") {
74+
} else {
75+
if (line.startsWith("data:")) {
76+
const data = JSON.parse(line.substring(6).trim());
77+
streamData += data.text;
78+
}
79+
}
80+
});
81+
console.log("Stream Response: ", streamData);
7682
} catch (e) {
7783
console.log(e);
7884
}

index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -223,3 +223,4 @@ export import generativeaiinference = require("oci-generativeaiinference");
223223
export import capacitymanagement = require("oci-capacitymanagement");
224224
export import globallydistributeddatabase = require("oci-globallydistributeddatabase");
225225
export import desktops = require("oci-desktops");
226+
export import emaildataplane = require("oci-emaildataplane");

lib/accessgovernancecp/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "oci-accessgovernancecp",
3-
"version": "2.83.0",
3+
"version": "2.84.0",
44
"description": "OCI NodeJS client for Access Governance Cp Service",
55
"repository": {
66
"type": "git",

lib/adm/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "oci-adm",
3-
"version": "2.83.0",
3+
"version": "2.84.0",
44
"description": "OCI NodeJS client for Adm Service",
55
"repository": {
66
"type": "git",

lib/aianomalydetection/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "oci-aianomalydetection",
3-
"version": "2.83.0",
3+
"version": "2.84.0",
44
"description": "OCI NodeJS client for Ai Anomaly Detection Service",
55
"repository": {
66
"type": "git",

lib/aidocument/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "oci-aidocument",
3-
"version": "2.83.0",
3+
"version": "2.84.0",
44
"description": "OCI NodeJS client for Ai Document Service",
55
"repository": {
66
"type": "git",

lib/ailanguage/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "oci-ailanguage",
3-
"version": "2.83.0",
3+
"version": "2.84.0",
44
"description": "OCI NodeJS client for Ai Language Service",
55
"repository": {
66
"type": "git",

lib/aispeech/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "oci-aispeech",
3-
"version": "2.83.0",
3+
"version": "2.84.0",
44
"description": "OCI NodeJS client for Ai Speech Service",
55
"repository": {
66
"type": "git",

lib/aivision/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "oci-aivision",
3-
"version": "2.83.0",
3+
"version": "2.84.0",
44
"description": "OCI NodeJS client for Ai Vision Service",
55
"repository": {
66
"type": "git",

lib/analytics/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "oci-analytics",
3-
"version": "2.83.0",
3+
"version": "2.84.0",
44
"description": "OCI NodeJS client for Analytics Service",
55
"repository": {
66
"type": "git",

lib/announcementsservice/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "oci-announcementsservice",
3-
"version": "2.83.0",
3+
"version": "2.84.0",
44
"description": "OCI NodeJS client for Announcement Service",
55
"repository": {
66
"type": "git",

lib/apigateway/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "oci-apigateway",
3-
"version": "2.83.0",
3+
"version": "2.84.0",
44
"description": "OCI NodeJS client for API gateway service",
55
"repository": {
66
"type": "git",

lib/apmconfig/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "oci-apmconfig",
3-
"version": "2.83.0",
3+
"version": "2.84.0",
44
"description": "OCI NodeJS client for Apm Config Service",
55
"repository": {
66
"type": "git",

lib/apmcontrolplane/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "oci-apmcontrolplane",
3-
"version": "2.83.0",
3+
"version": "2.84.0",
44
"description": "OCI NodeJS client for Apm Control Plane Service",
55
"repository": {
66
"type": "git",

lib/apmsynthetics/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "oci-apmsynthetics",
3-
"version": "2.83.0",
3+
"version": "2.84.0",
44
"description": "OCI NodeJS client for Apm Synthetics Service",
55
"repository": {
66
"type": "git",

lib/apmtraces/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "oci-apmtraces",
3-
"version": "2.83.0",
3+
"version": "2.84.0",
44
"description": "OCI NodeJS client for Apm Traces Service",
55
"repository": {
66
"type": "git",

lib/applicationmigration/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "oci-applicationmigration",
3-
"version": "2.83.0",
3+
"version": "2.84.0",
44
"description": "OCI NodeJS client for Application Migration service",
55
"repository": {
66
"type": "git",

lib/appmgmtcontrol/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "oci-appmgmtcontrol",
3-
"version": "2.83.0",
3+
"version": "2.84.0",
44
"description": "OCI NodeJS client for Appmgmt Control Service",
55
"repository": {
66
"type": "git",

lib/artifacts/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "oci-artifacts",
3-
"version": "2.83.0",
3+
"version": "2.84.0",
44
"description": "OCI NodeJS client for Artifacts Service",
55
"repository": {
66
"type": "git",

lib/audit/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "oci-audit",
3-
"version": "2.83.0",
3+
"version": "2.84.0",
44
"description": "OCI NodeJS client for Audit Service",
55
"repository": {
66
"type": "git",

lib/autoscaling/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "oci-autoscaling",
3-
"version": "2.83.0",
3+
"version": "2.84.0",
44
"description": "OCI NodeJS client for Autoscaling Service",
55
"repository": {
66
"type": "git",

lib/bastion/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "oci-bastion",
3-
"version": "2.83.0",
3+
"version": "2.84.0",
44
"description": "OCI NodeJS client for Bastion Service",
55
"repository": {
66
"type": "git",

lib/bds/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "oci-bds",
3-
"version": "2.83.0",
3+
"version": "2.84.0",
44
"description": "OCI NodeJS client for BDS Service",
55
"repository": {
66
"type": "git",

lib/blockchain/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "oci-blockchain",
3-
"version": "2.83.0",
3+
"version": "2.84.0",
44
"description": "OCI NodeJS client for Blockchain Service",
55
"repository": {
66
"type": "git",

lib/budget/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "oci-budget",
3-
"version": "2.83.0",
3+
"version": "2.84.0",
44
"description": "OCI NodeJS client for Budget Service",
55
"repository": {
66
"type": "git",

lib/capacitymanagement/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "oci-capacitymanagement",
3-
"version": "2.83.0",
3+
"version": "2.84.0",
44
"description": "OCI NodeJS client for Capacity Management Service",
55
"repository": {
66
"type": "git",

lib/certificates/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "oci-certificates",
3-
"version": "2.83.0",
3+
"version": "2.84.0",
44
"description": "OCI NodeJS client for Certificates Service",
55
"repository": {
66
"type": "git",

lib/certificatesmanagement/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "oci-certificatesmanagement",
3-
"version": "2.83.0",
3+
"version": "2.84.0",
44
"description": "OCI NodeJS client for Certificates Management Service",
55
"repository": {
66
"type": "git",

lib/cims/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "oci-cims",
3-
"version": "2.83.0",
3+
"version": "2.84.0",
44
"description": "OCI NodeJS client for Cims ",
55
"repository": {
66
"type": "git",

lib/cloudbridge/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "oci-cloudbridge",
3-
"version": "2.83.0",
3+
"version": "2.84.0",
44
"description": "OCI NodeJS client for Cloud Bridge Service",
55
"repository": {
66
"type": "git",

0 commit comments

Comments
 (0)