Version history for minimal documentation updates are not listed here to prevent cluttering.
- Added: sequelize-types are added. (pg-structure deprecated it.)
- Added:
alias.json
file is generated in target directory to let developer easily override relationship names.
- Changed: Location of utils.js is changed to inside of model directory.
- -t --templateName parameter added to spgen. This name is used to choose one of the builtin template directories.
- sequalize4 template added for protect backward compatibility.
- sequalize4 template supports object references property. (references and referencesKey will be depreciated in Sequelize 4)
- pg-structure updated to latest version.
- Added: JSONB support and Boolean default value. Contributed by viniciuspinto (https://github.com/viniciuspinto)
- Added documentation and examples.
- Tested for Sequelize 2.0 RC7
- Removed: pg-native dependency removed. Some users experienced problems during install.
- Added: generate.addRelationNameToManyToMany configuration to prefix relation aliases prevent further name clashes which cannot be prevented by generate.addTableNameToManyToMany. Default: true.
- Added: generate.stripFirstTableNameFromManyToMany configuration added. Default: true
- Changed: generate.addTableNameToManyToMany configuration default is false now.
- Changed: Default naming rule for many to many relations.
- Added: Logging uses Winston module now.
- Added: Doc update for Windows OS users.
- Fixed: Database tables without any column throws error when warning configuration is true.
- Added: Automatic alias and naming validations to prevent name clash.
- Added: generate.addTableNameToManyToMany configuration to prefix relation aliases prevent name clash. Default: true.
- Added: --throwError option added to CLI. This option decides wheter to throw error or simply log.
- Added: Prevent hasMany through and belongsToMany true at the same time.
- Fixed: generate.prefixForBelongsTo aliases are not properly camel cased.
- Fixed: --resetConfig option does not work from CLI
- Doc update
- Fixed: CLI command does not work.
- Added: Required parameters warning.
- Added: Turkish documentation added.
- Fixed: Typos and mistakes in documents.
- Added: Tests added.
- Added: --nolog option added to spgen command.
- Added: --resetConfig option. Also details and caveat added to the document.
- Fix: lib/index.js exported function expects different parameters than written in documentation.
- Fix: Command line arguments fixed.
- Fix: Data type variable name configuration is ignored.
- Document update.
- Initial version.