11# This file is used by tool TAV - Test All Versions.
22# See: https://github.com/watson/test-all-versions
33
4+ # Maintenance note: Many of the blocks below have an "update-versions" config.
5+ # This is used by the `update-tav-versions.js` script to update the "versions:"
6+ # (field that `tav` uses) down to a reasonably-sized subset of versions to test.
7+ # The following should be run periodically to update "versions":
8+ # node ./dev-utils/update-tav-versions.js
9+
410' @apollo/server ' :
511 versions : ^4.0.0
612 peerDependencies : graphql@^16.6.0
@@ -174,18 +180,26 @@ knex:
174180 commands : node test/instrumentation/modules/pg/knex.test.js
175181
176182ws :
177- - versions : ' >=1 <7'
178- commands : node test/instrumentation/modules/ws.test.js
179- - versions : ' >=7 <8'
180- node : ' >=8.6.0'
183+ - versions : ' 1.0.0 || 2.2.1 || 5.0.0 || 6.2.1 || 7.4.0 || 7.5.7 || ^7.5.9'
181184 commands : node test/instrumentation/modules/ws.test.js
185+ update-versions :
186+ mode : max-5
187+ include : ' >=1 <8'
182188
183189graphql :
184- - versions : ' >= 0.7.0 <0.11 .0 || >=0.11.1 <16 '
190+ - versions : ' 0.7.0 || 0.10 .0 || 0.12.0 || 14.2.1 || 14.5.7 || 15.6.0 || ^15.8.0 '
185191 commands : node test/instrumentation/modules/graphql.test.js
186- - versions : ' >=16.0.0 <17'
192+ update-versions :
193+ mode : max-5
194+ include : ' >=0.7.0 <16'
195+ # Testing with 0.11.0 was "buggy".
196+ exclude : ' 0.11.0'
197+ - versions : ' 16.0.0 || 16.0.1 || 16.1.0 || 16.2.0 || 16.3.0 || 16.4.0 || 16.5.0 || 16.6.0 || 16.7.1 || ^16.8.1'
187198 node : ' >=12'
188199 commands : node test/instrumentation/modules/graphql.test.js
200+ update-versions :
201+ mode : latest-minors
202+ include : ' >=16.0.0 <17'
189203
190204express :
191205 versions : ' 4.0.0 || 4.1.2 || 4.2.0 || 4.3.2 || 4.4.5 || 4.5.1 || 4.6.1 || 4.7.4 || 4.8.8 || 4.9.8 || 4.10.8 || 4.11.2 || 4.12.4 || 4.13.4 || 4.14.1 || 4.15.5 || 4.16.4 || 4.17.3 || ^4.18.2'
@@ -273,8 +287,11 @@ elasticsearch:
273287 commands : node test/instrumentation/modules/@elastic/elasticsearch.test.js
274288
275289handlebars :
276- versions : ' * '
290+ versions : ' 1.0.0 || 1.0.6 || 2.0.0 || 4.0.3 || 4.1.1 || 4.4.2 || 4.7.4 || ^4.7.8 '
277291 commands : node test/instrumentation/modules/handlebars.test.js
292+ update-versions :
293+ mode : max-5
294+ include : ' >=1 <5'
278295
279296# Pug v3 dropped node v8 support (https://github.com/pugjs/pug/releases/tag/pug%403.0.0).
280297pug :
@@ -400,7 +417,7 @@ fastify:
400417 update-versions :
401418 mode : max-5
402419 include : ' >=3 <4'
403- - versions : ' 4.0.0 || 4.5.1 || 4.9.2 || 4.15.0 || 4.22.0 || 4.24.3 || ^4.25.2 '
420+ - versions : ' 4.0.0 || 4.5.1 || 4.9.2 || 4.15.0 || 4.22.0 || 4.24.3 || ^4.26.0 '
404421 peerDependencies : ' @fastify/formbody@^7'
405422 node : ' >=14.6.0'
406423 commands :
@@ -422,22 +439,11 @@ memcached:
422439 commands : node test/instrumentation/modules/memcached.test.js
423440
424441aws-sdk :
425- # We want this version range:
426- # versions: '>=2.858 <2.1372.0 || >2.1372.0 <3'
427- # However, awk-sdk releases *very* frequently (almost every day) and there
428- # is no need to test *all* those releases. Instead we statically list a subset
429- # of versions to test.
430- #
431442 # - v2.1372.0 changed the SQS client protocol from "query" to "json", which
432443 # isn't supported in localstack. It was reverted in v2.1373.0.
433444 # - v2.1491.0 and up changed protocol to "json" again, eventually supported
434445 # in localstack v3.
435- #
436- # Maintenance note: This should be updated periodically using:
437- # node ./dev-utils/update-tav-versions.js
438- #
439- # Test v2.858.0, every N=122 of 614 releases, and current latest.
440- versions : ' 2.858.0 || 2.991.0 || 2.1124.0 || 2.1257.0 || 2.1391.0 || 2.1524.0 || ^2.1528.0'
446+ versions : ' 2.858.0 || 2.995.0 || 2.1132.0 || 2.1269.0 || 2.1407.0 || 2.1544.0 || ^2.1549.0'
441447 commands :
442448 - node test/instrumentation/modules/aws-sdk/aws4-retries.test.js
443449 - node test/instrumentation/modules/aws-sdk/s3.test.js
@@ -449,52 +455,40 @@ aws-sdk:
449455 include : ' >=2.858.0 <3'
450456 exclude : ' 2.1372.0'
451457
452- # For all AWS-SDK clients want this version range:
453- # versions: '>=3.15.0 <4'
454- # However, @awk-sdk/client-* releases *very* frequently (almost every day) and there
455- # is no need to test *all* those releases. Instead we statically list a subset
456- # of versions to test.
457- # Maintenance note: This should be updated periodically using:
458- # node ./dev-utils/update-tav-versions.js
459-
460458' @aws-sdk/client-s3 ' :
461- versions : ' 3.15.0 || 3.78 .0 || 3.186 .0 || 3.288 .0 || 3.373 .0 || 3.474 .0 || ^3.484 .0'
459+ versions : ' 3.15.0 || 3.81 .0 || 3.196 .0 || 3.298 .0 || 3.397 .0 || 3.503 .0 || ^3.504 .0'
462460 commands :
463461 - node test/instrumentation/modules/@aws-sdk/client-s3.test.js
464462 node : ' >=14'
465- # Test v3.15.0, current latest and 5 versions in between.
466463 # - 3.377.0 was a bad release (https://github.com/open-telemetry/opentelemetry-js-contrib/issues/1828#issuecomment-1834276719)
467464 update-versions :
468465 mode : max-5
469466 include : ' >=3.15.0 <4'
470467 exclude : ' 3.377.0'
471468
472469' @aws-sdk/client-dynamodb ' :
473- versions : ' 3.15.0 || 3.78 .0 || 3.193 .0 || 3.282 .0 || 3.369 .0 || 3.477 .0 || ^3.484 .0'
470+ versions : ' 3.15.0 || 3.80 .0 || 3.197 .0 || 3.292 .0 || 3.387 .0 || 3.499 .0 || ^3.504 .0'
474471 commands :
475472 - node test/instrumentation/modules/@aws-sdk/client-s3.test.js
476473 node : ' >=14'
477- # Test v3.15.0, current latest and 5 versions in between.
478474 update-versions :
479475 mode : max-5
480476 include : ' >=3.15.0 <4'
481477
482478' @aws-sdk/client-sns ' :
483- versions : ' 3.15.0 || 3.76 .0 || 3.190 .0 || 3.278 .0 || 3.360 .0 || 3.474.0 || ^3.484 .0'
479+ versions : ' 3.15.0 || 3.80 .0 || 3.198 .0 || 3.293 .0 || 3.388 .0 || 3.503.1 || ^3.504 .0'
484480 commands :
485481 - node test/instrumentation/modules/@aws-sdk/client-sns.test.js
486482 node : ' >=14'
487- # Test v3.15.0, current latest and 5 versions in between.
488483 update-versions :
489484 mode : max-5
490485 include : ' >=3.15.0 <4'
491486
492487' @aws-sdk/client-sqs ' :
493- versions : ' 3.15.0 || 3.76 .0 || 3.192 .0 || 3.282 .0 || 3.369 .0 || 3.476 .0 || ^3.484 .0'
488+ versions : ' 3.15.0 || 3.79 .0 || 3.197 .0 || 3.293 .0 || 3.387 .0 || 3.499 .0 || ^3.504 .0'
494489 commands :
495490 - node test/instrumentation/modules/@aws-sdk/client-sqs.test.js
496491 node : ' >=14'
497- # Test v3.15.0, current latest and 5 versions in between.
498492 update-versions :
499493 mode : max-5
500494 include : ' >=3.15.0 <4'
@@ -503,15 +497,14 @@ aws-sdk:
503497# - In [email protected] the `request.origin` property was added, which we need504498# in the 'undici:request:create' diagnostic message.
505499undici :
506- - versions : ' ^ 6.0.0'
500+ - versions : ' 6.0.0 || 6.0.1 || 6.1.0 || 6.2.0 || 6.2.1 || 6.3.0 || 6.4.0 || 6.5.0 || ^6.6 .0'
507501 node : ' >=18'
508502 commands : node test/instrumentation/modules/undici/undici.test.js
509503 update-versions :
510504 mode : max-5
511505 include : ' >=6.0.0 <7'
512506 - versions : ' 4.7.1 || 4.10.4 || 5.1.1 || 5.12.0 || 5.22.0 || 5.27.1 || ^5.28.2'
513507 commands : node test/instrumentation/modules/undici/undici.test.js
514- # Test v4.7.1, latest v5 and 5 versions in between.
515508 update-versions :
516509 mode : max-5
517510 include : ' >=4.7.1 <6'
0 commit comments