Skip to content

meta: Release 8.0.0-alpha.5 #11246

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

Merged
merged 59 commits into from
Mar 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
59 commits
Select commit Hold shift + click to select a range
30153e7
fix(ci): Fix path to aws serverless layer zip (#11114)
Mar 15, 2024
7466a52
test(node): Use different test server ports for `node` and `node-expe…
Mar 15, 2024
13139d0
ci: Re-add size limit action (#11096)
mydea Mar 15, 2024
0ee499b
test: Wait for test server to close (#11117)
Mar 15, 2024
c045dcb
test(replay): Skip flaky replay integration test (#11110)
AbhiPrasad Mar 15, 2024
557d846
Merge pull request #11121 from getsentry/master
mydea Mar 15, 2024
1acf54f
feat(nextjs): Bump minimum required Next.js version to `13.2.0` (#11097)
Mar 15, 2024
7e2c5f1
ci: Fix size limit action base upload (#11124)
mydea Mar 15, 2024
d2005ba
fix(build): Ensure tree shaking works properly for ESM output (#11122)
mydea Mar 15, 2024
b0e1db0
feat(sveltekit): Switch to Otel-based `@sentry/node` package (#11075)
Lms24 Mar 15, 2024
b8c75f4
feat(node): Remove deprecated/duplicate/unused definitions (#11120)
timfish Mar 15, 2024
d26b25d
ref(node): Remove class based export for local variable integration (…
AbhiPrasad Mar 15, 2024
2c09292
feat(v8): Remove deprecated integration methods on client (#11134)
AbhiPrasad Mar 15, 2024
0a54d19
test: Re-enable flaky replay tests (#11140)
AbhiPrasad Mar 15, 2024
643eff2
feat(node-profiling): Output ESM and remove Sentry deps from output (…
timfish Mar 15, 2024
fa1621c
feat(serverless): Add Node.js 20 to compatible runtimes (#11103)
Mar 15, 2024
ffdc8aa
fix(types): Fix incorrect `sampled` type on `Transaction` (#11115)
quisido Mar 18, 2024
093531e
feat(nextjs): Remove `client.(server|client).config.ts` functionality…
Mar 18, 2024
30db115
chore(tests): Remove `--detectOpenHandles` from Jest config. (#11148)
onurtemizkan Mar 18, 2024
7eed1ef
feat(aws-serverless): Remove deprecated rethrowAfterCapture option (#…
AbhiPrasad Mar 18, 2024
799dab0
feat(v8/browser): Remove deprecated wrap export (#11127)
AbhiPrasad Mar 18, 2024
425b114
feat(v8/browser): Remove class export for linked errors (#11129)
AbhiPrasad Mar 18, 2024
4bbb853
feat(v8/core): Remove deprecated integration classes (#11132)
AbhiPrasad Mar 18, 2024
b9e44b9
feat(node): Support `tunnel` option for ANR (#11163)
timfish Mar 18, 2024
9a62445
feat(v8/utils): Remove deprecated util functions (#11143)
AbhiPrasad Mar 18, 2024
801d2b8
feat(deps): Bump @sentry/cli from 2.30.0 to 2.30.2 (#11168)
dependabot[bot] Mar 18, 2024
9483fad
release: 8.0.0-alpha.4
getsentry-bot Mar 14, 2024
08b86e2
fix(node): Use unique variable for ANR context transfer (#11161)
timfish Mar 18, 2024
b9c060a
fix(node): Export `initOpenTelemetry` (#11158)
timfish Mar 18, 2024
4ba3e40
Merge pull request #11172 from getsentry/release/8.0.0-alpha.4
AbhiPrasad Mar 18, 2024
a99f260
fix(feedback): Smoother cropping experience and better UI (#11165)
c298lee Mar 18, 2024
8787900
fix(feedback): Reduce force layout in screenshots (#11181)
c298lee Mar 18, 2024
b4d7701
fix(feedback): Only allow screenshots in secure contexts (#11188)
c298lee Mar 18, 2024
fea2480
feat(nextjs): Prefix webpack plugin log messages with runtime (#11173)
Mar 19, 2024
82abb99
test(browser): Add async span example test (#11080)
s1gr1d Mar 19, 2024
125b368
fix(opentelemetry): Do not stomp span error status (#11169)
Mar 19, 2024
8424e93
fix(ci): Fix root directory for size limit result upload (#11198)
Lms24 Mar 19, 2024
f460899
feat(v8/core): Remove deprecated client.setupIntegrations method (#11…
AbhiPrasad Mar 19, 2024
6162ea6
feat(v8/replay): Delete deprecated types (#11177)
AbhiPrasad Mar 19, 2024
34643e3
fix(metrics): use correct statsd data category (#11184)
AbhiPrasad Mar 19, 2024
9a3aa0f
feat(v8/angular): Merge angular and angular-ivy packages and start An…
s1gr1d Mar 19, 2024
0b8540f
chore: Re-organize CHANGELOG for older versions (#11176)
AbhiPrasad Mar 19, 2024
ad9d6ab
feat(v8/nextjs): Remove usage of class integrations (#11182)
AbhiPrasad Mar 19, 2024
37abbd1
feat(core): Filter out noisy GoogleTag error by default (#11208)
Lms24 Mar 20, 2024
3ee65ab
fix(attachments): Add missing `view_hierarchy` attachment type (#11197)
krystofwoldrich Mar 20, 2024
1f921ba
feat(v8/ember): Remove InitSentryForEmber export (#11202)
AbhiPrasad Mar 20, 2024
11d3cad
build: Gitignore angular output folder (#11223)
Mar 21, 2024
3cc0344
deps: Unstale yarn lock (#11222)
Mar 21, 2024
aa76951
test: Add tests to demonstrate `withScope` data loss for uncaught err…
Lms24 Mar 21, 2024
e9c1845
fix(node): Time zone handling for `cron` (#11225)
joshkel Mar 21, 2024
523b006
feat(browser): Make fetch the default transport for offline (#11209)
timfish Mar 21, 2024
be09f89
feat(node): Allow Anr worker to be stopped and restarted (#11214)
timfish Mar 21, 2024
e878dce
feat(opentelemetry): Do not capture exceptions for timed events (#11221)
Mar 21, 2024
f078a3b
fix(metrics): use web-vitals ttfb calculation (#11185)
AbhiPrasad Mar 21, 2024
164b1f2
fix(node): Clear ANR timer on stop (#11229)
timfish Mar 21, 2024
492f115
fix(feedback): Fix screenshot black bars in Safari (#11233)
c298lee Mar 21, 2024
b927b5d
meta: CHANGELOG for 8.0.0-alpha.5
AbhiPrasad Mar 22, 2024
9ceed4b
Apply suggestions from code review
Lms24 Mar 22, 2024
53c2dd8
Merge pull request #11245 from getsentry/prepare-release/8.0.0-alpha.5
Mar 22, 2024
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
6 changes: 1 addition & 5 deletions .craft.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,6 @@ targets:
includeNames: /^sentry-profiling-node-\d.*\.tgz$/

## 3 Browser-based Packages
- name: npm
id: '@sentry/angular-ivy'
includeNames: /^sentry-angular-ivy-\d.*\.tgz$/
- name: npm
id: '@sentry/angular'
includeNames: /^sentry-angular-\d.*\.tgz$/
Expand Down Expand Up @@ -145,6 +142,7 @@ targets:
- nodejs14.x
- nodejs16.x
- nodejs18.x
- nodejs20.x
license: MIT

# CDN Bundle Target
Expand Down Expand Up @@ -178,8 +176,6 @@ targets:
onlyIfPresent: /^sentry-vue-\d.*\.tgz$/
'npm:@sentry/gatsby':
onlyIfPresent: /^sentry-gatsby-\d.*\.tgz$/
'npm:@sentry/angular-ivy':
onlyIfPresent: /^sentry-angular-ivy-\d.*\.tgz$/
'npm:@sentry/angular':
onlyIfPresent: /^sentry-angular-\d.*\.tgz$/
'npm:@sentry/astro':
Expand Down
1 change: 0 additions & 1 deletion .github/ISSUE_TEMPLATE/bug.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ body:
- '@sentry/browser'
- '@sentry/astro'
- '@sentry/angular'
- '@sentry/angular-ivy'
- '@sentry/aws-serverless'
- '@sentry/bun'
- '@sentry/deno'
Expand Down
41 changes: 33 additions & 8 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@ env:
${{ github.workspace }}/packages/ember/*.d.ts
${{ github.workspace }}/packages/gatsby/*.d.ts
${{ github.workspace }}/packages/core/src/version.ts
${{ github.workspace }}/packages/serverless
${{ github.workspace }}/packages/utils/cjs
${{ github.workspace }}/packages/utils/esm

Expand Down Expand Up @@ -278,6 +277,34 @@ jobs:
# `job_build` can't see `job_install_deps` and what it returned)
dependency_cache_key: ${{ needs.job_install_deps.outputs.dependency_cache_key }}

job_size_check:
name: Size Check
needs: [job_get_metadata, job_build]
timeout-minutes: 15
runs-on: ubuntu-20.04
if:
github.event_name == 'pull_request' || needs.job_get_metadata.outputs.is_develop == 'true' ||
needs.job_get_metadata.outputs.is_release == 'true'
steps:
- name: Check out current commit (${{ needs.job_get_metadata.outputs.commit_label }})
uses: actions/checkout@v4
with:
ref: ${{ env.HEAD_COMMIT }}
- name: Set up Node
uses: actions/setup-node@v4
with:
node-version-file: 'package.json'
- name: Restore caches
uses: ./.github/actions/restore-cache
env:
DEPENDENCY_CACHE_KEY: ${{ needs.job_build.outputs.dependency_cache_key }}
- name: Check bundle sizes
uses: ./dev-packages/size-limit-gh-action
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
# Only run comparison against develop if this is a PR
comparison_branch: ${{ (github.event_name == 'pull_request' && github.base_ref) || ''}}

job_lint:
name: Lint
# Even though the linter only checks source code, not built code, it needs the built code in order check that all
Expand Down Expand Up @@ -385,7 +412,7 @@ jobs:
${{ github.workspace }}/packages/replay/build/bundles/**
${{ github.workspace }}/packages/replay-canvas/build/bundles/**
${{ github.workspace }}/packages/**/*.tgz
${{ github.workspace }}/packages/serverless/build/aws/dist-serverless/*.zip
${{ github.workspace }}/packages/aws-serverless/build/aws/dist-serverless/*.zip

job_browser_unit_tests:
name: Browser Unit Tests
Expand Down Expand Up @@ -584,7 +611,7 @@ jobs:
name: Playwright (${{ matrix.bundle }}${{ matrix.shard && format(' {0}/{1}', matrix.shard, matrix.shards) || ''}}) Tests
needs: [job_get_metadata, job_build]
if: needs.job_get_metadata.outputs.changed_browser_integration == 'true' || github.event_name != 'pull_request'
runs-on: ubuntu-20.04
runs-on: ubuntu-20.04-large-js
timeout-minutes: 25
strategy:
fail-fast: false
Expand Down Expand Up @@ -879,16 +906,14 @@ jobs:
strategy:
fail-fast: false
matrix:
# For whatever reason, these segfault on Node 18, so we are skipping these for now...
node: [20, 21]
node: [18, 20, 21]
remix: [1, 2]
# Remix v2 only supports Node 18+, so run Node 14, 16 tests separately
include:
- node: 14
remix: 1
# For whatever reason, these segfault on Node 16, so we are skipping these for now...
# - node: 16
# remix: 1
- node: 16
remix: 1
steps:
- name: Check out current commit (${{ needs.job_get_metadata.outputs.commit_label }})
uses: actions/checkout@v4
Expand Down
3 changes: 0 additions & 3 deletions .github/workflows/issue-package-label.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,6 @@ jobs:
"@sentry.angular": {
"label": "Package: Angular"
},
"@sentry.angular-ivy": {
"label": "Package: Angular"
},
"@sentry.bun": {
"label": "Package: Bun"
},
Expand Down
84 changes: 39 additions & 45 deletions .size-limit.js
Original file line number Diff line number Diff line change
@@ -1,28 +1,28 @@
module.exports = [
// Main browser webpack builds
{
name: '@sentry/browser (incl. Tracing, Replay, Feedback) - Webpack (gzipped)',
name: '@sentry/browser (incl. Tracing, Replay, Feedback)',
path: 'packages/browser/build/npm/esm/index.js',
import: '{ init, replayIntegration, browserTracingIntegration, feedbackIntegration }',
gzip: true,
limit: '90 KB',
},
{
name: '@sentry/browser (incl. Tracing, Replay) - Webpack (gzipped)',
name: '@sentry/browser (incl. Tracing, Replay)',
path: 'packages/browser/build/npm/esm/index.js',
import: '{ init, replayIntegration, browserTracingIntegration }',
gzip: true,
limit: '75 KB',
limit: '90 KB',
},
{
name: '@sentry/browser (incl. Tracing, Replay with Canvas) - Webpack (gzipped)',
name: '@sentry/browser (incl. Tracing, Replay with Canvas)',
path: 'packages/browser/build/npm/esm/index.js',
import: '{ init, replayIntegration, browserTracingIntegration, replayCanvasIntegration }',
gzip: true,
limit: '90 KB',
},
{
name: '@sentry/browser (incl. Tracing, Replay) - Webpack with treeshaking flags (gzipped)',
name: '@sentry/browser (incl. Tracing, Replay) - with treeshaking flags',
path: 'packages/browser/build/npm/esm/index.js',
import: '{ init, replayIntegration, browserTracingIntegration }',
gzip: true,
Expand All @@ -41,98 +41,98 @@ module.exports = [
},
},
{
name: '@sentry/browser (incl. Tracing) - Webpack (gzipped)',
name: '@sentry/browser (incl. Tracing)',
path: 'packages/browser/build/npm/esm/index.js',
import: '{ init, browserTracingIntegration }',
gzip: true,
limit: '35 KB',
limit: '90 KB',
},
{
name: '@sentry/browser (incl. browserTracingIntegration) - Webpack (gzipped)',
name: '@sentry/browser (incl. browserTracingIntegration)',
path: 'packages/browser/build/npm/esm/index.js',
import: '{ init, browserTracingIntegration }',
gzip: true,
limit: '35 KB',
limit: '90 KB',
},
{
name: '@sentry/browser (incl. feedbackIntegration) - Webpack (gzipped)',
name: '@sentry/browser (incl. feedbackIntegration)',
path: 'packages/browser/build/npm/esm/index.js',
import: '{ init, feedbackIntegration }',
gzip: true,
limit: '50 KB',
limit: '90 KB',
},
{
name: '@sentry/browser (incl. feedbackModalIntegration) - Webpack (gzipped)',
name: '@sentry/browser (incl. feedbackModalIntegration)',
path: 'packages/browser/build/npm/esm/index.js',
import: '{ init, feedbackIntegration, feedbackModalIntegration }',
gzip: true,
limit: '50 KB',
limit: '90 KB',
},
{
name: '@sentry/browser (incl. feedbackScreenshotIntegration) - Webpack (gzipped)',
name: '@sentry/browser (incl. feedbackScreenshotIntegration)',
path: 'packages/browser/build/npm/esm/index.js',
import: '{ init, feedbackIntegration, feedbackModalIntegration, feedbackScreenshotIntegration }',
gzip: true,
limit: '50 KB',
limit: '90 KB',
},
{
name: '@sentry/browser (incl. sendFeedback) - Webpack (gzipped)',
name: '@sentry/browser (incl. sendFeedback)',
path: 'packages/browser/build/npm/esm/index.js',
import: '{ init, sendFeedback }',
gzip: true,
limit: '50 KB',
limit: '90 KB',
},
{
name: '@sentry/browser - Webpack (gzipped)',
name: '@sentry/browser',
path: 'packages/browser/build/npm/esm/index.js',
import: '{ init }',
gzip: true,
limit: '28 KB',
limit: '90 KB',
},

// Browser CDN bundles
{
name: '@sentry/browser (incl. Tracing, Replay, Feedback) - CDN Bundle (gzipped)',
name: 'CDN Bundle (incl. Tracing, Replay, Feedback)',
path: 'packages/browser/build/bundles/bundle.tracing.replay.feedback.min.js',
gzip: true,
limit: '90 KB',
},
{
name: '@sentry/browser (incl. Tracing, Replay) - CDN Bundle (gzipped)',
name: 'CDN Bundle (incl. Tracing, Replay)',
path: 'packages/browser/build/bundles/bundle.tracing.replay.min.js',
gzip: true,
limit: '75 KB',
limit: '90 KB',
},
{
name: '@sentry/browser (incl. Tracing) - CDN Bundle (gzipped)',
name: 'CDN Bundle (incl. Tracing)',
path: 'packages/browser/build/bundles/bundle.tracing.min.js',
gzip: true,
limit: '37 KB',
limit: '40 KB',
},
{
name: '@sentry/browser - CDN Bundle (gzipped)',
name: 'CDN Bundle',
path: 'packages/browser/build/bundles/bundle.min.js',
gzip: true,
limit: '28 KB',
limit: '30 KB',
},

// browser CDN bundles (non-gzipped)
{
name: '@sentry/browser (incl. Tracing, Replay) - CDN Bundle (minified & uncompressed)',
name: 'CDN Bundle (incl. Tracing, Replay) - uncompressed',
path: 'packages/browser/build/bundles/bundle.tracing.replay.min.js',
gzip: false,
brotli: false,
limit: '260 KB',
},
{
name: '@sentry/browser (incl. Tracing) - CDN Bundle (minified & uncompressed)',
name: 'CDN Bundle (incl. Tracing) - uncompressed',
path: 'packages/browser/build/bundles/bundle.tracing.min.js',
gzip: false,
brotli: false,
limit: '105 KB',
limit: '120 KB',
},
{
name: '@sentry/browser - CDN Bundle (minified & uncompressed)',
name: 'CDN Bundle - uncompressed',
path: 'packages/browser/build/bundles/bundle.min.js',
gzip: false,
brotli: false,
Expand All @@ -141,40 +141,34 @@ module.exports = [

// React
{
name: '@sentry/react (incl. Tracing, Replay) - Webpack (gzipped)',
name: '@sentry/react (incl. Tracing, Replay)',
path: 'packages/react/build/esm/index.js',
import: '{ init, browserTracingIntegration, replayIntegration }',
gzip: true,
limit: '75 KB',
limit: '90 KB',
},
{
name: '@sentry/react - Webpack (gzipped)',
name: '@sentry/react',
path: 'packages/react/build/esm/index.js',
import: '{ init }',
gzip: true,
limit: '30 KB',
limit: '90 KB',
},

// Next.js
{
name: '@sentry/nextjs Client (incl. Tracing, Replay) - Webpack (gzipped)',
// TODO: Re-enable these, when we figure out why they break...
/* {
name: '@sentry/nextjs Client (incl. Tracing, Replay)',
path: 'packages/nextjs/build/esm/client/index.js',
import: '{ init, browserTracingIntegration, replayIntegration }',
gzip: true,
limit: '110 KB',
},
{
name: '@sentry/nextjs Client - Webpack (gzipped)',
name: '@sentry/nextjs Client',
path: 'packages/nextjs/build/esm/client/index.js',
import: '{ init }',
gzip: true,
limit: '57 KB',
},
{
name: '@sentry-internal/feedback - Webpack (gzipped)',
path: 'packages/feedback/build/npm/esm/index.js',
import: '{ feedbackIntegration }',
gzip: true,
limit: '25 KB',
},
}, */
];
Loading