Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: Updated compatibility report to set colum headers, support collection of targets, default to markdown as output report #9

Merged
merged 1 commit into from
Apr 23, 2024

Conversation

bizob2828
Copy link
Member

@bizob2828 bizob2828 commented Apr 22, 2024

I refactored report to assign column headers to align with existing compatibility report. I also updated logic to rely on targets being a collection with name and minAgentVersion. Lastly, defaulted output to be markdown.

To test

go build
./nrversions

The output will be

Instrumented Modules

After installation, the agent automatically instruments with our catalog of supported Node.js libraries and frameworks. This gives you immediate access to granular information specific to your web apps and servers. For unsupported frameworks or libraries, you'll need to instrument the agent yourself using the Node.js agent API.

Note: The latest supported version may not reflect the most recent supported version.

Package Name Minimum Supported Version Latest Supported Version Minimum Agent Version*
@apollo/gateway 2.3.0 2.7.4 @newrelic/apollo-server-plugin@1.0.0
@apollo/server 4.0.0 4.10.4 @newrelic/apollo-server-plugin@2.1.0
@elastic/elasticsearch 7.16.0 8.13.1 11.9.0
@grpc/grpc-js 1.4.0 1.10.6 8.17.0
@hapi/hapi 20.1.2 21.3.9 9.0.0
@koa/router 2.0.0 12.0.1 3.2.0
@langchain/core 0.1.17 0.1.58 11.13.0
@nestjs/cli 8.0.0 10.3.2 10.1.0
@prisma/client 5.0.0 5.12.1 11.0.0
amqplib 0.5.0 0.10.4 2.0.0
apollo-server 2.14.0 3.13.0 @newrelic/apollo-server-plugin@1.0.0
apollo-server-express 2.14.0 3.13.0 @newrelic/apollo-server-plugin@1.0.0
apollo-server-fastify 2.14.0 3.13.0 @newrelic/apollo-server-plugin@1.0.0
apollo-server-hapi 3.0.0 3.13.0 @newrelic/apollo-server-plugin@1.0.0
apollo-server-koa 2.14.0 3.13.0 @newrelic/apollo-server-plugin@1.0.0
apollo-server-lambda 2.14.0 3.13.0 @newrelic/apollo-server-plugin@1.0.0
bluebird 2.0.0 3.7.2 1.27.0
bunyan 1.8.12 1.8.15 9.3.0
cassandra-driver 3.4.0 4.7.2 1.7.1
connect 2.0.0 3.7.0 2.6.0
director 1.2.0 1.2.8 2.0.0
express 4.6.0 4.19.2 2.6.0
fastify 2.0.0 4.26.2 8.5.0
generic-pool 2.4.0 3.9.0 0.9.0
ioredis 3.0.0 5.4.1 1.26.2
koa 2.0.0 2.15.3 3.2.0
koa-route 2.0.0 4.0.1 3.2.0
koa-router 2.0.0 12.0.1 3.2.0
mongodb 2.1.0 6.5.0 1.32.0
mysql 2.2.0 2.18.1 1.32.0
mysql2 1.3.1 3.9.7 1.32.0
next 13.0.0 14.2.2 @newrelic/next@0.7.0
openai 4.0.0 4.38.3 11.13.0
pg 8.2.0 8.11.5 9.0.0
pg-native 2.0.0 3.0.1 9.0.0
pino 7.0.0 8.20.0 8.11.0
redis 2.0.0 4.6.13 1.31.0
restify 5.0.0 11.1.0 2.6.0
superagent 2.0.0 8.1.2 4.9.0
undici 4.7.0 6.14.0 11.1.0
winston 3.0.0 3.13.0 8.11.0

*When package is not specified, support is within the newrelic package.

Links

Closes newrelic/node-newrelic#2102

…collection of targets, default to markdown as output report
Copy link
Contributor

@jsumners-nr jsumners-nr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me.

@jsumners-nr jsumners-nr merged commit f1e5a9c into main Apr 23, 2024
2 checks passed
@jsumners-nr jsumners-nr deleted the report-refactor branch April 23, 2024 13:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

Add script to generate compatibility report
2 participants