Skip to content

Releases: newrelic/newrelic-node-apollo-server-plugin

v7.0.0

14 Jan 22:10
a38c23e
Compare
Choose a tag to compare

v7.0.0 (2025-01-14)

⚠ BREAKING CHANGES

  • Updated the minimum agent version to 12.11.0.

Features

  • Updated the minimum agent version to 12.11.0 (#337) (6a115c4)
    • In 12.11.0 of the agent, the transaction was removed from the segment and stored separately on the context manager.
    • The signature for recording time slice metrics also changed by passing in the active transaction.
    • If you cannot upgrade the agent to 12.11.0, simply pin the @newrelic/apollo-server-plugin to 6.0.0.

Miscellaneous chores

Tests

  • Migrated apollo-federation versioned tests to node:test (#333) (86b883e)
  • Updated remaining versioned tests to node:test (#334) (4f86a27)
  • Updated unit tests to node:test (#331) (1292619)
  • Moved all common files into tests/lib (#336) (58b1e59)
  • Restored graphql-tag as it was not a transitive dep but instead a test dep (#325) (d6ac39a)
  • Updated apollo-federation tests to use @apollo/server (#335) (37e89fa)
  • Updated versioned tests to remove transitive deps (#323) (5c2b889)

Continuous integration

  • Updated codecov version and moved codecov reporting until after all tests are run (#319) (4becfe1)

Support statement:

We recommend updating to the latest agent version as soon as it's available. If you can't upgrade to the latest version, update your agents to a version no more than 90 days old. Read more about keeping agents up to date. (https://docs.newrelic.com/docs/new-relic-solutions/new-relic-one/install-configure/update-new-relic-agent/)

See the New Relic Node.js agent EOL policy for information about agent releases and support dates. (https://docs.newrelic.com/docs/apm/agents/nodejs-agent/getting-started/nodejs-agent-eol-policy/)

v6.0.0

31 Jul 16:38
55bb5ef
Compare
Choose a tag to compare

v6.0.0 (2024-07-31)

⚠ BREAKING CHANGES

  • Dropped support for Node.js 16
  • Updated minimum test version of apollo-server and apollo-server-express to 3.0.0. Removed testing against apollo-server-fastify, apollo-server-hapi, apollo-server-koa, apollo-server-lambda as we found the plugin instrumentation had no effect on the relevant, deprecated pacakges

Features

Tests

  • Updated minimum test version of apollo-server and apollo-server-express to 3.0.0. Removed testing against apollo-server-fastify, apollo-server-hapi, apollo-server-koa, apollo-server-lambda as we found the plugin instrumentation had no effect on the relevant, deprecated pacakges (#317) (6d8d80d)

Support statement:

We recommend updating to the latest agent version as soon as it's available. If you can't upgrade to the latest version, update your agents to a version no more than 90 days old. Read more about keeping agents up to date. (https://docs.newrelic.com/docs/new-relic-solutions/new-relic-one/install-configure/update-new-relic-agent/)

See the New Relic Node.js agent EOL policy for information about agent releases and support dates. (https://docs.newrelic.com/docs/apm/agents/nodejs-agent/getting-started/nodejs-agent-eol-policy/)

v5.2.0

28 Jun 14:47
ba5056a
Compare
Choose a tag to compare

v5.2.0 (2024-06-28)

Features

  • Added support for Node 22.

Documentation

  • clarified how to configure capturing args passed to mutations (#295) (7e6e265)
  • Updated targets to include minimum agent version for compatibility repo (#299) (2d9808b)

Miscellaneous chores

Tests

  • Updated the version range for @apollo/gateway as it was finally stabilized. (#296) (76c743f)

Continuous integration

  • Removed use_new_release input from prepare release workflow (#293) (2436f8e)
  • removed changelog.json file (#292) (9d716ba)

Support statement:

We recommend updating to the latest agent version as soon as it's available. If you can't upgrade to the latest version, update your agents to a version no more than 90 days old. Read more about keeping agents up to date. (https://docs.newrelic.com/docs/new-relic-solutions/new-relic-one/install-configure/update-new-relic-agent/)

See the New Relic Node.js agent EOL policy for information about agent releases and support dates. (https://docs.newrelic.com/docs/apm/agents/nodejs-agent/getting-started/nodejs-agent-eol-policy/)

v5.1.0

12 Mar 18:39
3cfc47a
Compare
Choose a tag to compare

Code refactoring

  • Updated apollo server plugin to break out relevant functions into helpers (#288) (f5ef40f)

Support statement:

We recommend updating to the latest agent version as soon as it's available. If you can't upgrade to the latest version, update your agents to a version no more than 90 days old. Read more about keeping agents up to date. (https://docs.newrelic.com/docs/new-relic-solutions/new-relic-one/install-configure/update-new-relic-agent/)

See the New Relic Node.js agent EOL policy for information about agent releases and support dates. (https://docs.newrelic.com/docs/apm/agents/nodejs-agent/getting-started/nodejs-agent-eol-policy/)

v5.0.0

16 Jan 19:51
0586332
Compare
Choose a tag to compare

v5.0.0 (2024-01-16)

⚠ BREAKING CHANGES

  • Removed GraphQL/typedResolve/ApolloServer/<parentType>.<resolver> in lieu of including the in GraphQL/resolve/ApolloServer/<parentType>.<resolver> metrics.

If you were querying metrics before this release to get resolver names, you may have to update it to separate parent type from the resolve name:

FROM Metric
SELECT average(newrelic.timeslice.value) * 1000 as 'Average Duration (MS)' WHERE appName = '[YOUR APP NAME]' WITH METRIC_FORMAT 'GraphQL/resolve/ApolloServer/{type}.{field}' FACET field LIMIT 20

Features

  • Removed GraphQL/typedResolve/ApolloServer/<parentType>.<resolver> in lieu of including the in GraphQL/resolve/ApolloServer/<parentType>.<resolver> metrics (#285) (4411798)

Documentation

  • Updated metrics docs to show how to now query resolves to include/not include type (#285) (f59c7c7)

Miscellaneous chores

Continuous integration

  • Updated repo to use conventional commit style for preparation of releases (#286) (723af71)

Support statement:

We recommend updating to the latest agent version as soon as it's available. If you can't upgrade to the latest version, update your agents to a version no more than 90 days old. Read more about keeping agents up to date. (https://docs.newrelic.com/docs/new-relic-solutions/new-relic-one/install-configure/update-new-relic-agent/)

See the New Relic Node.js agent EOL policy for information about agent releases and support dates. (https://docs.newrelic.com/docs/apm/agents/nodejs-agent/getting-started/nodejs-agent-eol-policy/)

v4.1.0

11 Dec 20:45
df97d86
Compare
Choose a tag to compare

v4.1.0 (2023-12-11)

  • Updated error handling to pass in extensions properties as custom attributes. (Thank you to @edds for this contribution!)

Support statement:

We recommend updating to the latest agent version as soon as it's available. If you can't upgrade to the latest version, update your agents to a version no more than 90 days old. Read more about keeping agents up to date. (https://docs.newrelic.com/docs/new-relic-solutions/new-relic-one/install-configure/update-new-relic-agent/)

See the New Relic Node.js agent EOL policy for information about agent releases and support dates. (https://docs.newrelic.com/docs/apm/agents/nodejs-agent/getting-started/nodejs-agent-eol-policy/)

v4.0.1

25 Oct 18:48
23a7c87
Compare
Choose a tag to compare
  • Fixed typescript type declarations to correctly define the exports for this package. Since there is only a single export, if you need to import the type for the plugin config explicitly you would need to import it from /config, eg, import type { NRPluginConfig } from '@newrelic/apollo-server-plugin/config'. Thank you to @bbeesley for the fix.
  • Bumped @babel/traverse from 7.17.3 and 7.20.1 to 7.23.2.

Support statement:

We recommend updating to the latest agent version as soon as it's available. If you can't upgrade to the latest version, update your agents to a version no more than 90 days old. Read more about keeping agents up to date. (https://docs.newrelic.com/docs/new-relic-solutions/new-relic-one/install-configure/update-new-relic-agent/)

See the New Relic Node.js agent EOL policy for information about agent releases and support dates. (https://docs.newrelic.com/docs/apm/agents/nodejs-agent/getting-started/nodejs-agent-eol-policy/)

v4.0.0

28 Aug 15:29
4faad50
Compare
Choose a tag to compare

v4.0.0 (2023-08-28)

  • BREAKING: Removed support for Node 14.

  • Added support for Node 20.

Support statement:

We recommend updating to the latest agent version as soon as it's available. If you can't upgrade to the latest version, update your agents to a version no more than 90 days old. Read more about keeping agents up to date. (https://docs.newrelic.com/docs/new-relic-solutions/new-relic-one/install-configure/update-new-relic-agent/)

See the New Relic Node.js agent EOL policy for information about agent releases and support dates. (https://docs.newrelic.com/docs/apm/agents/nodejs-agent/getting-started/nodejs-agent-eol-policy/)

v3.1.2

27 Jul 13:25
34afdc9
Compare
Choose a tag to compare
  • Updated types to be more specific for customOperationAttributes and customResolverAttributes.

Support statement:

We recommend updating to the latest agent version as soon as it's available. If you can't upgrade to the latest version, update your agents to a version no more than 90 days old. Read more about keeping agents up to date. (https://docs.newrelic.com/docs/new-relic-solutions/new-relic-one/install-configure/update-new-relic-agent/)

See the New Relic Node.js agent EOL policy for information about agent releases and support dates. (https://docs.newrelic.com/docs/apm/agents/nodejs-agent/getting-started/nodejs-agent-eol-policy/)

v3.1.1

26 Jul 20:04
6d622c6
Compare
Choose a tag to compare
  • Added captureFieldMetrics, customResolverAttributes, and customerOperationAttributes to the type file.

  • Updated CI to run against versions 16-20.

  • Bumped devDeps to fix CVEs.

Support statement:

We recommend updating to the latest agent version as soon as it's available. If you can't upgrade to the latest version, update your agents to a version no more than 90 days old. Read more about keeping agents up to date. (https://docs.newrelic.com/docs/new-relic-solutions/new-relic-one/install-configure/update-new-relic-agent/)

See the New Relic Node.js agent EOL policy for information about agent releases and support dates. (https://docs.newrelic.com/docs/apm/agents/nodejs-agent/getting-started/nodejs-agent-eol-policy/)