22 <PropertyGroup >
33 <TargetFramework >netstandard2.0</TargetFramework >
44 <PackOnBuild >true</PackOnBuild >
5- <PackageVersion >1.1 .0</PackageVersion >
5+ <PackageVersion >1.2 .0</PackageVersion >
66 <Authors >Darío Kondratiuk</Authors >
77 <Owners >Darío Kondratiuk</Owners >
88 <PackageProjectUrl >https://github.com/kblok/puppeteer-sharp</PackageProjectUrl >
1313 <PackageId >PuppeteerSharp</PackageId >
1414 <PackageReleaseNotes >
1515New Features
16- * New Chromium version r536395
17- * Service workers support
18- * Cache Support
19- * New WaitFor options
20- * New BrowserFetcher utility
21- * Dump IO implementation
16+ * New RequestChain property.
17+ * Chromium updated to r543305.
2218
2319New APIs
24-
25- * Page.SetCacheEnabledAsync
26- * Page.DOMContentLoaded
27- * Page.WaitForXPathAsync
28- * ResponseData.FromServiceWorker
29- * ExecutionContext.Frame
30- * Frame.EvaluateExpressionHandleAsync
31- * Frame.EvaluateFunctionHandleAsync
32- * Frame.WaitForSelectorAsync
33- * Frame.WaitForXPathAsync
34- * Frame.WaitForSelectorOrXPathAsync
35-
36- Breaking Changes
37-
38- Downloader changes
39-
40- The Downloader class was renamed to BrowserFetcher. BrowserFetcher has the following API:
41-
42- * DefaultRevision
43- * DownloadsFolder
44- * DownloadHost
45- * Platform
46- * DownloadProgressChanged
47- * CanDownloadAsync(int revision)
48- * LocalRevisions()
49- * Remove(int revision)
50- * RevisionInfo(int revision)
51- * DownloadAsync(int revision)
52- * GetExecutablePath(int revision)
53- * GetExecutablePath(Platform platform, string folderPath)
54-
55- If you were using Downloader like this:
56-
57- await Downloader.CreateDefault().DownloadRevisionAsync(chromiumRevision);
58-
59- It should be changed to :
60-
61- await new BrowserFetcher().DownloadAsync(BrowserFetcher.DefaultRevision);
62-
63-
64- Puppeteer.LaunchAsync breaking change
65-
66- In order to simplify the API, the revision argument was removed from the `LaunchAsync` method. So this piece of code:
67-
68- Puppeteer.LaunchAsync(launcherOptions, Downloader.DefaultRevision);
69-
70-
71- Should be changed to:
72-
73- Puppeteer.LaunchAsync(launcherOptions);
74-
75-
76- If you need to launch Puppeteer using another revision you should handle that using the `ExecutablePath` option:
77-
78- var myRevisionInfo = await new BrowserFetcher().DownloadAsync(myRevision);
79- var browser = Puppeteer.LaunchAsync(new LaunchOptions
80- {
81- Headless = true,
82- ExecutablePath = myRevisionInfo.ExecutablePath
83- });
20+ * Request.RedirectChain.
21+ * ElementHandle.ContentFrameAsync.
22+ * AddTagOptions.Type. Allowing the user to declare script tags (using Page.AddScriptTagAsync) as modules.
23+
24+ Changes
25+ * Response.Ok() returns true for local files.
26+ * Target.TargetType is now an enum.
27+ * NavigationException Improvements.
28+ * PaperFormat Height and Width now are public.
8429 </PackageReleaseNotes >
85- <ReleaseVersion >1.1 .0</ReleaseVersion >
30+ <ReleaseVersion >1.2 .0</ReleaseVersion >
8631 <SynchReleaseVersion >false</SynchReleaseVersion >
8732 </PropertyGroup >
8833 <PropertyGroup >
@@ -97,7 +42,4 @@ var browser = Puppeteer.LaunchAsync(new LaunchOptions
9742 <PackageReference Include =" System.Net.Http" Version =" 4.3.3" />
9843 <PackageReference Include =" Microsoft.AspNetCore.WebUtilities" Version =" 2.0.2" />
9944 </ItemGroup >
100- <ItemGroup >
101- <Compile Remove =" FrameInfo.cs" />
102- </ItemGroup >
10345</Project >
0 commit comments