Skip to content

Commit da90827

Browse files
authored
v1.10 doc (#773)
1 parent 6bfb270 commit da90827

File tree

1 file changed

+19
-52
lines changed

1 file changed

+19
-52
lines changed

lib/PuppeteerSharp/PuppeteerSharp.csproj

Lines changed: 19 additions & 52 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<PropertyGroup>
33
<TargetFramework>netstandard2.0</TargetFramework>
44
<PackOnBuild>true</PackOnBuild>
5-
<PackageVersion>1.9.0</PackageVersion>
5+
<PackageVersion>1.10.0</PackageVersion>
66
<Authors>Darío Kondratiuk</Authors>
77
<Owners>Darío Kondratiuk</Owners>
88
<PackageProjectUrl>https://github.com/kblok/puppeteer-sharp</PackageProjectUrl>
@@ -11,64 +11,34 @@
1111
<Title>PuppeteerSharp</Title>
1212
<Description>Headless Chrome .NET API</Description>
1313
<PackageId>PuppeteerSharp</PackageId>
14-
<PackageReleaseNotes><![CDATA[# New Features
15-
16-
* Introducing Burst mode.
17-
18-
var screenShotOptions = new ScreenshotOptions
19-
{
20-
FullPage = true,
21-
BurstMode = true
22-
};
23-
await page.GoToAsync("https://www.google.com");
24-
for(var x = 0; x < 100; x++)
25-
{
26-
await page.ScreenshotBase64Async(screenShotOptions);
27-
}
28-
await page.SetBurstModeOffAsync();
14+
<PackageReleaseNotes><![CDATA[
15+
# New Features
2916
17+
* Snapshot the accessibility tree.
3018
3119
# New APIs
3220
33-
* ScreenshotOptions.BurstMode and Page.SetBurstModeOff.
34-
* Browser.Target.
35-
* ConnectOptions/LaunchOptions.Transport and ConnectionOptions/LaunchOptions.EnqueueTransportMessages.
36-
* Frame.GoToAsync
21+
* Browser.WaitForTargetAsync.
22+
* CDPSession.CloseReason, Connection.CloseReason.
23+
* Camel Case the world. `JToken.ToObject<T>(bool camelCase)`.
3724
3825
# Breaking Changes
3926
40-
## Evaluate changes
41-
42-
`EvaluateFunctionAsync` and `EvaluateExpressionAsync` won't try to infer the output type when used without generics. It will return a ** JToken** instead.
43-
44-
A piece of code like this:
45-
46-
int x = page.EvaluateExpressionAsync("1");
47-
48-
49-
Will need to be replaced by one of these two options:
50-
51-
int x = page.EvaluateExpressionAsync<int>("1");
52-
int x = page.EvaluateExpressionAsync("1").ToObject<int>();
27+
* `Page.Frames` now is based on a `ConcurrentDictionary`. With this change, the Frame order is no longer guaranteed.
28+
* Payload.PostData is now a string (as it was supposed to be).
29+
* Improve internal exception handling. Now puppeteer-sharp will close the CDPSession or the Connection if puppeteer fails to process a message.
30+
* BufferAsync should work with binaries.
5331
5432
# Changelog
5533
56-
* Bump the version of chromium to 594312.
57-
* Add failing test for page.select.
58-
* Fixed windows fetching.
59-
* Fix description of SecurityDetails class.
60-
* Add zero width element test.
61-
* Add missing configure awaits.
62-
* Fix full page screenshot when defaultViewport is null.
63-
* Unify response tracking in page.goto and waitForNavigation.
64-
* Don't wait for Runtime.Evaluate.
65-
* Browser closing/disconnecting should abort navigations.
66-
* Expect Network.responseReceived event is never dispatched.
67-
* Set JPG background to white when omitBackground option is used.
68-
* Concurrency improvements.
69-
* Check if frame exists before creating a Request.
70-
]]></PackageReleaseNotes>
71-
<ReleaseVersion>1.9.0</ReleaseVersion>
34+
* Roll chromium to r599821.
35+
* Don't prematurely disable the CSS domain.
36+
* Add missing location property to some key descriptors.
37+
* Add missing test.
38+
* Add flags to improve reliability.
39+
* Handle negative area results in computeQuadArea.
40+
]]></PackageReleaseNotes>
41+
<ReleaseVersion>1.10.0</ReleaseVersion>
7242
<SynchReleaseVersion>false</SynchReleaseVersion>
7343
</PropertyGroup>
7444
<PropertyGroup>
@@ -91,7 +61,4 @@ int x = page.EvaluateExpressionAsync("1").ToObject<int>();
9161
<PackageReference Include="Microsoft.AspNetCore.WebUtilities" Version="2.0.2" />
9262
<PackageReference Include="System.Threading.Tasks.Extensions" Version="4.5.1" />
9363
</ItemGroup>
94-
<ItemGroup>
95-
<Folder Include="Transport\" />
96-
</ItemGroup>
9764
</Project>

0 commit comments

Comments
 (0)