Releases: natesilva/sequelize-mysql-timestamp
Releases · natesilva/sequelize-mysql-timestamp
Release list
v1.4.0
This release adds support for mariadb (thank you to @MicroDroid), and modernizes tests and dependencies.
- add np for controlled release process 62038ff
- some minor config tweaks 98d54c5
- update Travis Node versions 0574508
- add contributor recognition e13e4c9
- modernize and fix tests 7581bc6
- add some project/text editor config 2d0ec89
- update dependencies a128419
- Merge pull request #4 from natesilva/dependabot/npm_and_yarn/mysql-2.14.0 09eb064
- Bump mysql from 2.13.0 to 2.14.0 7aac1d0
- Merge pull request #3 from MicroDroid/master 525019d
- Add support for mariadb dialect 2a4f203
- version 1.3.0 896de62
- remove some un-useful tests, add a warning when strings are passed d126583
- version 1.2.2 d5f78c0
1.2.2
1.2.1
1.2.0
Removes the dependency on Moment.js. Importantly, you can still set the value of a TIMESTAMP field to a Moment object, so you don’t need to change your code, even if you are using Moment.js. As always, the values returned from the database are standard JavaScript Date objects.
Timezones are now handled by the timezone library.
Out-of-range dates are now explicitly rejected.
1.1.1
1.1.0
Recommended update. This removes a load-order dependency that could cause this module not to work.
You will need to change your initialization. The old way:
// this no longer works
const TIMESTAMP = require('sequelize-mysql-timestamp').TIMESTAMP;
And the new way:
const Sequelize = require('sequelize');
const sequelize = new Sequelize(…); // init your db connection
const TIMESTAMP = require('sequelize-mysql-timestamp')(sequelize); // pass your db connection here