Skip to content
This repository was archived by the owner on Aug 8, 2022. It is now read-only.

Sync with Sentry latest updates#1

Open
mabdelfattah wants to merge 476 commits into
cartona:mainfrom
getsentry:main
Open

Sync with Sentry latest updates#1
mabdelfattah wants to merge 476 commits into
cartona:mainfrom
getsentry:main

Conversation

@mabdelfattah
Copy link
Copy Markdown

No description provided.

IIxauII and others added 30 commits October 24, 2024 11:18
Co-authored-by: GitHub <noreply@github.com>
* pass parameters from options

* space

* add changelog

* use cache when false or empty

* fix cache hit on build

* fix cache hit on build

* use node v4 and checkout v4
)

`yarn patch` changes the version to something like this:
`patch:@sentry/nextjs@npm%3A8.27.0#~/.yarn/patches/@sentry-nextjs-npm-8.27.0-0e3a1ce4c2.patch`
This means that exact version `8.27.0` was used as base and patched.
Co-authored-by: GitHub <noreply@github.com>
* add missing exports

* changelog number
* bump project/samples

* add changelog

* bump yarn
Bumps [cross-spawn](https://github.com/moxystudio/node-cross-spawn) from 7.0.3 to 7.0.6.
- [Changelog](https://github.com/moxystudio/node-cross-spawn/blob/master/CHANGELOG.md)
- [Commits](moxystudio/node-cross-spawn@v7.0.3...v7.0.6)

---
updated-dependencies:
- dependency-name: cross-spawn
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…ue3 (#790)

Bumps [cross-spawn](https://github.com/moxystudio/node-cross-spawn) from 7.0.3 to 7.0.6.
- [Changelog](https://github.com/moxystudio/node-cross-spawn/blob/master/CHANGELOG.md)
- [Commits](moxystudio/node-cross-spawn@v7.0.3...v7.0.6)

---
updated-dependencies:
- dependency-name: cross-spawn
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [actions/cache](https://github.com/actions/cache) from 4.1.0 to 4.1.2.
- [Release notes](https://github.com/actions/cache/releases)
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md)
- [Commits](actions/cache@v4.1.0...v4.1.2)

---
updated-dependencies:
- dependency-name: actions/cache
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* chore: update scripts/update-javascript-siblings.sh to 8.42.0

* change utils to core and fix code. update changelog

* test samples

* fix normalize test (#805)

* Update CHANGELOG.md

---------

Co-authored-by: GitHub <noreply@github.com>
Co-authored-by: lucas <lucas-zimerman1@hotmail.com>
* Capacitor v7 support

* update potspec

* add changelog

* Feat: Capcitor v7 sample app (#832)

* v7 sample

* locks
* refactor sibling check code

* changelog

* remove e2e logs
lucas-zimerman and others added 30 commits March 20, 2026 11:40
Automatically validates non-maintainer PRs by checking:
- Issue reference exists in PR body
- Referenced issue has discussion between author and maintainer
- Referenced issue is not assigned to someone else

Also enforces that all PRs start as drafts.

Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* chore: Use shared validate-pr composite action

Replace the inline PR validation workflow with the shared composite
action from getsentry/github-workflows. This makes future updates to the
validation logic automatic across all SDK repos.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

* fix: Pin validate-pr action to commit SHA

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Updates the pinned SHA to pick up the bot allowlist fix, which
prevents trusted bots (dependabot, renovate, etc.) from being
closed by the PR validation workflow.

#skip-changelog

Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
The draft enforcement step was failing due to insufficient app
permissions. It has been removed from the shared action.

Refs getsentry/github-workflows#159

Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* add warning to session replay

* cleaner way of checking undefined

* changelog

* fix wrong label for replaysSessionSampleRate
…oguard-rules.pro` (#1196)

Co-authored-by: LucasZF <lucas-zimerman1@hotmail.com>
* rollback 3.2.1 deprecations

* nit rollback items removed
* removed profiling

* profiling changelog

* Apply suggestion from @lucas-zimerman
* remove session replay

* changelog
* polish the release changelog

* Update CHANGELOG.md

Co-authored-by: Antonis Lilis <antonis.lilis@gmail.com>

---------

Co-authored-by: Antonis Lilis <antonis.lilis@gmail.com>
* feat(deps): bump @sentry/js to 10.52.0

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

* changelog

---------

Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
* feat(deps): bump Sentry Cocoa SDK from 9.8.0 to 9.13.0

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

* changelog number

---------

Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
* feat(deps): bump Android SDK from 8.35.0 to 8.41.0

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

* update changelog number

---------

Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
* feat: Implement strict trace continuation

Expose `strictTraceContinuation` and `orgId` options in the Capacitor SDK.
These options pass through to @sentry/core which handles the actual trace
continuation validation logic.

Spec: https://develop.sentry.dev/sdk/foundations/trace-propagation/#strict-trace-continuation

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

* chore: Add changelog entry for strict trace continuation

* fix: Add strictTraceContinuation and orgId to FilterNativeOptions

Address Cursor Bugbot feedback: the options were not included in the
FilterNativeOptions whitelist, so they would be silently dropped on
native platforms.

* feat: Map strictTraceContinuation and orgId to native SDKs

The options were being passed through FilterNativeOptions to the bridge
but not mapped to the native SDK options on Android and iOS.

Aligned with sentry-react-native implementation (PR #5829).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* test: Add wrapper tests for strictTraceContinuation and orgId

Verify that strictTraceContinuation and orgId options pass through
the native bridge via initNativeSdk, aligned with RN wrapper tests.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* feat: add onNativeLog callback to intercept and forward native SDK logs to JS

Migrated from sentry-react-native#5622. Adds an `onNativeLog` option that
lets users surface native SDK logs (e.g. HTTP 413 transport errors) in the
browser console when `debug: true` is set.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

* fix(NativeLogListener): remove unnecessary type assertion on addListener

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

* fix(android): remove jetbrains annotations from CapSentryLogger

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

* fix(android): use emitter interface to avoid protected access on notifyListeners

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

* plugin order

* validated changes on ios

* added tests

Co-authored-by: Claude <noreply@anthropic.com>

* changelog

* fix(ios): mark NativeLogsForwarder as final and @unchecked Sendable to resolve Swift concurrency warning

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

* chore: remove Package.resolved and add to .gitignore

SDK libraries should not commit Package.resolved — SPM ignores it from
dependencies and only the consuming app's lock file is used.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

* chore: anchor Package.resolved gitignore rule to repo root

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

---------

Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
* fix(deps): pin vulnerable transitive dependencies in example apps

Add resolutions/overrides to pin lodash, lodash-es, @xmldom/xmldom, flatted,
serialize-javascript, node-forge, basic-ftp, fast-uri, picomatch, undici,
path-to-regexp, tar, systeminformation, axios, and
@babel/plugin-transform-modules-systemjs to non-vulnerable versions.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

* fix(deps): fix broken resolutions in ionic-angular-v8

Remove path-to-regexp@8.4.0 resolution — express@4 (webpack-dev-server)
uses the 0.1.x API and would crash with v8. Bump undici resolution from
6.24.0 to 7.22.0 to match @angular/build@21's exact version requirement.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

* fix: restore braces/picomatch deps for micromatch in root yarn.lock

Previous yarn install accidentally stripped micromatch's dependencies
block, causing 'Cannot find module braces' in CI.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

* fix(deps): address PR review comments on dependency resolutions

- Bump lodash/lodash-es from 4.18.0 to 4.18.1 (fixes ReferenceError bugs in template/fromPairs)
- Bump serialize-javascript from 7.0.3 to 7.0.4 across angular example apps
- Remove picomatch override to avoid forcing incompatible v4 on v2 consumers (anymatch, readdirp, micromatch)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

* fix: restore micromatch dependencies in yarn.lock

Commit 4750206 removed picomatch from micromatch's deps block but accidentally
took braces with it, causing 'Cannot find module braces' in CI.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

* fix(deps): declare engines node>=20 for Angular example apps

serialize-javascript@7.x (pinned to fix RCE CVE) requires Node >=20.
Adding the engines field makes the constraint explicit so local builds
on older Node fail with a clear message instead of silently during
webpack minification.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

---------

Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.