Skip to content

Releases: markdirish/node-odbc

2.4.8

17 May 16:24
Compare
Choose a tag to compare

[2.4.8] - 2023-05-17

Fixed

  • Fixed static cursor declaration causing performance degradation for Connection's .query method
  • Fixed callProcedure core dump with large parameters
  • Improved TypeScript typings

Added

  • New dataTypeName property on returned ColumnDefinitions

2.4.7

27 Jan 03:03
7a97292
Compare
Choose a tag to compare

[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

01 Jan 20:30
Compare
Choose a tag to compare
2.4.7-beta.0 Pre-release
Pre-release

Beta release to see if not setting cursor explicitly fixed performance issues

2.4.6

22 Sep 22:01
Compare
Choose a tag to compare

[2.4.6] - 2022-09-22

Fixed

  • Fixed TypeScript definition error preventing compilation

2.4.5

12 Sep 17:01
Compare
Choose a tag to compare

[2.4.5] - 2022-09-12

Added

  • primaryKeys instance function on Connection to call ODBC SQLPrimaryKeys function
  • foreignKeys instance function on Connection 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

26 Apr 18:50
Compare
Choose a tag to compare

[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

02 Apr 19:43
Compare
Choose a tag to compare

[2.4.3] - 2022-03-31

Fixed

  • Updated dependencies for security fixes
  • Fixed generation of callProcedure sql string when UNICODE is defined

2.4.2

08 Feb 02:33
Compare
Choose a tag to compare

[2.4.2] - 2022-02-07

Added

  • binding.gyp build instructoins for MacOS
  • Statement's .execute function can now return a Cursor when the correct queryOption is passed

Fixed

  • Statement and Cursor should now better handle freeing memory
  • Connection's .callProcedure should now work on Windows with UNICODE defined
  • Fixed up TypeScript definitions

2.4.1

21 Oct 02:36
86c4026
Compare
Choose a tag to compare

[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

06 Jul 18:58
9d6d948
Compare
Choose a tag to compare

[2.4.0] - 2021-07-06

Added

  • NEW Cursor class that is returned when new cursor query option is set to true. Cursor allows users to fetch partial result sets through calling fetch
  • 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