Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
64 commits
Select commit Hold shift + click to select a range
83a7f7a
v0.1.0
rochdev Sep 3, 2024
a62abff
add publish config to make package public (#20)
rochdev Sep 3, 2024
d4db922
v0.1.1
rochdev Sep 3, 2024
904f13c
add missing build step before release (#24)
rochdev Sep 3, 2024
5d778f5
add write permission to publish job for git tagging (#22)
rochdev Sep 3, 2024
c9741b4
v0.1.2
rochdev Sep 3, 2024
e86ebf2
fix invalid yaml for publish job permissions (#26)
rochdev Sep 4, 2024
e3450b5
v0.1.3
rochdev Sep 4, 2024
4bedd7b
fix concurrency deadlock in release job (#28)
rochdev Sep 4, 2024
c9324cc
v0.1.4
rochdev Sep 4, 2024
8b1f09d
add crash report test for the receiver (#30)
rochdev Sep 17, 2024
b9588bb
v0.1.5
rochdev Sep 17, 2024
280d89b
fix minimum node version for release ci job (#32)
rochdev Sep 18, 2024
41d7853
v0.1.6
rochdev Sep 18, 2024
2a24e23
update crashtracker and use new init function (#36)
rochdev Nov 11, 2024
0339681
update libdatadog to 14.1.0 (#38)
rochdev Nov 12, 2024
61f9533
v0.2.0
rochdev Nov 12, 2024
ca98503
fix release tag and environment (#39)
rochdev Nov 12, 2024
6025b47
v0.2.1
rochdev Nov 12, 2024
8ba0bd3
v0.2.2
rochdev Nov 13, 2024
af74642
update libdatadog to 14.3.1 (#42)
rochdev Dec 17, 2024
133ed8a
v0.3.0
rochdev Dec 17, 2024
e69097b
Add APIs for marking the crash as happened during profiler serializat…
szegedi Jan 14, 2025
5f3ea23
v0.4.0
szegedi Jan 15, 2025
7bd8804
upgrade(libdatadog-nodejs): Support library_config (#49)
BaptisteFoy Feb 18, 2025
3155787
v0.5.0
BaptisteFoy Feb 18, 2025
0d36098
v0.5.1
rochdev Apr 9, 2025
be1594c
Add a crate for wasm zstd implementation (#52)
szegedi May 28, 2025
744deb2
deps(library_config): bump to v18.1.0 (#51)
dmehala Jun 2, 2025
7ca2a23
v0.6.0
szegedi Jun 3, 2025
67d4141
feat: add bindings for process/service discovery (#53)
dmehala Jun 11, 2025
7ec4049
deps(crashtracker) Update libdatadog for crashtracker to 16.0.3 (#54)
szegedi Jun 13, 2025
466dfa1
v0.7.0
szegedi Jun 13, 2025
3873149
Remove unused crates (#58)
szegedi Feb 5, 2026
b1da950
[crashtracking]: upgrade libdatadog for crashtracking to 26.0.0 (#61)
gyuheon0h Feb 5, 2026
9942732
Align with how library filenames are generated in Cargo 1.79+ (#63)
szegedi Feb 12, 2026
760c294
v0.8.0
gyuheon0h Feb 11, 2026
64a7f46
v0.8.1 (#68)
gyuheon0h Feb 12, 2026
f3e9b05
V0.8.2 proposal (#76)
gyuheon0h Mar 3, 2026
7a19a22
Revert "V0.8.2 proposal (#76)"
gyuheon0h Mar 3, 2026
aa710d4
Revert " v0.8.1 (#68)"
gyuheon0h Mar 3, 2026
ced302b
Add CODEOWNERS (#64)
szegedi Feb 12, 2026
221e4c8
Enable releasing through OIDC (#65)
szegedi Feb 12, 2026
5b2b04f
Bump libdd-crashtracker to v27.0.0 (#66)
gyuheon0h Feb 12, 2026
8c1afa8
v0.8.1
gyuheon0h Feb 12, 2026
40b5d62
chore(crashtracking): bump libdd-crashtracker to v28.0.1 (#72)
gyuheon0h Feb 25, 2026
826db0a
feat(crashtracking): add unhandled exception libdatadog binding (#73)
gyuheon0h Mar 2, 2026
5e63541
v0.8.2
gyuheon0h Mar 3, 2026
5aecc72
Fix an unpleasant typo (#69)
szegedi Mar 3, 2026
ff58782
refactor(test): run tests via shell script instead of test.js (#79)
watson Mar 3, 2026
78cef0a
perf(load): defer findWASM until native binary is missing (#78)
watson Mar 3, 2026
58b68cc
fix(build): use Homebrew clang for wasm32 C build on macOS (#77)
watson Mar 3, 2026
2152af3
chore(ci): pin actions to SHAs, add Dependabot with cooldown and grou…
watson Mar 3, 2026
653ec4a
chore: set minimum Node.js version to 18 (#85)
watson Mar 3, 2026
474b41c
chore(test): remove npm lockfile from crashtracker test (#90)
watson Mar 3, 2026
597dbb9
chore: add ESLint linting to the project (#84)
watson Mar 3, 2026
b0a2474
test(crashtracker): improve reliability and debuggability of crash te…
watson Mar 3, 2026
7439485
Bump the gh-actions-packages group with 3 updates (#86)
dependabot[bot] Mar 4, 2026
12127f7
Bump libdatadog to v29 and use remote symbol resolution (#100)
gyuheon0h Mar 13, 2026
70b133d
demangle crashes stack traces (#101)
rochdev Mar 16, 2026
a0ac460
feat(process-discovery): add process_tags and container_id to TracerM…
tlhunter Mar 19, 2026
acbceac
v0.9.0
tlhunter Mar 19, 2026
9e7b413
chore(ci): switch prebuildify back to main (#107)
tlhunter Mar 23, 2026
1e1e760
v0.9.1
tlhunter Mar 23, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* @DataDog/dd-trace-js @DataDog/libdatadog
31 changes: 31 additions & 0 deletions .github/actions/build-test-wasm/action.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: 'Build/Test WASM'
description: 'A simple composite GitHub Action sets-up WASM; then test & build relevant crates'
inputs:
crate:
description: 'The crate name. Must be in ./crates'
required: true
runs:
using: 'composite'
steps:
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
- uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0
- name: Setup Node.js
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
- run: yarn install
shell: bash
- name: Install wasm-pack
run: curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh
shell: bash
- name: Build WASM
run: |
mkdir -p ./prebuilds/${{ inputs.crate }}
wasm-pack build --target nodejs ./crates/${{ inputs.crate }} --out-dir ../../prebuilds/${{ inputs.crate }}
shell: bash
- name: Test WASM
run: node test-wasm.js ${{ inputs.crate }}
shell: bash
- uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
with:
name: prebuilds-wasm-${{ inputs.crate }}
if-no-files-found: ignore
path: ./prebuilds/*
17 changes: 17 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Dependabot version updates
# https://docs.github.com/en/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file

version: 2
updates:
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "weekly"
cooldown:
default-days: 5
exclude:
- "@datadog/*"
groups:
gh-actions-packages:
patterns:
- "*"
43 changes: 36 additions & 7 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,26 +7,55 @@ on:
- main

jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- name: Setup Node.js
uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0
- run: yarn install
- run: yarn install
working-directory: test/crashtracker
- run: yarn lint

build-test-wasm:
runs-on: ubuntu-latest
strategy:
matrix:
crate:
- library_config
- datadog-js-zstd
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- name: 'Use composite action'
uses: ./.github/actions/build-test-wasm
with:
crate: '${{ matrix.crate }}'

build:
uses: Datadog/action-prebuildify/.github/workflows/build.yml@main
needs: build-test-wasm
with:
package-manager: 'npm'
package-manager: 'yarn'
cache: false
min-node-version: 14
min-node-version: 18
rust: true
only: linux-arm64,linux-x64,linuxmusl-arm64,linuxmusl-x64
only: darwin-arm64,darwin-x64,linux-arm64,linux-x64
# Need this, now that libdatadog packages libunwind as a submodule
prebuild: '(command -v apk >/dev/null && apk add autoconf automake libtool) || (command -v apt-get >/dev/null && apt-get update && apt-get install -y autoconf automake libtool) || true'

package-size:
runs-on: ubuntu-latest
needs: build
permissions:
issues: write
pull-requests: write
steps:
- uses: actions/checkout@v4
- uses: actions/download-artifact@v4
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- uses: actions/download-artifact@70fc10c6e5e1ce46ad2ea6f2b72d43f7d47b13c3 # v8.0.0
- name: Setup Node.js
uses: actions/setup-node@v4
- run: yarn
uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0
- run: yarn install
- name: Compute module size tree and report
uses: qard/heaviest-objects-in-the-universe@v1
with:
Expand Down
43 changes: 34 additions & 9 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,28 +5,53 @@ on:
branches:
- v0.x

concurrency:
group: ${{ github.workflow }}-${{ github.ref || github.run_id }}
cancel-in-progress: true

jobs:
build-test-wasm:
runs-on: ubuntu-latest
strategy:
matrix:
crate:
- library_config
- datadog-js-zstd
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- name: 'Use composite action'
uses: ./.github/actions/build-test-wasm
with:
crate: '${{ matrix.crate }}'

build:
uses: Datadog/action-prebuildify/.github/workflows/build.yml@main
needs: build-test-wasm
with:
package-manager: 'yarn'
cache: false
min-node-version: 18
rust: true
only: darwin-arm64,darwin-x64,linux-arm64,linux-x64

publish:
runs-on: ubuntu-latest
needs: build
environment: npm
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
permissions:
id-token: write # Required for OIDC
contents: write
outputs:
pkgjson: ${{ steps.pkg.outputs.json }}
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v3
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- uses: actions/download-artifact@70fc10c6e5e1ce46ad2ea6f2b72d43f7d47b13c3 # v8.0.0
- uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0
with:
node-version: '24'
registry-url: 'https://registry.npmjs.org'
- run: chmod -R +x ./prebuilds
- run: npm publish
- id: pkg
run: |
content=`cat ./package.json | tr '\n' ' '`
echo "::set-output name=json::$content"
echo "json=$content" >> $GITHUB_OUTPUT
- run: |
git tag v${{ fromJson(steps.pkg.outputs.json).version }}
git push origin v${{ fromJson(steps.pkg.outputs.json).version }}
1 change: 1 addition & 0 deletions .yarnrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
--ignore-engines true
Loading
Loading