Skip to content

Commit 0715e40

Browse files
committed
Add upgrading doc
1 parent 3100f2b commit 0715e40

File tree

2 files changed

+14
-3
lines changed

2 files changed

+14
-3
lines changed

INSTALL.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1998,12 +1998,10 @@ Issues and questions about node-oracledb can be posted on [GitHub][10] or
19981998
[31]: https://www.oracle.com/database/technologies/instant-client/solx8664-downloads.html
19991999
[40]: https://github.com/oracle/node-oracledb/tags
20002000
[41]: https://github.com/oracle/node-oracledb/releases
2001-
[42]: https://oracle.github.io/node-oracledb/doc/api.html#migratev1v2
20022001
[43]: https://github.com/oracle/node-oracledb/blob/main/CHANGELOG.md
20032002
[44]: https://oracle.github.io/node-oracledb/doc/api.html
20042003
[45]: https://www.youtube.com/watch?v=WDJacg0NuLo
20052004
[46]: https://yum.oracle.com/oracle-linux-nodejs.html
2006-
[47]: https://oracle.github.io/node-oracledb/doc/api.html#migrate
20072005
[48]: https://node-oracledb.slack.com/
20082006
[49]: https://join.slack.com/t/node-oracledb/shared_invite/enQtNDU4Mjc2NzM5OTA2LWMzY2ZlZDY5MDdlMGZiMGRkY2IzYjI5OGU4YTEzZWM5YjQ3ODUzMjcxNWQyNzE4MzM5YjNkYjVmNDk5OWU5NDM
20092007
[50]: https://yum.oracle.com/repo/OracleLinux/OL6/oracle/instantclient/x86_64/index.html

doc/api.md

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ This document contains:
2727

2828
For installation information, see the [Node-oracledb Installation Instructions][2].
2929

30-
## <a name="contents"></a> Contents
30+
## <a name="contents"></a> Contents
3131

3232
1. [Introduction](#intro)
3333
- 1.1 [Node-oracledb Architecture](#architecture)
@@ -550,6 +550,7 @@ For installation information, see the [Node-oracledb Installation Instructions][
550550
- 34.2 [Migrating from node-oracledb 4.0 to node-oracledb 4.1](#migratev40v41)
551551
- 34.3 [Migrating from node-oracledb 4.1 to node-oracledb 4.2](#migratev41v42)
552552
- 34.4 [Migrating from node-oracledb 4.2 to node-oracledb 5.0](#migratev42v50)
553+
- 34.5 [Migrating from node-oracledb 5.1 to node-oracledb 5.2](#migratev51v52)
553554
35. [Useful Resources for Node-oracledb](#otherresources)
554555

555556
## <a name="apimanual"></a> NODE-ORACLEDB API MANUAL
@@ -17259,6 +17260,18 @@ When upgrading from node-oracledb version 4.0 to version 4.1:
1725917260
if one is used. In earlier versions they were thrown without the ability for
1726017261
them to be caught.
1726117262

17263+
### <a name="migratev51v52"></a> 34.5 Migrating from node-oracledb 5.1 to node-oracledb 5.2
17264+
17265+
- Review the [CHANGELOG][83] and take advantage of new features.
17266+
17267+
- Review the dead connection detection changes and adjust any application error
17268+
checks to look for the new error *DPI-1080*.
17269+
17270+
- Replace obsolete uses of `_enableStats` and `_logStats()` with the new
17271+
functionality [`enableStatistics`](#createpoolpoolattrsstats),
17272+
[`getStatistics()`](#poolgetstatistics), and
17273+
[`logStatistics()`](#poollogstatistics).
17274+
1726217275
## <a name="otherresources"></a> 35. Useful Resources for Node-oracledb
1726317276

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

0 commit comments

Comments
 (0)