![]() You can update your WebView2 app to use the latest APIs from the most recent Release version of the SDK. The WebView2 release SDK has been forward-compatible ever since version 1 (that is, SDK version 1.0.622.22). On a development machine, the client must have either the Microsoft Edge preview channel version 86.0.616.0 or higher, or the WebView2 Runtime version 86.0.616.0 or higher. Runtime 86.0.616.0 is a special release, because it is the General Availability release. Minimum version and build number to instantiate WebView2įor the client to be able to create a WebView2 instance and use the set of APIs in the WebView2 General Availability release (SDK build 616), the client must have WebView2 Runtime version 86.0.616.0 or higher. ![]() New versions of the WebView2 SDK are shipped at the same general cadence as the Microsoft Edge browser, which is approximately every four weeks. The Release SDK package contains the following components:įor more information about automatic updating of the Evergreen Runtime, see Distribute your app and the WebView2 Runtime. All of the APIs that are in a Release SDK package are fully supported, in an equal or higher build number of the WebView2 Runtime. NET APIs that are in production release, and doesn't include method signatures for Experimental APIs. The Release SDK package contains all of the Stable Win32 C/C++ and. By design, the Microsoft Edge Stable channel doesn't support WebView2. By default, a WebView2 app targets the Runtime rather than Microsoft Edge. When you use a WebView2 Release SDK package, use the WebView2 Evergreen Runtime on your development client, rather than a Microsoft Edge preview channel. Use a release version of the SDK along with the Runtime Avoid using a Prerelease SDK package to build production apps.įor information about temporarily pointing your app to a preview channel instead of defaulting to the WebView2 Runtime, see Test upcoming APIs and features. The Experimental APIs are subject to change based on feedback. Preview channels of Microsoft Edge provide the implementations of Experimental WebView2 APIs and of Stable APIs. Stable APIs that have been added to Release SDKs.Stable APIs that are no longer Experimental, but haven't been included in a Release SDK yet.A Prerelease SDK contains method signatures for: The Prerelease SDK package is a superset of the Release SDK package. The Canary preview channel is recommended rather than Beta or Dev, because Canary is most recent and has implementations of the latest Experimental APIs. Preview channels are also called Insiders channels. When you use a WebView2 Prerelease SDK package, use a Microsoft Edge preview channel on your development client. Because the web platform is constantly evolving, regular testing is the best way to ensure your app will continue to work as intended. When developing an Evergreen WebView2 app, regularly test the app against the latest Microsoft Edge preview channel, in addition to testing against the WebView2 Runtime. Use a Prerelease version of the SDK along with a preview channel of Microsoft Edge You can also view the list of 2 SDK packages at the NuGet site. To select which version of WebView2 SDK NuGet package a Visual Studio project uses, in Visual Studio, right-click a project, select Manage NuGet Packages, select or clear the Include prerelease checkbox, select the 2 package, and then in the Version dropdown list, select a version of the 2 NuGet package.įor details, see Install or update the WebView2 SDK in Set up your Dev environment for WebView2. The API also remains in the Prerelease SDK. This typically happens 1 month after the API is promoted to Stable in a Prerelease SDK. Then the Stable API is promoted to be included in the Release SDK. Then the API is promoted to Stable in the Prerelease SDK. You can test these APIs and provide feedback. First an API is Experimental in a Prerelease SDK. New APIs are introduced in phases as follows: API statusġ. More details about the Prerelease and Release SDK packages are provided below. The WebView2 Runtime on your development client.When you're working on a production release of your WebView2 app, use the following combination: Release SDK packages only contain Stable APIs, not Experimental APIs. A preview channel of Microsoft Edge on your development client.A Prerelease version of the WebView2 SDK.When you want to test and use Experimental WebView2 APIs, use the following combination: The Canary channel is recommended, because it has the implementations of the latest APIs. Prerelease SDK packages are for use during development if you want to test the latest WebView2 APIs, including the Experimental APIs, before support for those APIs is added to the Runtime. Either use a Prerelease SDK with a preview channel of Microsoft Edge, or use a Release SDK with the WebView2 Runtime. The WebView2 SDK is provided as a Prerelease or Release version of the 2 NuGet package.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |