Skip to content

Commit

Permalink
Merge branch 'master' into master
Browse files Browse the repository at this point in the history
  • Loading branch information
arunsathiya authored Dec 16, 2024
2 parents ad24fe2 + 3b89008 commit 52d912d
Show file tree
Hide file tree
Showing 49 changed files with 16,841 additions and 9,697 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/deprecate_version.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Deprecate X-Ray Node SDK Version
on:
workflow_dispatch:

jobs:
deprecate_xray_node_sdk_version:
name: Deprecate X-Ray Node SDK version in NPM registry
runs-on: ubuntu-latest
steps:
- name: Setup Node
uses: actions/setup-node@v1
with:
node-version: '16.x'
registry-url: 'https://registry.npmjs.org'

- run: npm install -g [email protected]

- name: Deprecate Version 3.7.0
run: |
npm deprecate [email protected] "3.7.0 is deprecated due to known issue in Lambda"
npm deprecate [email protected] "3.7.0 is deprecated due to known issue in Lambda"
npm deprecate [email protected] "3.7.0 is deprecated due to known issue in Lambda"
npm deprecate [email protected] "3.7.0 is deprecated due to known issue in Lambda"
npm deprecate [email protected] "3.7.0 is deprecated due to known issue in Lambda"
npm deprecate [email protected] "3.7.0 is deprecated due to known issue in Lambda"
npm deprecate [email protected] "3.7.0 is deprecated due to known issue in Lambda"
npm deprecate [email protected] "3.7.0 is deprecated due to known issue in Lambda"
npm deprecate [email protected] "3.7.0 is deprecated due to known issue in Lambda"
npm deprecate [email protected] "3.7.0 is deprecated due to known issue in Lambda"
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
27 changes: 22 additions & 5 deletions .github/workflows/pr-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,23 @@ jobs:
- os: ubuntu-latest
node-version: 16.x
coverage: true
# Issue with npm6 on windows resulting in failing workflows:
# https://github.com/npm/cli/issues/4341#issuecomment-1040608101
# Since node14 is EOL, we can drop this set from our tests.
# We still test node14 on other platforms.
- os: macos-13
node-version: 14.x
exclude:
# Issue with npm6 on windows resulting in failing workflows:
# https://github.com/npm/cli/issues/4341#issuecomment-1040608101
# Since node14 is EOL, we can drop this set from our tests.
# We still test node14 on other platforms.
- os: windows-latest
node-version: 14.x
# https://github.com/actions/runner-images/issues/9741
# macos-latest provides only ARM hosts
# https://github.com/nodejs/node/issues/36161
# https://github.com/nodejs/node/issues/40126
# Without workarounds, Node.js 14 isn't supported on ARM macos
# As workaround, test on macos-13 version instead
- os: macos-latest
node-version: 14.x

steps:
- name: Checkout AWS XRay SDK Node Repository @ default branch latest
Expand Down Expand Up @@ -80,5 +90,12 @@ jobs:
npx lerna run testcov
npx lerna run reportcov
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
CI: true
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v4
if: matrix.coverage
with:
directory: ./packages/core/
token: ${{ secrets.CODECOV_TOKEN }}
files: ./coverage.lcov
verbose: true
170 changes: 169 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,175 @@
# Changelog for AWS X-Ray SDK for JavaScript
<!--LATEST=3.5.2-->
<!--LATEST=3.10.2-->
<!--ENTRYINSERT-->

## 3.10.2
View [the latest changes](https://github.com/aws/aws-xray-sdk-node/compare/aws-xray-sdk-node%403.10.1...aws-xray-sdk-node%403.10.2)
* `aws-xray-sdk-core` updated to 3.10.2
* No further changes.
* `aws-xray-sdk-mysql` updated to 3.10.2
* No further changes.
* `aws-xray-sdk-express` updated to 3.10.2
* No further changes.
* `aws-xray-sdk-postgres` updated to 3.10.2
* No further changes.
* `aws-xray-sdk-restify` updated to 3.10.2
* No further changes.
* `aws-xray-sdk-fastify` updated to 3.10.2
* Add default export and named export for fastify plugin
* `aws-xray-sdk-koa2` updated to 3.10.2
* No further changes.
* `aws-xray-sdk-hapi` updated to 3.10.2
* No further changes.
* `aws-xray-sdk-fetch` updated to 3.10.2
* Fix missing X-Ray headers for fetch, add export for fetch enableCapture utility

## 3.10.1
View [the latest changes](https://github.com/aws/aws-xray-sdk-node/compare/aws-xray-sdk-node%403.10.0...aws-xray-sdk-node%403.10.1)
* `aws-xray-sdk-core` updated to 3.10.1
* Bump dependency version for body-parser, express and find-my-way
* These dependency version changes apply to all packages
* `aws-xray-sdk-mysql` updated to 3.10.1
* No further changes.
* `aws-xray-sdk-express` updated to 3.10.1
* No further changes.
* `aws-xray-sdk-postgres` updated to 3.10.1
* No further changes.
* `aws-xray-sdk-restify` updated to 3.10.1
* No further changes.
* `aws-xray-sdk-fastify` updated to 3.10.1
* No further changes.
* `aws-xray-sdk-koa2` updated to 3.10.1
* No further changes.
* `aws-xray-sdk-hapi` updated to 3.10.1
* No further changes.
* `aws-xray-sdk-fetch` updated to 3.10.1
* No further changes.

## 3.10.0
View [the latest changes](https://github.com/aws/aws-xray-sdk-node/compare/aws-xray-sdk-node%403.9.0...aws-xray-sdk-node%403.10.0)
* `aws-xray-sdk-core` updated to 3.10.0
* No further changes
* `aws-xray-sdk-mysql` updated to 3.10.0
* Prefix SQL URLs with scheme [PR #667](https://github.com/aws/aws-xray-sdk-node/pull/667)
* `aws-xray-sdk-express` updated to 3.10.0
* No further changes.
* `aws-xray-sdk-postgres` updated to 3.10.0
* Prefix SQL URLs with scheme [PR #667](https://github.com/aws/aws-xray-sdk-node/pull/667)
* `aws-xray-sdk-restify` updated to 3.10.0
* No further changes.
* `aws-xray-sdk-fastify` updated to 3.10.0
* No further changes.
* `aws-xray-sdk-koa2` updated to 3.10.0
* No further changes.
* `aws-xray-sdk-hapi` updated to 3.10.0
* No further changes.
* `aws-xray-sdk-fetch` updated to 3.10.0
* Pass dispatcher options to global fetch [PR #653](https://github.com/aws/aws-xray-sdk-node/pull/653)

## 3.9.0
View [the latest changes](https://github.com/aws/aws-xray-sdk-node/compare/aws-xray-sdk-node%403.8.0...aws-xray-sdk-node%403.9.0)
* `aws-xray-sdk-core` updated to 3.9.0
* Feature: Lambda PassThrough trace header support [PR #660](https://github.com/aws/aws-xray-sdk-node/pull/660)
* `aws-xray-sdk-mysql` updated to 3.9.0
* No further changes.
* `aws-xray-sdk-express` updated to 3.9.0
* No further changes.
* `aws-xray-sdk-postgres` updated to 3.9.0
* No further changes.
* `aws-xray-sdk-restify` updated to 3.9.0
* No further changes.
* `aws-xray-sdk-fastify` updated to 3.9.0
* No further changes.
* `aws-xray-sdk-koa2` updated to 3.9.0
* No further changes.
* `aws-xray-sdk-hapi` updated to 3.9.0
* No further changes.
* `aws-xray-sdk-fetch` updated to 3.9.0
* No further changes.

## 3.8.0
View [the latest changes](https://github.com/aws/aws-xray-sdk-node/compare/aws-xray-sdk-node%403.7.0...aws-xray-sdk-node%403.8.0)
* `aws-xray-sdk-core` updated to 3.8.0
* Fix: Revert #651 [Lambda] Replace Facade with No-Op if trace header is missing data [PR #657](https://github.com/aws/aws-xray-sdk-node/pull/657)
* `aws-xray-sdk-mysql` updated to 3.8.0
* No further changes.
* `aws-xray-sdk-express` updated to 3.8.0
* No further changes.
* `aws-xray-sdk-postgres` updated to 3.8.0
* No further changes.
* `aws-xray-sdk-restify` updated to 3.8.0
* No further changes.
* `aws-xray-sdk-fastify` updated to 3.8.0
* No further changes.
* `aws-xray-sdk-koa2` updated to 3.8.0
* No further changes.
* `aws-xray-sdk-hapi` updated to 3.8.0
* No further changes.
* `aws-xray-sdk-fetch` updated to 3.8.0
* No further changes.

## 3.7.0
View [the latest changes](https://github.com/aws/aws-xray-sdk-node/compare/aws-xray-sdk-node%403.6.0...aws-xray-sdk-node%403.7.0)
* `aws-xray-sdk-core` updated to 3.7.0
* Feature: Replace Facade segment with No-Op if trace header is missing data in AWS Lambda PassThrough mode [PR #651](https://github.com/aws/aws-xray-sdk-node/pull/651)
* Fix: TraceId timestamp supports string starts with '0' [PR #641](https://github.com/aws/aws-xray-sdk-node/pull/641)
* `aws-xray-sdk-mysql` updated to 3.7.0
* No further changes.
* `aws-xray-sdk-express` updated to 3.7.0
* No further changes.
* `aws-xray-sdk-postgres` updated to 3.7.0
* No further changes.
* `aws-xray-sdk-restify` updated to 3.7.0
* No further changes.
* `aws-xray-sdk-fastify` updated to 3.7.0
* No further changes.
* `aws-xray-sdk-koa2` updated to 3.7.0
* No further changes.
* `aws-xray-sdk-hapi` updated to 3.7.0
* No further changes.
* `aws-xray-sdk-fetch` updated to 3.7.0
* Fix: fix subsegment callback error parameter type [PR #644](https://github.com/aws/aws-xray-sdk-node/pull/644)

## 3.6.0
View [the latest changes](https://github.com/aws/aws-xray-sdk-node/compare/aws-xray-sdk-node%403.5.4...aws-xray-sdk-node%403.6.0)
* `aws-xray-sdk-core` updated to 3.6.0
* No further changes.
* `aws-xray-sdk-mysql` updated to 3.6.0
* No further changes.
* `aws-xray-sdk-express` updated to 3.6.0
* No further changes.
* `aws-xray-sdk-postgres` updated to 3.6.0
* No further changes.
* `aws-xray-sdk-restify` updated to 3.6.0
* No further changes.
* `aws-xray-sdk-fastify` updated to 3.6.0
* No further changes.
* `aws-xray-sdk-koa2` updated to 3.6.0
* No further changes.
* `aws-xray-sdk-hapi` updated to 3.6.0
* No further changes.
* `aws-xray-sdk-fetch` added in 3.6.0
* Feature: Added aws-xray-sdk-fetch package as an sdk_contrib instrumentation [PR #590](https://github.com/aws/aws-xray-sdk-node/pull/590)

## 3.5.4
View [the latest changes](https://github.com/aws/aws-xray-sdk-node/compare/aws-xray-sdk-node%403.5.3...aws-xray-sdk-node%403.5.4)
* `aws-xray-sdk-core` updated to 3.5.4
* change: Add export for resolveManualSegmentParams to AWSXRay [PR #628](https://github.com/aws/aws-xray-sdk-node/pull/628)
* `aws-xray-sdk-mysql` updated to 3.5.4
* No further changes.
* `aws-xray-sdk-express` updated to 3.5.4
* No further changes.
* `aws-xray-sdk-postgres` updated to 3.5.4
* No further changes.
* `aws-xray-sdk-restify` updated to 3.5.4
* No further changes.
* `aws-xray-sdk-fastify` updated to 3.5.4
* No further changes.
* `aws-xray-sdk-koa2` updated to 3.5.4
* No further changes.
* `aws-xray-sdk-hapi` updated to 3.5.4
* No further changes.

## 3.5.3
View [the latest changes](https://github.com/aws/aws-xray-sdk-node/compare/aws-xray-sdk-node%403.5.2...aws-xray-sdk-node%403.5.3)
* `aws-xray-sdk-core` updated to 3.5.3
Expand Down
Loading

0 comments on commit 52d912d

Please sign in to comment.