Fork me on GitHub

Node-mysql-libmysqlclient changelog

MySQL bindings for Node.js using libmysqlclient.

Check out the Github repo for the source and installation guide.

Extra information: Homepage, API, Examples, Wiki.

Version 1.0.2

  • Tested with Node version v0.2.3
  • Some changes to make the module build with specific libmysqlclient path, closes #50

Special thanks for Benjmain Reesman

Version 1.0.1

  • Change node-gc to Sannis' fork with some fixes
  • Improve simple.conn.ConnectWithError test, tests cleanup
  • Add gh_pages.sh to simplify docs update
  • Update wscript in accordance to current node_addon.py
  • Fix error reporting in example

Special thanks for Surendra Singhi and http://fallen.habrahabr.ru

Version 1.0.0

  • Fixes:
    • Rewrite fetchAll function, move V8 stuff to EIOAfterFetchAll, closes #34
    • Rewrite MysqlResult::SetFieldValue() procedure to GetFieldValue() function
    • Fix Nodules break, closes #46
    • Return Boolean/throw exception fixes, closes #31
    • Allocate less memory in MysqlConnection::EscapeSync()
    • Add useful macroses to simplify MysqlConnection and MysqlResult
    • Fix lint errors
  • Tests improvements:
    • Refactor tests: split them into simple, complex, slow and ignored
    • Change nodeunit to original caolan's repo
    • Add REPL memory leaks finder
  • Documentation improvements:
    • Add index.html generation from README.markdown
    • Format ChangeLog with markdown
    • Add changelog.html generation from CHANGELOG.markdown
    • Add navigation
    • Add zip- and tarball URLs to index.html
    • Remove docs HTML from repo, you can generate them by 'node-waf doc'
  • Semantic versioning introduced
  • Other changes in README and package.json

Special thanks for Ben Noordhuis

Version 0.0.10

  • Add JSDocs into bindings code
  • Add API documentation page
  • Add examples.js and Dox-generated examples.html
  • Change caolan/nodeunit to Sannis/nodeunit
  • Update tests to use test.throws()
  • Other cleanup in tests and files

Version 0.0.9

  • Add MYSQL_TYPE_TIME and MYSQL_TYPE_SET handling
  • Rename MysqlConn to MysqlConnection
  • Change some methods to read-only properties:
    • MysqlConnection::ConnectErrnoSync()
    • MysqlConnection::ConnectErrorSync()
    • MysqlResult::FieldCountSync()
  • Make it possible to interleave sync and async queries on same connection
  • Improve package.json, fdd 'Dependencies' section into README
  • Rework nested C++ classes into separate
  • Fix lint errors (all, except sscanf)
  • Implemented methods:
    • MysqlConnection::InitSync()
    • MysqlConnection::RealConnectSync()
    • MysqlConnection::SetOptionSync()

Special thanks for Akzhan Abdulin and Surendra Singhi

Version 0.0.8

  • Make asynchronous connect and fetchAll
  • Tested with Node version v0.2.0
  • Small improves in tests, README
  • Move all TODO to GitHub issues tracker
  • Implemented methods:
    • MysqlConn::Connect() and libeio wrapper
    • MysqlResult::FetchAll() and libeio wrapper

Special thanks for Surendra Singhi

Version 0.0.7

  • Make asynchronous querying work
  • Simplify javascript logic of createConnection()
  • Allow reconnecting after failed connect
  • Do correct conversion of NULL fields in MysqlResult::AddFieldProperties()
  • Add test for asynchronous queries
  • Rewrite tests config
  • Improve build wscript
  • Implemented methods:
    • MysqlConn::QueryAsync() and libeio wrapper

Special thanks for Surendra Singhi

Version 0.0.6

  • Update package.json and make small fixes in docs and README
  • Rename MysqlResult::FetchResult method to FetchAll
  • Implemented methods:
    • MysqlResult::DataSeek()
    • MysqlResult::NumRows()
    • MysqlResult::FetchArray()
    • MysqlResult::FetchFields()
    • MysqlResult::FetchField()
    • MysqlResult::FetchFieldDirect()
    • MysqlResult::FetchLengths()
    • MysqlResult::FetchObject()
    • MysqlResult::FieldCount()
    • MysqlResult::FieldSeek()
    • MysqlResult::FieldTell()
    • MysqlResult::Free()
  • MysqlResult class finished

Version 0.0.5

  • Remove 'Sync' from classes names, rename main module file to mysql-libmysqlclient.js
  • Add example MysqlConn::queryAsync() and MysqlConn::async() methods
  • Add a script to verify the existence of unittests for each function
  • Reorganize tests files for new think and add some tests
  • Add speedtest

Version 0.0.4

  • Split source code into separate files for database connection, query result and prepared statements
  • Add nodeunit as the test framework for project
  • Implemented methods:
    • MysqlSyncConn::autoCommit()
    • MysqlSyncConn::commit()
    • MysqlSyncConn::debug()
    • MysqlSyncConn::dumpDebugInfo()
    • MysqlSyncConn::fieldCount()
    • MysqlSyncConn::getInfoString()
    • MysqlSyncConn::getWarnings()
    • MysqlSyncConn::initStmt()
    • MysqlSyncConn::multiMoreResults()
    • MysqlSyncConn::multiNextResult()
    • MysqlSyncConn::multiRealQuery()
    • MysqlSyncConn::realQuery()
    • MysqlSyncConn::rollback()
    • MysqlSyncConn::stat()
    • MysqlSyncConn::storeResult()
    • MysqlSyncConn::threadId()
    • MysqlSyncConn::threadKill()
    • MysqlSyncConn::threadSafe()
    • MysqlSyncConn::useResult()
    • MysqlSyncStmt::prepare()
  • Decrease number of cpplint warnings (dirty hack? maybe)

Version 0.0.3

  • Add 'lint' target for node-waf
  • Add docs dir, docs/examples.md, docs/apiphpmysqli.md and docs/apinodemysql_sync.md
  • Add tests/debug.js for inspecting bindings 'classes' from javascript
  • Implement all methods in 'connection' category:
    • MysqlSyncConn::ChangeUser()
    • MysqlSyncConn::СonnectErrno()
    • MysqlSyncConn::СonnectError()
    • MysqlSyncConn::GetCharset()
    • MysqlSyncConn::GetCharsetName()
    • MysqlSyncConn::Ping()
    • MysqlSyncConn::SelectDb()
    • MysqlSyncConn::SetCharset()
    • MysqlSyncConn::SetSsl()
  • Improve MysqlSyncConn::Connect() functionality, see d2d9ae2

Version 0.0.2

  • Split MysqlDbSync into MysqlSyncConn and MysqlSyncRes
  • Add unit tests suite
  • Query() API is more clear to PHP MySQLi

Version 0.0.1

  • Basic functionality: connect/close/query/fenchAll/getInfo/error/etc.
  • Implemented methods:
    • MysqlDbSync::AffectedRows()
    • MysqlDbSync::Connect()
    • MysqlDbSync::Close()
    • MysqlDbSync::Errno()
    • MysqlDbSync::Error()
    • MysqlDbSync::Escape()
    • MysqlDbSync::FetchResult()
    • MysqlDbSync::GetInfo()
    • MysqlDbSync::LastInsertId()
    • MysqlDbSync::Query()
    • MysqlDbSync::WarningCount()