Releases: newrelic/newrelic-node-apollo-server-plugin
v7.0.0
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
to6.0.0
.
- In
Miscellaneous chores
Tests
- Migrated
apollo-federation
versioned tests tonode: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
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
v6.0.0 (2024-07-31)
⚠ BREAKING CHANGES
- Dropped support for Node.js 16
- Updated minimum test version of
apollo-server
andapollo-server-express
to 3.0.0. Removed testing againstapollo-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
andapollo-server-express
to 3.0.0. Removed testing againstapollo-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
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
- Add targets for compatibility package parsing (#297) (2ac8553)
- Added Node 22 to CI (#301) (57922a3)
- Updated minimum versions of dev dependencies.(#290) (8b77476)(#291) (2eb3183)(#306) (82fa6da)(#307) (6d1ac62)(#309) (533628d)
- Enabled quiet mode for CI runs (#298) (d190a9a)
- Made pre-commit hook require dependency changes (#300) (cd1869b)
- Removed outdated Slack reference (#303) (abfb3ed)
Tests
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
Code refactoring
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
v5.0.0 (2024-01-16)
⚠ BREAKING CHANGES
- Removed
GraphQL/typedResolve/ApolloServer/<parentType>.<resolver>
in lieu of including the inGraphQL/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 inGraphQL/resolve/ApolloServer/<parentType>.<resolver>
metrics (#285) (4411798)
Documentation
Miscellaneous chores
- deps-dev: bump follow-redirects from 1.15.3 to 1.15.4 (#284) (fe8c7c7)
- Bumps follow-redirects from 1.15.3 to 1.15.4. - Release notes - Commits
Continuous integration
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
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
- 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
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
- Updated types to be more specific for
customOperationAttributes
andcustomResolverAttributes
.
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
-
Added
captureFieldMetrics
,customResolverAttributes
, andcustomerOperationAttributes
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/)