Skip to content

Releases: natesilva/sequelize-mysql-timestamp

v1.4.0

Choose a tag to compare

@natesilva natesilva released this 06 Feb 20:33
1d7a89d

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...v1.4.0

1.2.2

Choose a tag to compare

@natesilva natesilva released this 27 Apr 21:42
579dfb6

Added basic TypeScript definitions

1.2.1

Choose a tag to compare

@natesilva natesilva released this 27 Apr 21:31
2413c29

Added an .npmignore file, resulting in a slightly smaller deployed footprint.

1.2.0

Choose a tag to compare

@natesilva natesilva released this 27 Apr 21:25
0586a88

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

Choose a tag to compare

@natesilva natesilva released this 29 Mar 17:13
eeaf475

Minor update brings all dependencies to their latest version.

1.1.0

Choose a tag to compare

@natesilva natesilva released this 16 Dec 03:05
1509eeb

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

1.0.2

Choose a tag to compare

@natesilva natesilva released this 05 Dec 23:31
7d8a540
version 1.0.2

1.0.1

Choose a tag to compare

@natesilva natesilva released this 05 Dec 22:23
390a890
  • add more unit tests
  • better code coverage for unit tests