Skip to content

Releasing version 2.112.0 #374

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jul 1, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
15 changes: 15 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,21 @@
All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](http://keepachangelog.com/).
## 2.112.0 - 2025-07-01
### Added
- Support for calling Oracle Cloud Infrastructure services in the us-ashburn-2 region
- Support for the Database MultiCloud service
- Support for System Tags in the Database service
- Support for PKCS11 Library Integration for Azure Key Store in the Database service
- Support for changing subscription ID and the opc-dry-run parameter in the Database service
- Support for listing all members of an Elastic Resource Pool for a provided Elastic Resource Pool leader in the Database service
- Support for managing scheduled queries in the Application Performance Monitoring service
- Support for Bring Your Own Key (BYOK) in the MySQL Heatwave service
- Support for customer-initiated collection of diagnostic information in the Database Migration service

### Breaking Changes
- The type of field `state` has been changed from string to `AutoActivateToggleStatus.State` and `AutoActivateStatus.State` respectively in the models `AutoActivateToggleStatus` and `AutoActivateStatus` in the Application Performance Monitoring service

## 2.111.3 - 2025-06-24
### Added
- Support for database backups to Amazon S3 as default option for all databases running on Exa@AWS in the Database service
Expand Down
40 changes: 40 additions & 0 deletions examples/javascript/http-proxy.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
/**
* Copyright (c) 2020, 2025 Oracle and/or its affiliates. All rights reserved.
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.

* This example shows how to configure http proxy for the SDK client
*/

const identity = require("oci-identity");
const common = require("oci-common");
// make sure https-proxy-agent is installed
const { HttpsProxyAgent } = require("https-proxy-agent");
// if you're facing issues with Node 18+, please check https://github.com/gajus/global-agent/issues/52#issuecomment-1134525621
// or set the --no-experimental-fetch flag

const provider = new common.ConfigFileAuthenticationDetailsProvider();
const tenancyId = provider.getTenantId();

const proxyUrl = "http://testproxy";
const clientConfig = { httpOptions: { agent: new HttpsProxyAgent(proxyUrl) } };
const identityClient = new identity.IdentityClient(
{ authenticationDetailsProvider: provider },
clientConfig
);

async function getAvailabilityDomain() {
const request = {
compartmentId: tenancyId
};
const response = await identityClient.listAvailabilityDomains(request);
return response.items[0];
}

(async () => {
try {
const availabilityDomain = await getAvailabilityDomain();
console.log("Availability Domain :" + availabilityDomain.name);
} catch (error) {
console.log("Error executing example" + error);
}
})();
44 changes: 44 additions & 0 deletions examples/typescript/http-proxy.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
/**
* Copyright (c) 2020, 2025 Oracle and/or its affiliates. All rights reserved.
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.

* This example shows how to configure http proxy for the SDK client
*/

import common = require("oci-common");
import * as identity from "oci-identity";
// make sure https-proxy-agent is installed
const { HttpsProxyAgent } = require("https-proxy-agent");
// if you're facing issues with Node 18+, please check https://github.com/gajus/global-agent/issues/52#issuecomment-1134525621
// or set the --no-experimental-fetch flag

const provider: common.ConfigFileAuthenticationDetailsProvider = new common.ConfigFileAuthenticationDetailsProvider();

const proxyUrl = "http://testproxy";
const clientConfig = { httpOptions: { agent: new HttpsProxyAgent(proxyUrl) } };
const identityClient = new identity.IdentityClient(
{ authenticationDetailsProvider: provider },
clientConfig
);
const compartmentId = provider.getTenantId();

async function getAvailabilityDomain(): Promise<identity.models.AvailabilityDomain> {
const request: identity.requests.ListAvailabilityDomainsRequest = {
compartmentId: compartmentId
};
const response = await identityClient.listAvailabilityDomains(request);
return response.items[0];
}

(async () => {
try {
const availabilityDomain = await getAvailabilityDomain();
console.log("Availability Domain :" + availabilityDomain.name);
} catch (error) {
console.log("Error executing example" + JSON.stringify(error));
} finally {
console.debug("DONE");
}

identityClient.close();
})();
1 change: 1 addition & 0 deletions index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -238,3 +238,4 @@ export import modeldeployment = require("oci-modeldeployment");
export import distributeddatabase = require("oci-distributeddatabase");
export import apiaccesscontrol = require("oci-apiaccesscontrol");
export import wlms = require("oci-wlms");
export import dbmulticloud = require("oci-dbmulticloud");
2 changes: 1 addition & 1 deletion lib/accessgovernancecp/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "oci-accessgovernancecp",
"version": "2.111.3",
"version": "2.112.0",
"description": "OCI NodeJS client for Access Governance Cp Service",
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion lib/adm/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "oci-adm",
"version": "2.111.3",
"version": "2.112.0",
"description": "OCI NodeJS client for Adm Service",
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion lib/aianomalydetection/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "oci-aianomalydetection",
"version": "2.111.3",
"version": "2.112.0",
"description": "OCI NodeJS client for Ai Anomaly Detection Service",
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion lib/aidocument/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "oci-aidocument",
"version": "2.111.3",
"version": "2.112.0",
"description": "OCI NodeJS client for Ai Document Service",
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion lib/ailanguage/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "oci-ailanguage",
"version": "2.111.3",
"version": "2.112.0",
"description": "OCI NodeJS client for Ai Language Service",
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion lib/aispeech/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "oci-aispeech",
"version": "2.111.3",
"version": "2.112.0",
"description": "OCI NodeJS client for Ai Speech Service",
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion lib/aivision/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "oci-aivision",
"version": "2.111.3",
"version": "2.112.0",
"description": "OCI NodeJS client for Ai Vision Service",
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion lib/analytics/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "oci-analytics",
"version": "2.111.3",
"version": "2.112.0",
"description": "OCI NodeJS client for Analytics Service",
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion lib/announcementsservice/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "oci-announcementsservice",
"version": "2.111.3",
"version": "2.112.0",
"description": "OCI NodeJS client for Announcement Service",
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion lib/apiaccesscontrol/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "oci-apiaccesscontrol",
"version": "2.111.3",
"version": "2.112.0",
"description": "OCI NodeJS client for Apiaccesscontrol Service",
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion lib/apigateway/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "oci-apigateway",
"version": "2.111.3",
"version": "2.112.0",
"description": "OCI NodeJS client for API gateway service",
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion lib/apmconfig/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "oci-apmconfig",
"version": "2.111.3",
"version": "2.112.0",
"description": "OCI NodeJS client for Apm Config Service",
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion lib/apmcontrolplane/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "oci-apmcontrolplane",
"version": "2.111.3",
"version": "2.112.0",
"description": "OCI NodeJS client for Apm Control Plane Service",
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion lib/apmsynthetics/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "oci-apmsynthetics",
"version": "2.111.3",
"version": "2.112.0",
"description": "OCI NodeJS client for Apm Synthetics Service",
"repository": {
"type": "git",
Expand Down
3 changes: 3 additions & 0 deletions lib/apmtraces/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,13 @@ import * as requests from "./lib/request";
import * as models from "./lib/model";
import * as responses from "./lib/response";
import * as client from "./lib/client";
import * as scheduledquery_waiter from "./lib/scheduledquery-waiter";

export { models };
export { requests };
export { responses };
export import AttributesClient = client.AttributesClient;
export import QueryClient = client.QueryClient;
export import ScheduledQueryClient = client.ScheduledQueryClient;
export import ScheduledQueryWaiter = scheduledquery_waiter.ScheduledQueryWaiter;
export import TraceClient = client.TraceClient;
Loading