Skip to content

Commit fb5945d

Browse files
authored
Merge pull request #19 from oracle/release_2020-08-18
Releasing version 1.5.1
2 parents 4c8236a + 5a1c70f commit fb5945d

File tree

73 files changed

+399
-60
lines changed

Some content is hidden

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

73 files changed

+399
-60
lines changed

CHANGELOG.md

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

44
The format is based on [Keep a Changelog](http://keepachangelog.com/).
55

6+
## 1.5.1 - 2020-08-18
7+
### Added
8+
- Support for custom boot volume size and other node pool updates in the Container Engine for Kubernetes service
9+
- Support for Data Guard on Exadata Cloud at Customer VM clusters in the Database service
10+
- Support for stopping VM instances after scheduled maintenance or hypervisor reboots in the Compute service
11+
- Support for creating and managing private endpoints in the Data Flow service
12+
613
## 1.5.0 - 2020-08-11
714
### Added
815
- Support for autonomous json databases in the Database service

examples/javascript/objectstorage.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,8 @@ client.region = common.Region.US_PHOENIX_1;
7171
// Create stream to upload
7272
const fileLocation = "/Users/File/location";
7373
const stats = fs.statSync(fileLocation);
74-
const objectData = fs.createReadStream(fileLocation);
74+
const nodeFsBlob = new os.NodeFSBlob(fileLocation, stats.size);
75+
const objectData = await nodeFsBlob.getData();
7576

7677
console.log("Bucket is created. Now adding object to the Bucket.");
7778
const putObjectRequest = {

examples/typescript/objectstorage.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ import os = require("oci-objectstorage");
1616
import common = require("oci-common");
1717
import st = require("stream");
1818
import { createReadStream, statSync } from "fs";
19+
import { NodeFSBlob } from "oci-objectstorage";
1920

2021
const configurationFilePath = "~/.oci/config";
2122
const configProfile = "DEFAULT";
@@ -70,7 +71,8 @@ client.region = common.Region.US_PHOENIX_1;
7071
// Create read stream to file
7172
const fileLocation = "/Users/File/location";
7273
const stats = statSync(fileLocation);
73-
const objectData = createReadStream(fileLocation);
74+
const nodeFsBlob = new NodeFSBlob(fileLocation, stats.size);
75+
const objectData = await nodeFsBlob.getData();
7476

7577
console.log("Bucket is created. Now adding object to the Bucket.");
7678
const putObjectRequest: os.requests.PutObjectRequest = {

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": "1.5.0",
3+
"version": "1.5.1",
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": "1.5.0",
3+
"version": "1.5.1",
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": "1.5.0",
3+
"version": "1.5.1",
44
"description": "OCI NodeJS client for API gateway 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": "1.5.0",
3+
"version": "1.5.1",
44
"description": "OCI NodeJS client for Application Migration 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": "1.5.0",
3+
"version": "1.5.1",
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": "1.5.0",
3+
"version": "1.5.1",
44
"description": "OCI NodeJS client for Autoscaling 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": "1.5.0",
3+
"version": "1.5.1",
44
"description": "OCI NodeJS client for BDS Service",
55
"repository": {
66
"type": "git",

0 commit comments

Comments
 (0)