Skip to content
Open

V6 #9

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
418 commits
Select commit Hold shift + click to select a range
65a9e1e
fix(types): add Association into OrderItem type (#12332)
swarthy Jun 2, 2020
2bf7f7b
fix(typings): add support for optional values in "where" clauses (#12…
maybeanerd Jun 5, 2020
f9e660f
docs: update feature request template
sushantdhiman Jun 5, 2020
7afd589
docs(sequelize): omitNull only works for CREATE/UPDATE queries
sushantdhiman Jun 5, 2020
f367191
fix(query-generator): do not generate GROUP BY clause if options.grou…
theosotr Jun 6, 2020
72925cf
fix: add missing fields to 'FindOrCreateType' (#12338)
sonirico Jun 7, 2020
ed2d7a9
fix(model.destroy): return 0 with truncate (#12281)
JuarezLustosa Jun 8, 2020
95f7fb5
fix(mssql): empty order array generates invalid FETCH statement (#12261)
oversio Jun 8, 2020
b71cd05
fix(query): preserve cls context for logger (#12328)
Mikxail Jun 16, 2020
4914367
fix(types): add clientMinMessages to Options interface (#12375)
josecolella Jun 17, 2020
e80501d
fix(types): transactionType in Options (#12377)
AuHau Jun 17, 2020
5611ef0
build: update dependencies (#12395)
sushantdhiman Jun 20, 2020
e33d2bd
fix(reload): include default scope (#12399)
sushantdhiman Jun 21, 2020
c6e4192
fix(postgres): parse enums correctly when describing a table (#12409)
closingin Jun 23, 2020
663261b
feat(sequelize): allow passing dialectOptions.options from url (#12404)
yorek Jun 23, 2020
0ca8d72
docs: prepare for v6 release (#12416)
sushantdhiman Jun 24, 2020
6b32821
6.0.0-beta.7
sushantdhiman Jun 24, 2020
901bceb
6.1.0
sushantdhiman Jun 24, 2020
ddde7dc
docs: update upgrade guide
sushantdhiman Jun 24, 2020
77b5fe6
docs: add mention for QueryInterface breaking changes
sushantdhiman Jun 24, 2020
e36212c
fix(mssql): returning data for bulkUpdate (#12413)
ShaharHD Jun 26, 2020
871157b
feat(types): added optional stricter typing for Model attributes (#12…
hsource Jun 26, 2020
962ed3c
fix(types): references support for string (#12407)
Keimeno Jun 26, 2020
aeb318a
fix(mssql): insert/upsert operations do not return all fields (#12433)
ShaharHD Jun 27, 2020
5473751
docs(typescript): error in the name of interface (#12430)
zaggino Jun 27, 2020
9c446f9
fix(types): fixed types for model.init and sequelize.define; update d…
hsource Jun 27, 2020
2de3377
fix(sqlite): describeTable now returns unique constraint and referenc…
dyc3 Jun 28, 2020
44784fc
docs: fix typo in the associations docs (#12438)
csordasmarton Jun 28, 2020
eca3524
build: esdoc build can't parse comments
sushantdhiman Jun 28, 2020
d346a08
build: appveyor fix
sushantdhiman Jun 28, 2020
9358a13
build: enable ci for v6
sushantdhiman Jun 28, 2020
90e60b1
build: enable appveyor ci for v6
sushantdhiman Jun 28, 2020
945af92
build: use release.branches
sushantdhiman Jun 28, 2020
9a45509
fix(types): update SaveOptions type to include Hookable (#12441) (#12…
cnorthwood Jul 1, 2020
4d82907
fix(mssql): upsert query with falsey values (#12453) (#12459)
patrickcarnahan Jul 4, 2020
5cabcbc
feat(types): Add ModelDefined type as syntactic sugar (#12445)
Keimeno Jul 4, 2020
631f555
fix: use lodash _baseIsNative directly instead of _.isNative (#12358)…
tpodom Jul 10, 2020
45d9c22
docs: add unique: false to belongs_to_many (#12481)
JuarezLustosa Jul 10, 2020
96f4166
fix(upsert): set isNewRecord to false when upserting (#12447) (#12485)
knoid Jul 11, 2020
ec2af0d
fix: mark database drivers as optional peer dependencies (#12484)
DRoet Jul 11, 2020
4b2e767
doc: Add install tsc on configuration (#12510)
JuarezLustosa Jul 17, 2020
b0e6f03
docs(advanced-many-to-many): add missing `await` (#12533)
ZeroCho Aug 1, 2020
45ec1a2
docs(naming-strategies): fix user model name user (#12576)
cahyonobagus Aug 1, 2020
62f1911
docs(migrations): add example for conditional unique index (#12578)
mvp-studio-repo Aug 1, 2020
6c99ba0
docs(raw-queries): update broken link (#12542)
fernandomaia Aug 1, 2020
490db41
fix(model): handle `true` timestamp fields correctly (#12580) (#12581)
papb Aug 1, 2020
933b3f6
fix(truncate): fix missing `await` in truncate all models with cascad…
bmeriaux Sep 1, 2020
6addca9
docs(hooks.md): fix broken url (#12677)
karpikpl Sep 8, 2020
a329bb7
docs(model-basics.md): fix typo (#12735)
stanleyume Oct 2, 2020
c3ec6c5
docs(model-querying-basics): add missing comma (#12786)
unvalley Oct 23, 2020
aa6345b
docs(transactions.md): add missing `async` declaration (#12838)
fateslayer Nov 15, 2020
e414467
build: update dependencies
papb Dec 4, 2020
0eb93af
test: improve 'running queries' detection
papb Dec 4, 2020
2a79df3
test: begin transition to GitHub Actions (#12887)
papb Dec 4, 2020
72f31f6
chore: birth of the 'main' branch
papb Jan 15, 2021
062dbee
docs: add myself to contact info
papb Jan 15, 2021
aea376d
ci: drop travis and appveyor
papb Jan 15, 2021
c453b45
docs: fix engine.md
papb Jan 15, 2021
22d3595
build: stop using package-lock.json for now
papb Jan 15, 2021
dbeaa5c
refactor: minor cleanup
papb Jan 15, 2021
d034a8f
build: fix version in package.json
papb Jan 15, 2021
0ca876e
build: update dev-dependencies
papb Jan 16, 2021
d399de7
ci: re-add pg minify-aliases tests
papb Jan 16, 2021
9ecebef
feat(query-interface): support composite foreign keys (#12456)
kf6kjg Jul 3, 2020
afb247c
docs: update contact.md
papb Jan 16, 2021
fd5749b
docs: looking for core maintainers!
sdepold Dec 11, 2020
268c067
docs: fix ci badges in readme
papb Jan 16, 2021
c7ab77e
docs: fix ci badges in docs/index.md
papb Jan 16, 2021
2249ded
fix(types): remove part forgotten in #12175
papb Jan 16, 2021
9634338
chore: rename 'master' branch to 'main'
papb Jan 16, 2021
914279a
test(types): refactor adding `expect-type`
papb Jan 16, 2021
287607a
fix(types): better support for readonly arrays
papb Jan 16, 2021
bb6acd3
ci: test typings in several ts versions
papb Jan 16, 2021
6375960
ci: do not test on TS 3.6, 3.7 and 3.8
papb Jan 16, 2021
3ca53d8
ci: fix condition for release job
papb Jan 17, 2021
defa2f0
ci: re-enable semantic-release for v6
papb Jan 17, 2021
598d588
ci: test on Node.js 10 and 12
papb Jan 17, 2021
c8ca9b2
ci: simplify mssql configuration
papb Jan 18, 2021
2608cf1
ci(typings): fix tests for TS typings in TS 4.0
papb Jan 18, 2021
dc60533
docs: update index and readme
papb Jan 18, 2021
33b17e0
ci: really enable semantic-release
papb Jan 18, 2021
8e6f588
ci: fix release job
papb Jan 18, 2021
4dc0334
ci: try to resolve flaky pg test
papb Jan 18, 2021
fbf3a4c
ci: fix release job again
papb Jan 18, 2021
83be13f
test(transaction): try to fix flaky postgres test
papb Jan 20, 2021
c77b1f3
fix(mysql, mariadb): release connection on deadlocks (#12841)
hsource Jan 25, 2021
e5b8929
fix(types): allow changing values on before hooks (#12970)
papb Jan 25, 2021
2fe980e
fix(types): typo in sequelize.js and sequelize.d.ts (#12975)
tobiasbueschel Jan 25, 2021
416a7ce
test(model): fix flaky timestamp test
papb Jan 25, 2021
9013836
test(model): fix flaky timestamp test (2)
papb Jan 25, 2021
e45df29
feat(postgres): add TSVECTOR datatype and `@@` operator (#12955)
papb Jan 27, 2021
4063c2a
refactor(query): similar code for mysql and mariadb (#12981)
papb Jan 27, 2021
2990118
docs(geometry): update link (#13067 #12937)
shivamklr Mar 4, 2021
801caa3
docs(getters-setters-virtuals): fix typos (#13074 #12811 #12655)
shivamklr Mar 10, 2021
7656895
test(dropEnum): minor refactor (#13084)
papb Mar 10, 2021
365c23a
chore: fix docker-compose volume declaration (#13089)
vanthome Mar 11, 2021
ced4dc7
fix(types): allow transaction to be `null` (#13093)
yjwong Mar 13, 2021
6388507
fix(mysql): release connection on deadlocks (#13102)
papb Mar 14, 2021
4822594
docs(dialect-specific-things): fix typo (#13081)
AugustoAmaral Mar 21, 2021
f98bd7e
feat(add-constraint): add deferrable option (#13096)
ThePooN Mar 21, 2021
4ec88a6
docs(deferrable): clarify api docs (#13120)
ThePooN Mar 21, 2021
3fd64cb
fix(types): allow `sequelize.col` in `attributes` (#13105)
shkilo Mar 21, 2021
9cb4d7f
fix(types): decapitalize queryGenerator property (#13126)
negezor Mar 21, 2021
466e361
fix(types): fix `Model#previous` type (#13106)
Keimeno Mar 21, 2021
e35a9bf
fix(types): fix `ValidationErrorItem` types (#13108)
LorhanSohaky Mar 21, 2021
8892507
fix(types): allow bigints in `WhereValue` (#13028)
Brobin Mar 21, 2021
de5f21d
fix(types): models with attributes couldn't be used in some cases (#1…
KapitanOczywisty Mar 22, 2021
c8c76d4
test(types): add tests for `.previous` and `.set` (#13129)
Keimeno Mar 22, 2021
ac39f8a
fix(types): remove `string` from `Order` type (#13057)
aminmahrami Mar 22, 2021
3e9441b
docs(model-querying-basics): clarify example (#12999)
sahilrajput03 Mar 22, 2021
023e1d9
fix(sqlite): retrieve primary key on upsert (#12991)
HelloWorld017 Mar 22, 2021
97ba242
fix(types): allow `(keyof TAttributes)[]` in `UpdateOptions.returning…
EmilioCristalli Mar 22, 2021
a663c54
fix(query-generator): use `AND` in sql for `not`/`between` (#13043)
markvp Mar 22, 2021
a854af4
docs: update readme
papb Mar 22, 2021
271c081
docs(upsert): improve return description
papb Mar 22, 2021
5b16b32
fix(types): fix `Model.prototype.previous()` (#13042)
danielschwartz Mar 23, 2021
ac368c9
Update issue templates
sdepold Mar 29, 2021
3c1a420
meta: allow `meta` as commit scope
papb Apr 4, 2021
9f950cb
meta: add workflow to auto-remove the awaiting-response label
papb Apr 4, 2021
8309092
meta: cleanup package.json, add keywords, facilitate local developmen…
papb May 27, 2021
20cd5d7
meta: update contributing guidelines and issue templates (#13039)
Jun 23, 2021
aaf3234
meta: refactor mocha configuration
papb Jun 24, 2021
0a90312
meta: remove unused Dockerfile
papb Jun 24, 2021
97b3767
meta: improve `contributing.md` and `sscce.js`
papb Jun 25, 2021
6dcb565
fix(bulk-create): `ON CONFLICT` with unique index (#13345)
papb Jun 25, 2021
1c1aa33
refactor: nonempty array check style
papb Jun 25, 2021
68ef453
docs(model-querying-basics.md): fix typo (#13324)
MohabMohamed Jun 25, 2021
421f44d
docs(model-querying-basics.md): fix typo (#13256)
mcculleydj Jun 25, 2021
deeb5c6
fix(plurals): bump inflection dependency (#13260)
nchase Jun 25, 2021
8f2a0d5
fix(typings): model init returns model class, not instance (#13214)
JacobLey Jun 25, 2021
143cc84
fix(typings): `returning` can specify column names (#13215)
JacobLey Jun 25, 2021
63ceb73
fix(typings): restrict update typings (#13216)
JacobLey Jun 25, 2021
6b0b532
fix(typings): allow `schema` for queryInterface methods (#13223)
JacobLey Jun 25, 2021
b33d78e
fix(typings): fix `ignoreDuplicates` option (#13220)
JacobLey Jun 25, 2021
444f06f
docs(migrations.md): grammar improvements (#13294)
Fernando-Rodriguez Jun 26, 2021
1cfbd33
fix(data-types): use proper field name for `ARRAY(ENUM)` (#13210)
nahog Jun 26, 2021
d0d7188
docs(eager-loading.md): fix typo (#13161)
gabrieluizramos Jun 26, 2021
39299a6
docs(read-replication.md): fix typo (#13179)
Selenium39 Jun 26, 2021
1a16b91
fix(utils): clone attributes before mutating them (#13226)
roikoren755 Jun 26, 2021
cd2de40
fix(typings): make `Transactionable` compatible with `TransactionOpti…
knoid Jun 26, 2021
c7d7ca5
meta: forbid auto major version release
papb Jun 26, 2021
dc3ec53
fix(ci): fix semantic-release usage
papb Jun 26, 2021
5fa695f
meta: empty commit to rerun ci
papb Jun 26, 2021
b674600
chores: keep only @papb email in maintainers field
sushantdhiman Jul 6, 2021
56bb1d6
fix(dependency): upgrade validator (#13350)
LaureRC Jul 6, 2021
95320e1
Update collaboration related scripts + docs (#13530)
sdepold Oct 2, 2021
26b62c7
feat(test): add test for nested column in where query (#13478)
aryem Oct 2, 2021
fecc67f
Issue 13302 (#13477)
aryem Oct 2, 2021
1b80e0b
Add tests and fix for usage of count with grouping (#13531)
sdepold Oct 2, 2021
37f676d
Update model.d.ts (#13514)
colpachoque Oct 3, 2021
15964b1
Fix type on getting-started (#13501)
actumn Oct 3, 2021
0726ede
Change static this to class reference (#13510)
Oct 3, 2021
23aa67e
Typo: Changes name to username (#13504)
shreyshreyansh Oct 3, 2021
9ea9893
Create FUNDING.yml
sdepold Oct 8, 2021
e439ab4
docs(sequelize.js): add mariadb dialect (#13519)
fcFn Oct 8, 2021
83a014e
Fix failing pg native tests (#13547)
sdepold Oct 8, 2021
0e6955c
Document `set()` and `update()` instance methods (#13487)
cincodenada Oct 8, 2021
bbf3d76
fix(docs): fix typo in documentation for polymorphic associations (#1…
anujjoshi63 Oct 9, 2021
6a737fe
docs(eager-loading): add await to code example (#13414)
zachazar Oct 9, 2021
46d6c35
docs: fix incorrect model validation example (#13470)
aryem Oct 9, 2021
a450186
Fix missing comma in example options object (#13433)
felpssantarosa Oct 9, 2021
ca2a11a
fix(types): allow rangable to take a string tuple (#13486)
Bene-Graham Oct 9, 2021
f078f77
feat(types): make config type deeply writeable for before connect hoo…
Keimeno Oct 9, 2021
6f758af
docs: removed unnecessary brackets from belongs-to-many docs (#13373)
arneesh Oct 9, 2021
cf53734
fix(deps): upgrade to secure versions of dev deps (#13549)
sdepold Oct 9, 2021
199b632
fix(model): Convert number values only if they aren't null to avoid NaN
caolvchong Oct 10, 2021
69d899e
feat(typings): add UnknownConstraintError (#13461)
atrick-speedline Oct 10, 2021
d685a9a
fix(model.d): accept [Op.is] in where (broken in TypeScript 4.4) (#13…
zorji Oct 10, 2021
5e9c209
fix(types): add missing upsert hooks (#13394)
reediculous456 Oct 10, 2021
47c2d05
fix(types): extend BulkCreateOptions by SearchPathable (#13469)
aryem Oct 16, 2021
415989f
Update documentation - hooks.md - fixed snippet (#13441)
SalehDehqanpour Oct 16, 2021
8e98f47
refactor(*): add .gitattributes to force LF line ends (#13377)
soryy708 Oct 16, 2021
dc67dc9
Add sponsors badge
sdepold Oct 16, 2021
c3e608b
fix(sqlite): fix wrongly overwriting storage if empty string (#13376)
soryy708 Oct 17, 2021
e86c884
refactor(connection-manager): change nullish coalescence implementati…
sdepold Oct 17, 2021
3ca085d
feat(postgres): support `query_timeout` dialect option (#13258)
sincerekamal Oct 17, 2021
1340ea1
docs: add sqlcommenter-sequelize to the list of miscellaneous resourc…
jankleinert Oct 17, 2021
176f4ff
refactor(mssql test): Fix 'should not contain views' failing (#13400)
aboutml Oct 18, 2021
31d0fbc
fix(types): typo in model.d.ts (#13574)
eltociear Oct 23, 2021
0943339
fix(select): do not force set `subQuery` to `false` (#13490)
floydspace Oct 23, 2021
84421d7
fix(postgres): fix `findCreateFind` to work with postgres transaction…
Americas Oct 23, 2021
66e6d76
chore(probot-stale): reenable auto-close issues bot
fzn0x Oct 24, 2021
4098eb0
chore(docs): Add documentation for increment method (#13254)
drorheller Oct 24, 2021
e4aff2f
fix: allows insert primary key with zero (#13458)
zbinlin Oct 24, 2021
d511d91
fix(types): allow any values in `isIn` validator (#12962)
lukashroch Oct 24, 2021
a65345f
docs(through-attribute): fixed association example to exclude junctio…
pahadimunu Oct 24, 2021
7e4bb2c
docs(model-basics): fix UUIDV4 as a method of DataTypes (#13585)
fzn0x Oct 24, 2021
56079c5
docs: added missing comma (#12918) (#13583)
fzn0x Oct 24, 2021
82d1072
docs(database): update the explanation to be less confusing #12541 (#…
fzn0x Oct 24, 2021
eeb6a8f
fix(sqlite): quote table names in sqlite getForeignKeysQuery (#13587)
steveschmitt Oct 25, 2021
565a3cf
build: remove probot-stale (#13598)
fzn0x Oct 27, 2021
e21073a
build(actions/stale): change probot-stale to actions/stale (#13595)
fzn0x Oct 27, 2021
ef5b7c3
Run stale workflow every 5 minutes
sdepold Oct 27, 2021
6c2d74a
actions: skip issues/PRs already marked stale (#13604)
abhi5658 Oct 27, 2021
cb86472
Try to work with more issues per run
sdepold Oct 27, 2021
d1a2572
Run stale workflow once per day
sdepold Oct 27, 2021
0748fc6
Missing : in "sqlite::memory:" (docs) (#13599)
cryptosbyte Oct 29, 2021
7a66841
docs(model-querying-basics): added semicolons on docs (#13611)
bishwo-dahal Oct 30, 2021
c3c690b
fix(docs): using incorrect esdocs syntax (#13615)
Keimeno Oct 31, 2021
7e43212
test(mysql): add test-support for MySQL 8 (#13610)
sdepold Oct 31, 2021
a58781c
Add note about sponsoring options. (#13616)
sdepold Nov 1, 2021
719bb59
Add note about sponsoring options. (#13617)
sdepold Nov 1, 2021
594cee8
fix(upsert): do not overwrite an explcit created_at during upsert (#1…
slickmb Nov 1, 2021
35978f0
feat(mysql): add support for MySQL v8 (#13618)
sdepold Nov 1, 2021
948d956
docs: minor change to repository words (#13608)
fzn0x Nov 2, 2021
3be43de
fix(model): clone options object instead of modifying (#13589)
jn-aman Nov 2, 2021
73ecf6c
fix(types): Add missing type definitions in models (#13553)
l2ysho Nov 2, 2021
c2a793e
fix(query-interface) does not provide existing fkeys (#13600)
denizkanmaz Nov 2, 2021
a9c84d0
docs(engine): update MSSQL and PostgreSQL (#13586)
fzn0x Nov 3, 2021
abaf3cd
docs(contact): update contributors emails (#13622)
fzn0x Nov 3, 2021
b446ada
Add sequelize-bcrypt plugin (#13623)
mattiamalonni Nov 4, 2021
02a5865
docs: sequelize-joi ownership change (#13624)
mattiamalonni Nov 4, 2021
b1fb1f3
fix(types): include 'paranoid' in IncludeThroughOptions definition (#…
liangzhicheng0423 Nov 5, 2021
73d99ab
fix(mssql): fix sub query issue occurring with renamed primary key fi…
marcesengel Nov 5, 2021
45d30d8
docs(logo): add svg logo versions
sdepold Nov 6, 2021
d4f7558
meta(dependencies): upgrade validator dependency (#13629)
sdepold Nov 6, 2021
1e17382
docs(data-types): fix reference to DataTypes.NOW
sdepold Nov 6, 2021
3cca8a2
meta: persist lockfile (#13632)
Keimeno Nov 7, 2021
8db830a
refactor: remove joinTableDependent exception for sqlite (#12643)
adrienboulle Nov 7, 2021
cdd61dd
fix(mariadb): fix MariaDB 10.5 JSON (#13633)
rickbergfalk Nov 7, 2021
37a5858
feat(definitions): Adds AbstractQuery and before/afterQuery hook defi…
durango Nov 7, 2021
4ff26c1
ci(stale): update stale timing to 14 days each (#13636)
sdepold Nov 8, 2021
ddddc24
fix(logger): change logging depth from 3 to 1 (#12879)
dsullivan7 Nov 10, 2021
f581543
fix(query): make stacktraces include original calling code (#13347)
hsource Nov 10, 2021
da3ac09
fix: expect result is null but got zero (#13637)
r253hmdryou Nov 10, 2021
1690801
fix(types): DataType.TEXT overloading definition (#13654)
joe223 Nov 12, 2021
1f23924
fix(types): rename types and update CONTRIBUTING docs (#13348)
hsource Nov 12, 2021
e6a1c64
Patch with static decrement method types (#12600)
Jerry-zhk Nov 13, 2021
5924be5
fix(types): add specifc tojson type in model.d.ts (#13661)
Nkmol Nov 13, 2021
13e8b83
chore(build): never close PRs (#13648)
fzn0x Nov 15, 2021
0ecb0e1
Resolved the typescript issue with the Op.match (https://github.com/s…
vikasg603 Nov 15, 2021
0e5e7f9
test(type): cover Op.match with test (#13664)
sdepold Nov 15, 2021
7ad6d53
chore(stale): exempt issues with type label (#13665)
WikiRik Nov 15, 2021
98485df
fix(types): ne op documentation (#13666)
Keimeno Nov 15, 2021
47c4494
fix(mssql): sqlserver 2008 fix for using offsets and include criteria
sschwenker Nov 15, 2021
0312f8e
fix: typing on creation within an association (#13678)
mmahalwy Nov 18, 2021
9591573
feat(postgresql): easier SSL config and options param support (#13673)
rafiss Nov 18, 2021
41876f1
feat: option for attributes having dotNotation (#13670)
SutharMukesh Nov 18, 2021
8d59804
merge from seq:v6
vadimivymark Nov 22, 2021
f7d1370
Merge branch 'sequelize:v6' into v6
vadimivymark Nov 22, 2021
0abe33a
customizing v6
vadimivymark Nov 22, 2021
de6352e
Merge branch 'v6' of github.com:Ivymark/sequelize into seq6-custom
vadimivymark Dec 28, 2022
9bf8f86
Update query.js
vadimivymark Dec 28, 2022
0f12a11
Update query.js
vadimivymark Dec 28, 2022
816e04c
Merge pull request #7 from Houzz/seq6-custom
DemitryVolovich Jan 2, 2023
6a03e4e
Update quote.js
DemitryVolovich Jan 17, 2023
a104c06
Update quote.js
DemitryVolovich Jan 17, 2023
76e68cd
Update query.js
vadimivymark Aug 16, 2023
51e120a
log failed query
vadimivymark Sep 21, 2023
1533e8f
Merge pull request #11 from Houzz/vadim/failed-query
vadimivymark Sep 27, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
9 changes: 0 additions & 9 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -6,18 +6,9 @@ root = true

[*]

# Change these settings to your own preference
indent_style = space
indent_size = 2

# We recommend you to keep these unchanged
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true

[*.md]
trim_trailing_whitespace = false

[Makefile]
indent_style = tabs
16 changes: 12 additions & 4 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@
"new-cap": [
"error",
{
"capIsNewExceptionPattern": "^BigInt",
"properties": false
}
],
Expand Down Expand Up @@ -95,16 +94,25 @@
"no-unused-expressions": "error",
"no-sequences": "error",
"no-self-compare": "error",
"no-case-declarations": "off"
"no-case-declarations": "off",
"prefer-object-spread": "error"
},
"settings": {
"jsdoc": {
"tagNamePreference": {
"augments": "extends"
}
}
},
"parserOptions": {
"ecmaVersion": 2018,
"ecmaVersion": 2020,
"sourceType": "script"
},
"plugins": ["mocha", "jsdoc"],
"env": {
"node": true,
"mocha": true,
"es6": true
"es6": true,
"es2020": true
}
}
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* -lf
12 changes: 12 additions & 0 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# These are supported funding model platforms

github: # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2]
patreon: # Replace with a single Patreon username
open_collective: sequelize
ko_fi: # Replace with a single Ko-fi username
tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel
community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry
liberapay: # Replace with a single Liberapay username
issuehunt: # Replace with a single IssueHunt username
otechie: # Replace with a single Otechie username
custom: # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2']
55 changes: 41 additions & 14 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -1,21 +1,25 @@
---
name: Bug report
about: Create a bug report to help us improve
title: ''
labels: ''
assignees: ''

title: ""
labels: ""
assignees: ""
---

<!--
If you don't follow the issue template, your issue may be closed.
Please note this is an issue tracker, not a support forum.
For general questions, please use StackOverflow or Slack.
For general questions, please use StackOverflow:
https://stackoverflow.com/questions/tagged/sequelize.js
-->

## Issue Description
## Issue Creation Checklist

[ ] I have read the [contribution guidelines](https://github.com/sequelize/sequelize/blob/main/CONTRIBUTING.md)

## Bug Description

### What are you doing?
### SSCCE

<!--
We have a repository dedicated to make it easy for you to create an SSCCE.
Expand All @@ -26,13 +30,37 @@ Please consider using it, everyone wins!
**Here is the link to the SSCCE for this issue:** LINK-HERE <!-- add a link to the SSCCE -->

<!--
If you don't want to use the SSCCE repository, you can also post a MINIMAL, SELF-CONTAINED code that reproduces the issue. It must be runnable by simply copying and pasting into an isolated JS file, except possibly for the database connection configuration.
Check http://sscce.org/ or https://stackoverflow.com/help/minimal-reproducible-example to learn more about SSCCE/MCVE/reprex.
Instead of using that repository, you can also clone the Sequelize repository and overwrite the `sscce.js` file in the root folder, run it locally and then provide the code here:
-->

```js
// You can delete this code block if you have included a link to your SSCCE above!
// MINIMAL, SELF-CONTAINED code here (SSCCE/MCVE/reprex)
const { createSequelizeInstance } = require("./dev/sscce-helpers");
const { Model, DataTypes } = require(".");

const sequelize = createSequelizeInstance({ benchmark: true });

class User extends Model {}
User.init(
{
username: DataTypes.STRING,
birthday: DataTypes.DATE,
},
{ sequelize, modelName: "user" }
);

(async () => {
await sequelize.sync({ force: true });

const jane = await User.create({
username: "janedoe",
birthday: new Date(1980, 6, 20),
});

console.log("\nJane:", jane.toJSON());

await sequelize.close();
})();
```

### What do you expect to happen?
Expand All @@ -53,16 +81,15 @@ Output here

### Additional context

Add any other context or screenshots about the feature request here.
Add any other context and details here.

### Environment

- Sequelize version: XXX <!-- run `npm list sequelize` to obtain this -->
- Node.js version: XXX <!-- run `node -v` to obtain this -->
- Operating System: XXX
- If TypeScript related: TypeScript version: XXX
- If TypeScript related: TypeScript version: XXX <!-- run `npm list typescript` to obtain this -->

## Issue Template Checklist
## Bug Report Checklist

<!-- Please answer the questions below. If you don't, your issue may be closed. -->

Expand Down
31 changes: 31 additions & 0 deletions .github/ISSUE_TEMPLATE/docs_issue.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
---
name: Docs issue
about: Documentation is unclear, or otherwise insufficient/misleading
title: ""
labels: "type: docs"
assignees: ""
---

<!--
If you don't follow the issue template, your issue may be closed.
Please note this is an issue tracker, not a support forum.
For general questions, please use StackOverflow.
-->

## Issue Creation Checklist

[ ] I have read the [contribution guidelines](https://github.com/sequelize/sequelize/blob/main/CONTRIBUTING.md)

## Issue Description

### What was unclear/insufficient/not covered in the documentation

Write here.

### If possible: Provide some suggestion on how we can enhance the docs

Write here.

### Additional context

Add any other context or screenshots about the issue here.
48 changes: 0 additions & 48 deletions .github/ISSUE_TEMPLATE/documentational-issue.md

This file was deleted.

32 changes: 20 additions & 12 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -1,49 +1,57 @@
---
name: Feature request
about: Suggest an idea for this project
title: ''
labels: ''
assignees: ''

title: ""
labels: ""
assignees: ""
---

<!--
If you don't follow the issue template, your issue may be closed.
Please note this is an issue tracker, not a support forum.
For general questions, please use StackOverflow or Slack.
For general questions, please use StackOverflow.
-->

## Issue Description
## Issue Creation Checklist

[ ] I have read the [contribution guidelines](https://github.com/sequelize/sequelize/blob/main/CONTRIBUTING.md)

## Feature Description

### Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Example: I'm always frustrated when [...]

A clear and concise description of what the problem is. Example: I'm always frustrated when ...

### Describe the solution you'd like

A clear and concise description of what you want to happen. How can the requested feature be used to approach the problem it's supposed to solve?

```js
// If applicable, add a code snippet showing how your feature would be used in a real use-case
```

### Why should this be in Sequelize

Short explanation why this should be part of Sequelize rather than a separate package.

### Describe alternatives/workarounds you've considered

A clear and concise description of any alternative solutions or features you've considered. If any workaround exists to the best of your knowledge, include it here.

### Additional context

Add any other context or screenshots about the feature request here.

## Issue Template Checklist
## Feature Request Checklist

<!-- Please answer the questions below. If you don't, your issue may be closed. -->

### Is this issue dialect-specific?
### Is this feature dialect-specific?

- [ ] No. This issue is relevant to Sequelize as a whole.
- [ ] Yes. This issue only applies to the following dialect(s): XXX, YYY, ZZZ
- [ ] No. This feature is relevant to Sequelize as a whole.
- [ ] Yes. This feature only applies to the following dialect(s): XXX, YYY, ZZZ

### Would you be willing to resolve this issue by submitting a Pull Request?
### Would you be willing to implement this feature by submitting a Pull Request?

<!-- Remember that first contributors are welcome! -->

Expand Down
18 changes: 9 additions & 9 deletions .github/ISSUE_TEMPLATE/other_issue.md
Original file line number Diff line number Diff line change
@@ -1,18 +1,21 @@
---
name: Other
about: Open an issue that does not fall directly into the other categories
title: ''
labels: ''
assignees: ''

title: ""
labels: ""
assignees: ""
---

<!--
If you don't follow the issue template, your issue may be closed.
Please note this is an issue tracker, not a support forum.
For general questions, please use StackOverflow or Slack.
For general questions, please use StackOverflow.
-->

## Issue Creation Checklist

[ ] I have read the [contribution guidelines](https://github.com/sequelize/sequelize/blob/main/CONTRIBUTING.md)

## Issue Description

A clear and concise description of what is this issue about.
Expand All @@ -23,11 +26,8 @@ If applicable, you can add some code. In this case, an SSCCE/MCVE/reprex is much
Check http://sscce.org/ or https://stackoverflow.com/help/minimal-reproducible-example to learn more about SSCCE/MCVE/reprex.
-->

### StackOverflow / Slack attempts

If you have tried asking on StackOverflow / Slack about this, add a link to that here.

### Additional context

Add any other context or screenshots about the issue here.

## Issue Template Checklist
Expand Down
18 changes: 12 additions & 6 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -1,24 +1,30 @@
<!--
<!--
Thanks for wanting to fix something on Sequelize - we already love you!
Please 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
### Pull Request Checklist

_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 the description below contain a link to an existing issue (Closes #[issue]) or a description of the issue you are solving?
- [ ] Have you added new tests to prevent regressions?
- [ ] Does `npm run test` or `npm run test-DIALECT` pass with this change (including linting)?
- [ ] Is a documentation update included (if this change modifies existing APIs, or introduces new ones)?
- [ ] Did you update the typescript typings accordingly (if applicable)?
- [ ] Did you follow the commit message conventions explained in [CONTRIBUTING.md](https://github.com/sequelize/sequelize/blob/master/CONTRIBUTING.md)?
- [ ] Does the description below contain a link to an existing issue (Closes #[issue]) or a description of the issue you are solving?
- [ ] Did you follow the commit message conventions explained in [CONTRIBUTING.md](https://github.com/sequelize/sequelize/blob/main/CONTRIBUTING.md)?

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

### Description of change
### Description Of Change

<!-- Please provide a description of the change here. -->

### Todos

- [ ] <!-- e.g. #1 feature: Extend the type script definition -->
- [ ] <!-- e.g. #2 test: Does this also work with MySQL 8? -->
- [ ] <!-- ... -->
Loading