Skip to content

Commit 787524f

Browse files
committed
Bump version to 4.1.0
1 parent e937b8a commit 787524f

File tree

5 files changed

+33
-25
lines changed

5 files changed

+33
-25
lines changed

INSTALL.md

Lines changed: 18 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
2-
# Installing node-oracledb Version 4.0
1+
# Installing node-oracledb Version 4.1
32

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

@@ -105,8 +104,8 @@ information about older versions.
105104
- Install a C Compiler such as Xcode, GCC, Visual Studio
106105
2017, or similar.
107106

108-
- Run `npm install oracle/node-oracledb.git#v4.0.2`, or add
109-
`oracle/node-oracledb.git#v4.0.2` to your `package.json`
107+
- Run `npm install oracle/node-oracledb.git#v4.1.0`, or add
108+
`oracle/node-oracledb.git#v4.1.0` to your `package.json`
110109
dependencies. Substitute your desired [GitHub tag][40].
111110

112111
- Add Oracle 19, 18, 12, or 11.2 client libraries to your operating
@@ -1006,19 +1005,19 @@ export CC=gcc
10061005
```
10071006

10081007
Locate the [GitHub tag][40] of the desired node-oracledb version, for
1009-
example `v4.0.2`, and use the `npm` package manager (which is
1008+
example `v4.1.0`, and use the `npm` package manager (which is
10101009
included in Node.js) to install it.
10111010

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

10141013
```
1015-
npm install oracle/node-oracledb.git#v4.0.2
1014+
npm install oracle/node-oracledb.git#v4.1.0
10161015
```
10171016

10181017
Otherwise install using:
10191018

10201019
```
1021-
npm install https://github.com/oracle/node-oracledb/releases/download/v4.0.2/oracledb-src-4.0.2.tgz
1020+
npm install https://github.com/oracle/node-oracledb/releases/download/v4.1.0/oracledb-src-4.1.0.tgz
10221021
```
10231022

10241023
#### 3.9.4 Install the free Oracle Instant Client 'Basic' ZIP file
@@ -1125,19 +1124,19 @@ export MAKE=gmake
11251124
```
11261125

11271126
Locate the [GitHub tag][40] of the desired node-oracledb version, for
1128-
example `v4.0.2`, and use the `npm` package manager (which is
1127+
example `v4.1.0`, and use the `npm` package manager (which is
11291128
included in Node.js) to install it.
11301129

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

11331132
```
1134-
npm install oracle/node-oracledb.git#v4.0.2
1133+
npm install oracle/node-oracledb.git#v4.1.0
11351134
```
11361135

11371136
Otherwise install using:
11381137

11391138
```
1140-
npm install https://github.com/oracle/node-oracledb/releases/download/v4.0.2/oracledb-src-4.0.2.tgz
1139+
npm install https://github.com/oracle/node-oracledb/releases/download/v4.1.0/oracledb-src-4.1.0.tgz
11411140
```
11421141

11431142
#### 3.9.4 Install the free Oracle Instant Client 'Basic' ZIP file
@@ -1240,12 +1239,12 @@ The `git` utility is required for this method.
12401239

12411240
Build node-oracledb from source code by changing the package specifier
12421241
so that `npm` downloads from GitHub instead of from npmjs.com. For
1243-
example, to install the code from the GitHub tag 'v4.0.2', add
1244-
`oracle/node-oracledb#v4.0.2` to your `package.json` dependencies, or
1242+
example, to install the code from the GitHub tag 'v4.1.0', add
1243+
`oracle/node-oracledb#v4.1.0` to your `package.json` dependencies, or
12451244
use the command:
12461245

12471246
```
1248-
npm install oracle/node-oracledb#v4.0.2
1247+
npm install oracle/node-oracledb#v4.1.0
12491248
```
12501249

12511250
This will download, compile and install node-oracledb.
@@ -1259,7 +1258,7 @@ Users without `git`, or with older versions of `npm` such as included in
12591258
Node.js 6, may alternatively need to use pre-bundled source code:
12601259

12611260
```
1262-
npm install https://github.com/oracle/node-oracledb/releases/download/v4.0.2/oracledb-src-4.0.2.tgz
1261+
npm install https://github.com/oracle/node-oracledb/releases/download/v4.1.0/oracledb-src-4.1.0.tgz
12631262
```
12641263

12651264
Note it may take some time before compilation begins due to the slow
@@ -1293,7 +1292,7 @@ installing.
12931292
#### <a name="nogithubaccess"></a> 3.10.3 Compiling node-oracledb without GitHub Access
12941293

12951294
Some companies block access to github.com so compiling source code
1296-
from GitHub with `npm install oracle/node-oracledb.git#v4.0.2` will
1295+
from GitHub with `npm install oracle/node-oracledb.git#v4.1.0` will
12971296
fail.
12981297

12991298
Oracle has a mirror of the GitHub repository source code that can be
@@ -1398,7 +1397,7 @@ See [Node.js for Oracle Linux][46] for details.
13981397
You can host node-oracledb packages locally.
13991398

14001399
Download the node-oracledb package from npm, for example from
1401-
[`https://registry.npmjs.com/oracledb/-/oracledb-4.0.2.tgz`](https://registry.npmjs.com/oracledb/-/oracledb-4.0.2.tgz)
1400+
[`https://registry.npmjs.com/oracledb/-/oracledb-4.1.0.tgz`](https://registry.npmjs.com/oracledb/-/oracledb-4.1.0.tgz)
14021401
Alternatively, if you want to build your own binaries and
14031402
node-oracledb package, the maintainer scripts in
14041403
[/package](https://github.com/oracle/node-oracledb/tree/master/package)
@@ -1407,19 +1406,19 @@ can be used. See
14071406
for details.
14081407

14091408
If you make the package accessible on your local web server, for
1410-
example at www.example.com/oracledb-4.0.2.tgz, then your
1409+
example at www.example.com/oracledb-4.1.0.tgz, then your
14111410
install command would be:
14121411

14131412
```
1414-
npm install https://www.example.com/oracledb-4.0.2.tgz
1413+
npm install https://www.example.com/oracledb-4.1.0.tgz
14151414
```
14161415

14171416
or your `package.json` would contain:
14181417

14191418
```
14201419
. . .
14211420
"dependencies": {
1422-
"oracledb": "https://www.example.com/oracledb-4.0.2.tgz"
1421+
"oracledb": "https://www.example.com/oracledb-4.1.0.tgz"
14231422
},
14241423
. . .
14251424
```

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
# node-oracledb version 4.0
1+
# node-oracledb version 4.1
22

33
The node-oracledb add-on for Node.js powers high performance Oracle
44
Database applications.
55

6-
Use node-oracledb 4.0 to connect Node.js 8.16, 10.16, 12, or later, to Oracle Database.
6+
Use node-oracledb 4.1 to connect Node.js 8.16, 10.16, 12, or later, to Oracle Database.
77
Older versions of node-oracledb may work with older versions of Node.js.
88

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

doc/api.md

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

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

@@ -475,6 +475,7 @@ For installation information, see the [Node-oracledb Installation Instructions][
475475
- 33.3 [Migrating from node-oracledb 2.3 to node-oracledb 3.0](#migratev23v30)
476476
- 33.4 [Migrating from node-oracledb 3.0 to node-oracledb 3.1](#migratev30v31)
477477
- 33.5 [Migrating from node-oracledb 3.1 to node-oracledb 4.0](#migratev31v40)
478+
- 33.6 [Migrating from node-oracledb 4.0 to node-oracledb 4.1](#migratev40v41)
478479
34. [Useful Resources for Node-oracledb](#otherresources)
479480

480481
## <a name="apimanual"></a> NODE-ORACLEDB API MANUAL
@@ -13958,6 +13959,14 @@ When upgrading from node-oracledb version 3.1 to version 4.0:
1395813959
[`OUT_FORMAT_ARRAY`](#oracledbconstantsoutformat) and
1395913960
[`OUT_FORMAT_OBJECT`](#oracledbconstantsoutformat).
1396013961

13962+
### <a name="migratev40v41"></a> 33.6 Migrating from node-oracledb 4.0 to node-oracledb 4.1
13963+
13964+
When upgrading from node-oracledb version 4.0 to version 4.1:
13965+
13966+
- Review the [CHANGELOG][83] and take advantage of new features.
13967+
13968+
- Review any programmatic or test use of node-oracledb error messages since some have changed.
13969+
1396113970
## <a name="otherresources"></a> 34. Useful Resources for Node-oracledb
1396213971

1396313972
Node-oracledb can be installed on the pre-built [*Database App Development

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": "4.0.2",
3+
"version": "4.1.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: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,8 @@
4040
// The suffix should be something like "-dev" or "-beta.1".
4141
// For production, use: #define NJS_NODE_ORACLEDB_SUFFIX ""
4242
#define NJS_NODE_ORACLEDB_MAJOR 4
43-
#define NJS_NODE_ORACLEDB_MINOR 0
44-
#define NJS_NODE_ORACLEDB_PATCH 2
43+
#define NJS_NODE_ORACLEDB_MINOR 1
44+
#define NJS_NODE_ORACLEDB_PATCH 0
4545
#define NJS_NODE_ORACLEDB_SUFFIX ""
4646

4747
// define stringified version and driver name

0 commit comments

Comments
 (0)