mssql 8.0.0 → 8.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.txt CHANGED
@@ -9,6 +9,7 @@ v8.0.0 (2022-01-30)
9
9
  [change] Duplicate column names will now be presented as an array even if the values are empty ((#1240)[https://github.com/tediousjs/node-mssql/pull/1240])
10
10
  [change] Update tarn pool dependency ((#1344)[https://github.com/tediousjs/node-mssql/pull/1344])
11
11
  [removed] Remove connection string parser helpers ((#1342)[https://github.com/tediousjs/node-mssql/pull/1342])
12
+ [removed] Remove deprecated pool properties ((#1359)[https://github.com/tediousjs/node-mssql/pull/1359])
12
13
 
13
14
  v7.2.1 (2021-08-19)
14
15
  -------------------
package/README.md CHANGED
@@ -2013,6 +2013,11 @@ request.query('select @myval as myval', (err, result) => {
2013
2013
  - If you're facing problems with connecting SQL Server 2000, try setting the default TDS version to 7.1 with `config.options.tdsVersion = '7_1'` ([issue](https://github.com/tediousjs/node-mssql/issues/36))
2014
2014
  - If you're executing a statement longer than 4000 chars on SQL Server 2000, always use [batch](#batch-batch-callback) instead of [query](#query-command-callback) ([issue](https://github.com/tediousjs/node-mssql/issues/68))
2015
2015
 
2016
+ ## 7.x to 8.x changes
2017
+
2018
+ - Upgraded to tedious version 14
2019
+ - Removed internal library for connection string parsing. Connection strings can be resolved using the static method `parseConnectionString` on ConnectionPool
2020
+
2016
2021
  ## 6.x to 7.x changes
2017
2022
 
2018
2023
  - Upgraded tedious version to v11
@@ -388,41 +388,6 @@ class ConnectionPool extends EventEmitter {
388
388
  propagateCreateError: true
389
389
  }, this.config.pool)
390
390
  )
391
- const self = this
392
- Object.defineProperties(this.pool, {
393
- size: {
394
- get: () => {
395
- const message = 'the `size` property on pool is deprecated, access it directly on the `ConnectionPool`'
396
- self.emit('debug', message)
397
- process.emitWarning(message)
398
- return self.size
399
- }
400
- },
401
- available: {
402
- get: () => {
403
- const message = 'the `available` property on pool is deprecated, access it directly on the `ConnectionPool`'
404
- self.emit('debug', message)
405
- process.emitWarning(message)
406
- return self.available
407
- }
408
- },
409
- pending: {
410
- get: () => {
411
- const message = 'the `pending` property on pool is deprecate, access it directly on the `ConnectionPool`'
412
- self.emit('debug', message)
413
- process.emitWarning(message)
414
- return self.pending
415
- }
416
- },
417
- borrowed: {
418
- get: () => {
419
- const message = 'the `borrowed` property on pool is deprecated, access it directly on the `ConnectionPool`'
420
- self.emit('debug', message)
421
- process.emitWarning(message)
422
- return self.borrowed
423
- }
424
- }
425
- })
426
391
 
427
392
  this._connecting = false
428
393
  this._connected = true
package/package.json CHANGED
@@ -21,7 +21,7 @@
21
21
  "azure",
22
22
  "node-mssql"
23
23
  ],
24
- "version": "8.0.0",
24
+ "version": "8.0.1",
25
25
  "main": "index.js",
26
26
  "repository": "github:tediousjs/node-mssql",
27
27
  "license": "MIT",