Releases: CUBRID/node-cubrid
Releases · CUBRID/node-cubrid
CUBRID 10.1 Node.js Driver
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
***BREAKING CHANGES since v3.0.0
***
node-cubrid
no longer emits events except fordisconnect
. 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 asqueriesQueueIsEmpty()
functions have been removed.query()
andexecute()
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
2.2.5
v2.2.4
v2.2.3
v2.2.2
- 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
v2.2.0
v2.1.1
v2.1.0
- 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 forclose()
. - Enh: APIS-593, Add
createConnection()
alias forcreateCUBRIDConnection()
. - 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 ofsrc
to the maintest
directory. - Ref: moved
utils
unit tests outside ofsrc
to the maintest
directory. - Ref: moved all unit tests in
src
outside to the maintest
directory. - Ref: merged unit tests in
test/nodeunit
directory with the maintest
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
andcommit
functions. - Doc: updated supported CUBRID version.
- Doc: updated README documentation.