Skip to content

Releases: CUBRID/node-cubrid

CUBRID 10.1 Node.js Driver

20 Jul 05:15
Compare
Choose a tag to compare
Implement Protocol v7 and Timezone (#53)

* update protocol to v7

* add timezone to CASConstants

* add parsing about timezone

* update testcase for PROTOCOL_V7

* improve testcase for calling createConnection as default

* implement timezone for PROTOCOL_V7

* add test code for Timezone

* add 'moment-timezone' because DST issue

3.0.0

05 Oct 10:30
Compare
Choose a tag to compare

***BREAKING CHANGES since v3.0.0 ***

  • node-cubrid no longer emits events except for disconnect. All data, including errors, are now handled solely by callbacks or promises.
  • Support for Node less than v4 is dropped.
  • queryWithParams(), executeWithParams(), addQuery(), addNonQuery(), as well as queriesQueueIsEmpty() functions have been removed. query() and execute() functions can handle the same functionality.

New Features

  • #49 Implement Protocol v6 of CUBRID.
  • #13 Add support for alternative hosts to support client side HA.
  • #12 #11 Provide a configurable logging function.
  • #18 Added ENUM data type support via the old protocol.
  • #14 Support promises.
  • executeWithTypedParams() function has been introduced.
  • endTransaction() function has been added.

Refactoring

  • #48 Update README.
  • #14 Indent using spaces instead of tabs.
  • #14 Reduce the use of self where this can be used directly.
  • #14 Extract constants and other useless variables from the connection object.

2.2.5

05 Oct 10:25
Compare
Choose a tag to compare

Bugs

  • #45: Imply the connection before beginning the transaction.

v2.2.4

29 May 11:22
Compare
Choose a tag to compare

Bugs

  • Fix #42: Error on batch execute request is not propagated.

v2.2.3

29 May 11:21
Compare
Choose a tag to compare

Enhancements

  • #40: No need to escape double quotes when wrapped in single quotes.

v2.2.2

24 Feb 07:34
Compare
Choose a tag to compare
  • Fix #38: When closing a query, if connection is reset, consider the request was successful.
  • Fix: mark the connection as closed only after closing the connection.
  • Doc: add Table of Contents to README documentation.
  • Travis: remove Node.js 0.6 and 0.8 support. Some of dependent modules for testing dropped the support of these versions.

v2.2.1

24 Feb 04:05
Compare
Choose a tag to compare
  • Fix #15: When closing a query, if connection is closed, consider the request was successful.
  • Ref #14: Reduce the use of self where this can be used directly.
  • Travis: ohai requires Ruby version >= 2.0.0.

v2.2.0

30 Jan 09:19
Compare
Choose a tag to compare
  • New: APIS-730, Add support for ENUM data type.
  • Fix: chef-solo command not found travis error.
  • Ref: remove documentation directory as documentation is managed in README.
  • Ref: fix typo.
  • Ref: update dev dependencies.
  • Doc: updated README documentation.

v2.1.1

30 Jan 09:22
Compare
Choose a tag to compare
  • Enh: APIS-690, Handle the case when the socket is disconnected by the server.
  • Fix: APIS-691, Socket error is escalated twice to a connection callback.
  • Fix: Chef gem version 11.4.4 is not found. Use the latest version.
  • Fix: gem command not found travis error.

v2.1.0

30 Jan 09:23
Compare
Choose a tag to compare
  • New: APIS-566, Add Travis support.
  • New: added CUBRID 8.4.4 version to Travis.
  • Enh: APIS-568, Release 3.0 - Fix inconsistent function return values.
  • Enh: APIS-567, Release 3.0 - Fix and improve code comments.
  • Enh: added tests for APIS-582.
  • Enh: APIS-594, Add end() alias for close().
  • Enh: APIS-593, Add createConnection() alias for createCUBRIDConnection().
  • Enh: allow to get engine version synchronously.
  • Enh: APIS-592, Allow to pass an object to createCUBRIDConnection().
  • Enh: allow to pass a connection timeout value as part of connection parameters.
  • Enh: no need to quote a number.
  • Enh: APIS-529, Queries queuing needs improvement. Or it is 4 times slower. Major refactoring of queries queueing mechanism for improved performance. Added params option to query() function.
  • Enh: if delimiter is not specified when formatting SQL, default to single quotes.
  • Fix: test path for node_modules.
  • Fix: host name for tests.
  • Fix: travis script.
  • Fix: broken test on CUBRID 9.1.
  • Fix: cannot set the same timeout value twice. Gets reset to 0.
  • Fix: APIS-603, Even if timeout occurs, the socket doesn't seem to get closed.
  • Fix: a broken test.
  • Fix: APIS-606, adjusted test cases to run on CUBRID 8.4.4 and 9.2.0.
  • Ref: cleanup package.json.
  • Ref: revert version to 2.0.2.
  • Ref: APIS-589, disable debugging mode by default.
  • Ref: code cleanup.
  • Ref: prefer files names to start with small letters.
  • Ref: test on Node.js 0.10 as well.
  • Ref: moved testing framework dependencies from Travis script to package.json.
  • Ref: ignore node_modules.
  • Ref: preparing the module for code coverage.
  • Ref: keep connection configurations for test in one place and reuse it.
  • Ref: refactored tests suite to prepare for code coverage.
  • Ref: moved old tests into old_tests directory.
  • Ref: moved packets unit tests outside of src to the main test directory.
  • Ref: moved utils unit tests outside of src to the main test directory.
  • Ref: moved all unit tests in src outside to the main test directory.
  • Ref: merged unit tests in test/nodeunit directory with the main test directory.
  • Ref: removed console.log output in test scripts.
  • Ref: moved local variables in tests suite inside functions.
  • Ref: added coverage report to package.json.
  • Ref: added travis environment to test on different versions of CUBRID.
  • Ref: use CUBRID Chef Cookbook to install different versions of CUBRID to run tests against.
  • Ref: demodb recipe will install CUBRID as a prerequisite, so no need to specify explicitly.
  • Ref: modified the test to handle incorrect error message when CUBRID is installed/started as root.
  • Ref: install JSCoverage to instrument code covered version of the node-cubrid module.
  • Ref: fix the tests name.
  • Ref: no need to create a socket when creating a connection client. It should be created upon connection.
  • Ref: remove browser related code.
  • Ref: no need to run call() on callback functions. No need to verify the callback function inside async flow.
  • Ref: no need to verify the SQL string. It's user's job.
  • Ref: minor tweaks to tests.
  • Ref: major refactoring of buffer parsers to handle server responses.
  • Ref: major refactoring of protocol packets to optimize the work with Buffer. Updated tests.
  • Ref: refactored the rollback and commit functions.
  • Doc: updated supported CUBRID version.
  • Doc: updated README documentation.