Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update dependency sequelize-auto to ^0.8.0 #15

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

renovate[bot]
Copy link

@renovate renovate bot commented Jun 6, 2021

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
sequelize-auto ^0.4.29 -> ^0.8.0 age adoption passing confidence

Release Notes

sequelize/sequelize-auto (sequelize-auto)

v0.8.8

Compare Source

v0.8.7

Compare Source

  • Don't write field comments for mssql, because it throws error in sequelize.sync() (#​567)
  • Add --noIndexes option (#​563)
  • Add --indentation command line option to control indent size (#​561)
  • Append an underscore if model name is a reserved word (#​562, #​570)
  • Remove 'esmd' lang option and standardize 'useDefine' behavior
  • Remove dialect canAliasPK check for generating fieldnames. (#​571) This was a workaround to a sequelize bug that has been fixed.
  • TypeScript: fix syntax for HasOneCreateAssociationMixin
  • TypeScript: make field optional if autoIncrement instead of primaryKey (#​572)
  • Fix case-senstive column name when querying views in mysql (#​579)
  • Fix field comparison casing (#​576)
  • TypeScript: Make timestamp fields not required for creation (#​577)
  • Support mysql 'year' type (#​575)

v0.8.6

Compare Source

  • Add useDefine option to use sequelize.define instead of init (#​559, #​573)

v0.8.5

Compare Source

v0.8.4

Compare Source

  • Fix --noAlias option to never write aliases except for many-to-many relations (#​515)
  • Add -l esmd for ES modules with "define" syntax instead of classes (#​527) (thanks @​retfah) (removed in 0.8.6 in favor of --useDefine)
  • Fix problem with paranoid not in output when additional.paranoid specified (#​529)
  • Fix alias generation for column names that differ only by singular/plural (#​533) (thanks @​edwardmcarl)
  • Add Postgres types inet, cidr, macaddr and oid (#​534)
  • Add TypeScript type for jsonb | json (#​541) (thanks @​HussainMehdi)
  • Fix TypeScript optional fields and CreationAttributes (#​543 #​546) (thanks @​kurochin143)

v0.8.3

Compare Source

  • Fix generation of alias in many-to-many (#​521)
  • Add --noInitModels flag (#​519)
  • Fix duplicate alias in many-to-many relationships (#​520)
  • Fix erroneous many-to-many relationship with composite foreign keys (#​525)
  • Add --noAlias option to avoid making alias for relationships (#​515)
  • Add tests

v0.8.2

Compare Source

  • TypeScript: fix imports when esModuleInterop is false (#​498)
  • mssql: Make varchar(max) be DataTypes.TEXT (#​508)
  • Fix name collision when plural and singular are the same (#​509)
  • Fix missing associations (#​510 and #​512)
  • TypeScript: remove cast "as typeof Model" in belongsToMany, for compatibility with Sequelize 6.6.2 (#​511)
  • mysql: Treat tinyint(1) as boolean (#​514)
  • Update devDependencies

v0.8.1

Compare Source

  • Allow password to be supplied from terminal (#​503) (thanks @​zypA13510)
  • Fix autoIncrement for SQLite (#​504)
  • TypeScript: make field optional with "?" if it has a defaultValue (#​505)
  • BREAKING CHANGE: command-line options always take precedence over config file options
  • BREAKING CHANGE: tables and skipTables options on command line are now space-separated (instead of comma-separated) lists
  • BREAKING CHANGE: drop support of node version less than 10

v0.8.0

Compare Source

  • Add alias name to belongsToMany associations (#​500)
  • Fix references to remove schema, seems unnecessary (#​501)
  • Let host, database, username, and password be set via config file (#​482) (thanks @​twastvedt)
  • Update dependencies

v0.7.11

Compare Source

  • Fix precision & scale for mssql DECIMAL types
  • Write mssql NUMERIC as DECIMAL instead of DOUBLE (#​496)
  • Fix ENUM datatype for mysql
  • Sort relations by [parent, child] in init-models.ts
  • Update README to show alias in associations

v0.7.10

Compare Source

  • Fix explicit NULL default values in mssql (#​491) (thanks @​md-shah)
  • Fix relation alias uniqueness (#​489)
  • Add handling for Postgres range types (#​490)
  • Make id field primaryKey if no other primaryKey exists (#​480)

v0.7.9

Compare Source

  • Fix schema handling and case errors in relations
  • Fix generation of relationships for mysql (#​488)
  • Fix CRLF line breaks in bin/sequelize-auto (#​487, #​475, #​462)

v0.7.8

Compare Source

  • Make information_schema queries uppercase for mssql (#​486)
  • Move meta queries from dialect-options to dialect-specific files
  • Create relations based on properties and alias instead of model names (#​483, #​466)

v0.7.7

Compare Source

v0.7.6

Compare Source

v0.7.5

Compare Source

  • Add --singularize option, to singularize model and file names from plural table names
  • TypeScript - add association get/set/add/remove/has/count/create mixing methods to TypeScript models (#​453) (thanks @​mat813)
  • TypeScript - Add TableId and TablePk to model definitions (#​453) (thanks @​mat813)
  • Fix autoIncrement for generated keys in Postgres (#​459 and #​460) (thanks @​divinebovine)
  • Cast through class to Model instead of any (#​454) (thanks @​mat813)
  • Fix postgres enum types broken in 0.7.2 (#​455)

v0.7.4

Compare Source

  • TypeScript - only declare properties optional (with ?) when field is nullable (#​450) (thanks @​mat813)
  • TypeScript - add the ModelCreationAttributes to the generated files (#​451) (thanks @​mat813)
  • TypeScript - add not-null assertions (with !) for fields
  • Put belongsToMany relationships first in init-models (#​449)
  • Set noWrite = true when directory == false (#​447)

v0.7.3

Compare Source

  • Fix autoIncrement for non-key fields in Postgres (#​446 and #​448)
  • Remove obsolete dependencies async and graceful-fs-extra

v0.7.2

Compare Source

  • Add enum support for TypeScript types (#​443) (thanks @​JonathanWolfe)
  • Make init-modules ts version compliant with --isolatedModules (#​444) (thanks @​JonathanWolfe). This is a BREAKING CHANGE because --lang ts output now requires TypeScript >= 3.8
  • Fix geometry/geography types in Postgres (#​445)

v0.7.1

Compare Source

  • Fix precision & scale for mssql DECIMAL types
  • Write mssql NUMERIC as DECIMAL instead of DOUBLE (#​496)
  • Fix ENUM datatype for mysql
  • Sort relations by [parent, child] in init-models.ts
  • Update README to show alias in associations

v0.7.0

Compare Source

  • Add belongsTo/hasOne/hasMany to initModels (#​34) (#​61) (#​65) (#​82) (#​215) (#​369)
  • Add precision to DECIMAL, DOUBLE, and FLOAT types
  • Add element type to Postgres ARRAY data types and TypeScript definitions (#​151)

v0.6.7

Compare Source

  • Fix "Assignment to constant" error introduced in 0.6.6 (#​440) (thanks @​xuezier)
  • Add support for generating models from views, --views option (#​77)

v0.6.6

Compare Source

  • Add indexes to table options (#​162)
  • BREAKING CHANGE Change es6/esm/ts flags to lang option
  • Add JSDoc commments to type declarations
  • Add DataTypes.UUIDV4 default for postgres (#​155) (thanks @​roytz)

v0.6.5

Compare Source

  • Escape special chars in table comments (#​439)
  • Map mysql longtext/mediumtext/tinytext to DataTypes.TEXT
  • Export SequelizeAuto types in npm package (#​140)

v0.6.4

Compare Source

  • Export attributes interface for TypeScript files
  • Generate init-model.js file for loading models into sequelize
  • Add support for mysql date & time precision (thanks @​locene)
  • Infer timestamps flag based on presence of createdAt/updatedAt field in tables
  • Change default indentation to 2 spaces
  • Add sample app; see sample directory
  • Fix quoting of table names in sqlite foreign keys query

v0.6.3

Compare Source

v0.6.2

Compare Source

v0.6.1

Compare Source

  • Fix default values for Postres Array types, issue #​426
  • Fix multi-field unique constraints, issue #​347 and #​408
  • Fix tableResult properties, PR #​429
  • Fix quotes in datatype names, issue #​100
  • Catch promise rejections in auto-builder

v0.6.0

Compare Source

  • BREAKING CHANGE Change API to Promises instead of callbacks
  • Rewrite source code in TypeScript, add build step
  • Fix default value for Postgres JSON types, issue #​426
  • Omit sysdiagrams from mssql tables
  • Update dependencies

v0.5.4

Compare Source

  • Fix handling case sensitive collation in MSSQL, issue #​416 (thanks @​karpikpl)
  • Fix missing autoIncrement attribute due to schema clash, issue #​419 (thanks @​marcelopc)
  • BREAKING CHANGE Separate options for controlling case of output objects: caseModel, caseFile, caseProp, issue #​413
  • Remove eslint from model generation, move into generate test, issue #​425
  • Remove test files from npm package, using "files" option instead of .npmignore, issue #​418

v0.5.3

Compare Source

  • Fix filtering by tables|skipTables broken in 0.5.1, issue #​409
  • Improve validation of command-line arguments -c,-a, issue #​146 #​213 #​241
  • Fix travis build

v0.5.2

Compare Source

  • Fix quotes in comments, #​190
  • Fix defaultValue for boolean and number types, #​225 and #​386
  • Fix default value for CURRENT_TIMESTAMP and mssql functions
  • Fix unique attribute, #​169
  • Fix autoIncrement for sqlite, #​209

v0.5.1

Compare Source

v0.5.0

Compare Source


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot force-pushed the renovate/sequelize-auto-0.x branch from 5e41189 to 34a2731 Compare October 20, 2021 05:24
@renovate renovate bot changed the title Update dependency sequelize-auto to v0.8.3 Update dependency sequelize-auto to v0.8.5 Oct 20, 2021
@renovate renovate bot force-pushed the renovate/sequelize-auto-0.x branch from 34a2731 to 602be08 Compare March 7, 2022 15:19
@renovate renovate bot changed the title Update dependency sequelize-auto to v0.8.5 Update dependency sequelize-auto to v0.8.8 Mar 7, 2022
@renovate renovate bot force-pushed the renovate/sequelize-auto-0.x branch from 602be08 to 7ca2a6a Compare November 20, 2022 20:40
@renovate renovate bot changed the title Update dependency sequelize-auto to v0.8.8 Update dependency sequelize-auto to ^0.8.0 Nov 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants