Skip to content

Releases: tediousjs/tedious

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.