Skip to content
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

feat: merge the upstream #6

Merged
merged 97 commits into from
Mar 15, 2024
Merged

feat: merge the upstream #6

merged 97 commits into from
Mar 15, 2024

Conversation

hellohublot
Copy link

No description provided.

TheAlmightyBob and others added 30 commits November 9, 2022 12:39
## [11.25.1](react-native-webview/react-native-webview@v11.25.0...v11.25.1) (2022-12-07)

### Bug Fixes

* **android:** Respect "filename*" parameter in the field Content-Disposition when detecting filenames for downloading. ([react-native-webview#2767](react-native-webview#2767)) ([47c05b0](react-native-webview@47c05b0))
This was always being set to "true", even if no onMessage handler was provided
…aded for Android (react-native-webview#2746)

* Add acknowledgement that injectedJavaScriptBeforeContentLoaded is implemented for Android, but warning that it may be unreliable

* Linkify?
Hello everyone, the support for new architecture (fabric) is finally landing 🚀 . I've taken a lot of time but I've had to re-understand the whole codebase, the old arch, the new arch, and I did not want to take too many shortcuts.

This release should be mostly non breaking (except for a few well deserved props removals).
HOWEVER, this is a lot of code over a lot of time. Mistakes can happen, if you feel unsafe stick to v11 for a lil' while.

Finally this will unblock many PR (sorry for the conflicts in advance), so let's get releasing again 🔥 

If you appreciate my work please to [sponsor me](https://github.com/sponsors/Titozzz)

BREAKING CHANGE:

- If you are using custom native implementation are still possible on the old arch but many classes were moved / renamed so they will need some changes

- removed the following props: androidHardwareAccelerationDisabled (deprecated), urlPrefixesForDefaultIntent (unused)
# [12.0.0](react-native-webview/react-native-webview@v11.26.1...v12.0.0) (2023-04-01)

### Features

* Fabric support ([react-native-webview#2686](react-native-webview#2686)) ([5558e28](react-native-webview@5558e28))

### BREAKING CHANGES

* - If you are using custom native implementation are still possible on the old arch but many classes were moved / renamed so they will need some changes

- removed the following props: androidHardwareAccelerationDisabled (deprecated), urlPrefixesForDefaultIntent (unused)
Fixed a build issue that could be happening on iOS see react-native-webview#2915
## [12.0.3](react-native-webview/react-native-webview@v12.0.2...v12.0.3) (2023-05-22)

### Bug Fixes

* **Android:** Don't crash while downloading file with % in filename ([react-native-webview#2861](react-native-webview#2861)) ([81e3aa4](react-native-webview@81e3aa4))
semantic-release-bot and others added 25 commits October 6, 2023 11:12
## [13.6.2](react-native-webview/react-native-webview@v13.6.1...v13.6.2) (2023-10-06)

### Bug Fixes

* **android:** Prevent libhwui crash when WebView is in ScrollView ([react-native-webview#2874](react-native-webview#2874)) ([886664d](react-native-webview@886664d))
…ative-webview#3231)

* update podspec to be compatible with RN 0.72

* improved fallback
## [13.6.4](react-native-webview/react-native-webview@v13.6.3...v13.6.4) (2024-01-02)

### Bug Fixes

* **android:** add buildFeatures.buildConfig true for AGP8+ compat ([react-native-webview#3219](react-native-webview#3219)) ([f849077](react-native-webview@f849077))
* **iOS:** update podspec to use install_modules_dependencies ([react-native-webview#3231](react-native-webview#3231)) ([b4f047a](react-native-webview@b4f047a))
…3047)

* Update podspec

* Remove `react` block from `build.gradle`

---------

Co-authored-by: Thibault Malbranche <thibault@brigad.co>
…penWindow` to Windows

* Add WindowsWebViewCommands and implement releaseFocus

* Fixes to setup request methos, added helpers class to visual studio project and fixed missing FocusManager namespace

* Add LinkHandlingEnabled property to allow application to handle request by the webview to open new windows

* Refactor cookie handling in ReactWebView2.cpp

* Fix WebView source handling and add new commands

* Add linkHandlingEnabled property to nativeProps

* Add postMessage and loadUrl commands to command list

* Add loadUrl function to WebViewComponent

* Refactor string manipulation functions in ReactWebViewHelpers

* Refactor cookie handling in ReactWebView2.cpp

* Update RNCWebViewUIManagerWindows type in WebViewTypes.ts

* Fix WebView messaging functionality

* Add useWebView2 prop to WebView component

* Update test to include alert support in WebView2

* Create Windows specific example components for testing webview scenarios

* Update documentation

---------

Co-authored-by: Kennedy Mumo <kemumo@microsoft.com>
# [13.7.0](react-native-webview/react-native-webview@v13.6.4...v13.7.0) (2024-01-31)

### Features

* **Windows:** Add support for custom headers, POST requests and `onOpenWindow` to Windows ([9e2794e](react-native-webview@9e2794e))
…parameter (react-native-webview#3319)

Co-authored-by: Kennedy Mumo <kemumo@microsoft.com>
## [13.7.1](react-native-webview/react-native-webview@v13.7.0...v13.7.1) (2024-02-06)

### Bug Fixes

* **Windows:** Refactor ReactWebView2.cpp to handle optional 'method' parameter ([react-native-webview#3319](react-native-webview#3319)) ([f0791d8](react-native-webview@f0791d8))
…S/macOS (react-native-webview#3234)

* Suspend media playback when destroying WebView on iOS/macOS

* Fixes crash on iOS <15.0 and macOS <12.0 when pausing playback on dismount

---------

Co-authored-by: Thibault Malbranche <thibault@brigad.co>
…ED (react-native-webview#3296)

* Replace UIKit with RCTUIKit on MacOS for RCT_NEW_ARCH_ENABLED

* Exclude iOS specific destroy handler.

* Fix `Non-constant-expression cannot be narrowed from type 'BOOL' (aka 'signed char') to 'bool' in initializer` when building for Release

* Minor fix (typo)
## [13.7.2](react-native-webview/react-native-webview@v13.7.1...v13.7.2) (2024-02-13)

### Bug Fixes

* **iOS:** Replace UIKit with RCTUIKit on MacOS for RCT_NEW_ARCH_ENABLED ([react-native-webview#3296](react-native-webview#3296)) ([cb9fb9c](react-native-webview@cb9fb9c))
* **ios, macos:** Suspend media playback when destroying WebView on iOS/macOS ([react-native-webview#3234](react-native-webview#3234)) ([7af398c](react-native-webview@7af398c))
* feat(ios): injectedJavaScriptObject props connect

* feat(ios): injectedJavaScriptObject ios component props

* feat(ios): injectedObjectJsonScript addUserScript

* refactor(ios): type position lines

* revert: src/WebViewTypes.ts

* docs: support injectedJavaScriptObject ios

* remove log

* fix(ios): return string single quote
Co-authored-by: Thibault Malbranche <thibault@brigad.co>
## [13.8.1](react-native-webview/react-native-webview@v13.8.0...v13.8.1) (2024-02-13)

### Bug Fixes

* **android:** Fix WebViewManager can no longer be customized ([react-native-webview#3315](react-native-webview#3315)) ([0068588](react-native-webview@0068588))

This comment was marked as off-topic.

@loatheb loatheb merged commit 35c21f1 into master Mar 15, 2024
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet