Skip to content

chore(deps): update Cocoa SDK to v8.0.0 #2707

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 17 commits into from
Jan 23, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
49 changes: 49 additions & 0 deletions .github/workflows/native-tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
name: Native Tests

on:
push:
branches: [main]
pull_request:

jobs:
cancel-previous-workflow:
runs-on: ubuntu-latest
steps:
- name: Cancel Previous Runs
uses: styfle/cancel-workflow-action@b173b6ec0100793626c2d9e6b90435061f4fc3e5 # [email protected]
with:
access_token: ${{ github.token }}

test:
name: ios
runs-on: macos-latest
steps:
- uses: actions/checkout@v3

- name: NPM cache
uses: actions/cache@v3
id: deps-cache
with:
path: node_modules
key: ${{ github.workflow }}-${{ github.job }}-npm-${{ hashFiles('yarn.lock') }}

- name: Install SDK JS Dependencies
if: steps.deps-cache.outputs['cache-hit'] != 'true'
run: yarn install

- name: Install App Pods
working-directory: RNSentryTester
run: pod install

- name: Run iOS Tests
working-directory: RNSentryTester
env:
SCHEME: RNSentryTester
CONFIGURATION: Release
DESTINATION: 'platform=iOS Simulator,OS=latest,name=iPhone 14'
run: |
env NSUnbufferedIO=YES \
xcodebuild -workspace *.xcworkspace \
-scheme $SCHEME -configuration $CONFIGURATION \
-destination "$DESTINATION" \
test
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@

## Unreleased

### Breaking changes

- Option `enableAutoPerformanceTracking` renamed to `enableAutoPerformanceTracing`
- Option `enableOutOfMemoryTracking` renamed to `enableWatchdogTerminationTracking`

### Features

- Sync `tags`, `extra`, `fingerprint`, `level`, `environment` and `breadcrumbs` from `sentry-cocoa` during event processing. ([#2713](https://github.com/getsentry/sentry-react-native/pull/2713))
Expand All @@ -11,6 +16,9 @@

### Dependencies

- Bump Cocoa SDK from v7.31.5 to v8.0.0 ([#2756](https://github.com/getsentry/sentry-react-native/pull/2756))
- [changelog](https://github.com/getsentry/sentry-cocoa/blob/main/CHANGELOG.md#800)
- [diff](https://github.com/getsentry/sentry-cocoa/compare/7.31.5...8.0.0)
- Bump Android SDK from v6.11.0 to v6.12.1 ([#2755](https://github.com/getsentry/sentry-react-native/pull/2755))
- [changelog](https://github.com/getsentry/sentry-java/blob/main/CHANGELOG.md#6121)
- [diff](https://github.com/getsentry/sentry-java/compare/6.11.0...6.12.1)
Expand Down
4 changes: 2 additions & 2 deletions RNSentry.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ Pod::Spec.new do |s|
s.preserve_paths = '*.js'

s.dependency 'React-Core'
s.dependency 'Sentry/HybridSDK', '7.31.5'
s.dependency 'Sentry/HybridSDK', '8.0.0'

s.source_files = 'ios/RNSentry.{h,mm}'
s.source_files = 'ios/**/*.{h,mm}'
s.public_header_files = 'ios/RNSentry.h'

# This guard prevent to install the dependencies when we run `pod install` in the old architecture.
Expand Down
8 changes: 8 additions & 0 deletions RNSentryTester/Podfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
require_relative '../node_modules/react-native/scripts/react_native_pods'

platform :ios, '12.4'

target 'RNSentryTesterTests' do
use_react_native!()
pod 'RNSentry', :path => '../RNSentry.podspec'
end
Loading