Releases: markdirish/node-odbc
Releases · markdirish/node-odbc
2.4.8
2.4.7
[2.4.7] - 2023-01-26
Fixed
- Fixed static cursor declaration causeing performance degredatio
- Fixed a memory leak with certain long binary and character types
2.4.7-beta.0
Beta release to see if not setting cursor explicitly fixed performance issues
2.4.6
[2.4.6] - 2022-09-22
Fixed
- Fixed TypeScript definition error preventing compilation
2.4.5
[2.4.5] - 2022-09-12
Added
primaryKeys
instance function onConnection
to call ODBC SQLPrimaryKeys functionforeignKeys
instance function onConnection
to call ODBC SQLForeignKeys function- Binaries added for all supported N-API versions for all GitHub Actions runners
Fixed
- Fixed VARCHAR(MAX) fields creating 0-sized buffers (MSSQL)
- Fixed various TypeScript type definitions
2.4.4
[2.4.4] - 2022-04-26
Fixed
- Fixed application crashing when
callProcedure
was given the wrong procedure name or number of parameters - Fixed TypeScript definition for Connection's
tables
function
2.4.3
[2.4.3] - 2022-03-31
Fixed
- Updated dependencies for security fixes
- Fixed generation of
callProcedure
sql string whenUNICODE
is defined
2.4.2
[2.4.2] - 2022-02-07
Added
binding.gyp
build instructoins for MacOSStatement
's.execute
function can now return aCursor
when the correct queryOption is passed
Fixed
Statement
andCursor
should now better handle freeing memoryConnection
's.callProcedure
should now work on Windows withUNICODE
defined- Fixed up TypeScript definitions
2.4.1
[2.4.1] - 2021-10-19
Added
- Simple binding path allows driver's that don't implement block fetch and column-wise binding to still be able to fetch results
- Allow pool.query() to use query options
Fixed
- Update timeout definitions in README.md
- Fixed multiple memory leaks
- Fixed multiple segfaults
2.4.0
[2.4.0] - 2021-07-06
Added
- NEW Cursor class that is returned when new
cursor
query option is set totrue
. Cursor allows users to fetch partial result sets through callingfetch
- NEW
timeout
query property allows users to define the number of seconds to wait for execution before returning to the application - NEW
initialBufferSize
query property property allows users to define the size of a buffer for SQL_LONG data types before resizing - Tests for multiple DBMSs added
- Support for FreeBSD build
Fixed
- Connection generation in pools is now more efficient and doesn't block queries
- Retrieving binary data
- Improved TypeScript definitions
- BIGINT fields are now bound by default correctly
- Fixed multiple memory leaks
- Fixed multiple uncaught errors
- Dozens of minor fixes (see GitHub issues)
Changed
- SQL_LONG* fields now use SQLGetData ODBC function, greatly increasing performance
- Connection options can now be passed through to pool connections
- Debugging no longer done through
DEBUG
define, but through existing connection manager facilities - Updated dependencies