Skip to content

Commit 3c36d55

Browse files
committed
Merge with tag 0.5
Signed-off-by: Richard Natal <[email protected]>
2 parents e68332f + 250ef9c commit 3c36d55

34 files changed

+1657
-414
lines changed

CHANGELOG.md

Lines changed: 89 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,89 @@
1+
# Change Log
2+
3+
## node-oracledb v0.5.0 (5 May 2015)
4+
5+
- Changed the `isAutoCommit` attribute name to `autoCommit`.
6+
7+
- Changed the `isExternalAuth` attribute name to `externalAuth`.
8+
9+
- Fixed outBinds array counting to not give empty array entries for IN binds.
10+
11+
- Added support for DML RETURNING bind variables.
12+
13+
- Rectified the error message for invalid type properties.
14+
15+
## node-oracledb v0.4.2 (28 Mar 2015)
16+
17+
- node-oracledb is now officially installable from https://www.npmjs.com/package/oracledb
18+
19+
- Added metadata support. Query column names are now provided in the `execute()` callback result object.
20+
21+
- Require a more recent version of Node.js 0.10.
22+
23+
- Changed the default Instant Client directory on AIX from /opt/oracle/instantclient_12_1 to /opt/oracle/instantclient.
24+
25+
## node-oracledb v0.4.1 (13 Mar 2015)
26+
27+
- Added support for External Authentication.
28+
29+
- The `isAutoCommit` flags now works with query execution. This is useful in cases where multiple DML statements are executed followed by a SELECT statement. This can be used to avoid a round trip to the database that an explicit call to `commit()` would add.
30+
31+
- Added AIX build support to package.json.
32+
33+
- Improved errors messages when setting out of range property values.
34+
35+
- Fixed a bug: When `terminate()` of a connection pool fails because connections have not yet been closed, subsequent use of `release()` to close those connections no longer gives an error "ORA-24550: Signal Received".
36+
37+
## node-oracledb v0.3.1 (16 Feb 2015)
38+
39+
- Added Windows build configuration.
40+
41+
- Added Database Resident Connection Pooling (DRCP) support.
42+
43+
- Made an explicit connection `release()` do a rollback, to be consistent with the implicit release behavior.
44+
45+
- Made install on Linux look for Oracle libraries in a search order.
46+
47+
- Added RPATH support on Linux.
48+
49+
- Changed default Oracle Instant client paths to /opt/oracle/instantclient and C:\oracle\instantclient
50+
51+
- Added a compile error message "Oracle 11.2 or later client libraries are required for building" if attempting to build with older Oracle client libraries.
52+
53+
- Fixed setting the `isAutoCommit` property.
54+
55+
- Fixed a crash using pooled connections on Windows.
56+
57+
- Fixed a crash querying object types.
58+
59+
- Fixed a crash doing a release after a failed terminate. (The Pool is still unusable - this will be fixed later)
60+
61+
## node-oracledb v0.2.4 (20 Jan 2015 - initial release)
62+
63+
**Initial Features include**:
64+
65+
- SQL and PL/SQL Execution
66+
67+
- Binding using JavaScript objects or arrays
68+
69+
- Query results as JavaScript objects or array
70+
71+
- Conversion between JavaScript and Oracle types
72+
73+
- Transaction Management
74+
75+
- Connection Pooling
76+
77+
- Statement Caching
78+
79+
- Client Result Caching
80+
81+
- End-to-end tracing
82+
83+
- High Availability Features
84+
85+
- Fast Application Notification (FAN)
86+
87+
- Runtime Load Balancing (RLB)
88+
89+
- Transparent Application Failover (TAF)

INSTALL.md

Lines changed: 26 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@ limitations under the License.
2727

2828
## <a name="overview"></a> 1. Overview
2929

30+
The Oracle Database Node.js driver node-oracledb powers high performance Node.js applications.
31+
3032
The steps below create a Node.js installation for testing. Adjust the
3133
steps for your environment.
3234

@@ -87,6 +89,8 @@ cd /opt
8789
tar -zxf node-v0.10.38-linux-x64.tar.gz
8890
```
8991

92+
This node-oracledb release currently works only with Node.js 0.10.
93+
9094
Set PATH to include Node.js:
9195

9296
```
@@ -158,6 +162,8 @@ cd /opt
158162
tar -zxf node-v0.10.38-linux-x64.tar.gz
159163
```
160164

165+
This node-oracledb release currently works only with Node.js 0.10.
166+
161167
Set PATH to include Node.js:
162168

163169
```
@@ -181,7 +187,8 @@ cd instantclient
181187
ln -s libclntsh.so.12.1 libclntsh.so
182188
```
183189

184-
You will need `libaio` installed.
190+
You will need `libaio` installed. On some platforms the package is
191+
called `libaio1`.
185192

186193
To run applications, you will need to set the link path:
187194

@@ -218,6 +225,9 @@ Install node-oracledb from the
218225
npm install oracledb
219226
```
220227

228+
If you are installing with `sudo`, you may need to use `sudo -E` to
229+
preserve the environment variable values.
230+
221231
### 3.4 Run an example program
222232

223233
Download the
@@ -263,6 +273,8 @@ cd /opt
263273
tar -zxf node-v0.10.38-linux-x64.tar.gz
264274
```
265275

276+
This node-oracledb release currently works only with Node.js 0.10.
277+
266278
Set your PATH variable to include Node.js:
267279

268280
```
@@ -289,6 +301,9 @@ Install node-oracledb from the
289301
npm install oracledb
290302
```
291303

304+
If you are installing with `sudo`, you may need to use `sudo -E` to
305+
preserve the environment variable values.
306+
292307
### 4.3 Run an example program
293308

294309
Set `LD_LIBRARY_PATH` to the Oracle library directory. This variable,
@@ -333,6 +348,8 @@ Node.js 0.10 can be installed from various sources, such as via *brew*.
333348
brew install node010
334349
```
335350

351+
This node-oracledb release currently works only with Node.js 0.10.
352+
336353
Set your PATH to include the *node* and *npm* binaries:
337354

338355
```
@@ -381,6 +398,9 @@ Install node-oracledb from the
381398
npm install oracledb
382399
```
383400

401+
If you are installing with `sudo`, you may need to use `sudo -E` to
402+
preserve the environment variable values.
403+
384404
### 5.5 Run an example program
385405

386406
Download the
@@ -433,11 +453,11 @@ Install the 64-bit Node.js 0.10 MSI (e.g. node-v0.10.38-x64.msi) from
433453
[nodejs.org](http://nodejs.org/download/). Make sure the option to
434454
add the Node and npm directories to the path is selected.
435455

436-
Node-oracledb 0.4 will not build with Node.js 0.12.
456+
This node-oracledb release currently works only with Node.js 0.10.
437457

438458
### 6.3 Install the free Oracle Instant Client ZIPs
439459

440-
Skip this step if you already have Oracle Database or full Oracle client on your machine.
460+
Skip this step if you already have Oracle Database or the full Oracle client on your machine.
441461

442462
Download the free 'Basic' and 'SDK' ZIP files from
443463
[Oracle Technology Network](http://www.oracle.com/technetwork/topics/winx64soft-089540.html).
@@ -560,6 +580,9 @@ This is useful if you will need to upgrade Oracle Instant Client RPMs
560580
to a new major or minor version (for example from 11.2 to 12.1)
561581
without re-installing node-oracledb.
562582

583+
If you are installing with `sudo`, you may need to use `sudo -E` to
584+
preserve the environment variable values.
585+
563586
### Forcing RPATH
564587

565588
If you want to force using rpath when installing node-oracledb on

README.md

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
# node-oracledb version 0.4
1+
# node-oracledb version 0.5
22

33
## <a name="about"></a> 1. About node-oracledb
44

55
The Oracle Database Node.js driver powers high performance
66
Node.js applications.
77

8-
Node-oracledb 0.4 supports basic and advanced Oracle features, including:
8+
Node-oracledb 0.5 supports basic and advanced Oracle features, including:
99

1010
- SQL and PL/SQL Execution
1111
- Query results as JavaScript objects or array
@@ -23,7 +23,7 @@ Node-oracledb 0.4 supports basic and advanced Oracle features, including:
2323
- [Runtime Load Balancing](http://docs.oracle.com/database/121/ADFNS/adfns_perf_scale.htm#ADFNS515) (RLB)
2424
- [Transparent Application Failover](http://docs.oracle.com/database/121/ADFNS/adfns_avail.htm#ADFNS534) (TAF)
2525

26-
Node-oracledb 0.4 is a preview release. We are actively working on
26+
Node-oracledb 0.5 is a preview release. We are actively working on
2727
adding features including LOB support and batch fetching / streaming
2828
of large query result sets.
2929

@@ -92,13 +92,19 @@ See [INSTALL](INSTALL.md) for details.
9292

9393
See [Documentation for the Oracle Database Node.js Driver](doc/api.md)
9494

95-
## <a name="contrib"></a> 4. Contributing
95+
## <a name="changes"></a> 4. Changes
96+
97+
See [CHANGELOG](CHANGELOG.md)
98+
99+
*Note* there were two small, backward-compatibility breaking attribute name changes in node-oracledb 0.5.
100+
101+
## <a name="contrib"></a> 5. Contributing
96102

97103
Node-oracledb is an open source project. See
98104
[CONTRIBUTING](CONTRIBUTING.md)
99105
for details.
100106

101-
## <a name="license"></a> 5. Licence
107+
## <a name="license"></a> 6. Licence
102108

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

0 commit comments

Comments
 (0)