From 6f7366d758b3ed3b8d7f59817828e072c95de927 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kry=C5=A1tof=20Wold=C5=99ich?= <31292499+krystofwoldrich@users.noreply.github.com> Date: Fri, 9 Dec 2022 14:41:33 +0100 Subject: [PATCH 1/2] feat(api): Add `lastEventId` method (#2675) Co-authored-by: Manoel Aranda Neto <5731772+marandaneto@users.noreply.github.com> --- CHANGELOG.md | 4 ++++ src/js/index.ts | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index d9ebd50716..b656c6d7ac 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,10 @@ ## Unreleased +### Features + +- Add `lastEventId` method to the API ([#2675](https://github.com/getsentry/sentry-react-native/pull/2675)) + ### Dependencies - Bump Cocoa SDK from v7.31.2 to v7.31.3 ([#2647](https://github.com/getsentry/sentry-react-native/pull/2647)) diff --git a/src/js/index.ts b/src/js/index.ts index 3ac0c4db08..8c909fc0f8 100644 --- a/src/js/index.ts +++ b/src/js/index.ts @@ -48,6 +48,10 @@ export { withProfiler, } from '@sentry/react'; +export { + lastEventId, +} from '@sentry/browser'; + import * as Integrations from './integrations'; import { SDK_NAME, SDK_VERSION } from './version'; export { ReactNativeOptions } from './options'; From 3ebcc5d34f3a9147401f09bccc22e3879134b81a Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Wed, 14 Dec 2022 10:43:22 +0100 Subject: [PATCH 2/2] chore(deps): update JavaScript SDK to v7.26.0 (#2692) Co-authored-by: GitHub --- CHANGELOG.md | 6 +-- package.json | 20 ++++---- yarn.lock | 126 +++++++++++++++++++++++++-------------------------- 3 files changed, 76 insertions(+), 76 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b656c6d7ac..6acbd3b103 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,9 +11,9 @@ - Bump Cocoa SDK from v7.31.2 to v7.31.3 ([#2647](https://github.com/getsentry/sentry-react-native/pull/2647)) - [changelog](https://github.com/getsentry/sentry-cocoa/blob/8.0.0/CHANGELOG.md#7313) - [diff](https://github.com/getsentry/sentry-cocoa/compare/7.31.2...7.31.3) -- Bump JavaScript SDK from v7.21.1 to v7.24.2 ([#2672](https://github.com/getsentry/sentry-react-native/pull/2672), [#2648](https://github.com/getsentry/sentry-react-native/pull/2648)) - - [changelog](https://github.com/getsentry/sentry-javascript/blob/master/CHANGELOG.md#7242) - - [diff](https://github.com/getsentry/sentry-javascript/compare/7.21.1...7.24.2) +- Bump JavaScript SDK from v7.21.1 to v7.26.0 ([#2672](https://github.com/getsentry/sentry-react-native/pull/2672), [#2648](https://github.com/getsentry/sentry-react-native/pull/2648), [#2692](https://github.com/getsentry/sentry-react-native/pull/2692)) + - [changelog](https://github.com/getsentry/sentry-javascript/blob/master/CHANGELOG.md#7260) + - [diff](https://github.com/getsentry/sentry-javascript/compare/7.21.1...7.26.0) ## 4.11.0 diff --git a/package.json b/package.json index 37a0ac5054..b4d9f13639 100644 --- a/package.json +++ b/package.json @@ -42,20 +42,20 @@ "react-native": ">=0.56.0" }, "dependencies": { - "@sentry/browser": "7.24.2", + "@sentry/browser": "7.26.0", "@sentry/cli": "1.74.4", - "@sentry/core": "7.24.2", - "@sentry/hub": "7.24.2", - "@sentry/integrations": "7.24.2", - "@sentry/react": "7.24.2", - "@sentry/tracing": "7.24.2", - "@sentry/types": "7.24.2", - "@sentry/utils": "7.24.2", + "@sentry/core": "7.26.0", + "@sentry/hub": "7.26.0", + "@sentry/integrations": "7.26.0", + "@sentry/react": "7.26.0", + "@sentry/tracing": "7.26.0", + "@sentry/types": "7.26.0", + "@sentry/utils": "7.26.0", "@sentry/wizard": "1.4.0" }, "devDependencies": { - "@sentry-internal/eslint-config-sdk": "7.24.2", - "@sentry-internal/eslint-plugin-sdk": "7.24.2", + "@sentry-internal/eslint-config-sdk": "7.26.0", + "@sentry-internal/eslint-plugin-sdk": "7.26.0", "@sentry/typescript": "^5.20.1", "@types/jest": "^26.0.15", "@types/react": "^18.0.25", diff --git a/yarn.lock b/yarn.lock index 48bd6b5994..3bfd31ff09 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1560,13 +1560,13 @@ resolved "https://registry.yarnpkg.com/@react-native/polyfills/-/polyfills-2.0.0.tgz#4c40b74655c83982c8cf47530ee7dc13d957b6aa" integrity sha512-K0aGNn1TjalKj+65D7ycc1//H9roAQ51GJVk5ZJQFb2teECGmzd86bYDC0aYdbRf7gtovescq4Zt6FR0tgXiHQ== -"@sentry-internal/eslint-config-sdk@7.24.2": - version "7.24.2" - resolved "https://registry.yarnpkg.com/@sentry-internal/eslint-config-sdk/-/eslint-config-sdk-7.24.2.tgz#d1ab222cbbbbd822ff6e62f83b5082257bd1c7eb" - integrity sha512-mpZXAkjGZvpH4eF3QMz85iWh9wlK34zE1PSlAe/MHW5vKJpNhbywQHF7A2qTZvKMcYM47kgMPOh7qBN8aBtqdg== +"@sentry-internal/eslint-config-sdk@7.26.0": + version "7.26.0" + resolved "https://registry.yarnpkg.com/@sentry-internal/eslint-config-sdk/-/eslint-config-sdk-7.26.0.tgz#98ee4cf62dcb4c32e9a86e7ecef1e411d71a4eb6" + integrity sha512-vlNQtBInzzK7YVmgsp1ux+KuEBIPC08Gj+HTAx5uJTJQhZX1Rb09q3v0bzbmu+yZWQhdztiybAlQH1mbsLLc0g== dependencies: - "@sentry-internal/eslint-plugin-sdk" "7.24.2" - "@sentry-internal/typescript" "7.24.2" + "@sentry-internal/eslint-plugin-sdk" "7.26.0" + "@sentry-internal/typescript" "7.26.0" "@typescript-eslint/eslint-plugin" "^3.9.0" "@typescript-eslint/parser" "^3.9.0" eslint-config-prettier "^6.11.0" @@ -1575,26 +1575,26 @@ eslint-plugin-jsdoc "^30.0.3" eslint-plugin-simple-import-sort "^5.0.3" -"@sentry-internal/eslint-plugin-sdk@7.24.2": - version "7.24.2" - resolved "https://registry.yarnpkg.com/@sentry-internal/eslint-plugin-sdk/-/eslint-plugin-sdk-7.24.2.tgz#4a83d81dc58b4edad8fedf3253b2f44697b39bfe" - integrity sha512-JKGYOivzMtB/23o4AzZ4PJGmHfP4PpWNbZzadMCLejWPF1JuJCaY+N8wzJta6HaeMYeg7xx6tENn+UkHfFWSdw== +"@sentry-internal/eslint-plugin-sdk@7.26.0": + version "7.26.0" + resolved "https://registry.yarnpkg.com/@sentry-internal/eslint-plugin-sdk/-/eslint-plugin-sdk-7.26.0.tgz#0db70ca66f510a99b853dd5946929cfc5363fdbb" + integrity sha512-l7OU8AxeAKfUW+vmZE/FPmiId21SkY6FEPvucdxseCeBfgA7ZB1ZlkJb7ZMKyodpj0nBwyeTkIXhewBqEtJziw== dependencies: requireindex "~1.1.0" -"@sentry-internal/typescript@7.24.2": - version "7.24.2" - resolved "https://registry.yarnpkg.com/@sentry-internal/typescript/-/typescript-7.24.2.tgz#3f0bd44f0a603ff66f205d5f8be08df163941dbb" - integrity sha512-Fni+KtxTpvEH7P+zQmmJ5IC7C0hpRjA7Q6md3T9C+3nPwAA5Au6AhJ+zYoLFUFt7f/ErczgtPhf8VOmqVr8b4Q== +"@sentry-internal/typescript@7.26.0": + version "7.26.0" + resolved "https://registry.yarnpkg.com/@sentry-internal/typescript/-/typescript-7.26.0.tgz#36bc9e6b07810e991e9e3e398b9bb4377abe7990" + integrity sha512-BjQf3cS9qPRwS0q4/uk8hu80xvYN2Zw2qlsNQZuzg4oQ4fiwmGy/U5flkPeouvp1P1akcqzjuTfvFnmlhDd6qg== -"@sentry/browser@7.24.2": - version "7.24.2" - resolved "https://registry.yarnpkg.com/@sentry/browser/-/browser-7.24.2.tgz#1e514448cd07ff7da78d02797149ecc1922ffcc2" - integrity sha512-X6NbQT0Dp+h54j73TPLgWf3yyLyTZGJI5WQSGEsNIroqhVzD3UF8M+E+3roYpSJDDyYdfuM+WBme+MYkmeqHIw== +"@sentry/browser@7.26.0": + version "7.26.0" + resolved "https://registry.yarnpkg.com/@sentry/browser/-/browser-7.26.0.tgz#152d0f59df85be3ed8a7161b0ca90a4dca7b382d" + integrity sha512-S6uW+Ni2VLGHUV9eAUtTy5QEvqKeOhcnWnv+2yTGDtQCJ0SuHfXRCM7ASAQYBiKffZqIFc9Z2XNU/2cuWcXJmw== dependencies: - "@sentry/core" "7.24.2" - "@sentry/types" "7.24.2" - "@sentry/utils" "7.24.2" + "@sentry/core" "7.26.0" + "@sentry/types" "7.26.0" + "@sentry/utils" "7.26.0" tslib "^1.9.3" "@sentry/cli@1.74.4": @@ -1623,60 +1623,60 @@ proxy-from-env "^1.1.0" which "^2.0.2" -"@sentry/core@7.24.2": - version "7.24.2" - resolved "https://registry.yarnpkg.com/@sentry/core/-/core-7.24.2.tgz#d3b69cc9c5703a4b35be1d648379804b099894e6" - integrity sha512-CDfrVvr3PQ0qImJv7/6yN/5hxhwxy1HicxTL9K5RwSDoXqgK3kUGv/WmTvPNIVB2RQKodLwzS2T52NFRxRoqNw== +"@sentry/core@7.26.0": + version "7.26.0" + resolved "https://registry.yarnpkg.com/@sentry/core/-/core-7.26.0.tgz#8f9fa439b40560edd09b464292d3084e1f16228f" + integrity sha512-ydi236ZoP/xpvLdf7B8seKjCcGc5Z+q9c14tHCFusplPZgLSXcYpiiLIDWmF7OAXO89sSbb1NaFt9YB0LkYdLQ== dependencies: - "@sentry/types" "7.24.2" - "@sentry/utils" "7.24.2" + "@sentry/types" "7.26.0" + "@sentry/utils" "7.26.0" tslib "^1.9.3" -"@sentry/hub@7.24.2": - version "7.24.2" - resolved "https://registry.yarnpkg.com/@sentry/hub/-/hub-7.24.2.tgz#5d09d6ecde9ecb7dab2da8ded481b3556cc016c6" - integrity sha512-i9uSIPex6TiyUR3csC/bpn/iys9ZullbamFD7a+sdqb0zwhen5mwz0yPcuLucdbqiM99WlxiN6SKqVbvm1nYmw== +"@sentry/hub@7.26.0": + version "7.26.0" + resolved "https://registry.yarnpkg.com/@sentry/hub/-/hub-7.26.0.tgz#a8d04c37384263439764f896ea0acbcf790dc521" + integrity sha512-djAMuA4/Jy28dOSy9z5ccXBDyYk1N9m0ljle+dKqjfJwv440tCGyoxm2arqJFHbXvqwJTt2Giv8ASR4uGD1UNg== dependencies: - "@sentry/core" "7.24.2" - "@sentry/types" "7.24.2" - "@sentry/utils" "7.24.2" + "@sentry/core" "7.26.0" + "@sentry/types" "7.26.0" + "@sentry/utils" "7.26.0" tslib "^1.9.3" -"@sentry/integrations@7.24.2": - version "7.24.2" - resolved "https://registry.yarnpkg.com/@sentry/integrations/-/integrations-7.24.2.tgz#f435c0323eb9e18ee80364741c8ef973e6ba859b" - integrity sha512-olxbRWzwAmA1K8tQkKxeLt4vOmRla3QMlzlQNPsVT2wkx96cjn3L/3D/Fpwlmru+wGpYsX1iNh0eH1OOqTTt4Q== +"@sentry/integrations@7.26.0": + version "7.26.0" + resolved "https://registry.yarnpkg.com/@sentry/integrations/-/integrations-7.26.0.tgz#958e3ed52a37a14c6f11aebf11b485eca52e56aa" + integrity sha512-5tyBA5BnZEuosSIvBP7mJz66xJaZTb/k1EzHEc0hR2Mw8QpLgMneDZBfi4vdbhxtGpJKC/gURoUGZf9hpwW+DA== dependencies: - "@sentry/types" "7.24.2" - "@sentry/utils" "7.24.2" + "@sentry/types" "7.26.0" + "@sentry/utils" "7.26.0" localforage "^1.8.1" tslib "^1.9.3" -"@sentry/react@7.24.2": - version "7.24.2" - resolved "https://registry.yarnpkg.com/@sentry/react/-/react-7.24.2.tgz#cc471cd75727c518f8942d8cf9a7777752fcf4b5" - integrity sha512-NK4/SDIWyQVYdi/EPfHfp7d0+flGNHbBuqV/GG/+CLSekUCuACsczSEWgMSyEad4ptbF9850yt5WN15oL5vAXg== +"@sentry/react@7.26.0": + version "7.26.0" + resolved "https://registry.yarnpkg.com/@sentry/react/-/react-7.26.0.tgz#548e1d29083d0e4732f2828d8cb8f9d0a150ae4e" + integrity sha512-v5XKpG1PF4qnWvG8E0N1kcUk74lTp+TDfKx5x996NIja2oOTp/JL9V0Q+lAMlB1EKgJuxLe92IeqD5/DTtzE7A== dependencies: - "@sentry/browser" "7.24.2" - "@sentry/types" "7.24.2" - "@sentry/utils" "7.24.2" + "@sentry/browser" "7.26.0" + "@sentry/types" "7.26.0" + "@sentry/utils" "7.26.0" hoist-non-react-statics "^3.3.2" tslib "^1.9.3" -"@sentry/tracing@7.24.2": - version "7.24.2" - resolved "https://registry.yarnpkg.com/@sentry/tracing/-/tracing-7.24.2.tgz#d9f0cf7d3055283a50fd38b14e0891b729c5d107" - integrity sha512-rK1HUeCLM27DGGah1+5DN0C9Y4g9dnyMU5rdrRxGQGqxIJiwzHYwJI9xoNoAVMmt8jqFliDEpYvh2jsW8593IA== +"@sentry/tracing@7.26.0": + version "7.26.0" + resolved "https://registry.yarnpkg.com/@sentry/tracing/-/tracing-7.26.0.tgz#25105f8aec64a0e7113e09674d300190378b1daa" + integrity sha512-UK8EiXxJrDTWD82Oasj2WP/QuQ+wzPlg74vYmxl1ie/LRs6C6wHkilBZwDV9HnDdqAqSjl0al8oBa075lK+U3Q== dependencies: - "@sentry/core" "7.24.2" - "@sentry/types" "7.24.2" - "@sentry/utils" "7.24.2" + "@sentry/core" "7.26.0" + "@sentry/types" "7.26.0" + "@sentry/utils" "7.26.0" tslib "^1.9.3" -"@sentry/types@7.24.2": - version "7.24.2" - resolved "https://registry.yarnpkg.com/@sentry/types/-/types-7.24.2.tgz#2ef728db8eea14de8ba916896837d0cbeb3d28da" - integrity sha512-x2LEnKBPzUVzTGspvB0CjZmt1dWeJsLVHGeDKPUMUm004nIscFCxJsmYefqaJQdaIUMqDit5ApwcmKchuK6VKQ== +"@sentry/types@7.26.0": + version "7.26.0" + resolved "https://registry.yarnpkg.com/@sentry/types/-/types-7.26.0.tgz#2fe8a38a143797abecbcd53175ebf8bf736e18de" + integrity sha512-U2s0q3ALwWFdHJBgn8nrG9bCTJZ3hAqL/I2Si4Mf0ZWnJ/KTJKbtyrputHr8wMbHvX0NZTJGTxFVUO46J+GBRA== "@sentry/typescript@^5.20.1": version "5.20.1" @@ -1686,12 +1686,12 @@ tslint-config-prettier "^1.18.0" tslint-consistent-codestyle "^1.15.1" -"@sentry/utils@7.24.2": - version "7.24.2" - resolved "https://registry.yarnpkg.com/@sentry/utils/-/utils-7.24.2.tgz#7120a8d36bd1d05043c902a0f22fbc2012fe2116" - integrity sha512-VuuYEF39v43Qk6YZMid8Em/N0HqCsS5ItuTSvunMtBai2dzDAIkJ2LqemF95wWFAXrzpLy4Nx3QyGVHayMn31A== +"@sentry/utils@7.26.0": + version "7.26.0" + resolved "https://registry.yarnpkg.com/@sentry/utils/-/utils-7.26.0.tgz#4b501064c5220947f210aa2d59e9b8bf60677502" + integrity sha512-nIC1PRyoMBi4QB7XNCWaPDqaQbPayMwAvUm6W3MC5bHPfVZmmFt+3sLZQKUD/E0NeQnJ3vTyPewPF/LfxLOE5A== dependencies: - "@sentry/types" "7.24.2" + "@sentry/types" "7.26.0" tslib "^1.9.3" "@sentry/wizard@1.4.0":