Skip to content

Releases: tediousjs/tedious

0.0.7

01 Aug 11:19
Compare
Choose a tag to compare
  • Support for transactions.
  • Experimental support for secure connections.
  • Some support for TDS 7.1, for connecting to SQL Server 2000. (Phil Dodderidge)

0.0.6

01 Aug 11:19
Compare
Choose a tag to compare
  • Remove post-install script hook. It won't run (as is) on Windows, and doesn't really add anything useful.

0.0.5

01 Aug 11:20
Compare
Choose a tag to compare
  • Instead of publishing CoffeeScript files and compiling them at runtime, the CoffeeScript is compiled before publishing. Only Javascript files are pubslished and installed.
  • Support for preparing and executing SQL.
  • #25 When the value of tinyint, smallint or int parameters are 0, do not send their value as null.
  • #22 Support for DATABASE_MIRRORING_PARTNER environment change notification.
  • Support for using bit, smalldatetime and datetime types in parameterised statements.
  • #32 Support for using varchar(max) and nvarchar(max) in parameterised statements.
  • Use iconv-lite instead of iconv. This means that tedious is back to pure Javascript, including its dependencies.

0.0.4

01 Aug 11:22
Compare
Choose a tag to compare
  • On successful connection, set textsize (by default, to 2147483647). This allows long values to be returned for varchar(max), nvarchar(max), varbinary(max), text, ntext, and image datatypes.
  • Honour the defined locale for 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.
  • #14 Added support for executing parameterised statements.
  • #16 Added support for calling procedures with parameters.
  • #20 Support connecting by instance name (instead of port).
  • Expose the total number of rows returned, in Request's completion callback.

0.0.3

01 Aug 11:23
Compare
Choose a tag to compare
  • Added support for Order tokens, meaning that select statements with an order clause can now be used.
  • Added support for more data types in result sets: uniqueidentifier, text, ntext, image, smallmoney, money,
  • Fixed bug that prevented new Requests from being initiated from a Request's completion callback.

0.0.2 / 2012-01-08

01 Aug 10:01
Compare
Choose a tag to compare
  • Changed the API quite a bit, and documented it.
  • Removed dependency on buffer-tools package. This was the only package with C++, so it should be easier to use tedious on Windows now.
  • Added main property to package.json.
  • Added ReadableTrackingBuffer and WritableTrackingBuffer, making a lot of Buffer building and parsing code a lot simpler.
  • Added support for more data types in result sets (Ciaran Jessup): bigint, binary, varbinary, varbinary(max), varchar(max), nvarchar(max), real, float.
  • Simplified error handling for unrecoverable errors.
  • Use a statemachine for connection state (making it much easier to implement the states documented in the TDS specification).
  • Make packet size configurable.

0.0.1 / 2011-12-04

01 Aug 09:59
Compare
Choose a tag to compare

The initial release.

  • Tedious is just about useable for simple statements.
  • Session establishment and authentication work.
  • Sending SQL statements (in a SQL_BATCH packet) works for some simple statements.
  • Many simple data types are supported.