Skip to content

Releases: actionhero/ah-sequelize-plugin

v2.1.1

02 Jun 00:36
Compare
Choose a tag to compare
  • Define the type of api.sequelize (#121)
  • Update dependencies

v2.1.0

07 May 17:20
Compare
Choose a tag to compare
  • connect to database at initialize lifecycle phase (#100)
  • update deps

v2.0.4

06 Apr 19:48
Compare
Choose a tag to compare
  • update deps (#87)

v2.0.3

12 Mar 16:08
Compare
Choose a tag to compare

Update deps and remove mkdirp (#86)

v2.0.2

10 Feb 17:03
Compare
Choose a tag to compare
  • (bugfix) autoMigrate can now be disabled

v1.3.1

18 Nov 20:43
Compare
Choose a tag to compare

Allow for loading TS files with named exports

v1.3.0

18 Nov 20:29
3b476bb
Compare
Choose a tag to compare

No longer assume model and migration paths are relative to project root

For the Typescript version of Actionhero (v21), we need to be able to account for projects which have both a src and a dist directory. This means that we cannot rely on models & migrations being relative to project root... that will change depending on which more you are running in.

This change changes the config setup for ah-sequelzie-plugin to instead search for those folders relative to the config file (which will be compiled as needed itself into dist or src)

If you are upgrading to this version, you will need to update your /config/sequelize.js config file to have a full path in your modelsDir and migrationsDir

#78

v1.2.0

06 Sep 16:31
Compare
Choose a tag to compare
  • this package now requires sequelize v5, and we test against only that version
  • this package has fully up-to-date dependancies
  • Removes operatorsAliases, as they are deprecated by Sequelize

Fixes config files

11 Dec 22:21
30a2495
Compare
Choose a tag to compare

Fixes the destructuring calls in the template config file.

Improves logging

10 Dec 22:56
68dca61
Compare
Choose a tag to compare

Adds notes about overriding logger.
Changes to use configured logger for all outputs.
Reduces complexity of config and removes merge function comments.