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

Release Notes for WebView2 119 Prerelease SDK #2838

Merged
merged 43 commits into from
Sep 21, 2023
Merged
Changes from 11 commits
Commits
Show all changes
43 commits
Select commit Hold shift + click to select a range
637df69
draft Prerelease section
mikehoffms Sep 15, 2023
5981eb4
Remove Prelim note
mikehoffms Sep 15, 2023
fbcb005
Remove sample app changes
victorhuangwq Sep 15, 2023
de61fec
Adds Frame Process Info API and NewWindowRequested
victorhuangwq Sep 18, 2023
cd48c45
Change name of frame process info
victorhuangwq Sep 18, 2023
a016d6c
Merge branch 'main' into user/mikehoffms/relnotes-prerelease-119
mikehoffms Sep 18, 2023
b2784a9
Merge branch 'user/mikehoffms/relnotes-prerelease-119' of https://git…
mikehoffms Sep 18, 2023
5bfd159
writer pass on new tab-set
mikehoffms Sep 18, 2023
7bf8413
member kind for win32 links
mikehoffms Sep 18, 2023
befe20d
Update GetProcessExtendedInfo information
victorhuangwq Sep 18, 2023
b838138
Tighten ProcessExtendedInfo desc
mikehoffms Sep 18, 2023
5cdd776
Frame Process Info API not Get...
mikehoffms Sep 18, 2023
78a9917
Tighten lines in Win32
mikehoffms Sep 18, 2023
bb9ae95
Lead-in for Promotions
mikehoffms Sep 18, 2023
c3c5ccd
Restore Release section above
mikehoffms Sep 18, 2023
70f4ac5
Add GetProcessExtendedInfos for WinRT and DotNet
victorhuangwq Sep 18, 2023
420f464
Enum values
mikehoffms Sep 19, 2023
b5a94c4
Spell Win32 enum values
mikehoffms Sep 19, 2023
0b17528
Remove member anchor from type link
mikehoffms Sep 19, 2023
dd10846
templates, incl "Experimental APIs" heading
mikehoffms Sep 19, 2023
19a8a4c
Experimental features > Experimental APIs
mikehoffms Sep 19, 2023
1e6280e
Reduced/clarified use of General heading
mikehoffms Sep 19, 2023
671649b
Remove dup stray Promotions section
mikehoffms Sep 19, 2023
aa0f45b
Restore list item format for Importants in 0.9.579
mikehoffms Sep 19, 2023
91bdae5
Flatten headings that apply to All Platforms
mikehoffms Sep 19, 2023
afe223c
Moved Bug Fixes to be last in sections
mikehoffms Sep 19, 2023
8dfd68c
Remove trailing spaces
mikehoffms Sep 19, 2023
a93032a
Add "General features" heading in templates
mikehoffms Sep 19, 2023
24f1b7f
Remove C++ member kind
mikehoffms Sep 19, 2023
186ee06
Remove kind from C++ link text
mikehoffms Sep 19, 2023
01d0658
Broad vs. narrow names of Frame Process Info API
mikehoffms Sep 19, 2023
8404e50
Whitespace to trigger doc build
mikehoffms Sep 19, 2023
ef4e939
Clarify lead-ins
mikehoffms Sep 19, 2023
b4cb0ac
Group bug fixes for Runtime vs SDK
mikehoffms Sep 19, 2023
1b09be5
Dummy change 2 to trigger build
mikehoffms Sep 19, 2023
feb6863
update date
mikehoffms Sep 20, 2023
7f81353
add specifier Release or Prerelease before SDK
mikehoffms Sep 20, 2023
3fbae89
Test Win32 links, swap order
mikehoffms Sep 20, 2023
d48eed8
Test & finalize WinRT links
mikehoffms Sep 20, 2023
a16ff19
Move CustomSchemeRegistration to Promotions
mikehoffms Sep 20, 2023
1c9275c
SetPermissionState affects Runtime & SDK
mikehoffms Sep 20, 2023
c7112a3
x-plat links augment RT's CustomSchemeRegistrations
mikehoffms Sep 20, 2023
2a178df
Scheme reg API plural
mikehoffms Sep 20, 2023
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
127 changes: 116 additions & 11 deletions microsoft-edge/webview2/release-notes.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ ms.author: msedgedevrel
ms.topic: conceptual
ms.prod: microsoft-edge
ms.technology: webview
ms.date: 09/18/2023
ms.date: 09/19/2023
---
# Release Notes for the WebView2 SDK

Expand Down Expand Up @@ -105,27 +105,132 @@ For full API compatibility, this version of the WebView2 SDK requires Microsoft


<!-- ====================================================================== -->
## 1.0.2045.28
## 1.0.2106-prerelease

Release Date: September 18, 2023
Release Date: September 19, 2023

[NuGet package for WebView2 SDK 1.0.2045.28](https://www.nuget.org/packages/Microsoft.Web.WebView2/1.0.2045.28)
[NuGet package for WebView2 SDK 1.0.2106-prerelease](https://www.nuget.org/packages/Microsoft.Web.WebView2/1.0.2106-prerelease)

For full API compatibility, this version of the WebView2 SDK requires WebView2 Runtime version 117.0.2045.28 or higher.
For full API compatibility, this version of the WebView2 SDK requires Microsoft Edge version 119.0.2106.0 or higher.


#### Experimental features


<!-- ------------------------------ -->
* For WinRT, options have been added to manage custom scheme registration when creating a `CoreWebView2Environment`:

##### [.NET/C#](#tab/dotnetcsharp)

n/a; WinRT only

##### [WinRT/C#](#tab/winrtcsharp)

* `CoreWebView2CustomSchemeRegistration` Class
* [CoreWebView2CustomSchemeRegistration.AllowedOrigins Property](/microsoft-edge/webview2/reference/winrt/microsoft_web_webview2_core/corewebview2customschemeregistration?view=webview2-winrt-1.0.2106-prerelease&preserve-view=true#allowedorigins)
* [CoreWebView2CustomSchemeRegistration.SchemeName Property](/microsoft-edge/webview2/reference/winrt/microsoft_web_webview2_core/corewebview2customschemeregistration?view=webview2-winrt-1.0.2106-prerelease&preserve-view=true#schemename)
* `CoreWebView2EnvironmentOptions` Class
* [CoreWebView2EnvironmentOptions.CustomSchemeRegistrations Property](/microsoft-edge/webview2/reference/winrt/microsoft_web_webview2_core/corewebview2environmentoptions?view=webview2-winrt-1.0.2106-prerelease&preserve-view=true#customschemeregistrations)

##### [Win32/C++](#tab/win32cpp)

n/a; WinRT only

---


<!-- ------------------------------ -->

* The `GetProcessExtendedInfo` API provides a snapshot collection of all actively running frames in the associated renderer process. This provides the granularity needed for the host application to know which part of WebView2 is consuming resources, such as memory or CPU usage.
mikehoffms marked this conversation as resolved.
Show resolved Hide resolved

##### [.NET/C#](#tab/dotnetcsharp)

<!-- todo: add for .NET, like for Win32?
mikehoffms marked this conversation as resolved.
Show resolved Hide resolved
* `CoreWebView2Environment` Class
* [CoreWebView2Environment.GetProcessExtendedInfos Method]()
* [CoreWebView2FrameInfo Class]()
* [CoreWebView2FrameInfo.ParentFrameInfo Property]()
* [CoreWebView2FrameInfo.FrameId Property]()
* [CoreWebView2FrameInfo.FrameKind Property]()
-->
* `CoreWebView2ProcessExtendedInfo` Class
* [CoreWebView2ProcessExtendedInfo.AssociatedFrameInfos Property](/dotnet/api/microsoft.web.webview2.core.corewebview2processextendedinfo.associatedframeinfos?view=webview2-dotnet-1.0.2106-prerelease&preserve-view=true)
* [CoreWebView2ProcessExtendedInfo.ProcessInfo Property](/dotnet/api/microsoft.web.webview2.core.corewebview2processextendedinfo.processinfo?view=webview2-dotnet-1.0.2106-prerelease&preserve-view=true)

##### [WinRT/C#](#tab/winrtcsharp)

<!-- todo: add for WinRT, like for Win32?
mikehoffms marked this conversation as resolved.
Show resolved Hide resolved
* `CoreWebView2Environment` Class
* [CoreWebView2Environment.GetProcessExtendedInfos Method]()
* [CoreWebView2FrameInfo Class]()
* [CoreWebView2FrameInfo.ParentFrameInfo Property]()
* [CoreWebView2FrameInfo.FrameId Property]()
* [CoreWebView2FrameInfo.FrameKind Property]()
-->
* `CoreWebView2ProcessExtendedInfo` Class
* [CoreWebView2ProcessExtendedInfo.AssociatedFrameInfos Property](/microsoft-edge/webview2/reference/winrt/microsoft_web_webview2_core/corewebview2processextendedinfo?view=webview2-winrt-1.0.2106-prerelease&preserve-view=true#associatedframeinfos)
* [CoreWebView2ProcessExtendedInfo.ProcessInfo Property](/microsoft-edge/webview2/reference/winrt/microsoft_web_webview2_core/corewebview2processextendedinfo?view=webview2-winrt-1.0.2106-prerelease&preserve-view=true#processinfo)

##### [Win32/C++](#tab/win32cpp)

* [ICoreWebView2ExperimentalEnvironment13 interface](/microsoft-edge/webview2/reference/win32/icorewebview2experimentalenvironment13?view=webview2-1.0.2106-prerelease&preserve-view=true)
* [ICoreWebView2ExperimentalEnvironment13::GetProcessExtendedInfos method](/microsoft-edge/webview2/reference/win32/icorewebview2experimentalenvironment13?view=webview2-1.0.2106-prerelease&preserve-view=true#getprocessextendedinfos)

* [ICoreWebView2ExperimentalFrameInfo interface](/microsoft-edge/webview2/reference/win32/icorewebview2experimentalframeinfo?view=webview2-1.0.2106-prerelease&preserve-view=true)<!-- todo: if iface contains add'l members, un-link -->
* [ICoreWebView2ExperimentalFrameInfo::get_ParentFrameInfo property](/microsoft-edge/webview2/reference/win32/icorewebview2experimentalframeinfo?view=webview2-1.0.2106-prerelease&preserve-view=true#get_parentframeinfo)
* [ICoreWebView2ExperimentalFrameInfo::get_FrameId property](/microsoft-edge/webview2/reference/win32/icorewebview2experimentalframeinfo?view=webview2-1.0.2106-prerelease&preserve-view=true#get_frameid)
* [ICoreWebView2ExperimentalFrameInfo::get_FrameKind property](/microsoft-edge/webview2/reference/win32/icorewebview2experimentalframeinfo?view=webview2-1.0.2106-prerelease&preserve-view=true#get_framekind)

* [ICoreWebView2ExperimentalGetProcessExtendedInfosCompletedHandler interface](/microsoft-edge/webview2/reference/win32/icorewebview2experimentalgetprocessextendedinfoscompletedhandler?view=webview2-1.0.2106-prerelease&preserve-view=true)<!-- Handler is Win32-only -->

* [ICoreWebView2ExperimentalProcessExtendedInfo interface](/microsoft-edge/webview2/reference/win32/icorewebview2experimentalprocessextendedinfo?view=webview2-1.0.2106-prerelease&preserve-view=true)
* [ICoreWebView2ExperimentalProcessExtendedInfo::get_ProcessInfo property](/microsoft-edge/webview2/reference/win32/icorewebview2experimentalprocessextendedinfo?view=webview2-1.0.2106-prerelease&preserve-view=true#get_processinfo)
* [ICoreWebView2ExperimentalProcessExtendedInfo::get_AssociatedFrameInfos property](/microsoft-edge/webview2/reference/win32/icorewebview2experimentalprocessextendedinfo?view=webview2-1.0.2106-prerelease&preserve-view=true#get_associatedframeinfos)

* [ICoreWebView2ExperimentalProcessExtendedInfoCollection interface](/microsoft-edge/webview2/reference/win32/icorewebview2experimentalprocessextendedinfocollection?view=webview2-1.0.2106-prerelease&preserve-view=true)<!-- Collection is Win32-only -->
* [ICoreWebView2ExperimentalProcessExtendedInfoCollection::get_Count property](/microsoft-edge/webview2/reference/win32/icorewebview2experimentalprocessextendedinfocollection?view=webview2-1.0.2106-prerelease&preserve-view=true#get_count)
* [ICoreWebView2ExperimentalProcessExtendedInfoCollection::GetValueAtIndex method](/microsoft-edge/webview2/reference/win32/icorewebview2experimentalprocessextendedinfocollection?view=webview2-1.0.2106-prerelease&preserve-view=true#getvalueatindex)

---


<!-- ------------------------------ -->
#### Promotions

No additional APIs have been promoted to Stable and added in this Release SDK.
* Added source frame info to `NewWindowRequested`, to support identifying the source of the request:

##### [.NET/C#](#tab/dotnetcsharp)

#### Bug fixes
* `CoreWebView2NewWindowRequestedEventArgs` Class
* [CoreWebView2NewWindowRequestedEventArgs.OriginalSourceFrameInfo Property](/dotnet/api/microsoft.web.webview2.core.corewebview2newwindowrequestedeventargs.originalsourceframeinfo?view=webview2-dotnet-1.0.2106-prerelease&preserve-view=true)

##### [WinRT/C#](#tab/winrtcsharp)

* `CoreWebView2NewWindowRequestedEventArgs` Class
* [CoreWebView2NewWindowRequestedEventArgs.OriginalSourceFrameInfo Property](/microsoft-edge/webview2/reference/winrt/microsoft_web_webview2_core/corewebview2newwindowrequestedeventargs?view=webview2-winrt-1.0.2106-prerelease&preserve-view=true#originalsourceframeinfo)

##### [Win32/C++](#tab/win32cpp)

* [ICoreWebView2NewWindowRequestedEventArgs3 interface](/microsoft-edge/webview2/reference/win32/icorewebview2newwindowrequestedeventargs3?view=webview2-1.0.2106-prerelease&preserve-view=true)
* [ICoreWebView2NewWindowRequestedEventArgs3::get_OriginalSourceFrameInfo](/microsoft-edge/webview2/reference/win32/icorewebview2newwindowrequestedeventargs3?view=webview2-1.0.2106-prerelease&preserve-view=true#get_originalsourceframeinfo)

---

* Disabled the Mouse Gesture feature by default. (Runtime-only) ([Issue #3737](https://github.com/MicrosoftEdge/WebView2Feedback/issues/3737))
* Fixed a bug where mouse wheel scrolling was intermittently broken for visual hosting. (Runtime-only)
* Fixed a bug where downloading APK files in WebView2 crashes the WebView2 browser process. (Runtime-only) ([Issue #3569](https://github.com/MicrosoftEdge/WebView2Feedback/issues/3569))

<!-- end of Sep 2023 Release SDK -->
<!-- ------------------------------ -->
#### Bug fixes

* Updated the Screen Capture UI to remove mention of tabs. (Runtime-only)
* Fixed a bug where `PrintAsync` doesn't print using the default DPI on the printer. (Runtime-only) ([Issue #3709](https://github.com/MicrosoftEdge/WebView2Feedback/issues/3709))
* Fix a WebView creation failure when app is running as a different admin user. (Runtime-only) ([Issue #3738](https://github.com/MicrosoftEdge/WebView2Feedback/issues/3738))
* Fixed a bug where the `CoreWebView2EnvironmentOptions.Language` property doesn't change the `accept-language` HTTP header. (SDK-only) ([Issue #3635](https://github.com/MicrosoftEdge/WebView2Feedback/issues/3635))
* Custom URI scheme registration APIs now works in WinRT. See [CoreWebView2EnvironmentOptions.CustomSchemeRegistrations Property](/microsoft-edge/webview2/reference/winrt/microsoft_web_webview2_core/corewebview2environmentoptions). (SDK only)<!--todo: exact link. A .NET link is: https://learn.microsoft.com/en-us/dotnet/api/microsoft.web.webview2.core.corewebview2environmentoptions.customschemeregistrations?view=webview2-dotnet-1.0.1938.49 -->
* Fixed a bug that prevented setting an automation name for the WebView2 control on WinUI 3. (Runtime-only)
* Fixed a bug where the Runtime exits unexpectedly when calling `SetPermissionState` with an invalid enum value. (SDK-only)
* Enabled the new inter-process communication implementation for apps that are using very old SDKs. (Runtime-only)
* Added support for longer runtime installation paths. (SDK-only)

<!-- end of Sep 2023 Prerelease SDK -->


<!-- ====================================================================== -->
Expand Down