Skip to content

Commit

Permalink
Bump version to 5.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
cjbj committed Oct 21, 2021
1 parent 590a51a commit 1dee266
Show file tree
Hide file tree
Showing 6 changed files with 27 additions and 31 deletions.
4 changes: 1 addition & 3 deletions CHANGELOG.md
@@ -1,8 +1,6 @@
# Change Log

## node-oracledb v5.3.0 (DD Mon YYYY)

**This release is under development and information may be incomplete**
## node-oracledb v5.3.0 (22 Oct 2021)

- Added a
[`keepInStmtCache`](https://oracle.github.io/node-oracledb/doc/api.html#propexeckeepinstmtcache)
Expand Down
42 changes: 21 additions & 21 deletions INSTALL.md
@@ -1,4 +1,4 @@
# Installing node-oracledb Version 5.3-dev
# Installing node-oracledb Version 5.3

*Copyright (c) 2015, 2021, Oracle and/or its affiliates. All rights reserved.*

Expand Down Expand Up @@ -101,9 +101,9 @@ Alternatively, follow these instructions:

- If a pre-built binary is not available, you will need to build from source
code. Reivew the [prerequisites](#github) and add
`https://github.com/oracle/node-oracledb/releases/download/v5.3.0-dev/oracledb-src-5.3.0-dev.tgz`
`https://github.com/oracle/node-oracledb/releases/download/v5.3.0/oracledb-src-5.3.0.tgz`
to your `package.json` dependencies or run `npm install
https://github.com/oracle/node-oracledb/releases/download/v5.3.0-dev/oracledb-src-5.3.0-dev.tgz`.
https://github.com/oracle/node-oracledb/releases/download/v5.3.0/oracledb-src-5.3.0.tgz`.

- Add Oracle Client libraries version 21, 19, 18, 12, or 11.2 to your operating
system library search path such as `PATH` on Windows or `LD_LIBRARY_PATH` on
Expand Down Expand Up @@ -1121,19 +1121,19 @@ export CC=gcc
```

Locate the [GitHub tag][40] of the desired node-oracledb version, for
example `v5.3.0-dev`, and use the `npm` package manager (which is
example `v5.3.0`, and use the `npm` package manager (which is
included in Node.js) to install it.

If you have the `git` utility, you can install with:

```
npm install oracle/node-oracledb.git#v5.3.0-dev
npm install oracle/node-oracledb.git#v5.3.0
```

Otherwise install using:

```
npm install https://github.com/oracle/node-oracledb/releases/download/v5.3.0-dev/oracledb-src-5.3.0-dev.tgz
npm install https://github.com/oracle/node-oracledb/releases/download/v5.3.0/oracledb-src-5.3.0.tgz
```

#### 3.5.4 Install the free Oracle Instant Client 'Basic' ZIP file
Expand Down Expand Up @@ -1241,19 +1241,19 @@ export MAKE=gmake
```

Locate the [GitHub tag][40] of the desired node-oracledb version, for
example `v5.3.0-dev`, and use the `npm` package manager (which is
example `v5.3.0`, and use the `npm` package manager (which is
included in Node.js) to install it.

If you have the `git` utility, you can install with:

```
npm install oracle/node-oracledb.git#v5.3.0-dev
npm install oracle/node-oracledb.git#v5.3.0
```

Otherwise install using:

```
npm install https://github.com/oracle/node-oracledb/releases/download/v5.3.0-dev/oracledb-src-5.3.0-dev.tgz
npm install https://github.com/oracle/node-oracledb/releases/download/v5.3.0/oracledb-src-5.3.0.tgz
```

If this fails due to an invalid `cp -a` option, you can download the
Expand Down Expand Up @@ -1405,7 +1405,7 @@ npm install oracle/node-oracledb#main
```

To install from a tag, replace `main` with the tag name like:
`oracle/node-oracledb#v5.3.0-dev`.
`oracle/node-oracledb#v5.3.0`.

#### <a name="sourcepackage"></a> 3.7.3 Installing from a source package

Expand All @@ -1414,14 +1414,14 @@ dependency like:

```
"dependencies": {
"oracledb": "https://github.com/oracle/node-oracledb/releases/download/v5.3.0-dev/oracledb-src-5.3.0-dev.tgz"
"oracledb": "https://github.com/oracle/node-oracledb/releases/download/v5.3.0/oracledb-src-5.3.0.tgz"
},
```

Or install with:

```
npm install https://github.com/oracle/node-oracledb/releases/download/v5.3.0-dev/oracledb-src-5.3.0-dev.tgz
npm install https://github.com/oracle/node-oracledb/releases/download/v5.3.0/oracledb-src-5.3.0.tgz
```

#### <a name="nogithubaccess"></a> 3.7.4 Installing from Oracle's repository
Expand Down Expand Up @@ -1457,10 +1457,10 @@ within your company, or it can be used directly from the file system to install
node-oracledb.

- Download
[`oracledb-src-5.3.0-dev.tgz`](https://github.com/oracle/node-oracledb/releases/download/v5.3.0-dev/oracledb-src-5.3.0-dev.tgz)
[`oracledb-src-5.3.0.tgz`](https://github.com/oracle/node-oracledb/releases/download/v5.3.0/oracledb-src-5.3.0.tgz)
from GitHub.

- Extract the file: `tar -xzf oracledb-src-5.3.0-dev.tgz`
- Extract the file: `tar -xzf oracledb-src-5.3.0.tgz`

- Change directory: `cd package`

Expand All @@ -1475,7 +1475,7 @@ from GitHub.
architectures.

- Run: `npm run buildpackage`
The package `oracledb-5.3.0-dev.tgz` is created.
The package `oracledb-5.3.0.tgz` is created.

This package can be shared or self-hosted, see [Hosting your own node-oracledb
Packages](#selfhost).
Expand All @@ -1484,12 +1484,12 @@ Packages](#selfhost).

On a machine with access, download the node-oracledb package from [npm][4], for
example from
[`https://registry.npmjs.com/oracledb/-/oracledb-5.3.0-dev.tgz`](https://registry.npmjs.com/oracledb/-/oracledb-5.3.0-dev.tgz)
[`https://registry.npmjs.com/oracledb/-/oracledb-5.3.0.tgz`](https://registry.npmjs.com/oracledb/-/oracledb-5.3.0.tgz)

This can be transferred to the desired machine and installed, for example with:

```
npm install your_dir_path/oracledb-5.3.0-dev.tgz
npm install your_dir_path/oracledb-5.3.0.tgz
```

If you are using an architecture that does not have pre-supplied binaries then
Expand Down Expand Up @@ -1547,25 +1547,25 @@ If you see `MSVCR80.dll` then you need the VS 2005 Redistributable.
You can host node-oracledb packages locally.

Download the node-oracledb package from npm, for example from
[`https://registry.npmjs.com/oracledb/-/oracledb-5.3.0-dev.tgz`](https://registry.npmjs.com/oracledb/-/oracledb-5.3.0-dev.tgz)
[`https://registry.npmjs.com/oracledb/-/oracledb-5.3.0.tgz`](https://registry.npmjs.com/oracledb/-/oracledb-5.3.0.tgz)
Alternatively, if you want to build your own binaries and node-oracledb package,
see [Creating a node-oracledb package from source code](#compilepackage).

If you make the package accessible on your local web server, for example at
www.example.com/oracledb-5.3.0-dev.tgz, then your `package.json` would contain:
www.example.com/oracledb-5.3.0.tgz, then your `package.json` would contain:

```
. . .
"dependencies": {
"oracledb": "https://www.example.com/oracledb-5.3.0-dev.tgz"
"oracledb": "https://www.example.com/oracledb-5.3.0.tgz"
},
. . .
```

Or you would install with:

```
npm install https://www.example.com/oracledb-5.3.0-dev.tgz
npm install https://www.example.com/oracledb-5.3.0.tgz
```

### <a name="docker"></a> 3.10 Using node-oracledb in Docker
Expand Down
6 changes: 2 additions & 4 deletions README.md
@@ -1,12 +1,10 @@
# node-oracledb version 5.3-dev

**This release is under development and information may be incomplete**
# node-oracledb version 5.3

The node-oracledb add-on for Node.js powers high performance Oracle Database
applications. Applications can be written in TypeScript, or directly in
JavaScript.

Use node-oracledb 5.3-dev to connect Node.js 12, or later, to Oracle Database.
Use node-oracledb 5.3 to connect Node.js 12, or later, to Oracle Database.
Older versions of node-oracledb may work with older versions of Node.js.

Node-oracledb supports basic and advanced features of Oracle Database
Expand Down
2 changes: 1 addition & 1 deletion doc/api.md
@@ -1,4 +1,4 @@
# node-oracledb 5.3-dev Documentation for the Oracle Database Node.js Add-on
# node-oracledb 5.3 Documentation for the Oracle Database Node.js Add-on

*Copyright (c) 2015, 2021, Oracle and/or its affiliates. All rights reserved.*

Expand Down
2 changes: 1 addition & 1 deletion package.json
@@ -1,6 +1,6 @@
{
"name": "oracledb",
"version": "5.3.0-dev",
"version": "5.3.0",
"description": "A Node.js module for Oracle Database access",
"license": "Apache-2.0",
"homepage": "http://oracle.github.io/node-oracledb/",
Expand Down
2 changes: 1 addition & 1 deletion src/njsModule.h
Expand Up @@ -42,7 +42,7 @@
#define NJS_NODE_ORACLEDB_MAJOR 5
#define NJS_NODE_ORACLEDB_MINOR 3
#define NJS_NODE_ORACLEDB_PATCH 0
#define NJS_NODE_ORACLEDB_SUFFIX "-dev"
#define NJS_NODE_ORACLEDB_SUFFIX ""

// define stringified version and driver name
#define NJS_STR_HELPER(x) #x
Expand Down

0 comments on commit 1dee266

Please sign in to comment.