@@ -11,29 +11,28 @@ generic-pool:
11
11
versions : ^2.0.0 || ^3.1.0
12
12
commands : node test/instrumentation/modules/generic-pool.test.js
13
13
14
- mimic-response :
15
- versions : ^1.0.0
16
- commands :
17
- - node test/instrumentation/modules/mimic-response.test.js
18
- - node test/instrumentation/modules/http/github-179.test.js
19
-
20
14
# Testing 'got' was initially added to test an issue in its usage of
21
15
# [email protected] . However, this test case serves to sanity test 'got'
22
16
# usage with the agent. Got@12 is pure ESM, so cannot currently be tested with
23
17
# the current test script.
18
+ #
19
+ # Supported got versions: '>=4 <12'. As of v11.8.6, this range includes 103
20
+ # got versions. Testing all these versions as a "sanity test" is a waste of
21
+ # resources. Instead we test just a few: the latest 8.x, 9.x, and 10.x (all
22
+ # no longer getting releases); and >=11.8.6.
24
23
got-v4-v9 :
25
24
name : got
26
- versions : ' >=4.0.0 <9.0.0 '
25
+ versions : ' 8.3.2 '
27
26
node : ' >=5'
28
27
commands : node test/instrumentation/modules/http/github-423.test.js
29
28
got-v9 :
30
29
name : got
31
- versions : ^9.0.0
30
+ versions : ' 9.6.0 '
32
31
node : ' >=8.3'
33
32
commands : node test/instrumentation/modules/http/github-423.test.js
34
33
got-v10-v12 :
35
34
name : got
36
- versions : ' >= 10.0 .0 <10.5.1 || >10.5.1 <12' # v10.5.1 is broken
35
+ versions : ' 10.7 .0 || >=11.8.6 <12'
37
36
node : ' >=10.16.0'
38
37
commands : node test/instrumentation/modules/http/github-423.test.js
39
38
@@ -109,10 +108,11 @@ pg-old-node:
109
108
name : pg
110
109
# We want this version range:
111
110
# versions: '>=4 <9'
112
- # but only the latest MAJOR.MINOR.x to reduce the test matrix.
111
+ # but test a subset to reduce the test matrix. The last 4.x release was in
112
+ # 2017, 5.x in 2017, 6.x in 2017, 7.x in 2020.
113
113
#
114
114
# Maintenance note: This should be updated for newer MAJOR.MINOR releases.
115
- versions : ' 4.0.0 || 4.1.1 || 4.2.0 || 4.3.0 || 4.4.6 || 4. 5.7 || 5.0.0 || 5.1.0 || 5. 2.1 || 6.0.5 || 6.1.6 || 6.2.5 || 6.3.3 || 6. 4.2 || 7.0.3 || 7.1. 2 || 7.2.0 || 7.3.0 || 7.4.3 || 7.5. 0 || 7.6.1 || 7.7.1 || 7. 8.2 || 7.9.0 || 7.10.0 || 7.11.0 || 7.12.1 || 7.13.0 || 7.14.0 || 7.15. 2 || 7.16.1 || 7.17.1 || 7.18. 2 || 8.0.3 || 8.1 .0 || 8.2.2 || 8.3.3 || 8.4.2 || 8.5.1 || 8.6 .0 || >8.6 .0 <9'
115
+ versions : ' 4.0.0 || 4.5.7 || 5.2.1 || 6.4.2 || 7.18. 2 || 8.0.3 || 8.1. 0 || 8.2. 2 || 8.3.3 || 8.4. 2 || 8.5.1 || 8.6 .0 || 8.7.3 || 8.8.0 || 8.9.0 || 8.10 .0 || >8.10 .0 <9'
116
116
node : ' <14'
117
117
peerDependencies :
118
118
- bluebird@^3.0.0
@@ -127,16 +127,19 @@ pg-new-node:
127
127
# but only the latest MAJOR.MINOR.x to reduce the test matrix.
128
128
#
129
129
# Maintenance note: This should be updated for newer MAJOR.MINOR releases.
130
- versions : ' 8.0.3 || 8.1.0 || 8.2.2 || 8.3.3 || 8.4.2 || 8.5.1 || 8.6.0 || >8.6 .0 <9'
130
+ versions : ' 8.0.3 || 8.1.0 || 8.2.2 || 8.3.3 || 8.4.2 || 8.5.1 || 8.6.0 || 8.7.3 || 8.8.0 || 8.9.0 || 8.10.0 || >8.10 .0 <9'
131
131
node : ' >=14'
132
132
peerDependencies :
133
133
- bluebird@^3.0.0
134
134
- knex@^0.17.3
135
135
commands :
136
136
- node test/instrumentation/modules/pg/pg.test.js
137
137
- node test/instrumentation/modules/pg/knex.test.js
138
+
139
+ # Latest mongodb-core release (v3.2.7) was released in 2019. We test a subset
140
+ # of the full supported range.
138
141
mongodb-core :
139
- versions : ' >=1.2.19 <4'
142
+ versions : ' 1.2.19 || 1.2.32 || 1.3.21 || 2.0.14 || 2.1.20 || 3.0.11 || 3.1.11 || 3.2.7 ' # latest minors subset of ' >=1.2.19 <4'
140
143
commands : node test/instrumentation/modules/mongodb-core.test.js
141
144
142
145
mongodb-3 :
@@ -154,30 +157,37 @@ mongodb:
154
157
node : ' >=14.20.1'
155
158
commands : node test/instrumentation/modules/mongodb.test.js
156
159
160
+ # Bluebird is effectively deprecated (https://github.com/petkaantonov/bluebird#%EF%B8%8Fnote%EF%B8%8F).
161
+ # Testing the full set of supported bluebird releases (`>=2 <4`) is currently
162
+ # 119 releases. The last release was in 2019. Testing that many is a waste of
163
+ # resources. Instead we test just the latest 3.x release.
157
164
bluebird :
158
- versions : ' >=2 <4 '
165
+ versions : ' 3.7.2 '
159
166
commands :
160
167
- node test/instrumentation/modules/bluebird/bluebird.test.js
161
168
- node test/instrumentation/modules/bluebird/cancel.test.js
169
+
162
170
# knex (https://github.com/knex/knex/blob/master/UPGRADING.md)
163
171
# - knex 0.18.0 min supported node is v8
164
172
# - knex 0.21.0 min supported node is v10
165
173
# - knex 1.0.0 min supported node is v12
166
174
knex-v0.9-v0.17 :
167
175
name : knex
168
- # v0 .16.4 accidentally dropped support for Node.js 6
169
- versions : ^0.16.5 || < 0.16.4 >=0.16.0 || ^0.15.0 || ^0.14.0 || ^0.13.0 || ^0.12.5 || <0.12.4 >0.11.6 || <0.11.6 >0.9.0
176
+ # Latest 0 .16 release was in 2019, therefore only test first and last in this range.
177
+ versions : ' 0.9.0 || 0.16.5 '
170
178
commands : node test/instrumentation/modules/pg/knex.test.js
171
179
knex-v0.17-v0.21 :
172
180
name : knex
173
181
node : ' >=8.6.0'
174
- versions : ' >=0.17 <0.21'
182
+ # Latest 0.20.x release was 2020-04, there only test first and last in this range.
183
+ versions : ' 0.17.0 || 0.20.15'
175
184
commands : node test/instrumentation/modules/pg/knex.test.js
176
185
knex-v0.21-v1 :
177
186
name : knex
178
187
node : ' >=10.22.0'
179
- versions : ' >= 0.21 <1 ' # Use '<1' to catch a 0.96.x release if there ever is one.
188
+ versions : ' 0.21.21 || 0.95.15 ' # latest minors subset of '>=0.21 <1'
180
189
commands : node test/instrumentation/modules/pg/knex.test.js
190
+
181
191
ws-old :
182
192
name : ws
183
193
versions : ' >=1 <7'
@@ -371,26 +381,24 @@ pug:
371
381
tedious-v1-v11 :
372
382
name : tedious
373
383
node : ' >=6'
374
- # - tedious@ 4.0.0 was broken, fixed in 4.0.1 by https://github.com/tediousjs/tedious/commit/4eceb48
375
- versions : ' ^ 1.9.0 || 2.x || 3.x || ^4.0.1 || 5.x || 6.x || 7.x || 8.x || 9.x || 10.x '
384
+ # latest majors subset of '>=1.9.0 < 4.0.0 || > 4.0.1 <11'
385
+ versions : ' 1.9.0 || 1.15.0 || 2.7.1 || 3.0.1 || 4.2.0 || 5.0.3 || 6.7.1 || 7.0.0 || 8.3.1 || 9.2.3 || 10.0.0 '
376
386
commands : node test/instrumentation/modules/tedious.test.js
377
-
378
387
tedious-v11-v12 :
379
388
name : tedious
380
389
node : ' >=10.17.0'
381
- versions : ' 11.x'
390
+ versions : ' 11.0.0 || 11.8.0 ' # first and last subset of '11. x'
382
391
commands : node test/instrumentation/modules/tedious.test.js
383
-
384
392
tedious-v12-v15 :
385
393
name : tedious
386
394
node : ' >=12.3.0'
387
- versions : ' 12.x || 13.x || 14.x'
395
+ # first and last majors subset of '12.x || 13.x || 14.x'
396
+ versions : ' 12.0.0 || 12.3.0 || 13.0.0 || 13.2.0 || 14.0.0 || 14.7.0 || >14.7.0 <15'
388
397
commands : node test/instrumentation/modules/tedious.test.js
389
-
390
398
tedious :
391
399
name : tedious
392
400
node : ' >=14'
393
- versions : ' 15.x'
401
+ versions : ' 15.0.0 || 15.1.3 || >15.1.3 <16 ' # first and last majors subset of '15. x'
394
402
commands : node test/instrumentation/modules/tedious.test.js
395
403
396
404
cassandra-driver :
@@ -440,23 +448,24 @@ restify-v10-v12:
440
448
# for fastify >=3.
441
449
fastify-v1 :
442
450
name : fastify
443
- versions : ' 1.x'
451
+ versions : ' 1.0.0 || 1.14.6 ' # subset of '1. x'
444
452
node : ' >=6 <12'
445
453
commands :
446
454
- node test/instrumentation/modules/fastify/fastify.test.js
447
455
- node test/instrumentation/modules/fastify/async-await.test.js
448
456
- node test/instrumentation/modules/fastify/set-framework.test.js
449
457
fastify-v2 :
450
458
name : fastify
451
- versions : ' >=2.0.0 <2.4.0 || >2.4.0 <3'
459
+ versions : ' 2.0.0 || 2.15.3 ' # subset of ' >=2.0.0 <2.4.0 || >2.4.0 <3'
452
460
node : ' >=6 <15'
453
461
commands :
454
462
- node test/instrumentation/modules/fastify/fastify.test.js
455
463
- node test/instrumentation/modules/fastify/async-await.test.js
456
464
- node test/instrumentation/modules/fastify/set-framework.test.js
457
465
fastify-v3 :
458
466
name : fastify
459
- versions : ' >=3.0.0 <4'
467
+ # Update versions periodically with "./dev-utils/tav-versions-fastify.sh".
468
+ versions : ' 3.0.0 || 3.6.0 || 3.14.2 || 3.20.1 || 3.24.0 || 3.29.0 || 3.29.5 || >3.29.5 <4' # subset of '>=3 <4'
460
469
peerDependencies : ' @fastify/formbody@^6.0.1'
461
470
node : ' >=10'
462
471
commands :
@@ -466,7 +475,8 @@ fastify-v3:
466
475
- node test/sanitize-field-names/fastify.test.js
467
476
fastify :
468
477
name : fastify
469
- versions : ' >=4 <4.0.1 || >4.0.1 <4.16.0 || >4.16.2'
478
+ # Update versions periodically with "./dev-utils/tav-versions-fastify.sh".
479
+ versions : ' 4.0.0 || 4.2.1 || 4.5.2 || 4.8.1 || 4.10.1 || 4.14.0 || 4.17.0 || >4.17.0' # subset of '>=4 <4.0.1 || >4.0.1 <4.16.0 || >4.16.2'
470
480
peerDependencies : ' @fastify/formbody@^7'
471
481
node : ' >=14.6.0'
472
482
commands :
@@ -498,8 +508,8 @@ aws-sdk:
498
508
# Maintenance note: This should be updated periodically using:
499
509
# ./dev-utils/aws-sdk-tav-versions.sh
500
510
#
501
- # Test v2.858.0, every N=88 of 445 releases, and current latest.
502
- versions : ' 2.858.0 || 2.946 .0 || 2.1034 .0 || 2.1122 .0 || 2.1210 .0 || 2.1298 .0 || 2.1302 .0 || >2.1302 .0 <3'
511
+ # Test v2.858.0, every N=102 of 515 releases, and current latest.
512
+ versions : ' 2.858.0 || 2.960 .0 || 2.1062 .0 || 2.1164 .0 || 2.1266 .0 || 2.1368 .0 || 2.1372 .0 || >2.1372 .0 <3'
503
513
commands :
504
514
- node test/instrumentation/modules/aws-sdk/aws4-retries.test.js
505
515
- node test/instrumentation/modules/aws-sdk/s3.test.js
0 commit comments