Skip to content

Commit 5715b67

Browse files
committed
Bump version to 5.2.0
1 parent a002589 commit 5715b67

File tree

6 files changed

+28
-30
lines changed

6 files changed

+28
-30
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Change Log
22

3-
## node-oracledb v5.2.0 (DD Mon YYYY)
3+
## node-oracledb v5.2.0 (7 Jun 2021)
44

55
**This release is under development**
66

INSTALL.md

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Installing node-oracledb Version 5.2-dev
1+
# Installing node-oracledb Version 5.2
22

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

@@ -110,8 +110,8 @@ Alternatively, follow these instructions:
110110
- Install a C Compiler such as Xcode, GCC, Visual Studio
111111
2017, or similar.
112112

113-
- Run `npm install oracle/node-oracledb.git#v5.2.0-dev`, or add
114-
`oracle/node-oracledb.git#v5.2.0-dev` to your `package.json`
113+
- Run `npm install oracle/node-oracledb.git#v5.2.0`, or add
114+
`oracle/node-oracledb.git#v5.2.0` to your `package.json`
115115
dependencies. Substitute your desired [GitHub tag][40].
116116

117117
- Add Oracle Client libraries version 21, 19, 18, 12, or 11.2 to your operating
@@ -1139,19 +1139,19 @@ export CC=gcc
11391139
```
11401140

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

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

11471147
```
1148-
npm install oracle/node-oracledb.git#v5.2.0-dev
1148+
npm install oracle/node-oracledb.git#v5.2.0
11491149
```
11501150

11511151
Otherwise install using:
11521152

11531153
```
1154-
npm install https://github.com/oracle/node-oracledb/releases/download/v5.2.0-dev/oracledb-src-5.2.0-dev.tgz
1154+
npm install https://github.com/oracle/node-oracledb/releases/download/v5.2.0/oracledb-src-5.2.0.tgz
11551155
```
11561156

11571157
#### 3.5.4 Install the free Oracle Instant Client 'Basic' ZIP file
@@ -1259,19 +1259,19 @@ export MAKE=gmake
12591259
```
12601260

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

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

12671267
```
1268-
npm install oracle/node-oracledb.git#v5.2.0-dev
1268+
npm install oracle/node-oracledb.git#v5.2.0
12691269
```
12701270

12711271
Otherwise install using:
12721272

12731273
```
1274-
npm install https://github.com/oracle/node-oracledb/releases/download/v5.2.0-dev/oracledb-src-5.2.0-dev.tgz
1274+
npm install https://github.com/oracle/node-oracledb/releases/download/v5.2.0/oracledb-src-5.2.0.tgz
12751275
```
12761276

12771277
If this fails due to an invalid `cp -a` option, you can download the
@@ -1420,7 +1420,7 @@ npm install oracle/node-oracledb#main
14201420
```
14211421

14221422
To install from a tag, use the tag name like:
1423-
`oracle/node-oracledb#v5.2.0-dev`.
1423+
`oracle/node-oracledb#v5.2.0`.
14241424

14251425
These commands will download, compile and install node-oracledb. Due to the
14261426
slow download of source code from GitHub, it may take some time before
@@ -1431,15 +1431,15 @@ compilation begins.
14311431
Users without the `git` utility can compile pre-bundled source code:
14321432

14331433
```
1434-
npm install https://github.com/oracle/node-oracledb/releases/download/v5.2.0-dev/oracledb-src-5.2.0-dev.tgz
1434+
npm install https://github.com/oracle/node-oracledb/releases/download/v5.2.0/oracledb-src-5.2.0.tgz
14351435
```
14361436

14371437
Due to the slow download of source code from GitHub, it may take some time
14381438
before compilation begins. You may prefer to download
1439-
`oracledb-src-5.2.0-dev.tgz` and install with:
1439+
`oracledb-src-5.2.0.tgz` and install with:
14401440

14411441
```
1442-
npm install your_dir_path/oracledb-src-5.2.0-dev.tgz
1442+
npm install your_dir_path/oracledb-src-5.2.0.tgz
14431443
```
14441444

14451445
#### <a name="nogithubaccess"></a> 3.7.5 Installing from Oracle's repository
@@ -1466,10 +1466,10 @@ within your company, or it can be used directly from the file system to install
14661466
node-oracledb.
14671467

14681468
- Download
1469-
[`oracledb-src-5.2.0-dev.tgz`](https://github.com/oracle/node-oracledb/releases/download/v5.2.0-dev/oracledb-src-5.2.0-dev.tgz)
1469+
[`oracledb-src-5.2.0.tgz`](https://github.com/oracle/node-oracledb/releases/download/v5.2.0/oracledb-src-5.2.0.tgz)
14701470
from GitHub.
14711471

1472-
- Extract the file: `tar -xzf oracledb-src-5.2.0-dev.tgz`
1472+
- Extract the file: `tar -xzf oracledb-src-5.2.0.tgz`
14731473

14741474
- Change directory: `cd package`
14751475

@@ -1484,7 +1484,7 @@ from GitHub.
14841484
architectures.
14851485

14861486
- Run: `npm run buildpackage`
1487-
The package `oracledb-5.2.0-dev.tgz` is created.
1487+
The package `oracledb-5.2.0.tgz` is created.
14881488

14891489
This package can be shared or self-hosted, see [Hosting your own node-oracledb
14901490
Packages](#selfhost).
@@ -1493,12 +1493,12 @@ Packages](#selfhost).
14931493

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

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

15001500
```
1501-
npm install your_dir_path/oracledb-5.2.0-dev.tgz
1501+
npm install your_dir_path/oracledb-5.2.0.tgz
15021502
```
15031503

15041504
If you are using an architecture that does not have pre-supplied binaries then
@@ -1556,24 +1556,24 @@ If you see `MSVCR80.dll` then you need the VS 2005 Redistributable.
15561556
You can host node-oracledb packages locally.
15571557

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

15631563
If you make the package accessible on your local web server, for
1564-
example at www.example.com/oracledb-5.2.0-dev.tgz, then your
1564+
example at www.example.com/oracledb-5.2.0.tgz, then your
15651565
install command would be:
15661566

15671567
```
1568-
npm install https://www.example.com/oracledb-5.2.0-dev.tgz
1568+
npm install https://www.example.com/oracledb-5.2.0.tgz
15691569
```
15701570

15711571
or your `package.json` would contain:
15721572

15731573
```
15741574
. . .
15751575
"dependencies": {
1576-
"oracledb": "https://www.example.com/oracledb-5.2.0-dev.tgz"
1576+
"oracledb": "https://www.example.com/oracledb-5.2.0.tgz"
15771577
},
15781578
. . .
15791579
```

README.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,10 @@
1-
# node-oracledb version 5.2-dev
2-
3-
**This release is under development and information may be incomplete**
1+
# node-oracledb version 5.2
42

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

9-
Use node-oracledb 5.2-dev to connect Node.js 12, or later, to Oracle Database.
7+
Use node-oracledb 5.2 to connect Node.js 12, or later, to Oracle Database.
108
Older versions of node-oracledb may work with older versions of Node.js.
119

1210
Node-oracledb supports basic and advanced features of Oracle Database

doc/api.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# node-oracledb 5.2-dev Documentation for the Oracle Database Node.js Add-on
1+
# node-oracledb 5.2 Documentation for the Oracle Database Node.js Add-on
22

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

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "oracledb",
3-
"version": "5.2.0-dev",
3+
"version": "5.2.0",
44
"description": "A Node.js module for Oracle Database access",
55
"license": "Apache-2.0",
66
"homepage": "http://oracle.github.io/node-oracledb/",

src/njsModule.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
#define NJS_NODE_ORACLEDB_MAJOR 5
4343
#define NJS_NODE_ORACLEDB_MINOR 2
4444
#define NJS_NODE_ORACLEDB_PATCH 0
45-
#define NJS_NODE_ORACLEDB_SUFFIX "-dev"
45+
#define NJS_NODE_ORACLEDB_SUFFIX ""
4646

4747
// define stringified version and driver name
4848
#define NJS_STR_HELPER(x) #x

0 commit comments

Comments
 (0)