Skip to content

V3 upstream merge - #2

Merged
rdiaztushman merged 50 commits into
v3from
v3-upstream-merge
Apr 1, 2017
Merged

rdiaztushman merged 50 commits into
v3from
v3-upstream-merge

Conversation

@rdiaztushman

Copy link
Copy Markdown
Member

Thanks for wanting to fix something on Sequelize - we already love you long time! Please delete this text and fill in the template below. If unsure about something, just do as best as you're able.

If your PR only contains changes to documentation, you may skip the template below.

Pull Request check-list

Please make sure to review and check all of these items:

  • Does npm run test or npm run test-DIALECT pass with this change (including linting)?
  • Does your issue contain a link to existing issue (Closes #[issue]) or a description of the issue you are solving?
  • Have you added new tests to prevent regressions?
  • Is a documentation update included (if this change modifies existing APIs, or introduces new ones)?
  • Have you added an entry under Future in the changelog?

NOTE: these things are not required to open a PR and can be done afterwards / while the PR is open.

Description of change

Please provide a description of the change here.

Harshith Kashyap and others added 30 commits November 3, 2016 13:02
* V3 backport of MSSQL BulkInsertQuery - sequelize#6782

* Update changelog.md
* (fix) restore ignore field from deletedAt attr

* [ci skip] change log changes
* fix: groupedLimit on paranoid junction table

* change log and esproject file
…ize#6685)

sequelize#6666

Makes it possible to pass condition objects (e.g. {foo: 'bar'}) to Sequelize.fn(), Sequelize.cast().
This makes it easy to use conditional counts in Sequelize queries, e.g.

Sequelize.fn('sum', {name: 'Fred'}) which results in SUM(`name` = 'Fred') which can be used in attribute definition
to count entities for which the condition matches.
* Fixed range integer parsing

* Added test for integer ranges

* Removing console.log and add inclusion assertions
* Enabled transaction tests for mssql dialect, fixed transaction name too long bug

* Removed passing of isolationLevel to begintransaction method

* Replaced mssql query lodash includes with startsWith, added a test to allow transaction keywords as values
* Support ES6 imports

* Remove semicolon
…ize#7082)

* Fixes removeColumn method when primarykey column is specified

* Review fixes

* Fixes failing test
* Fixes hasMany issue in sequelize#4258

added a source key field to allow the source table to have a custom
foreign key that is not primary, defaults to the primary if not given

* fix mistake on belongs to

* More support for sourceKey in hasMnay

* Add docs for sourceKey in hasMnay

* Fix jslint error in has-many.test.js

* Fix failing tests

* Add unique index for sourceKey tests
janmeier and others added 20 commits January 24, 2017 09:01
* Stops test from removing test/integration/assets/es6project.js

* Updates changelog.

* Adds link to issue in changelog entry.

* Added 'Future' header to changelog entry

* Removed changelog update as requested.
* Backporting b6e1c15 to the v3 branch.

* [ci-skip] changelog

* [ci skip] changelog pr code
…ied in include (sequelize#7141) (sequelize#7147)

* Initial Commit

* Stops test from removing test/integration/assets/es6project.js

* Fixes impromper syntax when specifying the use of association.sourceIdentifier or left.primaryKeyAttribute for attrLeft. Also includes integration test.

* Updates changelog.

* Adds link to issue in changelog entry.

* Added 'Future' header to changelog entry

* Removed changelog update as requested.

* Updates changelog. Fixes query-generator to properly build queries from hasMany even with an include while respecting a specified sourceKey. Adds an integration test.

* Added back removed whitespace per request.

* Updates test in include altered field name in source key. Fixes were then made to address the test breaking. All tests pass now.

* Adds back removed whitespace.
* fix 5755 for v3 branch

* fix ER_EMPTY_QUERY error on update with virtual fields

* fix review

* [ci skip] changelog for issue
sequelize#7416)

* Fix sequelize.transaction() breaks when used with Promise.mapSeries (sequelize#5943) (sequelize#6319)

* jshint fixes
Fix for MySQL fk constraint names to incorporate referring table name
and avoid possible name collisions.

Cherry-picked from 85477dd
See also issue sequelize#5826
@rdiaztushman
rdiaztushman merged commit 1e6e74a into v3 Apr 1, 2017
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.