Skip to content

Commit 48ee3ea

Browse files
authored
feat(deps-node): ZMS-267: Bump Deps, Update API Docs, Remove support for node v16 and v18 (#867)
* bump deps, update test.yml, remove support for older node versions * update api docs * add http parser * correctly polyfill http_parser * add fixme comment to the http parser polyfill
1 parent f71972d commit 48ee3ea

File tree

5 files changed

+11198
-1592
lines changed

5 files changed

+11198
-1592
lines changed

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
test:
99
strategy:
1010
matrix:
11-
node: [16.x, 18.x, 20.x]
11+
node: [20.x, 22.x, 24.x]
1212
os: [ubuntu-latest]
1313
runs-on: ${{ matrix.os }}
1414
# Service containers to run with `container-job`

docs/api/openapidocs.json

Lines changed: 43 additions & 143 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"contact": {
77
"url": "https://github.com/zone-eu/wildduck"
88
},
9-
"version": "1.45.5"
9+
"version": "1.45.13"
1010
},
1111
"servers": [
1212
{
@@ -173,16 +173,6 @@
173173
"example": "TMIjjIy23ZGM2kk0lIixygWomEknQDWdmzMNIkbNeO0NNjR"
174174
}
175175
},
176-
{
177-
"name": "page",
178-
"in": "query",
179-
"description": "Current page number. Informational only, page numbers start from 1",
180-
"required": false,
181-
"schema": {
182-
"type": "number",
183-
"default": 1
184-
}
185-
},
186176
{
187177
"name": "sess",
188178
"in": "query",
@@ -1329,16 +1319,6 @@
13291319
"example": "TMIjjIy23ZGM2kk0lIixygWomEknQDWdmzMNIkbNeO0NNjR"
13301320
}
13311321
},
1332-
{
1333-
"name": "page",
1334-
"in": "query",
1335-
"description": "Current page number. Informational only, page numbers start from 1",
1336-
"required": false,
1337-
"schema": {
1338-
"type": "number",
1339-
"default": 1
1340-
}
1341-
},
13421322
{
13431323
"name": "sess",
13441324
"in": "query",
@@ -2623,7 +2603,7 @@
26232603
{
26242604
"name": "unseen",
26252605
"in": "query",
2626-
"description": "If true, then returns only unseen messages",
2606+
"description": "If true, then returns only unseen messages. If false, then returs only seen messages. Leave blank to return all messages",
26272607
"required": false,
26282608
"schema": {
26292609
"type": "boolean"
@@ -2696,16 +2676,6 @@
26962676
"example": "TMIjjIy23ZGM2kk0lIixygWomEknQDWdmzMNIkbNeO0NNjR"
26972677
}
26982678
},
2699-
{
2700-
"name": "page",
2701-
"in": "query",
2702-
"description": "Current page number. Informational only, page numbers start from 1",
2703-
"required": false,
2704-
"schema": {
2705-
"type": "number",
2706-
"default": 1
2707-
}
2708-
},
27092679
{
27102680
"name": "sess",
27112681
"in": "query",
@@ -3268,7 +3238,16 @@
32683238
{
32693239
"name": "unseen",
32703240
"in": "query",
3271-
"description": "If true, then matches only messages without \\Seen flags",
3241+
"description": "If true, then matches only messages without \\Seen flags. Takes precedence over the seen flag",
3242+
"required": false,
3243+
"schema": {
3244+
"type": "boolean"
3245+
}
3246+
},
3247+
{
3248+
"name": "seen",
3249+
"in": "query",
3250+
"description": "If true, then matches only messages with \\Seen flags",
32723251
"required": false,
32733252
"schema": {
32743253
"type": "boolean"
@@ -3367,16 +3346,6 @@
33673346
"type": "string",
33683347
"example": "TMIjjIy23ZGM2kk0lIixygWomEknQDWdmzMNIkbNeO0NNjR"
33693348
}
3370-
},
3371-
{
3372-
"name": "page",
3373-
"in": "query",
3374-
"description": "Current page number. Informational only, page numbers start from 1",
3375-
"required": false,
3376-
"schema": {
3377-
"type": "number",
3378-
"default": 1
3379-
}
33803349
}
33813350
],
33823351
"responses": {
@@ -3487,7 +3456,11 @@
34873456
},
34883457
"unseen": {
34893458
"type": "boolean",
3490-
"description": "If true, then matches only messages without \\Seen flags"
3459+
"description": "If true, then matches only messages without \\Seen flags. Takes precedence over the seen flag"
3460+
},
3461+
"seen": {
3462+
"type": "boolean",
3463+
"description": "If true, then matches only messages with \\Seen flags"
34913464
},
34923465
"includeHeaders": {
34933466
"type": "string",
@@ -4270,16 +4243,6 @@
42704243
"example": "List-ID, MIME-Version"
42714244
}
42724245
},
4273-
{
4274-
"name": "page",
4275-
"in": "query",
4276-
"description": "Current page number. Informational only, page numbers start from 1",
4277-
"required": false,
4278-
"schema": {
4279-
"type": "number",
4280-
"default": 1
4281-
}
4282-
},
42834246
{
42844247
"name": "sess",
42854248
"in": "query",
@@ -4582,16 +4545,6 @@
45824545
"example": "TMIjjIy23ZGM2kk0lIixygWomEknQDWdmzMNIkbNeO0NNjR"
45834546
}
45844547
},
4585-
{
4586-
"name": "page",
4587-
"in": "query",
4588-
"description": "Current page number. Informational only, page numbers start from 1",
4589-
"required": false,
4590-
"schema": {
4591-
"type": "number",
4592-
"default": 1
4593-
}
4594-
},
45954548
{
45964549
"name": "sess",
45974550
"in": "query",
@@ -4783,16 +4736,6 @@
47834736
"example": "TMIjjIy23ZGM2kk0lIixygWomEknQDWdmzMNIkbNeO0NNjR"
47844737
}
47854738
},
4786-
{
4787-
"name": "page",
4788-
"in": "query",
4789-
"description": "Current page number. Informational only, page numbers start from 1",
4790-
"required": false,
4791-
"schema": {
4792-
"type": "number",
4793-
"default": 1
4794-
}
4795-
},
47964739
{
47974740
"name": "sess",
47984741
"in": "query",
@@ -6783,16 +6726,6 @@
67836726
"example": "TMIjjIy23ZGM2kk0lIixygWomEknQDWdmzMNIkbNeO0NNjR"
67846727
}
67856728
},
6786-
{
6787-
"name": "page",
6788-
"in": "query",
6789-
"description": "Current page number. Informational only, page numbers start from 1",
6790-
"required": false,
6791-
"schema": {
6792-
"type": "number",
6793-
"default": 1
6794-
}
6795-
},
67966729
{
67976730
"name": "filterip",
67986731
"in": "query",
@@ -7496,16 +7429,6 @@
74967429
"example": "TMIjjIy23ZGM2kk0lIixygWomEknQDWdmzMNIkbNeO0NNjR"
74977430
}
74987431
},
7499-
{
7500-
"name": "page",
7501-
"in": "query",
7502-
"description": "Current page number. Informational only, page numbers start from 1",
7503-
"required": false,
7504-
"schema": {
7505-
"type": "number",
7506-
"default": 1
7507-
}
7508-
},
75097432
{
75107433
"name": "sess",
75117434
"in": "query",
@@ -7819,16 +7742,6 @@
78197742
"example": "TMIjjIy23ZGM2kk0lIixygWomEknQDWdmzMNIkbNeO0NNjR"
78207743
}
78217744
},
7822-
{
7823-
"name": "page",
7824-
"in": "query",
7825-
"description": "Current page number. Informational only, page numbers start from 1",
7826-
"required": false,
7827-
"schema": {
7828-
"type": "number",
7829-
"default": 1
7830-
}
7831-
},
78327745
{
78337746
"name": "sess",
78347747
"in": "query",
@@ -8143,16 +8056,6 @@
81438056
"example": "TMIjjIy23ZGM2kk0lIixygWomEknQDWdmzMNIkbNeO0NNjR"
81448057
}
81458058
},
8146-
{
8147-
"name": "page",
8148-
"in": "query",
8149-
"description": "Current page number. Informational only, page numbers start from 1",
8150-
"required": false,
8151-
"schema": {
8152-
"type": "number",
8153-
"default": 1
8154-
}
8155-
},
81568059
{
81578060
"name": "sess",
81588061
"in": "query",
@@ -8470,16 +8373,6 @@
84708373
"example": "TMIjjIy23ZGM2kk0lIixygWomEknQDWdmzMNIkbNeO0NNjR"
84718374
}
84728375
},
8473-
{
8474-
"name": "page",
8475-
"in": "query",
8476-
"description": "Current page number. Informational only, page numbers start from 1",
8477-
"required": false,
8478-
"schema": {
8479-
"type": "number",
8480-
"default": 1
8481-
}
8482-
},
84838376
{
84848377
"name": "sess",
84858378
"in": "query",
@@ -8730,7 +8623,9 @@
87308623
"const:max:pop3:download",
87318624
"const:max:imap:upload",
87328625
"const:max:filters",
8733-
"const:sender:defer_times"
8626+
"const:sender:defer_times",
8627+
"const:max:bulk_batch_size",
8628+
"const:domaincache:enabled"
87348629
]
87358630
}
87368631
}
@@ -10484,23 +10379,6 @@
1048410379
"action"
1048510380
]
1048610381
},
10487-
"Bimi": {
10488-
"type": "object",
10489-
"description": "Marks BIMI verification as passed for a domain. NB! BIMI record and logo files for the domain must be valid.",
10490-
"properties": {
10491-
"domain": {
10492-
"type": "string",
10493-
"description": "Domain name for the BIMI record. It does not have to be the same as the From address."
10494-
},
10495-
"selector": {
10496-
"type": "string",
10497-
"description": "Optional BIMI selector"
10498-
}
10499-
},
10500-
"required": [
10501-
"domain"
10502-
]
10503-
},
1050410382
"ContentType": {
1050510383
"type": "object",
1050610384
"description": "Parsed Content-Type header. Usually needed to identify encrypted messages and such",
@@ -10851,6 +10729,23 @@
1085110729
"content"
1085210730
]
1085310731
},
10732+
"Bimi": {
10733+
"type": "object",
10734+
"description": "Marks BIMI verification as passed for a domain. NB! BIMI record and logo files for the domain must be valid.",
10735+
"properties": {
10736+
"domain": {
10737+
"type": "string",
10738+
"description": "Domain name for the BIMI record. It does not have to be the same as the From address."
10739+
},
10740+
"selector": {
10741+
"type": "string",
10742+
"description": "Optional BIMI selector"
10743+
}
10744+
},
10745+
"required": [
10746+
"domain"
10747+
]
10748+
},
1085410749
"UploadMessageResponse": {
1085510750
"type": "object",
1085610751
"properties": {
@@ -11183,6 +11078,10 @@
1118311078
"sizeKb": {
1118411079
"type": "number",
1118511080
"description": "Approximate size of the attachment in kilobytes"
11081+
},
11082+
"size": {
11083+
"type": "number",
11084+
"description": "Attachment filesize in bytes"
1118611085
}
1118711086
},
1118811087
"required": [
@@ -11192,7 +11091,8 @@
1119211091
"disposition",
1119311092
"transferEncoding",
1119411093
"related",
11195-
"sizeKb"
11094+
"sizeKb",
11095+
"size"
1119611096
]
1119711097
},
1119811098
"description": "Attachments for the message"

0 commit comments

Comments
 (0)