Releases: TimelordUK/node-sqlserver-v8
v2.0.4 Nan Async
- final major reworking behind Nan abstraction, all async threading now managed by Nan
- edge case fixes for query statement closure
- encapuslate ODBC handles behind a manager to ensure correct orderly clean up
NAN Abstractions
-
using NPM NAN allows library to be better abstracted from Node versions making for easier release to newer versions
-
slightly improved bulk insert string performance with reduced copying.
-
add to wiki instructions for boiler plate react / electron with this library
v2.0.2
2.0.2
context aware for better Electron renderer compatibility
the code base is being converted to use the NAN abstraction to allow a better upgrade path to new node versions by abstracting behind this common api. Initially this solves the deprecated native module warning in electron where modules need to be context aware.
Linux x64 support
Note this is a major version release with a large c++ code overhaul to support both windows and Linux. Therefore all production users please test carefully before deployment.
Linux has been tested with version 18.04 and 20.04 Ubuntu on x64 using MS odbc 17.
~/dev/js/sql/node_modules/msnodesqlv8/samples/javascript$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 18.04.4 LTS
Release: 18.04
Codename: bionic
~/dev/js/sql/node_modules/msnodesqlv8/samples/javascript$ node streaming.js
submitted EXEC sys.sp_helpindex @objname = N'[users]' elapsed 1 ms
meta = [
{
"size": 128,
"name": "index_name",
"nullable": false,
"type": "text",
"sqlType": "nvarchar"
},
{
"size": 210,
"name": "index_description",
"nullable": true,
"type": "text",
"sqlType": "varchar"
},
{
"size": 2126,
"name": "index_keys",
"nullable": true,
"type": "text",
"sqlType": "nvarchar"
}
]
column [0] = "PK__users__3213E83F3A5ED730"
column [1] = "clustered, unique, primary key located on PRIMARY"
column [2] = "id"
done
1 rows returned elapsed 1384
finished
free