I hope I don’t bother you with my announcements, but this one is worth it, since from now you can consider node-mysql-libmysqlclient a stable module. Node-mysql-libmysqlclient adds support for working with MySQL for
Node.js , provides synchronous and asynchronous execution of queries to the database and has an API close to the API of similar connectors for PHP / Perl / Ruby, etc. All functions are tested for errors and memory leaks, if used in accordance with the
examples . The crash in the fetchAll () function has been fixed. Compared with the previously announced version, it is worth mentioning the appearance of examples and API documentation.
- Corrections:
- Rewrote function result.fetchAll ()
- Rewrote procedure MysqlResult :: SetFieldValue ()
- Fixed bug when working with Nodules
- Uniform error handling done
- Reduced memory allocation in MysqlConnection :: EscapeSync ()
- Other code improvements including style
- Improvements in tests:
- Tests are divided into groups: simple, complex, slow and ignored.
- Updated nodeunit, reuse Caolan repository
- Added interactive console to search for memory leaks.
- Documentation improvements:
- Added creation of index.html from README.markdown
- ChangeLog formatted using markdown
- Added creation of changelog.html from CHANGELOG.markdown
- Added navigation and links to the latest version of zip and tarball
- HTML is removed from the repository, it can be generated using the 'node-waf doc'
- Semantic versioning introduced
Project website:
sannis.github.com/node-mysql-libmysqlclientDocumentation:
sannis.github.com/node-mysql-libmysqlclient/api.htmlUsage example:
sannis.github.com/node-mysql-libmysqlclient/examples.htmlDuring the development of this version, I made changes to
Nodelint , reflecting the current Node.js API.
Nodeunit also managed to update, now it supports all the checks from the standard assert module.
For the generation of documentation, the Dox script from TJ Holowaychuk, extended for processing C / C ++ files, was used.
The Dox version I use is also
available on GitHub .