Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: newrelic/node-newrelic
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v11.15.0
Choose a base ref
...
head repository: newrelic/node-newrelic
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v11.16.0
Choose a head ref

Commits on Feb 22, 2018

  1. add README.md

    Peter Svetlichny committed Feb 22, 2018
    Copy the full SHA
    fbadb19 View commit details
  2. Initial set-up

    Peter Svetlichny committed Feb 22, 2018
    Copy the full SHA
    082902d View commit details
  3. Add .eslintignore, CONTRIBUTING, LICENSE

    Peter Svetlichny committed Feb 22, 2018
    Copy the full SHA
    458edc7 View commit details

Commits on Feb 23, 2018

  1. chore(npm): address PR comments

    Peter Svetlichny committed Feb 23, 2018
    Copy the full SHA
    530fa71 View commit details
  2. chore(eslint): update rules

    Peter Svetlichny committed Feb 23, 2018
    Copy the full SHA
    55d01bb View commit details
  3. chore(npm): update package.json

    Peter Svetlichny committed Feb 23, 2018
    Copy the full SHA
    f4fb44a View commit details
  4. chore(npm): update module name

    Peter Svetlichny committed Feb 23, 2018
    Copy the full SHA
    ff4ef7a View commit details
  5. chore(npm): add .npmignore

    Peter Svetlichny committed Feb 23, 2018
    Copy the full SHA
    a69fb37 View commit details
  6. add .travis.yml

    Peter Svetlichny committed Feb 23, 2018
    Copy the full SHA
    8183536 View commit details
  7. chore(npm): add versioned script

    Peter Svetlichny committed Feb 23, 2018
    Copy the full SHA
    d650c81 View commit details
  8. chore(npm): add package-lock.json to npmignore

    Peter Svetlichny committed Feb 23, 2018
    Copy the full SHA
    04db88b View commit details
  9. chore(npm): remove tests from npmignore

    Peter Svetlichny committed Feb 23, 2018
    Copy the full SHA
    97ee9f9 View commit details
  10. feat(index): initial index.js set-up

    Peter Svetlichny committed Feb 23, 2018
    Copy the full SHA
    4a14372 View commit details
  11. feat(lib): add koa instrumentation

    Peter Svetlichny committed Feb 23, 2018
    Copy the full SHA
    4e95e3d View commit details
  12. Merge pull request #1 from newrelic/psvet/set-up

    NODE-1687 Initial set-up
    NatalieWolfe authored Feb 23, 2018
    Copy the full SHA
    67f7423 View commit details
  13. test(versioned): add koa instrumentation tests

    Peter Svetlichny committed Feb 23, 2018
    Copy the full SHA
    d5734b8 View commit details
  14. chore(eslint): eslint updates

    Peter Svetlichny committed Feb 23, 2018
    Copy the full SHA
    9b16dda View commit details
  15. chore(npm): add newrelic as dev dep

    Peter Svetlichny committed Feb 23, 2018
    Copy the full SHA
    47c492e View commit details
  16. chore(npm): update test-utilities dep version

    Peter Svetlichny committed Feb 23, 2018
    Copy the full SHA
    2cfd87f View commit details
  17. chore(npm): update test-utilities dep version

    Peter Svetlichny committed Feb 23, 2018
    Copy the full SHA
    4ea6b23 View commit details
  18. chore(eslint): update rules; add test rules

    Peter Svetlichny committed Feb 23, 2018
    Copy the full SHA
    ed73871 View commit details
  19. refactor(index): don't export initialize

    Peter Svetlichny committed Feb 23, 2018
    Copy the full SHA
    d9a0f84 View commit details
  20. feat(lib): wrap emit on koa prototype

    Peter Svetlichny committed Feb 23, 2018
    Copy the full SHA
    7a3aad9 View commit details
  21. test(koa): update tests per PR comments

    Peter Svetlichny committed Feb 23, 2018
    Copy the full SHA
    13b76e9 View commit details
  22. test(koa): add instrumentation unit test

    Peter Svetlichny committed Feb 23, 2018
    Copy the full SHA
    8c3fe46 View commit details

Commits on Feb 27, 2018

  1. chore(npm): remove tests/ from npmignore

    Peter Svetlichny committed Feb 27, 2018
    Copy the full SHA
    03c6744 View commit details
  2. chore(npm): bump newrelic dep version

    Peter Svetlichny committed Feb 27, 2018
    Copy the full SHA
    fc01888 View commit details

Commits on Feb 28, 2018

  1. tests(versioned): update test manifests and assertions

    Peter Svetlichny committed Feb 28, 2018
    Copy the full SHA
    e362ceb View commit details
  2. chore(npm): add coveralls dep

    Peter Svetlichny committed Feb 28, 2018
    Copy the full SHA
    bd1ffdc View commit details
  3. chore(README): add coveralls badge

    psvet authored and Peter Svetlichny committed Feb 28, 2018
    Copy the full SHA
    bad9f03 View commit details

Commits on Mar 1, 2018

  1. Merge pull request #4 from newrelic/psvet/coveralls

    NODE-1700 Add coveralls
    lykkin authored Mar 1, 2018
    Copy the full SHA
    364b6f1 View commit details

Commits on Mar 2, 2018

  1. Merge pull request #3 from newrelic/psvet/instrumentation

    NODE-1688 Add Koa instrumentation
    lykkin authored Mar 2, 2018
    Copy the full SHA
    d9c3eac View commit details
  2. added koa-router instrumentation

    Bryan Clement committed Mar 2, 2018
    Copy the full SHA
    12f6c2e View commit details

Commits on Mar 7, 2018

  1. fixed nested router test to reflect reality

    Bryan Clement committed Mar 7, 2018
    Copy the full SHA
    d9c19d0 View commit details
  2. linting

    Bryan Clement committed Mar 7, 2018
    Copy the full SHA
    6c799a2 View commit details
  3. updated koa tests for the createContext wrapper

    Bryan Clement committed Mar 7, 2018
    Copy the full SHA
    4b6d5e6 View commit details
  4. more linting

    Bryan Clement committed Mar 7, 2018
    Copy the full SHA
    3231455 View commit details

Commits on Mar 8, 2018

  1. addressed pr comments

    Bryan Clement committed Mar 8, 2018
    Copy the full SHA
    9af6794 View commit details

Commits on Mar 12, 2018

  1. updated router tests

    Bryan Clement committed Mar 12, 2018
    Copy the full SHA
    b5a19cb View commit details

Commits on Mar 13, 2018

  1. enabled versioned testing for koa-router

    Bryan Clement committed Mar 13, 2018
    Copy the full SHA
    e1d5c70 View commit details
  2. updated package.json to pull down latest agent

    Bryan Clement committed Mar 13, 2018
    Copy the full SHA
    2dae5c9 View commit details
  3. node can't detect the middleware name before v6

    Bryan Clement committed Mar 13, 2018
    Copy the full SHA
    3fe2c69 View commit details
  4. Merge pull request #5 from newrelic/bclement/route-instrumentation

    Bclement/route instrumentation
    psvet authored Mar 13, 2018
    Copy the full SHA
    1ef91b1 View commit details

Commits on Mar 15, 2018

  1. fix(lib): redefine ctx.response.body instead of ctx.body

    Peter Svetlichny committed Mar 15, 2018
    Copy the full SHA
    5885154 View commit details
  2. test(lib): add response body assertions

    Peter Svetlichny committed Mar 15, 2018
    Copy the full SHA
    5739020 View commit details
  3. Merge pull request #6 from newrelic/psvet/body-fix

    NODE-1716 Fix response body wrapping
    lykkin authored Mar 15, 2018
    Copy the full SHA
    6893c72 View commit details
  4. chore: add NEWS.md

    Peter Svetlichny committed Mar 15, 2018
    Copy the full SHA
    00cf3ee View commit details
  5. 1.0.1

    Peter Svetlichny committed Mar 15, 2018
    Copy the full SHA
    c9aff78 View commit details

Commits on Mar 22, 2018

  1. fix(lib): check prototype shape before instrumenting

    Peter Svetlichny committed Mar 22, 2018
    Copy the full SHA
    6a38d1c View commit details
  2. test(koa): add v1 test

    Peter Svetlichny committed Mar 22, 2018
    Copy the full SHA
    d0bb36a View commit details
Showing with 18,132 additions and 3,356 deletions.
  1. +14 −2 .github/workflows/ci-workflow.yml
  2. +3 −0 .github/workflows/smoke-test-workflow.yml
  3. +4 −0 .github/workflows/versioned-coverage.yml
  4. +5 −1 .github/workflows/versioned-security-agent.yml
  5. +62 −32 NEWS.md
  6. +650 −708 THIRD_PARTY_NOTICES.md
  7. +20 −0 api.js
  8. +9 −5 bin/run-versioned-tests.sh
  9. +18 −1 changelog.json
  10. +2 −6 examples/shim/Context-Preservation.md
  11. +3 −9 examples/shim/Datastore-Simple.md
  12. +1 −3 examples/shim/Instrumentation-Basics.md
  13. +5 −15 examples/shim/Messaging-Simple.md
  14. +4 −9 examples/shim/Webframework-Simple.md
  15. +1 −0 jsdoc-conf.jsonc
  16. +2 −1 lib/collector/serverless.js
  17. +17 −0 lib/instrumentation-tracker.js
  18. +3 −2 lib/instrumentation/amqplib/nr-hooks.js
  19. +29 −0 lib/instrumentation/aws-sdk/nr-hooks.js
  20. +38 −0 lib/instrumentation/aws-sdk/util.js
  21. +105 −0 lib/instrumentation/aws-sdk/v2/core.js
  22. +103 −0 lib/instrumentation/aws-sdk/v2/dynamodb.js
  23. +31 −0 lib/instrumentation/aws-sdk/v2/instrumentation-helper.js
  24. +34 −0 lib/instrumentation/aws-sdk/v2/instrumentation.js
  25. +42 −0 lib/instrumentation/aws-sdk/v2/sns.js
  26. +50 −0 lib/instrumentation/aws-sdk/v2/sqs.js
  27. +301 −0 lib/instrumentation/aws-sdk/v3/bedrock.js
  28. +101 −0 lib/instrumentation/aws-sdk/v3/common.js
  29. +92 −0 lib/instrumentation/aws-sdk/v3/dynamodb.js
  30. +65 −0 lib/instrumentation/aws-sdk/v3/smithy-client.js
  31. +74 −0 lib/instrumentation/aws-sdk/v3/sns.js
  32. +70 −0 lib/instrumentation/aws-sdk/v3/sqs.js
  33. +1 −1 lib/instrumentation/fastify.js
  34. +2 −2 lib/instrumentation/grpc-js/grpc.js
  35. +4 −3 lib/instrumentation/grpc-js/nr-hooks.js
  36. +9 −0 lib/instrumentation/http-methods.js
  37. +197 −0 lib/instrumentation/koa/instrumentation.js
  38. +35 −0 lib/instrumentation/koa/nr-hooks.js
  39. +33 −0 lib/instrumentation/koa/route-instrumentation.js
  40. +120 −0 lib/instrumentation/koa/router-instrumentation.js
  41. +5 −4 lib/instrumentation/langchain/nr-hooks.js
  42. +4 −3 lib/instrumentation/mysql/nr-hooks.js
  43. +2 −1 lib/instrumentation/pino/nr-hooks.js
  44. +68 −0 lib/instrumentation/superagent.js
  45. +2 −1 lib/instrumentation/when/nr-hooks.js
  46. +19 −18 lib/instrumentations.js
  47. +137 −0 lib/llm-events/aws-bedrock/bedrock-command.js
  48. +152 −0 lib/llm-events/aws-bedrock/bedrock-response.js
  49. +77 −0 lib/llm-events/aws-bedrock/chat-completion-message.js
  50. +42 −0 lib/llm-events/aws-bedrock/chat-completion-summary.js
  51. +36 −0 lib/llm-events/aws-bedrock/embedding.js
  52. +29 −0 lib/llm-events/aws-bedrock/error.js
  53. +97 −0 lib/llm-events/aws-bedrock/event.js
  54. +17 −0 lib/llm-events/aws-bedrock/index.js
  55. +281 −0 lib/llm-events/aws-bedrock/stream-handler.js
  56. +4 −0 lib/metrics/names.js
  57. +7 −4 lib/shim/shim.js
  58. +17 −0 lib/shimmer.js
  59. +4 −0 lib/symbols.js
  60. +6 −0 lib/transaction/index.js
  61. +28 −0 lib/util/is-absolute-path.js
  62. +4,165 −2,217 package-lock.json
  63. +13 −5 package.json
  64. +2 −1 test/integration/agent/serverless-harvest.tap.js
  65. +27 −0 test/integration/issue-2155/foo.cjs
  66. +61 −0 test/integration/issue-2155/test.tap.mjs
  67. +11 −5 test/lib/agent_helper.js
  68. +257 −0 test/lib/aws-server-stubs/ai-server/index.js
  69. +171 −0 test/lib/aws-server-stubs/ai-server/responses/ai21.js
  70. +171 −0 test/lib/aws-server-stubs/ai-server/responses/amazon.js
  71. +95 −0 test/lib/aws-server-stubs/ai-server/responses/claude.js
  72. +144 −0 test/lib/aws-server-stubs/ai-server/responses/cohere.js
  73. +12 −0 test/lib/aws-server-stubs/ai-server/responses/constants.js
  74. +20 −0 test/lib/aws-server-stubs/ai-server/responses/index.js
  75. +84 −0 test/lib/aws-server-stubs/ai-server/responses/llama2.js
  76. +27 −0 test/lib/aws-server-stubs/common.js
  77. +48 −0 test/lib/aws-server-stubs/empty-response-server/index.js
  78. +22 −0 test/lib/aws-server-stubs/index.js
  79. +34 −0 test/lib/aws-server-stubs/response-server/common.js
  80. +28 −0 test/lib/aws-server-stubs/response-server/elasticache/index.js
  81. +9 −0 test/lib/aws-server-stubs/response-server/elasticache/responses/add-tags-response.xml
  82. +97 −0 test/lib/aws-server-stubs/response-server/index.js
  83. +28 −0 test/lib/aws-server-stubs/response-server/redshift/index.js
  84. +9 −0 test/lib/aws-server-stubs/response-server/redshift/responses/accept-exchange-response.xml
  85. +28 −0 test/lib/aws-server-stubs/response-server/ses/index.js
  86. +8 −0 test/lib/aws-server-stubs/response-server/ses/responses/send-email-response.xml
  87. +48 −0 test/lib/aws-server-stubs/response-server/sns/index.js
  88. +12 −0 test/lib/aws-server-stubs/response-server/sns/responses/list-topics-response.xml
  89. +9 −0 test/lib/aws-server-stubs/response-server/sns/responses/publish-message-response.xml
  90. +40 −0 test/lib/aws-server-stubs/response-server/sqs/index.js
  91. +27 −0 test/lib/aws-server-stubs/response-server/sqs/responses/create-queue-response.js
  92. +65 −0 test/lib/aws-server-stubs/response-server/sqs/responses/receive-message-response.js
  93. +47 −0 test/lib/aws-server-stubs/response-server/sqs/responses/send-message-batch-response.js
  94. +28 −0 test/lib/aws-server-stubs/response-server/sqs/responses/send-message-response.js
  95. +55 −0 test/lib/cache-buster.js
  96. +77 −0 test/smoke/client-s3.tap.js
  97. +72 −0 test/smoke/s3-presigned-url.tap.js
  98. +58 −0 test/unit/api/api-ignore-apdex.test.js
  99. +5 −5 test/unit/api/api-instrument-loaded-module.test.js
  100. +6 −1 test/unit/api/stub.test.js
  101. +2 −5 test/unit/config/config-location.test.js
  102. +97 −0 test/unit/instrumentation/aws-sdk/util.test.js
  103. +94 −0 test/unit/instrumentation/koa/instrumentation.test.js
  104. +41 −0 test/unit/instrumentation/koa/koa.test.js
  105. 0 test/{versioned/restify/restify-post-7 → unit/instrumentation/koa}/newrelic.js
  106. +37 −0 test/unit/instrumentation/koa/route.test.js
  107. +130 −0 test/unit/instrumentation/koa/router.test.js
  108. +25 −0 test/unit/instrumentation/superagent/newrelic.js
  109. +45 −0 test/unit/instrumentation/superagent/superagent.test.js
  110. +24 −0 test/unit/is-absolute-path.test.js
  111. +240 −0 test/unit/llm-events/aws-bedrock/bedrock-command.test.js
  112. +231 −0 test/unit/llm-events/aws-bedrock/bedrock-response.test.js
  113. +153 −0 test/unit/llm-events/aws-bedrock/chat-completion-message.test.js
  114. +142 −0 test/unit/llm-events/aws-bedrock/chat-completion-summary.test.js
  115. +25 −0 test/unit/llm-events/aws-bedrock/clone.js
  116. +84 −0 test/unit/llm-events/aws-bedrock/embedding.test.js
  117. +56 −0 test/unit/llm-events/aws-bedrock/error.test.js
  118. +80 −0 test/unit/llm-events/aws-bedrock/event.test.js
  119. +296 −0 test/unit/llm-events/aws-bedrock/stream-handler.test.js
  120. +8 −0 test/unit/transaction.test.js
  121. +0 −15 test/versioned-external/external-repos.js
  122. +119 −0 test/versioned/Readme.md
  123. +2 −5 test/versioned/amqplib/callback.tap.js
  124. +1 −0 test/versioned/amqplib/package.json
  125. +2 −5 test/versioned/amqplib/promises.tap.js
  126. +100 −0 test/versioned/aws-sdk-v2/amazon-dax-client.tap.js
  127. +117 −0 test/versioned/aws-sdk-v2/aws-sdk.tap.js
  128. +251 −0 test/versioned/aws-sdk-v2/dynamodb.tap.js
  129. +257 −0 test/versioned/aws-sdk-v2/http-services.tap.js
  130. +42 −0 test/versioned/aws-sdk-v2/instrumentation-supported.tap.js
  131. +42 −0 test/versioned/aws-sdk-v2/instrumentation-unsupported.tap.js
  132. 0 test/versioned/{restify/restify-pre-7 → aws-sdk-v2}/newrelic.js
  133. +59 −0 test/versioned/aws-sdk-v2/package.json
  134. +121 −0 test/versioned/aws-sdk-v2/s3.tap.js
  135. +96 −0 test/versioned/aws-sdk-v2/sns.tap.js
  136. +247 −0 test/versioned/aws-sdk-v2/sqs.tap.js
  137. +64 −0 test/versioned/aws-sdk-v3/api-gateway.tap.js
  138. +620 −0 test/versioned/aws-sdk-v3/bedrock-chat-completions.tap.js
  139. +266 −0 test/versioned/aws-sdk-v3/bedrock-embeddings.tap.js
  140. +76 −0 test/versioned/aws-sdk-v3/bedrock-negative-tests.tap.js
  141. +319 −0 test/versioned/aws-sdk-v3/client-dynamodb.tap.js
  142. +150 −0 test/versioned/aws-sdk-v3/common.js
  143. +59 −0 test/versioned/aws-sdk-v3/elasticache.tap.js
  144. +62 −0 test/versioned/aws-sdk-v3/elb.tap.js
  145. +58 −0 test/versioned/aws-sdk-v3/lambda.tap.js
  146. +260 −0 test/versioned/aws-sdk-v3/lib-dynamodb.tap.js
  147. +25 −0 test/versioned/aws-sdk-v3/newrelic.js
  148. +217 −0 test/versioned/aws-sdk-v3/package.json
  149. +58 −0 test/versioned/aws-sdk-v3/rds.tap.js
  150. +53 −0 test/versioned/aws-sdk-v3/redshift.tap.js
  151. +64 −0 test/versioned/aws-sdk-v3/rekognition.tap.js
  152. +69 −0 test/versioned/aws-sdk-v3/s3.tap.js
  153. +54 −0 test/versioned/aws-sdk-v3/ses.tap.js
  154. +255 −0 test/versioned/aws-sdk-v3/sns.tap.js
  155. +189 −0 test/versioned/aws-sdk-v3/sqs.tap.js
  156. +3 −2 test/versioned/bluebird/package.json
  157. +2 −5 test/versioned/bunyan/bunyan.tap.js
  158. +1 −0 test/versioned/bunyan/package.json
  159. +1 −0 test/versioned/cassandra-driver/package.json
  160. +1 −0 test/versioned/connect/package.json
  161. +2 −1 test/versioned/director/package.json
  162. +3 −0 test/versioned/elastic/package.json
  163. +0 −2 test/versioned/esm-package/parse-json-instrumentation.mjs
  164. +1 −0 test/versioned/express-esm/package.json
  165. +1 −0 test/versioned/express/package.json
  166. +36 −2 test/versioned/express/render.tap.js
  167. +1 −0 test/versioned/fastify/package.json
  168. +1 −0 test/versioned/generic-pool/package.json
  169. +1 −0 test/versioned/grpc-esm/package.json
  170. +2 −5 test/versioned/grpc/client-bidi-streaming.tap.js
  171. +2 −5 test/versioned/grpc/client-server-streaming.tap.js
  172. +2 −5 test/versioned/grpc/client-streaming.tap.js
  173. +2 −5 test/versioned/grpc/client-unary.tap.js
  174. +1 −0 test/versioned/grpc/package.json
  175. +2 −5 test/versioned/grpc/server-bidi-streaming.tap.js
  176. +2 −5 test/versioned/grpc/server-client-streaming.tap.js
  177. +2 −5 test/versioned/grpc/server-streaming.tap.js
  178. +2 −5 test/versioned/grpc/server-unary.tap.js
  179. +1 −0 test/versioned/hapi/package.json
  180. +2 −8 test/versioned/ioredis/ioredis-3.tap.js
  181. +2 −1 test/versioned/ioredis/package.json
  182. +262 −0 test/versioned/koa/code-level-metrics.tap.js
  183. +197 −0 test/versioned/koa/koa-route.tap.js
  184. +7 −0 test/versioned/koa/koa-router.tap.js
  185. +408 −0 test/versioned/koa/koa.tap.js
  186. +25 −0 test/versioned/koa/newrelic.js
  187. +85 −0 test/versioned/koa/package.json
  188. +887 −0 test/versioned/koa/router-common.js
  189. +7 −0 test/versioned/koa/scoped-koa-router.tap.js
  190. +19 −0 test/versioned/koa/utils.js
  191. +1 −0 test/versioned/langchain/package.json
  192. +2 −5 test/versioned/langchain/runnables-streaming.tap.js
  193. +2 −5 test/versioned/langchain/runnables.tap.js
  194. +3 −5 test/versioned/langchain/tools.tap.js
  195. +2 −10 test/versioned/langchain/vectorstore.tap.js
  196. +1 −0 test/versioned/mongodb-esm/package.json
  197. +1 −0 test/versioned/mongodb/package.json
  198. +3 −5 test/versioned/mysql/helpers.js
  199. +1 −0 test/versioned/mysql/package.json
  200. +1 −0 test/versioned/mysql2/package.json
  201. +2 −5 test/versioned/nestjs/nest.tap.js
  202. +1 −0 test/versioned/nestjs/package.json
  203. +1 −0 test/versioned/openai/package.json
  204. +5 −4 test/versioned/pg-esm/package.json
  205. +5 −4 test/versioned/pg/package.json
  206. +1 −0 test/versioned/pino/package.json
  207. +2 −5 test/versioned/pino/pino.tap.js
  208. +1 −0 test/versioned/prisma/package.json
  209. +3 −2 test/versioned/redis/package.json
  210. +2 −5 test/versioned/redis/redis-v4.tap.js
  211. +2 −2 test/versioned/restify/{restify-post-7 → }/async-handlers.tap.js
  212. +3 −3 test/versioned/restify/{restify-post-7 → }/capture-params.tap.js
  213. +1 −1 test/versioned/restify/{restify-post-7 → }/common.js
  214. +2 −2 test/versioned/restify/{restify-post-7 → }/ignoring.tap.js
  215. +25 −0 test/versioned/restify/newrelic.js
  216. +20 −4 test/versioned/restify/{restify-post-7 → }/package.json
  217. 0 test/versioned/restify/{restify-pre-7 → pre-7}/capture-params.tap.js
  218. 0 test/versioned/restify/{restify-pre-7 → pre-7}/ignoring.tap.js
  219. +25 −0 test/versioned/restify/pre-7/newrelic.js
  220. 0 test/versioned/restify/{restify-pre-7 → pre-7}/restify.tap.js
  221. 0 test/versioned/restify/{restify-pre-7 → pre-7}/router.tap.js
  222. 0 test/versioned/restify/{restify-post-7 → pre-7}/rum.tap.js
  223. 0 test/versioned/restify/{restify-pre-7 → pre-7}/transaction-naming.tap.js
  224. +0 −29 test/versioned/restify/restify-pre-7/package.json
  225. +2 −2 test/versioned/restify/{restify-post-7 → }/restify.tap.js
  226. +1 −1 test/versioned/restify/{restify-post-7 → }/router.tap.js
  227. +2 −2 test/versioned/restify/{restify-pre-7 → }/rum.tap.js
  228. +1 −1 test/versioned/restify/{restify-post-7 → }/transaction-naming.tap.js
  229. +1 −1 test/versioned/restify/{restify-post-7 → }/with-express.tap.js
  230. +52 −0 test/versioned/superagent/async-await.tap.js
  231. +25 −0 test/versioned/superagent/newrelic.js
  232. +21 −0 test/versioned/superagent/package.json
  233. +81 −0 test/versioned/superagent/superagent.tap.js
  234. +1 −0 test/versioned/undici/package.json
  235. +3 −2 test/versioned/winston-esm/package.json
  236. +14 −1 test/versioned/winston-esm/winston.tap.mjs
  237. +2 −1 test/versioned/winston/package.json
  238. +2 −5 test/versioned/winston/winston.tap.js
  239. +136 −88 third_party_manifest.json
16 changes: 14 additions & 2 deletions .github/workflows/ci-workflow.yml
Original file line number Diff line number Diff line change
@@ -2,7 +2,9 @@ name: Node Agent CI

on: [push, pull_request, workflow_dispatch]


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

jobs:
skip_if_release:
@@ -92,6 +94,9 @@ jobs:
if: needs.skip_if_release.outputs.should_skip != 'true'
runs-on: ubuntu-latest

env:
NODE_NO_WARNINGS: 1

strategy:
fail-fast: false
matrix:
@@ -109,11 +114,18 @@ jobs:
run: npm run services
- name: Run Integration Tests
run: npm run integration
- name: Run ESM Integration Tests
run: npm run integration:esm
- name: Archive Integration Test Coverage
uses: actions/upload-artifact@v3
with:
name: integration-tests-${{ matrix.node-version }}
path: ./coverage/integration/lcov.info
- name: Archive Integration (ESM) Test Coverage
uses: actions/upload-artifact@v3
with:
name: integration-tests-${{ matrix.node-version }}
path: ./coverage/integration-esm/lcov.info

versioned-internal:
needs: skip_if_release
@@ -161,7 +173,7 @@ jobs:
with:
name: logs-${{ matrix.node-version }}.tgz
path: ./logs-${{ matrix.node-version }}.tgz

# There is no coverage for external as that's tracked in their respective repos
versioned-external:
needs: skip_if_release
3 changes: 3 additions & 0 deletions .github/workflows/smoke-test-workflow.yml
Original file line number Diff line number Diff line change
@@ -32,3 +32,6 @@ jobs:
TEST_LICENSE: ${{ secrets.TEST_LICENSE }}
LASP_LICENSE: ${{ secrets.LASP_LICENSE }}
LASP_SECURE_LICENSE: ${{ secrets.LASP_SECURE_LICENSE }}
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}

4 changes: 4 additions & 0 deletions .github/workflows/versioned-coverage.yml
Original file line number Diff line number Diff line change
@@ -7,6 +7,10 @@ on:
schedule:
- cron: '0 9 * * 1-5'

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

jobs:
legacy-context:
runs-on: ubuntu-latest
6 changes: 5 additions & 1 deletion .github/workflows/versioned-security-agent.yml
Original file line number Diff line number Diff line change
@@ -25,6 +25,10 @@ on:
branches:
- main

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

jobs:
should_run:
# Used to determine if the `@newrelic/security-agent` dependency has
@@ -52,7 +56,7 @@ jobs:
current_val=$(cat package.json | jq -r --arg pkg "@newrelic/security-agent" '.dependencies[$pkg]')
echo "current_val=${current_val}" >> $GITHUB_OUTPUT
git checkout origin/${{github.base_ref}}
git checkout origin/${{github.base_ref || 'main'}}
previous_val=$(cat package.json | jq -r --arg pkg "@newrelic/security-agent" '.dependencies[$pkg]')
echo "previous_val=${previous_val}" >> $GITHUB_OUTPUT
94 changes: 62 additions & 32 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,35 +1,65 @@
### v11.15.0 (2024-04-09)

#### Bug fixes

* Fixed instrumenting the same module installed in different locations ([#2104](https://github.com/newrelic/node-newrelic/pull/2104)) ([88bdace](https://github.com/newrelic/node-newrelic/commit/88bdace6489c7d258ed3200f1550367f35824bc1))

#### Code refactoring

* **mongodb:** Removed instrumentation that handles connecting via unix domain socket. ([#2129](https://github.com/newrelic/node-newrelic/pull/2129)) ([808323f](https://github.com/newrelic/node-newrelic/commit/808323f0832952870fd1e94474b3fd3e0ab1b8c4))
* Updated shim classes to no longer construct specs. ([#2096](https://github.com/newrelic/node-newrelic/pull/2096)) ([158c295](https://github.com/newrelic/node-newrelic/commit/158c29566f6a5993ec77f84aeaa266ceab0bf4f0))

#### Miscellaneous chores

* **deps-dev:** Bumped express from 4.18.2 to 4.19.2 ([#2101](https://github.com/newrelic/node-newrelic/pull/2101)) ([639cb78](https://github.com/newrelic/node-newrelic/commit/639cb785dff7568ad227091512013c2dfb81e5f9))
* **deps:** Updated @newrelic/security-agent to v1.1.1 ([#2092](https://github.com/newrelic/node-newrelic/pull/2092)) ([3272aa3](https://github.com/newrelic/node-newrelic/commit/3272aa3da2260ce18c71c24608ffdda512ca6817))
* Fixed incorrect pinning of @elastic/transport ([#2120](https://github.com/newrelic/node-newrelic/pull/2120)) ([7b5bdaa](https://github.com/newrelic/node-newrelic/commit/7b5bdaac1b1081636636cd7ca7c6b484f5251f76))
* Removed scrollbar styling in generated API docs ([#2091](https://github.com/newrelic/node-newrelic/pull/2091)) ([cb0fa11](https://github.com/newrelic/node-newrelic/commit/cb0fa11c81290bb93cb30e974fdb1ece82a1e80e))
* Removed transaction_id and legacy token count attributes from llm events for openai and langchain ([#2093](https://github.com/newrelic/node-newrelic/pull/2093)) ([df2a0fd](https://github.com/newrelic/node-newrelic/commit/df2a0fd7c99a7bbf024c1e33c7fdff512b45c970))

#### Tests

* Updated test/integration/core/dns reverse test to remove flakiness ([#2121](https://github.com/newrelic/node-newrelic/pull/2121)) ([c32cb27](https://github.com/newrelic/node-newrelic/commit/c32cb2739ece3adcf5bd42e646071b3f59e691ba))
* Updated elastic tests to skip broken version ([#2119](https://github.com/newrelic/node-newrelic/pull/2119)) ([5d0d1bb](https://github.com/newrelic/node-newrelic/commit/5d0d1bb4994b41d43ab9b4eb110fea036ac307bc))

#### Continuous integration

* Removed usage of `use_new_release` from prepare release workflow ([#2124](https://github.com/newrelic/node-newrelic/pull/2124)) ([007ddb4](https://github.com/newrelic/node-newrelic/commit/007ddb4dce6cf5ab463a1868fe4cfa203d3e9ff2))
* Updated `prepare-release.js` to not require changelog.json ([#2106](https://github.com/newrelic/node-newrelic/pull/2106)) ([328a570](https://github.com/newrelic/node-newrelic/commit/328a570bbe9f359d23a21317ccd8a8bc52b473b4))
* Updated prepare release to provide a drop down for release type ([#2133](https://github.com/newrelic/node-newrelic/pull/2133)) ([846269b](https://github.com/newrelic/node-newrelic/commit/846269bb256f287c5fb9be32bdb62e9786e3cfe4))
* Updated versioned security agent workflow ([#2100](https://github.com/newrelic/node-newrelic/pull/2100)) ([f787b15](https://github.com/newrelic/node-newrelic/commit/f787b15f94c416d547af1ab4b2d7c31665b417b7))
* Fixed typo in constant name for prepare release script ([#2094](https://github.com/newrelic/node-newrelic/pull/2094)) ([3b887d9](https://github.com/newrelic/node-newrelic/commit/3b887d96c70a2cc5e3833cdc8b65de99b643f7a1))

### v11.16.0 (2024-04-29)

#### Features

* Added API `ignoreApdex` to ignore calculating apdex for the active transaction ([#2166](https://github.com/newrelic/node-newrelic/pull/2166)) ([cb21d2c](https://github.com/newrelic/node-newrelic/commit/cb21d2c95e5bb0de7e16535ecd4b2f5a77dc6fb7))

#### Bug fixes

* Fixed issue with CJS being imported as ESM ([#2168](https://github.com/newrelic/node-newrelic/pull/2168)) ([9a14cb0](https://github.com/newrelic/node-newrelic/commit/9a14cb02dce5bfbe7830aaa25d71edb38447250b))

#### Security improvements

* **deps:** bump formidable and superagent ([#2162](https://github.com/newrelic/node-newrelic/pull/2162)) ([260f16b](https://github.com/newrelic/node-newrelic/commit/260f16bba6822cfadbf8648bba38a1013b2d19de))

#### Documentation

* Fixed images in markdown tutorials ([#2153](https://github.com/newrelic/node-newrelic/pull/2153)) ([ef14948](https://github.com/newrelic/node-newrelic/commit/ef14948a0068e21d7c5aa569b8f2862f07a7f941))
* Includes api.js in jsdoc generation ([#2139](https://github.com/newrelic/node-newrelic/pull/2139)) ([3883348](https://github.com/newrelic/node-newrelic/commit/3883348bd0aab54efdbb5e876a4e4c867f5df2e3))

#### Miscellaneous chores

* Migrated @newrelic/superagent into agent repo ([#2141](https://github.com/newrelic/node-newrelic/pull/2141))
* Migrated @newrelic/aws-sdk into agent repo ([#2161](https://github.com/newrelic/node-newrelic/pull/2161)) ([a9eb593](https://github.com/newrelic/node-newrelic/commit/a9eb593c1a6b44b770de92c1b2ca2acdf8e2f222))
* Migrated @newrelic/koa into mainline agent repo ([#2148](https://github.com/newrelic/node-newrelic/pull/2148)) ([33af646](https://github.com/newrelic/node-newrelic/commit/33af646878994d7f12d3cb42680e21410b34322f))
* Removed repetitive cache busting ([#2160](https://github.com/newrelic/node-newrelic/pull/2160)) ([5ac870e](https://github.com/newrelic/node-newrelic/commit/5ac870e7a75ba791060dfaffd49cfa400d60e910))
* Updated instrumentation to use type constants instead of raw strings ([#2165](https://github.com/newrelic/node-newrelic/pull/2165)) ([c5b42cd](https://github.com/newrelic/node-newrelic/commit/c5b42cd7b2df6bb1054a589ad666890550a01d43))
* Updated versioned tests readme ([#2159](https://github.com/newrelic/node-newrelic/pull/2159)) ([a957304](https://github.com/newrelic/node-newrelic/commit/a9573041f44462d6ccb287f7dccf672f54b0d7b3))
* Updated versioned tests to support upcoming tooling ([#2147](https://github.com/newrelic/node-newrelic/pull/2147)) ([38e47d9](https://github.com/newrelic/node-newrelic/commit/38e47d9d7ffadbea3103c77686e031c4cf954d2c))
* Updated versioned tests to use quiet output mode ([#2145](https://github.com/newrelic/node-newrelic/pull/2145)) ([63a5ddc](https://github.com/newrelic/node-newrelic/commit/63a5ddcb6c0040918189db17ee236007dba9f993))

### v11.15.0 (2024-04-09)

#### Bug fixes

* Fixed instrumenting the same module installed in different locations ([#2104](https://github.com/newrelic/node-newrelic/pull/2104)) ([88bdace](https://github.com/newrelic/node-newrelic/commit/88bdace6489c7d258ed3200f1550367f35824bc1))

#### Code refactoring

* **mongodb:** Removed instrumentation that handles connecting via unix domain socket. ([#2129](https://github.com/newrelic/node-newrelic/pull/2129)) ([808323f](https://github.com/newrelic/node-newrelic/commit/808323f0832952870fd1e94474b3fd3e0ab1b8c4))
* Updated shim classes to no longer construct specs. ([#2096](https://github.com/newrelic/node-newrelic/pull/2096)) ([158c295](https://github.com/newrelic/node-newrelic/commit/158c29566f6a5993ec77f84aeaa266ceab0bf4f0))

#### Miscellaneous chores

* **deps-dev:** Bumped express from 4.18.2 to 4.19.2 ([#2101](https://github.com/newrelic/node-newrelic/pull/2101)) ([639cb78](https://github.com/newrelic/node-newrelic/commit/639cb785dff7568ad227091512013c2dfb81e5f9))
* **deps:** Updated @newrelic/security-agent to v1.1.1 ([#2092](https://github.com/newrelic/node-newrelic/pull/2092)) ([3272aa3](https://github.com/newrelic/node-newrelic/commit/3272aa3da2260ce18c71c24608ffdda512ca6817))
* Fixed incorrect pinning of @elastic/transport ([#2120](https://github.com/newrelic/node-newrelic/pull/2120)) ([7b5bdaa](https://github.com/newrelic/node-newrelic/commit/7b5bdaac1b1081636636cd7ca7c6b484f5251f76))
* Removed scrollbar styling in generated API docs ([#2091](https://github.com/newrelic/node-newrelic/pull/2091)) ([cb0fa11](https://github.com/newrelic/node-newrelic/commit/cb0fa11c81290bb93cb30e974fdb1ece82a1e80e))
* Removed transaction_id and legacy token count attributes from llm events for openai and langchain ([#2093](https://github.com/newrelic/node-newrelic/pull/2093)) ([df2a0fd](https://github.com/newrelic/node-newrelic/commit/df2a0fd7c99a7bbf024c1e33c7fdff512b45c970))

#### Tests

* Updated test/integration/core/dns reverse test to remove flakiness ([#2121](https://github.com/newrelic/node-newrelic/pull/2121)) ([c32cb27](https://github.com/newrelic/node-newrelic/commit/c32cb2739ece3adcf5bd42e646071b3f59e691ba))
* Updated elastic tests to skip broken version ([#2119](https://github.com/newrelic/node-newrelic/pull/2119)) ([5d0d1bb](https://github.com/newrelic/node-newrelic/commit/5d0d1bb4994b41d43ab9b4eb110fea036ac307bc))

#### Continuous integration

* Removed usage of `use_new_release` from prepare release workflow ([#2124](https://github.com/newrelic/node-newrelic/pull/2124)) ([007ddb4](https://github.com/newrelic/node-newrelic/commit/007ddb4dce6cf5ab463a1868fe4cfa203d3e9ff2))
* Updated `prepare-release.js` to not require changelog.json ([#2106](https://github.com/newrelic/node-newrelic/pull/2106)) ([328a570](https://github.com/newrelic/node-newrelic/commit/328a570bbe9f359d23a21317ccd8a8bc52b473b4))
* Updated prepare release to provide a drop down for release type ([#2133](https://github.com/newrelic/node-newrelic/pull/2133)) ([846269b](https://github.com/newrelic/node-newrelic/commit/846269bb256f287c5fb9be32bdb62e9786e3cfe4))
* Updated versioned security agent workflow ([#2100](https://github.com/newrelic/node-newrelic/pull/2100)) ([f787b15](https://github.com/newrelic/node-newrelic/commit/f787b15f94c416d547af1ab4b2d7c31665b417b7))
* Fixed typo in constant name for prepare release script ([#2094](https://github.com/newrelic/node-newrelic/pull/2094)) ([3b887d9](https://github.com/newrelic/node-newrelic/commit/3b887d96c70a2cc5e3833cdc8b65de99b643f7a1))

### v11.14.0 (2024-03-20)

#### Features
Loading