sentry-react-native
sentry-react-native copied to clipboard
chore(deps): update Sample React Native to v0.70.3
Bumps sample/scripts/update-rn.sh from v0.67.4 to v0.70.3.
Auto-generated by a dependency updater.
Changelog
v0.70.3
Fixed
- Stop styles from being reset when detaching Animated.Values in old renderer (2f58e52006 by javache)
- Revert "Fix TextInput dropping text when used as uncontrolled component with
defaultValue" to fix TextInputs not being settable to undefined programmatically (e2645a5) by Garrett Forbes Monroe
Android specific
- Use NMake generator for Hermes build on Windows (9d08d55bbe by mganandraj)
- Fixing failure building RN codegen CLI on Windows (85c0c0f21f by mganandraj)
iOS specific
- Add xcode 14 workaround (turn off signing resource bundles) for
React-Core(967de03f30 by kelset)
v0.70.2
Added
iOS specific
- Add support for "Prefer Cross-Fade Transitions" into AccessibilityInfo (be7c50fefd by gabrieldonadel)
Changed
- Bump CLI to 9.1.3 and Metro to 0.72.3 (f164556037 by kelset)
Fixed
- Inform ScrollView of Keyboard Events Before Mount (26d148029c by NickGerleman)
Android specific
- Fix port as -1 if dev server without specifying port on Android (3d7e1380b4 by Kudo)
v0.70.1
Added
- Add more debugging settings for HermesExecutorFactory (32d12e89f8 by Kudo)
- Support TypeScript array types for turbo module (component only) (33d1291e1a by ZihanChen-MSFT)
Changed
- Accept TypeScript type
T | null | undefinedas a maybe type of T in turbo module. (9ecd203eec by ZihanChen-MSFT) - Bump react-native-gradle-plugin to 0.70.3 (e33633644c by dmytrorykun)
- Bump react-native-codegen to 0.70.5 (6a8c38eef2 by dmytrorykun)
- Hermes version bump for 0.70.1 (5132211228 by dmytrorykun)
Fixed
- Fix hermes profiler (81564c1a3d by janicduplessis)
Android specific
- Support PlatformColor in borderColor (2d5db284b0 by danilobuerger)
- Avoid crash in ForwardingCookieHandler if webview is disabled (5451cd48bd by Pajn)
- Correctly resolve classes with FindClass(..) (361b310bcc by evancharlton)
iOS specific
- Fix KeyboardAvoidingView height when "Prefer Cross-Fade Transitions" is enabled (4b9382c250 by gabrieldonadel)
- Fix React module build error with swift integration on new architecture mode (3afef3c167 by Kudo)
- Fix ios pod install error (0cae4959b7 by Romick2005)
0.70.0
Breaking
- Remove jest/preprocessor from the react-native package (0301cb285b by motiz88)
- Remove nonstandard Promise.prototype.done (018d5cf985 by motiz88)
Added
- Support TypeScript array types for turbo module (module only) (f0c4c291e1 by ZihanChen-MSFT)
- Added files for
avn,nodenv, and other managers that set the node.js version in reactive native project including testing (933fbb1b2b by ramonmedel) - Support BigInt in Hermes (11bae63bb1 by jpporto)
- The old Hermes instrumented stats migrated to the new one (c37f719567 by jpporto)
- Modified getDefaultJSExecutorFactory method (87cfd386cb by KunalFarmah98)
EventEmitter#emitnow freezes the set of listeners before iterating over them, meaning listeners that are added or removed will not affect that iteration. (e5c5dcd9e2 by yungsters)- Added File and Blob globals to eslint community config (d881c87231 by shamilovtim)
- C++ TurboModule methods can now use mixed types (3c569f546c by appden)
- Add useNativeDriver as a param for setValue for Animated (73191edb72 by genkikondo)
- Add
Animated.NumericFlow type (9eb7629ac6 by motiz88) - Add LTI annotations to function params (c940eb0c49, e7a4dbcefc, d96744e277 by pieterv)
Android specific
- Accessibility announcement for list and grid in FlatList (2d5882132f, 105a2397b6 by fabriziobertoglio1987)
- Add READ_VOICEMAIL and WRITE_VOICEMAIL permissions to PermisionsAndroid library. (8a2be3e143 by zolbooo)
- Add POST_NOTIFICATIONS, NEARBY_WIFI_DEVICES permission (0a854c7c8b by vincent-paing)
- Extend the React Native Gradle plugin to accept a config from package.json (5f3c5aa529 by cortinico)
- Ability to pass a Typeface object to ReactFontManager in addition to a font resource ID (e2dd2e2a6e by thurn)
- Option to enable lazyViewManager support with
ViewManagerOnDemandReactPackage(d4b59cd9d0 by javache) - Support for dataUri in form data (c663c0ec9d by hetanthakkar1)
- Add android-only prop documentation at the TextInput js level. (f2e23215ca)
- Update template to gitignore
android/app/.cxx(542d43df9d by leotm)
iOS specific
- Add Mac Catalyst compatibility (can be enabled in Podfile) (2fb6a3393d by Arkkeeper)
- Enabled Hermes Intl (3fa3aeba93 by neildhar)
- HTTP Response headers added to the error object passed to JS code. (9eb2826f9b)
- Add userInterfaceStyle to Alert to override user interface style for iOS 13+ (47bd78f64f by luoxuhai)
- Add function to cleanup codegen folders (71692889b0 by cipolleschi)
- Cocoapods function to add the
CLANG_CXX_LANGUAGE_STANDARDto all the targets if needed (ca8174e15f by f-meloni) - Support codegen from a single folder (05aaba9514 by cipolleschi)
- Run script phases tests in CI (c171a6e157 by cipolleschi)
Changed
- Bump React Native Codegen to 0.70.0 (a22ceecc84 by dmytrorykun, 2a274c1a08 by cortinico, ce4246a05c by dmytrorykun)
- Upgrade RN CLI to v9.0.0, Metro to 0.72.1 (0c2fe96998 by thymikee, 7e580b97bf by kelset, c504d038c4 by thymikee, f1d624823f by kelset, 2b49ac6f8b by thymikee)
- Doc: fix minimum iOS version in requirements section (ec3c8f4380 by Simon-TechForm)
- Remove "Early" in Js error reporting pipeline (0646551d76 by sshic)
- Update react-native/eslint-plugin-specs to 0.70.0 (d07fae9b23, afd76f69c7 by dmytrorykun, ea8d8e2f49 by cortinico)
- Do not depend on hermes-engine NPM package anymore (78cd689f9a by cortinico)
- Add ability to pass
ItemSeparatorComponentas React Element (5854b11bf9 by retyui) - Hermes version bump. (0b4b7774e2 by dmytrorykun, 8c682ddd59 by dmytrorykun, eb6767813a by cortinico)
- Codemod
{...null}to{}in xplat/js (f392ba6725 by gkz) - Fix TextInput dropping text when used as uncontrolled component with
defaultValue(51f49ca998) - Suppress errors ahead of launch (67e12a19cb by gkz)
- Suppress missing 'this' annotations (6c563a507f by pieterv)
- Suppress missing annotations (66c6a75650 by pieterv)
- Use RuntimeConfig instead of VM Experiment Flag to set up the micro task queue. (753038cf34 by fbmal7)
- Update direct Metro dependencies to 0.72.0 (05dcebc211 by kelset, 64788cc9fe by huntie, bdeb4e0655 by jacdebug, 894f652639 by robhogan, 08ebc1cfd8 by arushikesarwani94)
- ECOSYSTEM.md: update Partner entries (5471afeebf by Simek)
- Move ScrollView's contentOffset to common props (7c581f3d30 by genkikondo)
- Upgrade react-native-gradle-plugin to 0.70.2 (1518f838b7, 2176173dcc by dmytrorykun)
- Update a few metro deps as follow up from the commit from main (7c7ba1babd by kelset)
Android specific
- Bump Android Gradle Plugin to 7.2.1 (53c8fc9488 by leotm, c274456e5b by dulmandakh)
- Rename NativeModuleCallExceptionHandler to JSExceptionHandler for broader usage (b6f7689d70 by sshic)
- Simplify the Android.mk file in the App Template (7fb0bb40d2 by cortinico)
- Make Hermes the default engine on Android (a7db8df207 by cortinico)
- Revamp touch event dispatching methods (089ff4555a by sshic)
- Demonstrating Dark Mode correctly in the
StatusBarfor the starter template App. (763dc52387 by mrbrentkelly) - Bump Gradle to 7.5.0 (5c8186623a by leotm, 99e7373dd2 by dulmandakh)
- Generalized the return type of ViewManagerOnDemandReactPackage.getViewManagerNames (51e029ec3c by javache)
- Don't assert on current activity when call startActivityForResult (bf6884dc90 by sshic)
- Adapt template to new architecture autolinking on Android (9ad7cbc3eb by thymikee)
- Replaced reactnativeutilsjni with reactnativejni in the build process to reduce size (54a4fcbfdc by SparshaSaha)
- Bump Soloader to 0.10.4 (b9adf2db20 by mikehardy)
- Update the new app template to use CMake instead of Android.mk (dfd7f70eff by cortinico)
- Refactored usage of kotlin plugin (be35c6dafb by hurali97)
- Bump Gradle to 7.5.1 (7a911e0730 by AlexanderEggers)
- Fix error of release builds with Hermes enabled for Windows users (7fcdb9d9d8 by JoseLion)
iOS specific
- Move and test Hermes setup from react_native_pods script into a dedicated file (468b86bd37 by cipolleschi)
- Use the correct operator to decide whether Hermes is enabled or not. (61488449b9 by cipolleschi)
- Hermes is now the default engine on iOS. This setting is controlled via
flags[:hermes_enabled]in the Podfile. (1115bc77db by hramos) - Move LocalPodspecPatch to dedicated file (8fe2b591c7 by cipolleschi)
- Move the
modify_flags_for_new_architecturemethod to separate ruby file (71da21243c by cipolleschi) - Refactoring part of the react_native_pods.rb script (4f732ba9ee, 7a2704455f by cipolleschi)
- When Hermes is enabled, it will use the same copy of JSI as React Native (340612a200 by hramos)
- Move
use_flipperlogic insideuse_react_nativeand simplify the Flipper dependencies logic (0bd5239553 by f-meloni) - Export
flipper.rbscript file (e07a7eb16b by cipolleschi) - Use
outputDiras base directory for the codegen and remove the possibility to customize the intermediate path. The generated code requires specific paths in the#includedirective. (e4d0153a67 by cipolleschi) - Refactor part of the codegen scripts and add tests. (0465c3fd10, 305a054865 by cipolleschi)
- CodeGen now supports the
"all"library type. (6718500eaa by cipolleschi) - Fix the test_ios_unit test (fdbe4719e2 by cipolleschi)
- Update Podfile to allow
PRODUCTION=1 pod install(77752fc403 by leotm) - Destruct use_reactnative parameters and ad ddocumentation (79a37e5a88 by cipolleschi)
- Move codegen in separate files (7d069b2583 by cipolleschi)
- Silence warning due to react-native internal details. (a4599225f5 by cipolleschi)
Removed
- Remove previously deprecated Transform style-attribute props (7cfd77debd by Zachinquarantine)
- Remove deprecated
isTVOSconstant. (6075d64acf by Zachinquarantine) - The diffs renames the required variable which was causing conflicts in names with Apple core SDK's (086c13dd5f by arinjay)
- Removed
EventEmitter.prototype.removeSubscriptionmethod. (870755fa7e by yungsters) - Remove deprecated removeListener methods (2596b2f695 by matinzd)
- Remove APPLETVOS variants from BUCk targets. (cf2e27c388 by d16r)
iOS specific
- Remove
emulateUnlessSupported(c73e021a4b by ken0nek) - Remove USE_CODEGEN_DISCOVERY flag (2e720c3610 by cipolleschi)
Fixed
- Throw JSINativeException from asHostObject (ef6ab3f5ca by neildhar)
- Use new Babel parser instead of deprecated one (97291bfa31 by Kerumen)
- Fixed a crash on deserialization of props when using 'px'/'em' units. (70788313fe by nlutsenko)
- Fix nullability lost on readonly types in TurboModule specs (c006722e6c by appden)
- Make tests pass for windows (9596bf045d by cipolleschi)
- Handle possible null exception on ReactEditText with AppCompat 1.4.0 (24a1f5c66c by mikemasam)
- Fixed the disappearance of items when scrolling after zooming VirtualizedList. (13a72e0ccc by islandryu)
- Improved Flow type inference in Animated
.interpolate()(7b86fa2b79 by motiz88) - Add Jest mock for Vibration module (79529a1c77 by hduprat)
- Allow ReactInstrumentationTest to use custom JSIModules (eb2a83b0be by christophpurrer)
- Working around Long paths limitation on Windows (883a93871c by mganandraj)
- Fix eslint-plugin-specs prepack npm lifecycle hook now that we use npm 8 (8441c4a6f7 by kelset)
- Codegen should ignore
.d.tsfiles (0f0d52067c by tido64) - Avoid full copy of large folly::dynamic objects in JSIExecutor#defaultTimeoutInvoker (521011d4cc by christophpurrer)
Android specific
- Fixed HorizontalScrollView API scrollToEnd causing NPE in side-effects. (e5ba6ab7b4 by ryancat)
- Fix InputAccessoryView crash on Android (afa5df1764 by hduprat)
- Bring back non-rootview touch handling based on reactTag (8b837268b4 by fkgozali)
- Make Text not focusable by default (8ced165e53 by kacieb)
- Revert PR 33924 because of issues with TextInputs with numeric keyboard types not respecting the secureTextEntry prop (edb27e3aa1 by charlesbdudley)
- Fix edge case when we enqueue a pending event to views on stopped surface (ea7c9f2ad9 by ryancat)
- Fix a bug where the keyboard, once set as email, won't change back to default. (ec307e0167 by larkox)
- NPE in
ReactEditText.setInputTypewhen React Native is used with some versions of a AppCompat 1.4.x. (and possibly others) (92ebb298e2) - Fix NPE on
ReactEditTextdue to null mFabricViewStateManager (ba6bf5a3ce by cortinico) - Scroll views would still receive scroll events when nested in a view with
pointer-events: "none"(fced96bf52 by javache) - Fixed an edge case that event dispatching is failed after pre-allocation of a view and before the view is mounted. (a093fe5f2f by ryancat)
- Avoid crash by handling missing views in dispatchViewManagerCommand (ee1a191cb1 by hsource)
- Pass react build dir to cmake (6ab7a99518 by janicduplessis)
- Fix missing space in ReactPropertyException message (24560b6718 by markv)
- Fix import path breakage (2e1e62f2bf by aniketmathur)
- When
onEndReachedThresholdis set to 0onEndReachedfunction onVirtualizedListproperly fires once the user scrolls to the bottom of the list. (b869680c11) - Fix rendering of transparent borders in RN Android (a9659ce86d by mdvacca)
- Exception with
Cannot load WebViewmessage will initialising WebView (along with existing checks) (9e0d8696cc by rachitmishra) - Fix accessibilityState overwriting view's disabled state on Android (f35d18caa3 by okwasniewski)
- Make sure *.ts files are considered for task avoidance in the Gradle Plugin (1a9fb6cb68 by cortinico)
- Fix missing import on New Architecture build script in template (a22f30d2ce by cortinico)
iOS specific
- Use
NODE_BINARYfrom.xcode.envwhen running packager from Xcode (ff785dbcf5 by elsurudo) - Bug with error message formatting when bundle is missing (f501979f3d by BenLorantfy)
- Fix the race condition when calling readAsDataURL after new Blob(blobs) (bd12e41188 by wood1986)
- Fix the way the orientation events are published, to avoid false publish on orientation change when app changes state to inactive (7d42106d4c by lbaldy)
- Fix sed error when installing
glog(4a7e4b9ca6 by alphashuro) - Don't validate ENTRY_FILE in react-native-xcode.sh (780fe80fca by janicduplessis)
_scrollViewComponentViewis set toRCTPullToRefreshViewComponentView'ssuperview (4e4b9e2111 by dmytrorykun)- Use
GCC_PREPROCESSOR_DEFINITIONSto setFB_SONARKIT_ENABLED(77e6bff629 by janicduplessis) - Fix Hermes not being properly downloaded during pod install (d5e0659fcc by cortinico)
- Typo in the documation for the
automaticallyAdjustKeyboardInsetsprop (927b43d47c by jeremybarbet) - Deprecate iOS/tvOS SDK 11.0 support now that 12.4+ is required (f56d701e56 by leotm)
- Fix blank spaces that don't recover as you scroll when in an RTL locale and e.nativeEvent.zoomScale is -1. (bc7b5c3011, 2f491bfa9f)
- Fixed paddingTop not being applied when using padding and paddingVertical in multiline textinput (2fb107c9a6 by hetanthakkar1)
- Fixed the ability to pass the port to use for Metro when running
react-native run-ios --port <port>. (7dc0b5153e by lindboe) - Fix missing imports (c78babac39)
- Fix React-bridging headers import not found (c4b51e8d76 by Kudo)
- Fix Hermes executor not available when
use_frameworksis enabled (88b7b640a7 by Kudo)
Security
- Add GitHub token permissions for workflows (3da3d82320 by varunsh-coder)
- Bump RCT-Folly to 2021-07-22 (68f3a42fc7 by luissantana)
v0.69.6
Changed
- Bump version of
promisefrom 8.0.3 to 8.2.0, enablingPromise.allSettled(951538c080 by retyui)
Fixed
- Fix hermes profiler (81564c1a3d by janicduplessis)
Android specific
- Correctly resolve classes with FindClass(..) (361b310bcc by evancharlton)
iOS specific
- Fix the way the orientation events are published, to avoid false publish on orientation change when app changes state to inactive (7d42106d4c by lbaldy)
- Fix React module build error with swift integration on new architecture mode (3afef3c167 by Kudo)
v0.69.5
Changed
- Bump react-native-codegen to 0.69.2 (df3d52bfbf by dmytrorykun)
Android specific
- Replaced reactnativeutilsjni with reactnativejni in the build process to reduce size (54a4fcbfdc by SparshaSaha)
Fixed
- Codegen should ignore
.d.tsfiles (0f0d52067c by tido64)
v0.69.4
Changed
- Upgrade RN CLI to v8.0.4 (66c68c37ce by thymikee)
Android specific
- Modified getDefaultJSExecutorFactory method (87cfd386cb by KunalFarmah98)
v0.69.3
Fixed
iOS specific
- Fix React-bridging header not found for third party modules (fa2acc32d1 by Kudo)
v0.69.2
Changed
- Set react-shallow-renderer v16.15.0 for react v18 compat (a39a7c453d by mikehardy)
- Upgrade RN CLI to v8.0.3 (28cbd21d21 by thymikee)
iOS specific
- Hermes pod: change logic to use the hermes tag to set the pod source correctly (46a9edc854 by kelset)
- Fix the race condition when calling readAsDataURL after new Blob(blobs) (bd12e41188 by wood1986)
- Make sure that Flipper pods are not installed when creating a release build (23accbf58d by cipolleschi)
v0.69.1
Changed
iOS specific
- Make all Yoga headers public and add #ifdef __cplusplus (43f831b23c by janicduplessis)
Fixed
- Use monotonic clock for performance.now() (114d31feee)
iOS specific
- Fix build for React-RCTText (4ea38e16bf by ph4r05)
- Fix RCT-Folly build error when use_frameworks! and hermes are both enabled (79baca678a by Kudo)
- Fix use_frameworks! for 0.69 (f97c6a5b49 by Kudo)
v0.69.0
Breaking
- Support for
console.disableYellowBoxhas been dropped - Already deprecated prop types have been removed (cdfddb4dad, 3e229f27bc, 10199b1581)
removeListener, deprecated since RN0.65, was removed from Appearance- If you were using
SegmentedComponentIOS, you will now need to move to the segmented-control library (235f168574)
Added
- Add Hermes scripts to package (004b8609d9 by hramos)
- Expose scheduler through FabricUIManager (1730949e94 by cortinico)
- Add event listeners to Scheduler (e51e19ecc1 by cortinico)
- C++ TurboModule methods can return functions (c7380ba113 by appden)
- Add support for devtools' profiler (fefa7b6ac8 by jpporto)
- Add getAll function to FormData class for getting all parts containing that key. This is also available in web API. (d05a5d1551 by matinzd)
- Automatic type conversions for C++ TurboModules (31f0796237 by appden)
- New bridging API for JSI <-> C++ (30cb78e709 by appden)
- Add asBool() method to JSI (603620b739 by appden)
- CustomEvent and Event polyfills for React Native (6abbef1200 by JoshuaGross)
- Implement Runtime.getHeapUsage for hermes chrome inspector (cff9590864 by janicduplessis)
- Introduce ReactNativeFeatureFlags file to control FeatureFlags in React Native (33aba77456 by mdvacca)
- Added fail-safe check to catch MissingWebViewPackage Exception (8c573d9336 by Kunal-Airtel2022)
- Add ability to access properties with symbol keys through JSI (9010bfe457 by neildhar)
- Allow color styles to be animated using native driver (201f355479 by genkikondo)
- Make react-native depend on react-native-gradle-plugin (3346efb7d4 by cortinico)
- Add RawEventTelemetryEventEmitter interface to ReactNativePrivateInterface (1f15a64028 by JoshuaGross)
- Implement Runtime.getHeapUsage for hermes chrome inspector (3568a72987 by janicduplessis)
- Add support for C++17 in OSS (c2e4ae39b8 by sammy-SC)
Android specific
- Generate
Nullablefor optional objects and arrays in module codegen. (ffaa5d69bc) - Expose an API to enable Concurrent Root on Android (d7b64b8d4b by cortinico)
- Add scrollEventThrottle prop support in Android (cf55fd587e by ryancat)
- Accessibility announcement for list and grid in FlatList (dd6325bafe by fabriziobertoglio1987)
- Introduce ModuleDataCleaner.cleanDataFromModules(ReactContext) (184dfb8f8b by RSNara)
- Introduce ReactContext.getNativeModules() (b978308519 by RSNara)
- MapBuffer implementation for JVM -> C++ communication (cf6f3b680b)
- Make links independently focusable by Talkback (7b5b114d57 by fabriziobertoglio1987)
- Support animating text color with native driver (87cdb607e4 by genkikondo)
- Added an experimental prop serialization path based on MapBuffer (cbcdaae2b5)
- Allow to setup a Gradle Enterprise instance via an external script (f11dcfaea1 by cortinico)
- Support platform color with AnimatedColor (cb42049e0a by genkikondo)
:warning: Changelog content truncated by 73994 characters because it was over the limit (60000) and wouldn't fit into PR description.