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

Adding support to Node 11 and Node 12 #276

Closed
wants to merge 1 commit into from

Conversation

jhkersul
Copy link

CHANGE LOG

Changed the support version on package.json to support Node 11 and Node 12.

New Relic code is completely compatible with Node 12.

@lykkin
Copy link
Contributor

lykkin commented May 2, 2019

Hey @jhkersul, thanks for the PR!

Even though the agent may be compatible with the newer versions of node at a syntactic level, we would like to be 100% sure that no incompatibilities were introduced in the new versions (e.g. new features that require instrumentation, subtle functionality changes to existing API, etc) before we claim that the agent supports those versions. We are going to do a full audit of the new versions in the near future.

All that said, if you are using the agent with no issues, I encourage you to continue to do so!

@lykkin lykkin closed this May 2, 2019
@alexashley
Copy link

@lykkin Any update on Node 12 compatibility? We use some dependencies that require Node 12, so right now we're turning off the engine check with yarn in order to use NR.

Are there any code or test changes that I could make to help?

@lykkin
Copy link
Contributor

lykkin commented May 21, 2019

@alexashley, thanks for the check in! I'm planning on doing a full API audit for v11 and v12 tomorrow, and I'll have a more concrete update then.

Based on a cursory glance, I would be concerned about how the agent reacts with worker threads and if there are any new async methods in core since v10 (also, the agent will be unable to auto-instrument any modules being loaded through ES6 modules, but that's still behind a flag for the time being). If you have an enumeration of new async endpoints, that'd help a lot. If you want to write some tests or instrumentation for the new endpoints, that'd be ideal. If you end up going down that path, let me know what I can do to help out.

@alexashley
Copy link

any new async methods in core since v10

I'll make a pass through the release notes, but I think these are the only two:

I wrote a script to diff the module documentation and those were the only async methods I saw in the output.

@callumlocke
Copy link

Any news on this? It's a major blocker for our project. I don't want to disable yarn's engines enforcement for all our deps just because newrelic still isn't '100% sure' about supporting the current version of Node 🙃

@michaelgoin
Copy link
Member

Hi,

We've decided to open up the engines restriction for those who want to make use of the agent in Node 11 & 12 prior to official support. This has not yet shipped but should land in the next couple releases.

We've created this issue #279 to keep track of any known issues discovered prior to official support, which is on our roadmap.

bizob2828 added a commit to bizob2828/node-newrelic that referenced this pull request Apr 19, 2024
bizob2828 added a commit to bizob2828/node-newrelic that referenced this pull request Apr 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants