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

Sync fork #2

Merged
merged 458 commits into from
Oct 8, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
458 commits
Select commit Hold shift + click to select a range
1e9163d
Bump fast-xml-parser and @aws-sdk/client-lambda
dependabot[bot] Jun 26, 2023
1fd1fbf
Merge pull request #134 from newrelic/dependabot/npm_and_yarn/fast-xm…
bizob2828 Jun 26, 2023
ed42360
Bump protobufjs from 7.2.3 to 7.2.4
dependabot[bot] Jul 8, 2023
f7e254e
Merge pull request #137 from newrelic/dependabot/npm_and_yarn/protobu…
bizob2828 Jul 10, 2023
773c1e0
chore: added node 20 and drop node 14 in CI
bizob2828 Jul 11, 2023
ae1ae84
chore: fixed deps with CVEs
bizob2828 Jul 14, 2023
0bda51e
Merge pull request #142 from newrelic/dep-fixes
bizob2828 Jul 17, 2023
8477c1d
Merge pull request #138 from bizob2828/node-20
bizob2828 Jul 18, 2023
20cff41
test: skip Next.js 13.4.13 until we can fix the instrumentation
bizob2828 Aug 7, 2023
d8ead8c
Merge pull request #145 from newrelic/skip-next-tests
bizob2828 Aug 7, 2023
be57a00
fix: updated instrumentation to skip registering middleware instrumen…
bizob2828 Aug 8, 2023
8dccc31
Merge pull request #148 from bizob2828/fix-13-4-13
bizob2828 Aug 8, 2023
3195ae0
chore: removes skipping of tests on 13.4.13 and above
bizob2828 Aug 8, 2023
f1c46fd
Merge pull request #149 from bizob2828/remove-13-4-3-skip
bizob2828 Aug 8, 2023
ce9b1ec
chore: change node engine to 16
mkotamies Aug 9, 2023
5a352b1
Merge pull request #147 from mkotamies/change-engine-to-16
bizob2828 Aug 9, 2023
cef669f
Setting version to v0.6.0.
mrickard Aug 9, 2023
40f3af1
Adds auto-generated release notes.
mrickard Aug 9, 2023
94d6ae0
chore: Edited CHANGELOG.md
mrickard Aug 9, 2023
e57389e
Merge pull request #150 from newrelic/release/v0.6.0
bizob2828 Aug 9, 2023
8e7a0ac
test: update versioned test helper to handle next@13.4.15 changes
jmartin4563 Aug 14, 2023
cdf07ee
Merge pull request #153 from jmartin4563/update-start-server-helper
bizob2828 Aug 15, 2023
0e340cf
chore: update path for ritm
bizob2828 Aug 9, 2023
82933f7
remove slack link as it is decommissioned
nareshNishad Aug 10, 2023
ff9836f
Merge pull request #151 from nareshNishad/main
bizob2828 Aug 16, 2023
407ba0c
chore: updated peer dep to the unreleased version of agent that this …
bizob2828 Aug 16, 2023
d4336ae
chore: updated agent to latest
bizob2828 Aug 28, 2023
dbf82ba
Merge pull request #152 from newrelic/ritm-update
bizob2828 Aug 28, 2023
5189c41
Setting version to v0.7.0.
bizob2828 Aug 29, 2023
0ba1e03
Adds auto-generated release notes.
bizob2828 Aug 29, 2023
542abad
chore: changelog edits
bizob2828 Aug 29, 2023
223585c
Merge pull request #155 from newrelic/release/v0.7.0
bizob2828 Aug 29, 2023
54b6b4d
chore: updated @newrelic/test-utilities to latest
bizob2828 Aug 30, 2023
cc73472
Merge pull request #156 from bizob2828/main
bizob2828 Aug 30, 2023
870bcb1
chore(deps): bump @babel/traverse
dependabot[bot] Oct 17, 2023
8085bb6
Merge pull request #165 from newrelic/dependabot/npm_and_yarn/babel/t…
mrickard Oct 20, 2023
6020280
test: skip running Next 14+ versioned tests on Node 16 as support was…
bizob2828 Oct 27, 2023
4f2c259
Merge pull request #166 from bizob2828/skip-node-16
mrickard Oct 27, 2023
026d07f
fix: package.json & package-lock.json to reduce vulnerabilities
snyk-bot Oct 31, 2023
d311202
Merge pull request #168 from newrelic/snyk-fix-b2496d71343bcbd06bfe30…
mrickard Oct 31, 2023
8ee7903
chore(deps-dev): bump follow-redirects from 1.15.3 to 1.15.4
dependabot[bot] Jan 11, 2024
f45bbe4
Merge pull request #169 from newrelic/dependabot/npm_and_yarn/follow-…
mrickard Jan 11, 2024
ea15585
test: updated test assertions based on segment tree changes in 14.1.0…
bizob2828 Jan 19, 2024
ee09884
test: updated test assertions based on segment tree changes in 14.1.0…
bizob2828 Jan 19, 2024
ce04f9d
Merge pull request #170 from bizob2828/fix-tests
bizob2828 Jan 19, 2024
526e0a1
Merge remote-tracking branch 'upstream/main'
bizob2828 Feb 26, 2024
b43057e
refactor: Updated instrumentation to construct spec objects at instru…
bizob2828 Mar 7, 2024
fd27538
Merge pull request #174 from newrelic/update-specs
bizob2828 Mar 7, 2024
d8eecac
Setting version to v0.8.0.
Mar 12, 2024
b649296
Adds auto-generated release notes.
Mar 12, 2024
f622627
Update CHANGELOG.md
svetlanabrennan Mar 12, 2024
81e4079
Merge pull request #177 from newrelic/release/v0.8.0
svetlanabrennan Mar 12, 2024
b55d8e1
feat: Added a shim to externalize all 3rd party libraries the Node.js…
bizob2828 Mar 11, 2024
07f08de
feat: Added a test suite for App Router.
bizob2828 Oct 27, 2023
043679a
chore(deps-dev): bump follow-redirects from 1.15.5 to 1.15.6
dependabot[bot] Mar 17, 2024
3d104e2
Merge pull request #178 from newrelic/dependabot/npm_and_yarn/follow-…
svetlanabrennan Mar 18, 2024
9699c33
Merge pull request #176 from bizob2828/app-dir
bizob2828 Mar 19, 2024
35a5ec7
Merge pull request #175 from newrelic/externalize-libs
bizob2828 Mar 20, 2024
5e04f1d
chore: Updated CI process for releases (#183)
jsumners-nr Mar 28, 2024
8f225f3
chore: release v0.9.0 (#184)
github-actions[bot] Mar 28, 2024
d3a73fc
ci: removed changelog.json file (#185)
svetlanabrennan Apr 2, 2024
d761e5b
ci: Removed `use_new_release` input from prepare release workflow (#…
svetlanabrennan Apr 4, 2024
095d04f
test: Added targets for compatibility reporting (#187)
bizob2828 Apr 16, 2024
52f1989
chore: Enabled quiet mode for CI runs (#188)
jsumners-nr Apr 16, 2024
fa95515
docs: Updated targets to include minimum agent version for compatibil…
bizob2828 Apr 19, 2024
9695618
docs: Added FAQs to assist with common issues with next.js instrument…
bizob2828 Apr 26, 2024
b1d0497
chore: Made pre-commit hook require dependency changes (#191)
jsumners-nr Apr 30, 2024
34816c9
docs: updated FAQs and README with app router examples (#192)
bizob2828 May 3, 2024
3376bde
fix: add missing quotation mark in faq docs (#202)
alissonsleal Jun 6, 2024
1857804
chore(deps-dev): bump @grpc/grpc-js from 1.9.9 to 1.10.9 (#203)
dependabot[bot] Jun 11, 2024
522f8c3
chore(deps-dev): bump braces from 3.0.2 to 3.0.3 (#204)
dependabot[bot] Jun 12, 2024
7761a47
security(deps): bump ws (#206)
dependabot[bot] Jun 25, 2024
ed7daa2
chore: Added Node 22 to CI (#193)
bizob2828 Jun 26, 2024
0c4b476
chore: release v0.10.0 (#210)
github-actions[bot] Jun 28, 2024
6f2da7a
chore: Fixed copy paste error in post release workflow (#2329)
jsumners-nr Jul 8, 2024
7dab36d
fix: Pinned dependenices of node-gyp that dropped support for Node 16…
bizob2828 Jul 8, 2024
57a4dfb
fix: Refactored benchmark tests to complete async functions (#2334)
mrickard Jul 8, 2024
f8e2e8e
chore: Revert "fix: Pinned dependenices of node-gyp that dropped supp…
bizob2828 Jul 9, 2024
7069335
feat: Added support for account level governance of AI Monitoring (#2…
jsumners-nr Jul 9, 2024
fb55ac7
test: Fixed recordMiddlewawre benchmark test (#2338)
bizob2828 Jul 9, 2024
c7a1586
chore: release v11.23.0 (#2340)
github-actions[bot] Jul 10, 2024
5c9e3e6
docs: Updated compatibility report (#2342)
newrelic-node-agent-team Jul 10, 2024
39eb842
fix: Updated redis v4 instrumentation to work with transactions(multi…
bizob2828 Jul 11, 2024
3f3ad48
chore: release v11.23.1 (#2344)
github-actions[bot] Jul 11, 2024
f08adc3
docs: Updated compatibility report (#2345)
newrelic-node-agent-team Jul 11, 2024
b3f1ee3
chore: Always upload status logs in compat report CI (#2341)
jsumners-nr Jul 11, 2024
7d5368c
ci: Updated `bin/create-docs-pr` to create an empty array if changelo…
bizob2828 Jul 12, 2024
f85a385
ci: increase the limit of installs from 2 to a bigger number (#2346)
bizob2828 Jul 12, 2024
9ed8661
ci: Changed the default project idea for our org board (#2353)
bizob2828 Jul 15, 2024
fb03dbd
ci: Changed the default project idea for our org board (#2355)
bizob2828 Jul 15, 2024
3caf45a
ci: Updated board workflow to use new graphql calls to add items to p…
bizob2828 Jul 15, 2024
57005d7
ci: Fixed issue with obtaining node id for issues in add-to-board (#2…
bizob2828 Jul 15, 2024
2a2a65d
ci: Fixed syntax issue with parsing jq (#2362)
bizob2828 Jul 15, 2024
1b51a68
test: Updated benchmark test results to output result files (#2350)
mrickard Jul 15, 2024
4be870c
docs: Removed out of date ROADMAP_Node.md from root of project (#2367)
bizob2828 Jul 16, 2024
5084b06
refactor: consolidated adding issue/pr to board and assigning the app…
bizob2828 Jul 17, 2024
d16e258
refactor: fixed syntax error with add to board workflow (#2370)
bizob2828 Jul 17, 2024
5271110
chore: fix board refactor (#2371)
bizob2828 Jul 17, 2024
afd3ab4
ci: Added benchmark test GitHub Action (#2366)
mrickard Jul 17, 2024
1791a4e
feat: Added support for fs.glob in Node 22+ (#2369)
jsumners-nr Jul 17, 2024
d212b15
test: Removed server.start in grpc tests as it is deprecated and no l…
bizob2828 Jul 17, 2024
bab9a8b
fix: Updated cassandra-driver instrumentation to properly trace promi…
svetlanabrennan Jul 17, 2024
3723368
ci: Include date created when adding new issue/pr to board (#2374)
bizob2828 Jul 17, 2024
c6a822b
ci: Pin Node 22 to 22.4.1 (#2375)
bizob2828 Jul 18, 2024
751801b
fix: Updated aws-sdk v3 instrumentation to custom middleware last to …
bizob2828 Jul 22, 2024
b878930
chore: Reverted "ci: Pin Node 22 to 22.4.1" (#2383)
jsumners-nr Jul 22, 2024
fb964de
refactor: remove examples/api/ (#2381)
amychisholm03 Jul 22, 2024
9961ae0
chore: release v11.23.2 (#2391)
github-actions[bot] Jul 22, 2024
303aa99
docs: Updated compatibility report (#2392)
newrelic-node-agent-team Jul 22, 2024
16866da
chore: Updated dashboard links in developer-setup.md (#2397)
kmudduluru Jul 23, 2024
d22c368
refactor: Removed `Supportability/Features/ESM/UnsupportedLoader` as …
bizob2828 Jul 23, 2024
1870010
feat!: Dropped support for Node.js 16 (#2394)
bizob2828 Jul 23, 2024
a0ae32a
feat!: Updated `mongodb` instrumentation to drop support for versions…
bizob2828 Jul 24, 2024
ef8c006
test: Updated minimum version of lesser used versions of 3rd party li…
bizob2828 Jul 24, 2024
74176f7
chore: Verified MySQL host:port metric is recorded (#2400)
jsumners-nr Jul 24, 2024
1b355e7
feat!: Removed instrumentation for `director` (#2402)
bizob2828 Jul 24, 2024
cf514d9
chore: Add test configs for defined targets in the aws test suite (#2…
jsumners-nr Jul 24, 2024
321244c
feat!: Removed legacy context manager (#2404)
bizob2828 Jul 24, 2024
a53085d
docs: Updated compatibility report (#2401)
newrelic-node-agent-team Jul 24, 2024
e2c0a31
feat!: Removed support for `redis` < 2.6.0 (#2405)
bizob2828 Jul 24, 2024
b9f64b7
chore: Switch to using Node built-in test runner (#2387)
jsumners-nr Jul 25, 2024
bfdc9a5
Merge remote-tracking branch 'next-js/main' into merge-nextjs-instrum…
bizob2828 Jul 26, 2024
09636a4
feat: Added `server.address` to amqplib spans (#2406)
bizob2828 Jul 30, 2024
d0c3b96
refactor: Moved relevant nextjs instrumentation and rely on agent com…
bizob2828 Jul 26, 2024
2aa18b5
refactor: Migrated Next.js instrumentation into agent (#2409)
bizob2828 Jul 31, 2024
41c1cc6
chore: Added producer and consumer metrics to kafkajs instrumentation…
jsumners-nr Jul 31, 2024
aef69e2
chore: Updated `@newrelic/native-metrics` to 11.0.0
bizob2828 Jul 31, 2024
a163ee8
chore: Merge `next` branch (#2412)
bizob2828 Jul 31, 2024
e587b9d
test: Removed mongodb-esm tests as they are not atomic and conflictin…
bizob2828 Jul 31, 2024
941902f
test: Removed mongodb-esm tests as they are not atomic and conflictin…
bizob2828 Jul 31, 2024
42ed0b7
chore: release v12.0.0 (#2418)
github-actions[bot] Jul 31, 2024
0dfab8c
docs: Updated compatibility report (#2415)
newrelic-node-agent-team Jul 31, 2024
f7e8c58
docs: Updated examples to properly use specs (#2422)
bizob2828 Aug 1, 2024
599072b
fix: Pick log message from merging object in Pino instrumentation (#2…
jsumners-nr Aug 1, 2024
baa37ec
test: Updated custom test reporter to only log failed tests when ther…
bizob2828 Aug 1, 2024
9726e23
fix: typo in doc header (#2433)
brnhensley Aug 1, 2024
b32f793
chore: Converted agent unit tests to node:test (#2414)
jsumners-nr Aug 1, 2024
67a12e3
test: Restored mongodb-esm tests (#2434)
bizob2828 Aug 2, 2024
c7e34c4
docs: Updated compatibility report (#2435)
newrelic-node-agent-team Aug 2, 2024
578aead
chore: Added entity relationship attributes to SQS segments (#2436)
jsumners-nr Aug 2, 2024
7260fa3
test: Moved pkgVersion to collection-common to avoid a conflict with …
bizob2828 Aug 2, 2024
f1dd8e7
chore: Limited superagent tests to avoid new breaking release (#2439)
jsumners-nr Aug 5, 2024
5d617de
chore: Fixed mongodb-esm tests in combination with security agent (#2…
jsumners-nr Aug 7, 2024
32abe5f
docs: Updated compatibility report (#2440)
newrelic-node-agent-team Aug 7, 2024
3766895
chore: Remove promise resolvers from callback based agent unit tests …
jsumners-nr Aug 12, 2024
9a16b70
chore: Added TLS verification for Redis (#2446)
jsumners-nr Aug 12, 2024
ffd9b17
test: Updated tls redis tests to work with older versions of redis v4…
bizob2828 Aug 12, 2024
12cc92a
chore: release v12.1.0 (#2455)
github-actions[bot] Aug 12, 2024
41f33c8
docs: Updated compatibility report (#2452)
newrelic-node-agent-team Aug 12, 2024
37ce113
fix: Updated the `kafkajs` node metrics to remove `/Named` from the n…
bizob2828 Aug 13, 2024
b4b6a6b
chore: Removed limit on superagent versioned testing (#2456)
jsumners-nr Aug 13, 2024
a4570e9
docs: Updated compatibility report (#2460)
newrelic-node-agent-team Aug 13, 2024
81fdde1
refactor: Updated pino instrumentation to separate the wrapping of as…
bizob2828 Aug 14, 2024
2b67623
fix: Updated redis instrumentation to parse host/port when a url is n…
bizob2828 Aug 14, 2024
91636a8
fix: Updated amqplib instrumentation to properly parse host/port from…
bizob2828 Aug 14, 2024
c6a04c0
chore: release v12.1.1 (#2472)
github-actions[bot] Aug 15, 2024
1ad8532
docs: Updated compatibility report (#2474)
newrelic-node-agent-team Aug 15, 2024
373cf0d
test: Skip `@koa/router@13.0.0` because of failures (#2478)
bizob2828 Aug 16, 2024
c2b8879
docs: Updated compatibility report (#2480)
newrelic-node-agent-team Aug 16, 2024
06a4c2f
feat: Added instrumentation support for Express 5 beta (#2476)
bizob2828 Aug 16, 2024
8740539
docs: Remove reference to @newrelic/next in README (#2479)
jamiepenney Aug 16, 2024
6160ea0
docs: Updated compatibility report (#2483)
newrelic-node-agent-team Aug 16, 2024
9bbc41c
chore: Reverted to upstream require-in-the-middle (#2473)
jsumners-nr Aug 16, 2024
fd2d76f
chore: Updated aggregators unit tests to node:test (#2481)
jsumners-nr Aug 16, 2024
0c2ee2f
fix: Updated koa instrumentation to properly get the matched route na…
bizob2828 Aug 16, 2024
c0a5e64
docs: Updated compatibility report (#2487)
newrelic-node-agent-team Aug 16, 2024
8b9363b
chore: release v12.2.0 (#2492)
github-actions[bot] Aug 19, 2024
12fbe56
ci: Updated codecov action sha to post coverage from forks. Added fl…
bizob2828 Aug 19, 2024
5e04c76
chore: Updated test-utils dependency and added matrix-count only (#2494)
jsumners-nr Aug 19, 2024
40d1f5c
chore: Remove examples/shim (#2484)
amychisholm03 Aug 19, 2024
c395779
chore: Fixed linting scripts (#2497)
jsumners-nr Aug 20, 2024
5e8b260
fix: Improved AWS Lambda event detection (#2498)
jsumners-nr Aug 21, 2024
0448927
docs: Updated compatibility report (#2493)
newrelic-node-agent-team Aug 22, 2024
57e6be9
feat: Added new API method `withLlmCustomAttributes` to run a functio…
MikeVaz Aug 22, 2024
9363eb0
chore: Converted context-manager unit tests to node:test (#2508)
jsumners-nr Aug 22, 2024
ab91576
test: Converted the api unit tests to `node:test` (#2516)
bizob2828 Aug 27, 2024
1ee83c2
chore: release v12.3.0 (#2522)
github-actions[bot] Aug 27, 2024
4b34f3d
docs: cleaned up formatting of api.js to properly inject example snip…
bizob2828 Aug 27, 2024
29784ea
docs: Updated compatibility report (#2523)
newrelic-node-agent-team Aug 27, 2024
bea4548
test: Convert db unit tests to node:test (#2514)
amychisholm03 Aug 27, 2024
1534a73
chore: Convert `config` to `node:test` (#2517)
amychisholm03 Aug 28, 2024
8184c56
test: Replace distributed tracing tests with `node:test` (#2527)
amychisholm03 Aug 30, 2024
c207e1e
test: Convert grpc, lib, and utilization tests to `node:test` (#2532)
amychisholm03 Aug 30, 2024
6553807
docs: Updated Next.js Otel cloud provider FAQ (#2537)
bizob2828 Sep 3, 2024
f004ebf
docs: Updated formatting of cloud-providers.md (#2538)
bizob2828 Sep 3, 2024
51e7f34
chore: Added a match function for tests (#2541)
jsumners-nr Sep 4, 2024
adfeebc
fix: Fixed detection of REST API type payloads in AWS Lambda (#2543)
jsumners-nr Sep 4, 2024
ab64cb4
chore: release v12.3.1 (#2544)
github-actions[bot] Sep 4, 2024
a0d1d18
docs: Updated compatibility report (#2545)
newrelic-node-agent-team Sep 4, 2024
47b8398
test: Migrated tests in `test/unit/instrumentation` to use `node:test…
bizob2828 Sep 4, 2024
762511b
chore: Converted collector unit tests to node:test (#2510)
jsumners-nr Sep 4, 2024
ebfa2e9
test: Converted `llm-events` tests to use `node:test` (#2535)
amychisholm03 Sep 4, 2024
468943a
chore: Added CI for publishing agent as Azure site extension (#2488)
mrickard Sep 6, 2024
ae82760
chore: Converted errors unit tests to node:test (#2540)
jsumners-nr Sep 6, 2024
a56c4e1
feat: Added Azure site extension installation scripts (#2448)
svetlanabrennan Sep 6, 2024
0b07be8
test: Migrated `test/unit/util` to use `node:test` (#2546)
bizob2828 Sep 9, 2024
4d421f0
chore: Disable express@5 in versioned tests (#2553)
jsumners-nr Sep 10, 2024
44edd0c
docs: Updated compatibility report (#2554)
newrelic-node-agent-team Sep 10, 2024
252f3b2
feat: Added support for `express@5` (#2555)
bizob2828 Sep 10, 2024
9319071
test: Migrated `test/unit/spans` to use `node:test` (#2556)
bizob2828 Sep 10, 2024
abfb9f0
feat: Provided ability to disable instrumentation for a 3rd party pac…
bizob2828 Sep 10, 2024
d534ba6
fix: Nuget pack generates packagName.semver and not packageName-semve…
mrickard Sep 10, 2024
8ff0ef3
chore: Document emitted events (#2561)
jsumners-nr Sep 11, 2024
3b26efb
chore: release v12.4.0 (#2560)
github-actions[bot] Sep 11, 2024
8f7aebe
docs: Updated compatibility report (#2562)
newrelic-node-agent-team Sep 11, 2024
7ae4af4
test: Convert `metric` and `metrics-recorder` tests to `node:test` (#…
amychisholm03 Sep 11, 2024
a30aed5
fix: Ensured README displays for Azure site extension (#2564)
mrickard Sep 12, 2024
619f23c
chore: Updated serverless unit tests to node:test (#2549)
jsumners-nr Sep 12, 2024
6f92073
feat: Added utilization info for ECS (#2565)
jsumners-nr Sep 12, 2024
d2917c9
chore: release v12.5.0 (#2567)
github-actions[bot] Sep 12, 2024
2f7a5f0
docs: Updated compatibility report (#2568)
newrelic-node-agent-team Sep 12, 2024
f44a99b
chore: Reduce koa-router version to enable CI (#2573)
jsumners-nr Sep 13, 2024
5e6825b
docs: Updated compatibility report (#2574)
newrelic-node-agent-team Sep 16, 2024
5cd1d8a
chore: Migrate block of unit tests to `node:test` (#2570)
jsumners-nr Sep 16, 2024
943a83e
chore: Migrate second block of unit tests to `node:test` (#2572)
jsumners-nr Sep 16, 2024
e8ae942
ci: Added workflow run trigger to Azure site extension publish job (#…
mrickard Sep 16, 2024
0db6599
test: Removed transitive deps from versioned tests as they will auto-…
bizob2828 Sep 16, 2024
a28e2e6
test: Updated koa-router to tests to handle bug fixes from 13.0.1 (#2…
bizob2828 Sep 16, 2024
c997af6
test: Updated a missing `minSupported` in aws-sdk-v3 versioned tests …
bizob2828 Sep 17, 2024
1a5bcd5
docs: Updated compatibility report (#2581)
newrelic-node-agent-team Sep 17, 2024
3766ed6
chore: Removed noisy test log (#2583)
jsumners-nr Sep 17, 2024
a5a1526
test: Updated fastify versioned tests to work with `fastify@5.0.0` (#…
bizob2828 Sep 17, 2024
608dd98
test: Fixed @koa/router tests. path-to-regex differs between @koa/rou…
bizob2828 Sep 18, 2024
ddeb097
test: Updated how we handle the koa-router nuance of wildcard routes …
bizob2828 Sep 18, 2024
2f45a4a
docs: Updated compatibility report (#2589)
newrelic-node-agent-team Sep 18, 2024
d169546
test: Convert transaction* and urltils tests to `node:test` (#2585)
amychisholm03 Sep 19, 2024
92e6978
chore(deps): Udpated @newrelic/security-agent to v2.0.0 (#2594)
sumitsuthar Sep 20, 2024
de3c266
fix: Fixed handling of Pino merging object (#2600)
jsumners-nr Sep 23, 2024
444e48b
chore: release v12.5.1 (#2602)
github-actions[bot] Sep 23, 2024
6d4d49e
chore: Migrate block of unit tests to node:test (#2593)
jsumners-nr Sep 23, 2024
7cdfbf7
docs: Updated compatibility report (#2601)
newrelic-node-agent-team Sep 23, 2024
8d1acff
test: Migrated `test/unit/shim` to `node:test` (#2599)
bizob2828 Sep 23, 2024
bd2f1a5
test: Migrated `test/versioned/express` to `node:test` (#2609)
bizob2828 Sep 24, 2024
e33807b
chore: Migrate block of unit tests to `node:test` (#2607)
jsumners-nr Sep 24, 2024
cd90ce1
chore: Migrate block of unit tests to node:test (#2604)
jsumners-nr Sep 24, 2024
935ac14
test: Updated tests that relied on `tspl` by awating the `plan.comple…
bizob2828 Sep 24, 2024
7bdada6
test: Migrated `test/versioned/amqplib` to `node:test` (#2612)
bizob2828 Sep 25, 2024
16be714
test: Updated the mininum version of pg-native in pg-esm tests to ali…
bizob2828 Sep 27, 2024
9ad476a
chore: Upgraded `import-in-the-middle` to work around a bug introduce…
bizob2828 Sep 30, 2024
362f0d7
docs: Updated compatibility report (#2614)
newrelic-node-agent-team Sep 30, 2024
e0dc015
test: Migrated `aws-sdk-v2` and `aws-sdk-v3` tests to `node:test` (#2…
bizob2828 Oct 1, 2024
386f546
test: Migrated last group of unit tests to `node:test` (#2624)
bizob2828 Oct 1, 2024
86231b7
test: Migrated unit tests to `node:test` (#2623)
bizob2828 Oct 2, 2024
41002cd
docs: Remove SECURITY.md (#2633)
vaughnw128 Oct 4, 2024
c37abe5
docs: Updated match custom-assertion jsdoc (#2636)
bizob2828 Oct 4, 2024
6e28fad
test: Migrated bluebird versioned tests to `node:test` (#2635)
bizob2828 Oct 4, 2024
7e34062
docs: Updated compatibility report (#2637)
newrelic-node-agent-team Oct 4, 2024
b522477
chore: Migrate `fastify` tests to `node:test` (#2632)
jsumners-nr Oct 4, 2024
fcf28bf
docs: Updated compatibility report (#2638)
newrelic-node-agent-team Oct 4, 2024
69c1ab8
chore: Migrate `bunyan`, `pino`, and `winston` tests to `node:test` (…
jsumners-nr Oct 8, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
6 changes: 5 additions & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,11 @@ module.exports = {
parserOptions: {
ecmaVersion: 2022
},
ignorePatterns: ['test/versioned-external'],
ignorePatterns: [
'test/versioned-external',
'test/versioned/nextjs/app',
'test/versioned/nextjs/app-dir'
],
overrides: [
{
files: ['**/*.mjs'],
Expand Down
78 changes: 78 additions & 0 deletions .github/workflows/azure-site-extension.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,78 @@
name: Azure Site Extension

on:
workflow_dispatch:
workflow_run:
workflows: ["Create Release"]
types:
- completed

env:
SPEC_FILE_TEMPLATE: 'NewRelic.Azure.WebSites.Extension.NodeAgent.nuspec'

jobs:
create_extension_bundle:
runs-on: windows-latest
if:
(github.event.workflow_run && github.event.workflow_run.conclusion == 'success') ||
(github.event_name == 'workflow_dispatch')

strategy:
matrix:
node-version: ['lts/*']
arch: [ x64 ]

steps:
- uses: actions/checkout@v4

- name: Setup dotnet '6.0.x'
uses: actions/setup-dotnet@v4
with:
dotnet-version: '6.0.x'

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
architecture: ${{ matrix.arch }}

- name: Find agent version
run: |
$env:npm_agent_version = npm view newrelic version
echo "AGENT_VERSION=$env:npm_agent_version" | Out-File -FilePath $env:GITHUB_ENV -Append

- name: Set package filename
run: |
echo "PACKAGE_FILENAME=NewRelic.Azure.WebSites.Extension.NodeAgent.${{env.AGENT_VERSION}}" | Out-File -FilePath $env:GITHUB_ENV -Append

- name: Verify environment vars # because we can't access GH env vars until the next step
run: |
echo "Agent version: ${{ env.AGENT_VERSION }}"
echo "Package filename: ${{ env.PACKAGE_FILENAME }}"

- name: Install agent
working-directory: cloud-tooling/azure-site-extension/Content
run: |
npm i --prefix . newrelic@${{ env.AGENT_VERSION }}
echo "Agent installed"

- name: Configure package files
working-directory: cloud-tooling/azure-site-extension
run: |
(Get-Content ${{ env.SPEC_FILE_TEMPLATE }}).Replace('{VERSION}', "${{ env.AGENT_VERSION }}") | Set-Content ${{ env.PACKAGE_FILENAME }}.nuspec

- name: Create bundle
working-directory: cloud-tooling/azure-site-extension
run: nuget pack "${{ env.PACKAGE_FILENAME }}.nuspec"

# This step is for us to check what's going to be published
- name: Archive package for verification
uses: actions/upload-artifact@v4
with:
name: azure-site-extension-test-${{ env.PACKAGE_FILENAME }}
path: cloud-tooling/azure-site-extension/${{ env.PACKAGE_FILENAME }}.nupkg

- name: Publish site extension
working-directory: cloud-tooling/azure-site-extension
run: |
dotnet nuget push "${{ env.PACKAGE_FILENAME }}.nupkg" --api-key ${{ secrets.NUGET_API_KEY }} --source ${{ secrets.NUGET_SOURCE }}
38 changes: 38 additions & 0 deletions .github/workflows/benchmark-tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: Benchmark Tests

on:
workflow_dispatch:
schedule:
- cron: '0 10 * * 1'

env:
# Enable versioned runner quiet mode to make CI output easier to read:
OUTPUT_MODE: quiet

jobs:
benchmarks:
runs-on: ubuntu-latest

strategy:
fail-fast: false
matrix:
node-version: [18.x, 20.x, 22.x]

steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- name: Install Dependencies
run: npm install
- name: Run Benchmark Tests
run: node ./bin/run-bench.js --filename=${{ github.base_ref || 'main' }}_${{ matrix.node-version }}
- name: Verify Benchmark Output
run: ls benchmark_results
- name: Archive Benchmark Test
uses: actions/upload-artifact@v4
with:
name: benchmark-tests-${{ github.base_ref || 'main' }}-${{ matrix.node-version }}
path: ./benchmark_results

100 changes: 84 additions & 16 deletions .github/workflows/board.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ on:
inputs:
project_id:
description: Id of Project in GitHub
default: 5864688 # Node.js Engineering Board https://github.com/orgs/newrelic/projects/41
default: 105 # Node.js Engineering Board https://github.com/orgs/newrelic/projects/105
required: false
type: number
type: number
todo_column:
description: Name of the To-Do column in project
default: 'Triage Needed: Unprioritized Features'
Expand All @@ -42,29 +42,97 @@ on:

jobs:
assign_to_project:
if: github.event_name == 'pull_request_target' || github.event_name == 'issues'
env:
# Cannot use `secrets.GITHUB_TOKEN` because the project board
# exists at org level. You cannot add permissions outside the scope
# of the given repo
GITHUB_TOKEN: ${{ secrets.gh_token }}
PROJECT_ID: ${{ inputs.project_id }}
HEADER: "Accept: application/vnd.github.inertia-preview+json"
TODO_COL_NAME: ${{ inputs.todo_column}}
PR_COL_NAME: ${{ inputs.pr_column }}
runs-on: ubuntu-latest
name: Assign Issues and/or PRs to Project
steps:
- name: Assign PR to Project
if: github.event_name == 'pull_request_target'
- name: Get project information
run: |
PR_ID=${{ github.event.pull_request.id }}
COLUMN=$(gh api -H "$HEADER" projects/$PROJECT_ID/columns --jq ".[] | select(.name == \"$COLUMN_NAME\").id")
gh api -H "$HEADER" -X POST projects/columns/$COLUMN/cards -f content_type='PullRequest' -F content_id=$PR_ID
env:
COLUMN_NAME: ${{ inputs.pr_column}}
- name: Assign Issue to Project
if: github.event_name == 'issues'
gh api graphql -f query='
query($org: String!, $number: Int!) {
organization(login: $org){
projectV2(number: $number) {
id
fields(first:20) {
nodes {
... on ProjectV2Field {
id
name
}
... on ProjectV2SingleSelectField {
id
name
options {
id
name
}
}
}
}
}
}
}' -f org=newrelic -F number=$PROJECT_ID > project_data.json
# Save the values of project id, status field id and the todo and needs pr column ids
echo 'PROJECT_ID='$(jq '.data.organization.projectV2.id' project_data.json) >> $GITHUB_ENV
echo 'DATE_FIELD_ID='$(jq '.data.organization.projectV2.fields.nodes[] | select(.name== "Date created") | .id' project_data.json) >> $GITHUB_ENV
echo 'STATUS_FIELD_ID='$(jq '.data.organization.projectV2.fields.nodes[] | select(.name== "Status") | .id' project_data.json) >> $GITHUB_ENV
echo 'TODO_OPTION_ID='$(jq -r --arg TODO_COL_NAME "$TODO_COL_NAME" '.data.organization.projectV2.fields.nodes[] | select(.name== "Status") | .options[] | select(.name==$TODO_COL_NAME) |.id' project_data.json) >> $GITHUB_ENV
echo 'PR_OPTION_ID='$(jq -r --arg PR_COL_NAME "$PR_COL_NAME" '.data.organization.projectV2.fields.nodes[] | select(.name== "Status") | .options[] | select(.name==$PR_COL_NAME) |.id' project_data.json) >> $GITHUB_ENV
echo 'DATE='$(date +"%Y-%m-%d") >> $GITHUB_ENV
- name: Assign Issue/PR to Project
run: |
ISSUE_ID=${{ github.event.issue.id }}
COLUMN=$(gh api -H "$HEADER" projects/$PROJECT_ID/columns --jq ".[] | select(.name == \"$COLUMN_NAME\").id")
gh api -H "$HEADER" -X POST projects/columns/$COLUMN/cards -f content_type='Issue' -F content_id=$ISSUE_ID
# Add Issue/PR to board depending on event type
item_id="$( gh api graphql -f query='
mutation($project:ID!, $id:ID!) {
addProjectV2ItemById(input: {projectId: $project, contentId: $id}) {
item {
id
}
}
}' -f project=$PROJECT_ID -f id=$ISSUE_OR_PR_ID --jq '.data.addProjectV2ItemById.item.id')"
# Update the status to Triage Needed/Needs PR Review depending on event type
# and update the date so it shows on top of column
gh api graphql -f query='
mutation (
$project: ID!
$item: ID!
$status_field: ID!
$status_value: String!
$date_field: ID!
$date_value: Date!
) {
set_status: updateProjectV2ItemFieldValue(input: {
projectId: $project
itemId: $item
fieldId: $status_field
value: {
singleSelectOptionId: $status_value
}
}) {
projectV2Item {
id
}
}
set_date_posted: updateProjectV2ItemFieldValue(input: {
projectId: $project
itemId: $item
fieldId: $date_field
value: {
date: $date_value
}
}) {
projectV2Item {
id
}
}
}' -f project=$PROJECT_ID -f item=$item_id -f status_field=$STATUS_FIELD_ID -f status_value=${{ github.event_name == 'pull_request_target' && env.PR_OPTION_ID || env.TODO_OPTION_ID }} -f date_field=$DATE_FIELD_ID -f date_value=$DATE --silent
env:
COLUMN_NAME: ${{ inputs.todo_column}}
ISSUE_OR_PR_ID: ${{ github.event_name == 'pull_request_target' && github.event.pull_request.node_id || github.event.issue.node_id }}
32 changes: 21 additions & 11 deletions .github/workflows/ci-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ jobs:
strategy:
fail-fast: false
matrix:
node-version: [16.x, 18.x, 20.x, 22.x]
node-version: [18.x, 20.x, 22.x]

steps:
- uses: actions/checkout@v4
Expand Down Expand Up @@ -130,7 +130,7 @@ jobs:
strategy:
fail-fast: false
matrix:
node-version: [16.x, 18.x, 20.x, 22.x]
node-version: [18.x, 20.x, 22.x]

steps:
- uses: actions/checkout@v4
Expand Down Expand Up @@ -166,7 +166,7 @@ jobs:
strategy:
fail-fast: false
matrix:
node-version: [16.x, 18.x, 20.x, 22.x]
node-version: [18.x, 20.x, 22.x]

steps:
- uses: actions/checkout@v4
Expand Down Expand Up @@ -217,7 +217,7 @@ jobs:
strategy:
fail-fast: false
matrix:
node-version: [16.x, 18.x, 20.x, 22.x]
node-version: [18.x, 20.x, 22.x]

steps:
- uses: actions/checkout@v4
Expand All @@ -240,27 +240,37 @@ jobs:

strategy:
matrix:
node-version: [16.x, 18.x, 20.x, 22.x]
node-version: [18.x, 20.x, 22.x]

steps:
- uses: actions/checkout@v4
- name: Download artifacts
uses: actions/download-artifact@v4
- name: Post Unit Test Coverage
uses: codecov/codecov-action@125fc84a9a348dbcf27191600683ec096ec9021c
uses: codecov/codecov-action@e28ff129e5465c2c0dcc6f003fc735cb6ae0c673
with:
fail_ci_if_error: true
token: ${{ secrets.CODECOV_TOKEN }}
directory: unit-tests-${{ matrix.node-version }}
flags: unit-tests-${{ matrix.node-version }}
- name: Post Integration Test Coverage
uses: codecov/codecov-action@125fc84a9a348dbcf27191600683ec096ec9021c
- name: Post Integration CJS Test Coverage
uses: codecov/codecov-action@e28ff129e5465c2c0dcc6f003fc735cb6ae0c673
with:
fail_ci_if_error: true
token: ${{ secrets.CODECOV_TOKEN }}
directory: integration-tests-${{ matrix.node-version }}
flags: integration-tests-${{ matrix.node-version }}
directory: integration-tests-cjs-${{ matrix.node-version }}
flags: integration-tests-cjs-${{ matrix.node-version }}
- name: Post Integration ESM Test Coverage
uses: codecov/codecov-action@e28ff129e5465c2c0dcc6f003fc735cb6ae0c673
with:
fail_ci_if_error: true
token: ${{ secrets.CODECOV_TOKEN }}
directory: integration-tests-esm-${{ matrix.node-version }}
flags: integration-tests-esm-${{ matrix.node-version }}
- name: Post Versioned Test Coverage
uses: codecov/codecov-action@125fc84a9a348dbcf27191600683ec096ec9021c
uses: codecov/codecov-action@e28ff129e5465c2c0dcc6f003fc735cb6ae0c673
with:
fail_ci_if_error: true
token: ${{ secrets.CODECOV_TOKEN }}
directory: versioned-tests-${{ matrix.node-version }}
flags: versioned-tests-${{ matrix.node-version }}
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/compatibility-report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ jobs:

# Upload generated artifacts for potential debugging purposes.
- uses: actions/upload-artifact@v4
if: always()
with:
name: status.log
path: status.log
Expand Down Expand Up @@ -95,6 +96,7 @@ jobs:

# Upload generated artifacts for potential debugging purposes.
- uses: actions/upload-artifact@v4
if: always()
with:
name: docs-status.log
path: docs-status.log
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/post-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:
if:
(github.event.workflow_run && github.event.workflow_run.conclusion == 'success') ||
(github.event_name == 'workflow_dispatch' &&
(inputs.repo_target == 'local' || inputs.repo_target == 'both'))
(inputs.repo_target == 'docs' || inputs.repo_target == 'both'))
steps:
- uses: actions/checkout@v4
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/smoke-test-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:

strategy:
matrix:
node-version: [16.x, 18.x, 20.x, 22.x]
node-version: [18.x, 20.x, 22.x]

steps:
- uses: actions/checkout@v4
Expand Down
Loading
Loading