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

[pull] v6 from sequelize:v6 #11

Open
wants to merge 312 commits into
base: v6
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
312 commits
Select commit Hold shift + click to select a range
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
51bc05a
refactor(typescript): add foundation for incremential TS migration (#…
wbourne0 Nov 18, 2021
8d55088
ci(release): configure alpha build pipeline
sdepold Nov 19, 2021
911125e
feat(typescript): create alpha release with ts
sdepold Nov 19, 2021
d2a9420
ci: add other ts versions to ci (#13686)
mmahalwy Nov 20, 2021
bd3ddf5
fix: wrong interface used within mixin (#13685)
mmahalwy Nov 20, 2021
fc0b19e
fix(increment): fix key value broken query (#12985)
bparan Nov 20, 2021
4071378
fix(upsert): fall back to DO NOTHING if no update key values provided…
slickmb Nov 20, 2021
ae3cde5
fix(types): add instance member declaration (#13684)
joe223 Nov 22, 2021
d5bfaf4
Create aws-lambda.md (#12642)
marcogrcr Nov 22, 2021
3059bce
fix(docs): add aws-lamda route (#13693)
Keimeno Nov 23, 2021
2c3b384
fix(types): allow override json function with custom return type (#13…
Nkmol Nov 24, 2021
ae1fe1e
ci(docs): add doc generation to checks (#13704)
WikiRik Nov 24, 2021
9bb3980
docs: add logo (#13700)
fzn0x Nov 24, 2021
73c2c0e
test: fix mocha (#13707)
WikiRik Nov 24, 2021
c19a87d
test: fix failing stack trace test (#13708)
WikiRik Nov 24, 2021
c64e2cd
test: fix failing tests (#13709)
wbourne0 Nov 24, 2021
f9dfaa7
fix(upsert): fall back to DO NOTHING if no update key values provided…
slickmb Nov 25, 2021
ed180e9
refactor: use includes instead of or operators (#13706)
WikiRik Nov 25, 2021
d7fff02
docs(contributing): add section on adding/updating deps (#13715)
WikiRik Nov 27, 2021
2d7b865
fix(types): add Col to where Ops (#13717)
madguy02 Nov 27, 2021
121884b
fix(data-types): unnecessary warning when getting data with DATE data…
fzn0x Nov 27, 2021
c7a0839
fix(types): add missing schema field to sequelize options
kerwitz Nov 28, 2021
f9dec20
fix(example): fix coordinates format as per GeoJson (#13718)
madguy02 Nov 28, 2021
2d799b8
ci(node): use Node 16 instead of 12 (#13703)
WikiRik Nov 28, 2021
7a79060
refactor(postgres): move `clientMinMessages` from general to pg optio…
jesse23 Nov 30, 2021
c2b3939
added getAttributes()
bishwo-dahal Nov 30, 2021
bd70c3a
refactor(build): use rm instead of rmdir for Node 14 and up (#13702)
WikiRik Nov 30, 2021
6f84875
docs(postgres): warn about deprecated clientMinMessage option (#13727)
sdepold Dec 2, 2021
0c31e66
meta(deps): upgrade (dev)deps (#13729)
WikiRik Dec 3, 2021
4d742d3
test(integration): mark and fix flaky test (#13735)
jesse23 Dec 3, 2021
ad68a5e
feat(dialect): snowflake dialect support (#13406)
jesse23 Dec 3, 2021
1556d84
docs(snowflake): add snowflake description (#13740)
jesse23 Dec 4, 2021
b0865ec
ci(beta): prepare beta builds
sdepold Dec 4, 2021
7cfbc13
Merge branch 'sequelize:main' into main
bishwo-dahal Dec 5, 2021
8cdce6a
feat(types): transition lib/errors (#13710)
Keimeno Dec 5, 2021
5d18f39
chore: add package support info (#13721)
fzn0x Dec 6, 2021
4443d2a
feat(dialects): add experimental support for db2 (#13374)
AWADHAMBIKA Dec 9, 2021
6b770b5
docs(typescript): add plugin to parse TS files (#13759)
wbourne0 Dec 10, 2021
f137fac
Merge branch 'sequelize:main' into main
bishwo-dahal Dec 11, 2021
410bb59
added tests for getAttributes()
bishwo-dahal Dec 11, 2021
8fb2aca
removed wrong test
bishwo-dahal Dec 11, 2021
19c83a6
model.d.ts updated
bishwo-dahal Dec 11, 2021
65df938
model.d.ts updated
bishwo-dahal Dec 11, 2021
b6510df
feat(model): complete getAttributes feature
sdepold Dec 11, 2021
0a6b0a2
Fix tests for getAttributes (#13761)
sdepold Dec 11, 2021
98b0f1a
Fix typing & export mismatch (#13751)
ephys Dec 11, 2021
496bede
feat(upsert): add conflictFields option (#13723)
wbourne0 Dec 11, 2021
4c7d3c1
refactor(dialect): refactor dialect reserve words (#13757)
jesse23 Dec 11, 2021
e61e2cd
Add support for native ESM named exports (#13689)
ephys Dec 12, 2021
5fdf776
meta(typescript): convert utils to typescript (#13763)
sdepold Dec 12, 2021
e0876af
refactor(class-to-invokable): make typing a little more accurate (#13…
wbourne0 Dec 13, 2021
713f640
docs(jsdoc): update entry point descriptions. (#13768)
fzn0x Dec 14, 2021
3d39c5c
Added the link to sequelize-yugabytedb repo in README (#13431)
sanyamsinghal Dec 14, 2021
5657a34
docs: correct documentation on bulkCreate updateOnDuplicate option (#…
dijonkitchen Dec 15, 2021
2a9a551
fix(snowflake): fix to prevent disconnect attempt on already disconne…
jmikolay22 Dec 15, 2021
6800287
build(sqlite): update node-sqlite3 without tar vulnerability (#13779)
WikiRik Dec 17, 2021
7a3f63a
docs: minor change to user manual (#13752)
fzn0x Dec 17, 2021
b7b472e
fix(model.d): fix findAndCountAll.count type (#13736)
zorji Dec 17, 2021
b97f934
refactor(operators): convert operators to typescript (#13731)
fzn0x Dec 17, 2021
8acc14f
fix: fix invalid ts import style of lib/operators (#13797)
ephys Dec 20, 2021
1ecdaf9
fix: allow deep imports (#13795)
ephys Dec 21, 2021
49fb726
meta(deps): update retry-as-promised to 5.0.0 (#13785)
akre54 Dec 21, 2021
da5b0ce
fix(postgres): allows usage of schema for ARRAY(ENUM) type name (#13807)
nahog Dec 22, 2021
b532ab1
fix(operators): fix ts support for operators.ts (#13805)
ephys Dec 22, 2021
a2375c5
fix(abstract): patch jsonb operator for pg if value is json (#13780)
Drethic Dec 22, 2021
001dc60
fix(query-interface): bring back quoteIdentifier(s) to queryInterface…
sdepold Dec 22, 2021
78c7414
fix(data-types): moment object throwing error (#13818)
fzn0x Dec 27, 2021
54d366b
ci(twitter): automatically post releases on twitter (#13821)
sdepold Dec 23, 2021
ce270a8
refactor(model): remove unnecessary option fallback (#13825)
dilyanpalauzov Dec 26, 2021
11f17d3
ci(release): notify OpenCollective about releases
sdepold Dec 27, 2021
5e15eda
ci(release): swap OpenCollective notification action
sdepold Dec 27, 2021
a3aa2d9
ci(release): fix path to notification script
sdepold Dec 27, 2021
58bf96e
ci(release): add missing node installation step
sdepold Dec 27, 2021
06d61b8
ci(release): remove unnecessary installation steps
sdepold Dec 27, 2021
107f72a
ci(release): enable announcements on twitter again
sdepold Dec 27, 2021
899b3ed
meta(deps): update (dev)deps (#13836)
WikiRik Dec 28, 2021
f456931
ci(release): dispatch custom event to trigger notifications (#13837)
sdepold Dec 28, 2021
49e8614
fix(mssql/async-queue): fix unable to start mysql due to circular ref…
zorji Dec 28, 2021
2e22f1b
docs: document sequelize.import & esm (#13876)
sdepold Jan 1, 2022
eceeabc
docs: add caveat regarding public class fields (#13877)
sdepold Jan 1, 2022
132bec5
docs(dialect-specific): add details about dialectOptions (#13878)
fzn0x Jan 1, 2022
fc155b6
fix(dialect): sequelize pool doesn't take effect in dialect "mssql" (…
samrui Jan 1, 2022
b315ce8
fix(types): omit FK and scope keys in HasManyCreateAssociationMixin (…
EmilioCristalli Jan 4, 2022
49beb29
fix(model): fix count with grouping typing (#13884)
ephys Jan 3, 2022
34aa808
fix(types): improve ModelCtor / ModelStatic typing (#13890)
ephys Jan 4, 2022
9ecadce
docs: `joinTableAttributes` in `belongsToMany` mixin (#13902)
cincodenada Jan 6, 2022
308d017
fix: fix typings for queries with {plain: true} option (#13899)
arsonik Jan 5, 2022
c537dec
fix _logQuery crashing when logging bigints (#13900)
ephys Jan 5, 2022
02bda05
feat(mariadb): add mariadb support in Sequelize.set function (#13926)
Feverqwe Jan 9, 2022
62cf284
fix(sequelize.d) fix type of `options` arg in `Sequelize.define` meth…
jlmbrt Jan 6, 2022
37f20a6
feat(postgres): drop indices concurrently in Postgres (#13903)
shayonj Jan 6, 2022
d0e1d5e
build: add v6 release script
sdepold Jan 22, 2022
b8f0463
feat(types): add typings for DataTypes.TSVECTOR (#13940)
ephys Jan 12, 2022
b06c1fc
fix(model.d): fix type for `count` and `findAndCountAll` (#13786)
zorji Jan 12, 2022
dbd9ea8
fix(types): add hooks to InstanceDestroyOptions type (#13491)
apazzolini Jan 12, 2022
ef63f8f
fix(types): add missing fields to FindOr{Create,Build}Options (#13389)
devagrawal09 Jan 12, 2022
9e108e3
fix(types): fix QueryInterface#bulkInsert attribute arg type (#13945)
ChristopherChudzicki Jan 14, 2022
b253d8e
fix: don't call overloaded versions of find functions internally (#13…
sdepold Jan 22, 2022
fc53cdb
fix: don't call overloaded versions of find functions internally (#13…
cincodenada Jan 15, 2022
dd49044
feat(types): drop TypeScript < 4.1 (#13954)
ephys Jan 15, 2022
fd42687
feat(types): add `InferAttributes` utility type (#13909)
ephys Jan 21, 2022
1882f3c
fix: rollback PR #13951 in v6 (#14004)
ephys Jan 25, 2022
fc28629
fix(types): deduplicate error typings (#14002)
sdepold Jan 29, 2022
7c58851
feat: add options.rawErrors to `Sequelize#query` method (#13881)
Jan 25, 2022
42aa314
docs: clarify how the `limit` option works (#13985)
ephys Jan 27, 2022
c45021c
build(ci): don't run tests twice on v6 PRs (#14059)
ephys Feb 6, 2022
99c612b
fix(types): correct typing definitions for `Sequelize.where` (#14018)
ephys Feb 2, 2022
a578ea0
fix(types): improve branded types (#13990)
ephys Feb 2, 2022
4a513cf
fix(types): accept `$nested.syntax$` in WhereAttributeHash (#13983)
ephys Feb 5, 2022
3a9a453
ci: build docs upon release
sdepold Feb 7, 2022
ab020c3
Merge branch 'v6' of github.com:sequelize/sequelize into v6
sdepold Feb 7, 2022
6b8fbb4
feat: gen /lib & /types from /src & drop /dist (v6) (#14063)
ephys Feb 8, 2022
b95c213
fix: correct path to `package.json` in Sequelize.version (#14073)
ephys Feb 9, 2022
664bd12
build: generate jsdoc from src instead of lib (#14094) (#14096)
ephys Feb 11, 2022
0326c2c
fix(types): missing snowflake and db2 dialects (#14137)
fzn0x Feb 18, 2022
d23bd7a
fix(types): support union in CreationAttributes (#14146)
ephys Feb 24, 2022
82506a6
fix(postgres): correctly re-acquire connection for pg-native (#14090)
ephys Feb 24, 2022
7ac1221
fix(types): update 'replication' option property (#14126)
collierrgbsitisfise Feb 17, 2022
709c830
docs(postgres): clarify pg version for Node >=14 (#14149)
WikiRik Feb 21, 2022
da8678d
fix(types): drop excess argument for upsert (#14156)
nsychev Feb 24, 2022
a81b7ab
fix(types): export `GroupedCountResultItem` interface (#14154)
emilio-notable Feb 24, 2022
af6cbe6
build(deps): move @types/validator to prod deps (#14159)
WikiRik Feb 24, 2022
f5c06bd
feat(types): infer nullable creation attributes as optional (#14147)
ephys Feb 24, 2022
b80aeed
fix(types): update return type of `Model.update` (#14155)
guyellis Feb 24, 2022
2d339d0
fix: fix typo in query-generator.js error message (#14151)
eltociear Feb 24, 2022
e974e20
feat(types): make `Model.getAttributes` stricter (#14017)
ephys Feb 9, 2022
8349c02
feat: add whereScopeStrategy to merge where scopes with Op.and (#14152)
EtienneTurc Mar 9, 2022
730af27
docs: document scope whereMergeStrategy option (#14201)
EtienneTurc Mar 9, 2022
cdc8881
build: remove v6 docs from repository (#14234)
ephys Mar 31, 2022
62564f7
docs: fix dead link in API reference (#14313)
ephys Apr 3, 2022
ca0e017
test: disable deadlock test for mariadb 10.5.15 (#14314)
ephys Apr 3, 2022
7e8b707
docs: restore Model api reference & make fail on error (#14323)
ephys Apr 5, 2022
0d0aade
fix(types): make `WhereOptions` more accurate (#14368)
ephys Apr 12, 2022
5954d2c
feat(types): make `Model.init` aware of pre-configured foreign keys (…
ephys Apr 12, 2022
ccaa399
fix: do not replace `:replacements` inside of strings (#14472)
ephys May 13, 2022
87655eb
build: fix esdoc (#14513)
ephys May 16, 2022
6c5f8ec
test: disable mysql/mariadb deadlock test (#14514)
ephys May 16, 2022
e37c572
fix: accept replacements in `ARRAY[]` & followed by `;` (#14518)
ephys May 18, 2022
b37df96
feat: support cyclic foreign keys (#14499)
ephys May 23, 2022
e1a9c28
fix: kill connection on commit/rollback error (#14535)
ephys May 27, 2022
a333862
docs(readme): update README to be more like main (#14626)
WikiRik Jun 15, 2022
cbdf73e
feat: exports types to support typescript >= 4.5 nodenext module (#14…
Beace Jun 16, 2022
2f3b924
fix(postgres): use schema set in sequelize config by default (#14665)
nholmes3 Jun 25, 2022
86d35b1
docs: added nest option inside findAll query (#14683)
krupalimakadiya Jun 27, 2022
7bb60e3
fix: properly escaoe multiple `$` in `fn` args (#14678)
claytoneast Jun 28, 2022
90bb694
fix(postgres): attach postgres error-handler earlier in lifecycle (v6…
schmod Jul 11, 2022
5ab51a8
meta: fix alignment logo (v6) (#14745)
WikiRik Jul 18, 2022
ecf49d0
docs: fix missing closing quotation mark (#14786)
hexpunk Jul 22, 2022
5a257bc
fix: minified aliases are now properly referenced in subqueries (v6) …
sdepold Aug 18, 2022
7eacb9d
meta: update types property package.json (#14909)
WikiRik Aug 19, 2022
d047f32
fix(mariadb): do not automatically parse JSON fields (#14800)
lesion Sep 7, 2022
e3a5279
meta: update retry-as-promised (#14966)
WikiRik Sep 8, 2022
33d94b2
fix(types): backport #14704 for v6 (#14964)
fzn0x Sep 9, 2022
c230d80
feat(oracle): add oracle dialect support (#14638)
sudarshan12s Sep 15, 2022
1da6657
fix(types): missing type for oracle dialect in v6 (#14992)
fzn0x Sep 16, 2022
3468378
feat(types): add typescript 4.8 compatibility (#14990)
bnorbi95 Sep 17, 2022
5f621d7
fix(oracle): add support for Oracle DB 18c CI (#15016)
nilabja-bhattacharya Sep 22, 2022
7203b66
fix(postgres): add custom order direction to subQuery ordering with m…
WikiRik Sep 27, 2022
5c88734
docs(model): Added paranoid option for Model.BelongsToMany.through (#…
ajatdarojat45 Sep 30, 2022
55051d0
docs: add missing ssl options for sequelize instance (v6) (#15049)
fzn0x Sep 30, 2022
a44772e
feat(snowflake): Add support for `QueryGenerator#tableExistsQuery` (#…
sfc-gh-dgadomski Oct 4, 2022
06ad05d
feat(oracle): add support for `dialectOptions.connectString` (#15042)
hjamil-24 Oct 11, 2022
9dd93b8
fix(types): expose legacy "types" folder in export alias ( #15123)
anderson-arlen Oct 13, 2022
851daaf
fix(types): fix TS 4.9 excessive depth error on `InferAttributes` (v6…
ephys Oct 15, 2022
7990095
fix: don't treat \ as escape in standard strings, support E-strings, …
sdepold Oct 19, 2022
bf98d7c
meta: swap Slack links (#15159)
sdepold Oct 23, 2022
00c6da3
fix(types): add instance.dataValues property to model.d.ts (#15240)
spearmootz Nov 5, 2022
67e69cd
fix: remove options.model overwrite on bulkUpdate (#15252)
BigsonLvrocha Nov 7, 2022
a205765
fix(postgres): invalidate connection after client-side timeout (#15283)
harrykao Nov 15, 2022
bc39fd6
fix: fix parameters not being replaced when after $$ strings (#15307)
ephys Nov 19, 2022
7885000
fix(oracle): remove hardcoded maxRows value (#15323)
nilabja-bhattacharya Nov 22, 2022
94beace
feat(postgres): add support for lock_timeout [#15345] (#15355)
Nov 29, 2022
1247c01
feat: add support for bigints (backport of #14485) (#15413)
marra85 Dec 12, 2022
fd4afa6
feat(types): use retry-as-promised types for retry options to match d…
esetnik Dec 20, 2022
48d6193
fix: update moment-timezone version (#15685)
SuperBlahman Feb 17, 2023
d9e0728
fix: throw if where receives an invalid value (#15699)
ephys Feb 21, 2023
13f2e89
fix: accept undefined in where (#15703)
ephys Feb 22, 2023
53bd9b7
meta: fix null test getWhereConditions (#15705)
WikiRik Feb 23, 2023
d3f5b5a
feat: throw an error if attribute includes parentheses (fixes CVE-202…
ephys Feb 23, 2023
1b94462
fix(postgres): make sync not fail when trying to create existing enum…
aristov Mar 7, 2023
1ad9a64
fix(postgres): escape identifier in createSchema and dropSchema (#15752)
meyfa Mar 9, 2023
5bda2ce
fix: fix unnamed dollar string detection (#15759)
ephys Mar 10, 2023
1e68681
feat(postgres, sqlite): add conflictWhere option to upsert (#15786)
wbourne0 Mar 22, 2023
46d3553
fix: pass CLS transaction to model hooks (#15818)
joker00777 Mar 22, 2023
2e50bd9
feat(postgres, sqlite): allow override of conflict keys for bulkCreat…
wbourne0 Mar 23, 2023
338ae6a
meta(db2): remove node:util (#15819)
WikiRik Mar 24, 2023
295c297
feat(postgres, sqlite): add conflictWhere option to Model.bulkCreate …
wbourne0 Mar 24, 2023
9d864be
fix: update Slack invitation link (#15849)
sdepold Mar 25, 2023
58576dd
fix(postgres): prevent crash if postgres connection emits multiple er…
Hackatosh Apr 9, 2023
f2a4535
feat: add beforePoolAcquire and afterPoolAcquire hooks (#15874)
FilipHavel Apr 9, 2023
a9fd501
fix(postgres): adds support for minifying through join aliases (#15897)
JamieREvans May 1, 2023
eb71077
meta: use Node 18 in CI (#16000)
WikiRik May 24, 2023
fd38e79
fix(oracle): For Raw queries avoid converting the input parameters pa…
sudarshan12s Jun 1, 2023
5c8250e
fix(oracle): reordered check constraint for unsigned numeric type (#1…
hjamil-24 Jun 1, 2023
e07eefb
feat(oracle): add new error messages introduced in new driver version…
hjamil-24 Jun 1, 2023
af4f0ae
feat(oracle): add width support for numerictype (#16073)
hjamil-24 Jun 1, 2023
99c3530
fix: move `types` condition to the front (#16085)
Andarist Jun 1, 2023
a3213f0
fix: bump dependencies (#16119)
WikiRik Jun 17, 2023
2eb7a5d
fix(types): remove escape from query-interface types (#15944)
spearmootz Jul 6, 2023
e4c780c
meta: update lockfile (#16265)
WikiRik Jul 20, 2023
367caf3
feat(types): add TypeScript 5.2 support (#16442)
esetnik Sep 8, 2023
252e6d2
docs: add missing conflictAttributes to bulkCreate (#16573)
mpirescarvalho Sep 28, 2023
57025db
meta: add node-gyp globally (#16696)
WikiRik Oct 27, 2023
b284d37
feat(oracle): add support for lock (#16643)
sudarshan12s Nov 3, 2023
b204b5f
fix(oracle): add missing default and not null condition to addColumn …
hjamil-24 Nov 3, 2023
6c03176
fix(oracle): clean constraints (#16694)
cbardasano Nov 3, 2023
5bfbb99
feat: backport `findModel` to v6 (#16705)
cbardasano Nov 12, 2023
47cba67
fix(mssql): allow calling describeTable a table with a dot in its nam…
ghusse Nov 19, 2023
cb8ea88
fix: sort keys by depth in groupJoinData (#16823)
joker00777 Dec 11, 2023
a250058
feat(postgres): backport stream dialectOption to v6 (#16868)
accoleon Feb 2, 2024
e81200e
feat(postgres): support connectionTimeoutMillis dialectOption (#14119)
mmfKupl Feb 11, 2024
505467b
fix(types): Add definition of `returning` in `SaveOptions`. (#16954)
onozaty Feb 18, 2024
7c8972f
fix: add `readOnly` to the transaction options types and docs (#17226)
Parsonswy Mar 29, 2024
6aba382
fix(postgres): use schema for foreign key constrains of a table (#17099)
alesmenzel Apr 13, 2024
b9e71a7
fix(oracle): add support for Oracle Database 23ai (#17345)
hjamil-24 May 27, 2024
5deadd2
fix(oracle): validate input with TO_TIMESTAMP_TZ and TO_DATE (#17516)
WikiRik Oct 2, 2024
78a9733
meta: ignore mssql failures for releasing v6 (#17524)
WikiRik Oct 4, 2024
fce5ad3
fix: cast numbers in DataTypes.STRING to strings (#17564)
WikiRik Oct 25, 2024
ef3bffb
fix: add call for new maintainers to README (#17701)
WikiRik Feb 7, 2025
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
  •  
  •  
  •  
44 changes: 33 additions & 11 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,18 @@
{
"extends": "eslint:recommended",
"parser": "@typescript-eslint/parser",
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended"
],
"rules": {
"@typescript-eslint/no-loss-of-precision": "off",
"mocha/no-exclusive-tests": "error",
"mocha/no-skipped-tests": "warn",

"jsdoc/check-param-names": "error",
"jsdoc/check-tag-names": "error",
"jsdoc/check-types": "error",
"jsdoc/check-types": "off",
"jsdoc/newline-after-description": "error",
"jsdoc/no-undefined-types": "off",
"jsdoc/require-description-complete-sentence": "off",
Expand All @@ -15,9 +21,9 @@
"jsdoc/require-param": "error",
"jsdoc/require-param-description": "off",
"jsdoc/require-param-name": "error",
"jsdoc/require-param-type": "error",
"jsdoc/require-param-type": "off",
"jsdoc/require-returns-description": "off",
"jsdoc/require-returns-type": "error",
"jsdoc/require-returns-type": "off",
"jsdoc/valid-types": "error",

// style
Expand All @@ -34,11 +40,14 @@
}
],
"semi": ["error", "always"],
"space-before-function-paren": ["error", {
"named": "never",
"anonymous": "never",
"asyncArrow": "always"
}],
"space-before-function-paren": [
"error",
{
"named": "never",
"anonymous": "never",
"asyncArrow": "always"
}
],
"space-before-blocks": "error",
"space-infix-ops": "error",
"no-multi-spaces": "error",
Expand Down Expand Up @@ -66,7 +75,6 @@

// functional
"valid-jsdoc": "off",
"strict": ["error", "global"],
"no-var": "error",
"prefer-const": "error",
"prefer-arrow-callback": "error",
Expand Down Expand Up @@ -97,6 +105,19 @@
"no-case-declarations": "off",
"prefer-object-spread": "error"
},
"overrides": [
{
"files": ["**/*.js"],
"rules": {
"@typescript-eslint/no-var-requires": "off",
"@typescript-eslint/no-empty-function": "off",
"@typescript-eslint/no-this-alias": "off",
"jsdoc/require-param-type": "error",
"jsdoc/check-types": "error",
"jsdoc/require-returns-type": "error"
}
}
],
"settings": {
"jsdoc": {
"tagNamePreference": {
Expand All @@ -108,7 +129,8 @@
"ecmaVersion": 2020,
"sourceType": "script"
},
"plugins": ["mocha", "jsdoc"],
"ignorePatterns": ["lib/**/*", "types/**/*", "test/types/**/*", "src/**/*.d.ts"],
"plugins": ["mocha", "jsdoc", "@typescript-eslint"],
"env": {
"node": true,
"mocha": true,
Expand Down
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']
28 changes: 15 additions & 13 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
---
name: Bug report
about: Create a bug report to help us improve
title: ''
labels: ''
assignees: ''

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

<!--
Expand Down Expand Up @@ -36,26 +35,29 @@ Instead of using that repository, you can also clone the Sequelize repository an

```js
// You can delete this code block if you have included a link to your SSCCE above!
const { createSequelizeInstance } = require('./dev/sscce-helpers');
const { Model, DataTypes } = require('.');
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' });
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)
username: "janedoe",
birthday: new Date(1980, 6, 20),
});

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

await sequelize.close();
})();
Expand Down
7 changes: 3 additions & 4 deletions .github/ISSUE_TEMPLATE/docs_issue.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
---
name: Docs issue
about: Documentation is unclear, or otherwise insufficient/misleading
title: ''
labels: 'type: docs'
assignees: ''

title: ""
labels: "type: docs"
assignees: ""
---

<!--
Expand Down
7 changes: 3 additions & 4 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
---
name: Feature request
about: Suggest an idea for this project
title: ''
labels: ''
assignees: ''

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

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

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

<!--
Expand Down
14 changes: 10 additions & 4 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,19 +6,25 @@ 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)?
- [ ] 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? -->
- [ ] <!-- ... -->
40 changes: 0 additions & 40 deletions .github/stale.yml

This file was deleted.

Loading