Node TDS module for connecting to SQL Server databases.
MIT License
Bot releases are visible (Hide)
Published by arthurschreiber over 7 years ago
We are dropping support for Node.js versions that are
no longer supported. Please upgrade to Node.js 4+ or keep using
tedious 1.x.
Status of various versions of node may be seen at:
https://github.com/nodejs/LTS
Per that, versions v0.10, v0.12 and v5 fell out of maintenance mode.
(c44d42e1)
Published by arthurschreiber over 7 years ago
tedious
now has better support for SQLServer instances configured for High Availability! If the DNS name for the SQLServer instance you're connecting to resolves to multiple IP addresses, tedious
will now sequentially try to connect to each of them, and will stop after the first successful connection. There's now also support for the multiSubnetFailover
connection option, which allows to connect to all resolved IP addresses in parallel and will use whichever connection was established first. Thanks @chrislukkk and @tvrprasad!tedious
never actually verified the certificate presented by the server. As this is probably not a good idea from a security standpoint, there is a new trustServerCertificate
connection option that you can set to false
to enforce certificate verification. The default behaviour did not change, but will in a future release. Thanks @SimonHooker!datefirst
connection option can now modified when opening a new connection via the datefirst
connection option. Thanks @edwardsmit!arithabort
connection option can now modified when opening a new connection via the enableArithAbort
connection option. Thanks @carlosman!RequestError
instead of never being called. Thanks @tvrprasad!RequestError
and ConnectionError
are now exposed as part of the tedious
package. Thanks @jeffrosenberg!Connection
constructor was modified in multiple places. That was pretty careless and unexpected, so tedious
now will keep an internal copy of the configuration. Thanks @tvrprasad!DateTime
fields is now getting rounded down correctly. Thanks @fuga!This will be the last version of tedious
to support Node.js versions < 4.
Published by patriksimek over 8 years ago
This release adds support for Variant data type and fixes problems with some SQL collations.
#350 Add Variant data type support
#376 Fix parsing of SQL collations
#361 Align to code style used in Node 4+
Published by arthurschreiber almost 9 years ago
Another small bugfix release for an issue introduced in 1.13.0.
#340 Fix handling of null values in nvarchar(max)
columns.
Published by arthurschreiber almost 9 years ago
Small bugfix release for an issue introduced in 1.13.0.
DateTime2
parameters.Published by arthurschreiber almost 9 years ago
This release addresses some issues with the generator based packet and stream parsing code that was introduced in the 1.12.0
release.
As it turns out, the generator based code performed great when parsing single large values, but performed a lot worse than the previous parser code when a lot of small values were parsed. To work around this problem, the generator based code was fully rewritten to be callback based. This does not quite bring us back on previous performance levels in all situations, but should be a step in the right direction. We'll continually release new versions of tedious with further performance improvements.
Another big change is that the internals of tedious were fully rewritten from CoffeeScript to next-gen JavaScript.
Additionally, this release comes with a few other fixes and new functionality:
Binary
parameters.Published by arthurschreiber about 9 years ago
Published by arthurschreiber about 9 years ago
Published by arthurschreiber about 9 years ago
Published by arthurschreiber about 9 years ago
TypeError: Cannot read property 'useUTC' of undefined
). This was accidentally introduced with the internal refactorings made for 0.12.0.Published by arthurschreiber about 9 years ago
uniqueidentifier
, text
, ntext
, image
, smallmoney
, money
,Published by arthurschreiber about 9 years ago
varchar(max)
, nvarchar(max)
, varbinary(max)
, text
, ntext
, and image
datatypes.char
, varchar
and text
datatypes. iconv is used to perform the conversion, and is included as an optional dependency. If it is not available, then ascii is used as fallback when converting the buffers to strings.Published by arthurschreiber about 9 years ago
Published by arthurschreiber about 9 years ago
Published by arthurschreiber about 9 years ago
Published by arthurschreiber about 9 years ago
Published by arthurschreiber about 9 years ago
Published by arthurschreiber about 9 years ago
Published by arthurschreiber about 9 years ago
Published by arthurschreiber about 9 years ago