apm-agent-nodejs icon indicating copy to clipboard operation
apm-agent-nodejs copied to clipboard

tracking delayed dep updates because of old Node support

Open trentm opened this issue 3 years ago • 0 comments

I'm using this issue to track dependencies that we are not updating while we still support old major versions of node. Sometimes it is because the newer dependency version actually breaks with the older node, and sometimes it is just because that dep dropped support for the older node (but might not yet actually break).

node v8

  • dep lru-cache@6 dropped support for node v8
  • devDep ajv@8 dropped support for node v8 (https://github.com/elastic/apm-agent-nodejs/pull/2755)
  • depDep eslint@7 dropped support for node v8 (https://github.com/elastic/apm-agent-nodejs/issues/2583)
  • dep pino@8 dropped support for node <v14, pino@7 only tests with node v12 and later (it mentions dropping node v10 support in its 7.0.0 release notes). We are using pino@6 which seems to work with node v8.6 and up, but is only tested with node v10 and up.
  • devDep mkdirp@1 dropped support for node v8 (https://github.com/elastic/apm-agent-nodejs/pull/2792#issuecomment-1171488188)
  • devDep ndjson@2 dropped support for node <v10 (https://github.com/elastic/apm-agent-nodejs/pull/2800)
  • dep semver@7 dropped support for node<v10 (https://github.com/elastic/apm-agent-nodejs/pull/2808)
  • dep load-source-map@3 now requires node v12 (https://github.com/rexxars/load-source-map/pull/6), we've inlined it to lib/load-source-map.js to not have to cope with node ver incompat for now.

node v10

  • dep lru-cache@7 dropped support for node v10 (https://github.com/elastic/apm-agent-nodejs/pull/2756)
  • dep pino@8 dropped support for node <v14, pino@7 only tests with node v12 and later (it mentions dropping node v10 support in its 7.0.0 release notes)
  • dep load-source-map@3 now requires node v12 (https://github.com/rexxars/load-source-map/pull/6), we've inlined it to lib/load-source-map.js to not have to cope with node ver incompat for now.

node v12

  • dep pino@8 dropped support for node <v14

ESM-only

  • devDep get-port@6 is ESM-only and dropped support for node <v12.20

trentm avatar Jun 06 '22 18:06 trentm