Skip to content

Latest commit

 

History

History
1149 lines (705 loc) · 76.7 KB

CHANGELOG.md

File metadata and controls

1149 lines (705 loc) · 76.7 KB

Change Log

6.6.0-1391447 (2024-12-05)

View commits

Upgraded dependencies:

6.5.0-1383960 (2024-11-19)

View commits

Upgraded dependencies:

6.4.1-1347815 (2024-08-29)

View commits

Upgraded dependencies:

6.4.0-1346313 (2024-08-25)

View commits

Upgraded dependencies:

6.4.0-1345247 (2024-08-24)

View commits

Upgraded dependencies:

6.3.0-1340018 (2024-08-14)

View commits

Upgraded dependencies:

6.3.0-1337664 (2024-08-08)

View commits

Upgraded dependencies:

6.2.0-1336433 (2024-08-07)

View commits

Upgraded dependencies:

6.2.0-1326544 (2024-07-13)

View commits

Upgraded dependencies:

6.1.0-1319565 (2024-07-03)

View commits

Upgraded dependencies:

6.0.0-1312386 (2024-06-09)

View commits

Implemented enhancements:

  • Add overloads of PageSession.clickOnElement and InputDomain.dispatchMouseClick with Duration instead of long milliseconds #399

Deprecations:

  • Deprecate clickOnElement and dispatchMouseClick with long milliseconds in favor of overloads with Duration #398

Removals:

  • Remove obsolete extensions and classes that were moved/renamed/replaced in v5.0.0-1140464 #397
  • Remove the deprecated awaitNodeBySelector with pollingPeriodMillis: Long #396

Upgraded dependencies:

5.14.0-1299070 (2024-05-13)

View commits

Upgraded dependencies:

5.13.1-1286932 (2024-04-15)

View commits

Upgraded dependencies:

5.13.0-1282316 (2024-04-09)

View commits

Upgraded dependencies:

5.13.0-1266816 (2024-03-07)

View commits

Upgraded dependencies:

5.12.0-1263784 (2024-02-23)

View commits

Upgraded dependencies:

5.11.0-1255431 (2024-02-04)

View commits

Upgraded dependencies:

5.11.0-1254350 (2024-02-02)

View commits

Upgraded dependencies:

5.10.0-1253004 (2024-01-30)

View commits

Upgraded dependencies:

5.9.0-1239539 (2023-12-26)

View commits

Upgraded dependencies:

5.8.1-1233758 (2023-12-09)

View commits

Upgraded dependencies:

5.8.0-1227788 (2023-11-27)

View commits

Upgraded dependencies:

5.7.0-1227788 (2023-11-24)

View commits

Upgraded dependencies:

5.6.0-1212569 (2023-10-24)

View commits

Upgraded dependencies:

5.6.0-1209236 (2023-10-18)

View commits

Upgraded dependencies:

5.6.0-1207450 (2023-10-11)

View commits

Implemented enhancements:

  • Add support for linuxArm64 platform #307
  • Add url and faviconUrl properties to ChromeDPTarget #305

Upgraded dependencies:

5.5.0-1191157 (2023-09-03)

View commits

Upgraded dependencies:

5.4.0-1182435 (2023-08-15)

View commits

Upgraded dependencies:

5.3.1-1170846 (2023-07-16)

View commits

Fixed bugs:

  • BrowserSession.use\(\) and PageSession.use\(\) swallow user exceptions when close\(\) throws #273

5.3.0-1170846 (2023-07-16)

View commits

Upgraded dependencies:

Fixed bugs:

  • The error message in session adapters contains escaped variables #272

5.2.0-1167732 (2023-07-09)

View commits

Upgraded dependencies:

5.1.0-1165014 (2023-07-03)

View commits

Implemented enhancements:

  • Add support for tvosSimulatorArm64 target #261

Upgraded dependencies:

  • Update to Chrome DevTools Protocol version 1165014 #258 (@github-actions[bot])
  • Upgrade atomicfu to version 0.21.0 #267
  • Upgrade Ktor to version 2.3.2 #266
  • Upgrade Kotlinx Serialization to version 1.5.1 #265
  • Upgrade Kotlinx Coroutines to version 1.7.2 #264
  • Upgrade Dokka to version 1.8.20 #263
  • Upgrade Kotlin to version 1.8.22 #262
  • Upgrade Ktor to 2.3.1 #259

5.0.0-1152884 (2023-06-07)

View commits

Upgraded dependencies:

5.0.0-1140464 (2023-05-16)

View commits

This version is a big milestone for Chrome DevTools Kotlin!

The library became multiplatform, with support for most Kotlin targets (JVM, JS, native desktop, iOS, watchOS, tvOS, etc.).

The page creation and navigation was reworked! You can now use newPage() and goto() more intuitively, and with some resemblance to the well known Puppeteer. A bunch of old helpers were deprecated in favor of just these 2, which simplifies the API surface and makes it easier to grasp.

The main session classes were also reworked by extracting and renaming their core interface. New session interfaces were generated for all types of target, and you can use the checked conversion functions from ChildSession to each of those target-specific sessions: asPageSession, asWorkerSession, asSharedWorker, etc.

Check out the updated README if the automated migrations aren't working or the deprecation messages aren't clear enough.

Breaking changes:

  • Use camelCase for enum values to make them compatible with Kotlin/JS #241

Implemented enhancements:

  • Rework page creation / navigation API #255
  • Rename ChromeBrowserSession -> BrowserSession #254
  • Rename ChromePageSession -> PageSession #253
  • Allow to connect to any target type #252
  • Rename RenderFrameTarget -> PageTarget #251
  • Extract interfaces for session types #250
  • Make AllDomainsTarget extend all target interfaces #248
  • Multiplatform support: JVM, JS, linux, windows, macOS, iOS, tvOS, watchOS #197
  • Add helper awaitNodeAbsentBySelector #240

Deprecations:

  • Deprecate overload of awaitNodeBySelector using milliseconds #243

Removals:

  • Remove deprecated captureScreenshotToFile with Request object #237
  • Stop transitively imposing the CIO Ktor engine #236
  • Stop transitively exposing Ktor dependencies aside from ktor\-client\-core #235

Upgraded dependencies:

Fixed bugs:

  • Make CDP request consistently fail with the same exception if the WS is closed concurrently #247
  • awaitNodeBySelector can potentially throw IAE when cancelled #239

4.5.0-1134181 (2023-04-24)

View commits

Upgraded dependencies:

4.4.0-1122837 (2023-03-30)

View commits

Upgraded dependencies:

4.4.0-1115542 (2023-03-11)

View commits

Implemented enhancements:

  • Add Fetch domain to SharedWorker target #214

Upgraded dependencies:

  • Upgrade Kotlin to version 1.8.10 #224
  • Upgrade Kotlinx Serialization to 1.5.0 #223
  • Update to Chrome DevTools Protocol version 1115542 #216 (@github-actions[bot])
  • Upgrade Ktor to version 2.2.4 #218

Fixed bugs:

  • HTTP endpoint /json/new?\{url\} uses wrong GET method instead of PUT #225
  • Event subscription flows hang if the target crashes #222
  • navigateAndAwaitPageLoad hangs if the navigation fails #221

4.3.0-1075693 (2022-11-26)

View commits

Upgraded dependencies:

4.3.0-1069585 (2022-11-14)

View commits

Upgraded dependencies:

4.2.0 (2022-11-06)

View commits

Upgraded dependencies:

4.2.0-1067399 (2022-11-06)

View commits

4.2.0-1065144 (2022-11-01)

View commits

Upgraded dependencies:

4.2.0-1063652 (2022-10-26)

View commits

Upgraded dependencies:

4.1.0-1059612 (2022-10-15)

View commits

Upgraded dependencies:

  • Upgrade Kotlin to 1.7.20 #199
  • Upgrade Ktor to 2.1.2 #200
  • Upgrade kotlinx-serialization to 1.4.0 #198
  • Update to Chrome DevTools Protocol version 1059612 #196 (@github-actions[bot])

4.0.0-1040073 (2022-08-29)

View commits

Implemented enhancements:

  • Add \-Events suffix to methods returning events flow #193
  • Remove \-Event suffix in event type names #191
  • Rework generated APIs for better compatibility #182

Removals:

  • Remove deprecated navigateAndWaitLoading functions #194
  • Remove the deprecated ChromeDPTarget.attach\(\) method #192
  • Remove unnecessary Krossbow dependency #190

Upgraded dependencies:

3.11.1-1030018 (2022-08-01)

View commits

Upgraded dependencies:

  • Upgrade Ktor to version 2.0.3 #187
  • Upgrade Kotlin Coroutines to version 1.6.4 #186
  • Upgrade Krossbow to version 4.1.0 #185

3.11.0-1030018 (2022-08-01)

View commits

Implemented enhancements:

  • Update to Chrome DevTools Protocol version 1030018 #180

Upgraded dependencies:

  • Upgrade Kotlinx Serialization to version 1.3.3 #183
  • Upgrade Dokka to version 1.7.10 #177
  • Upgrade Kotlin to version 1.7.10 #176

3.10.0-1007616 (2022-05-26)

View commits

Upgraded dependencies:

3.10.0-1005560 (2022-05-20)

View commits

Upgraded dependencies:

3.10.0-996398 (2022-04-27)

View commits

Upgraded dependencies:

3.8.0-982423 (2022-04-17)

View commits

Merged pull requests:

Upgraded dependencies:

  • Upgrade Kotlin coroutines to 1.6.1 #164

3.7.0-982423 (2022-04-04)

View commits

Upgraded dependencies:

  • Upgrade Ktor client to version 1.6.8 #166
  • Upgrade Krossbow to version 3.3.1 #165
  • Upgrade Kotlin to 1.6.20 #163

3.6.0-982423 (2022-04-02)

View commits

Upgraded dependencies:

3.6.0-981744 (2022-03-17)

View commits

Upgraded dependencies:

3.6.0-977936 (2022-03-07)

View commits

Upgraded dependencies:

3.6.0-973088 (2022-02-25)

View commits

Implemented enhancements:

  • Support iframe target sessions #158

3.5.0-973088 (2022-02-20)

View commits

Upgraded dependencies:

3.5.0-972468 (2022-02-18)

View commits

Upgraded dependencies:

3.5.0-960912 (2022-01-20)

View commits

Upgraded dependencies:

3.5.0-957544 (2022-01-13)

View commits

3.5.0-957163 (2022-01-11)

View commits

Upgraded dependencies:

3.5.0-955664 (2022-01-06)

View commits

Upgraded dependencies:

3.5.0-955313 (2022-01-05)

View commits

Upgraded dependencies:

3.5.0-953906 (2021-12-27)

View commits

Upgraded dependencies:

  • Upgrade Krossbow to 3.0.0 #145
  • Upgrade Ktor to 1.6.7 #144
  • Upgrade Kotlin to 1.6.10 #142
  • Upgrade Kotlinx Serialization to 1.3.2 #143

3.4.0-953906 (2021-12-27)

View commits

Upgraded dependencies:

3.4.0-942138 (2021-11-17)

View commits

Upgraded dependencies:

3.3.0-940028 (2021-11-10)

View commits

Upgraded dependencies:

3.3.0-930289 (2021-10-12)

View commits

Upgraded dependencies:

3.3.0-927069 (2021-10-01)

View commits

Upgraded dependencies:

  • Upgrade Ktor client to 1.6.3 #133
  • Upgrade Kotlinx Serialization to 1.3.0 #132
  • Upgrade Krossbow to 2.5.0 #131
  • Upgrade Kotlin to 1.5.31 #128
  • Update to Chrome DevTools Protocol version 927069 #129 (@github-actions[bot])

3.2.0-921910 (2021-09-16)

View commits

Upgraded dependencies:

3.2.0-919376 (2021-09-09)

View commits

Upgraded dependencies:

3.2.0-915197 (2021-09-03)

View commits

Upgraded dependencies:

  • Upgrade Kotlin to 1.5.30 #122
  • Upgrade Krossbow to 2.3.0 #121

3.1.0-914246 (2021-08-24)

View commits

Upgraded dependencies:

3.1.0-912044 (2021-08-16)

View commits

Upgraded dependencies:

3.1.0-911116 (2021-08-12)

View commits

Upgraded dependencies:

3.1.0-909734 (2021-08-09)

View commits

Upgraded dependencies:

  • Upgrade Krossbow to 2.2.0 #115
  • Upgrade Ktor client to 1.6.2 #114
  • Upgrade Kotlinx Serialization to 1.2.2 #113
  • Upgrade to Kotlin 1.5.21 #109
  • Update to Chrome DevTools Protocol version 909734 #112 (@github-actions[bot])

3.0.0-905252 (2021-07-27)

View commits

Upgraded dependencies:

3.0.0-898382 (2021-07-04)

View commits

Upgraded dependencies:

3.0.0-894467 (2021-06-25)

View commits

Upgraded dependencies:

3.0.0-892366 (2021-06-15)

View commits

Upgraded dependencies:

3.0.0-891247 (2021-06-13)

View commits

Upgraded dependencies:

3.0.0-890975 (2021-06-10)

View commits

Upgraded dependencies:

3.0.0-888392 (2021-06-05)

View commits

Upgraded dependencies:

3.0.0-887728 (2021-06-01)

View commits

Upgraded dependencies:

  • Update to Chrome DevTools Protocol version 887728 #103 (@github-actions[bot])
  • Upgrade to Kotlinx Serialization 1.2.0 #102
  • Upgrade to Ktor 1.6.0 #101
  • Upgrade to Krossbow 2.0 #100
  • Upgrade to Kotlin 1.5.10 #99

2.0.0-887064 (2021-05-28)

View commits

Upgraded dependencies:

2.0.0-884179 (2021-05-19)

View commits

Implemented enhancements:

  • Use actual enum types for strings that have a finite set of possible values #90
  • Use JSONObject for type "object" without properties #94

Upgraded dependencies:

1.5.0-882324 (2021-05-13)

View commits

Implemented enhancements:

  • Add helper to access "child pages" #92
  • Add utility to click on DOM element by selector #91
  • Allow to keep browserContext when closing a PageSession #89

Upgraded dependencies:

1.4.0-881485 (2021-05-12)

View commits

Upgraded dependencies:

1.4.0-881010 (2021-05-11)

View commits

Implemented enhancements:

  • Mark awaitNodeBySelector() as @ExperimentalTime #81

Closed issues:

  • Provide stable alternative of awaitNodeBySelector() with long millis #82

Upgraded dependencies:

  • Upgrade Krossbow to 1.4.0 #84
  • Upgrade Ktor to 1.5.4 #83
  • Upgrade to Kotlin 1.4.32 #80
  • Update to Chrome DevTools Protocol version 881010 #79 (@github-actions[bot])

1.3.0-880455 (2021-05-08)

View commits

Upgraded dependencies:

1.3.0-878340 (2021-05-04)

View commits

Upgraded dependencies:

1.3.0-876958 (2021-04-30)

View commits

Upgraded dependencies:

1.3.0-873728 (2021-04-20)

View commits

Upgraded dependencies:

1.3.0-872298 (2021-04-15)

View commits

Upgraded dependencies:

1.3.0-871615 (2021-04-13)

View commits

Upgraded dependencies:

1.3.0-871249 (2021-04-11)

View commits

Upgraded dependencies:

1.3.0-869921 (2021-04-08)

View commits

Upgraded dependencies:

1.3.0-866105 (2021-03-25)

View commits

Upgraded dependencies:

1.3.0-862653 (2021-03-13)

View commits

Upgraded dependencies:

1.3.0-861504 (2021-03-12)

View commits

Closed issues:

  • Add protocol version to the version number #57

1.3.0 (2021-03-11)

View commits

Upgraded dependencies:

1.2.0 (2021-03-09)

View commits

Upgraded dependencies:

1.1.0 (2021-03-03)

View commits

Upgraded dependencies:

1.0.0 (2021-02-24)

View commits

Upgraded dependencies:

0.14.4 (2021-02-18)

View commits

Upgraded dependencies:

0.14.3 (2021-02-18)

View commits

Upgraded dependencies:

0.14.2 (2021-02-12)

View commits

Upgraded dependencies:

0.14.1 (2021-02-06)

View commits

Upgraded dependencies:

0.14.0 (2021-02-04)

View commits

Implemented enhancements:

  • Add more domains to RenderFrame (page) target #44

Upgraded dependencies:

0.13.1 (2021-01-29)

View commits

Upgraded dependencies:

0.13.0 (2021-01-27)

View commits

Implemented enhancements:

  • Add extension to await a DOM element #36

Upgraded dependencies:

0.12.2 (2021-01-22)

View commits

Upgraded dependencies:

0.12.1 (2021-01-17)

View commits

Fixed bugs:

  • Web socket connection is not thread safe #32

0.12.0 (2021-01-17)

View commits

Implemented enhancements:

  • Conversions and extensions for BoxModel and Viewport #31
  • Extensions and typing for HTML attributes #30

0.11.1 (2021-01-13)

View commits

Upgraded dependencies:

0.11.0 (2021-01-13)

View commits

Implemented enhancements:

  • Add getTargetInfo convenience method #27

Upgraded dependencies:

Fixed bugs:

  • Race condition in navigateAndWaitLoading #25

0.10.1 (2021-01-09)

View commits

Upgraded dependencies:

0.10.0 (2021-01-05)

View commits

Implemented enhancements:

  • Switch underlying Ktor engine from Apache to CIO #20

0.9.0 (2021-01-05)

View commits

Upgraded dependencies:

Fixed bugs:

  • ChromeDPClient instances leak open Ktor Apache HTTP client #19

0.8.2 (2020-12-17)

View commits

Upgraded dependencies:

0.8.1 (2020-12-12)

View commits

Upgraded dependencies:

0.8.0 (2020-12-06)

View commits

Closed issues:

  • Error: Host header is specified and is not an IP address or localhost. #13

Upgraded dependencies:

  • Upgrade to Krossbow 1.1.2 to fix UTF-8 issues #14

0.7.2 (2020-12-05)

View commits

Upgraded dependencies:

0.7.1 (2020-11-27)

View commits

Upgraded dependencies:

0.7.0 (2020-11-21)

View commits

Upgraded dependencies:

0.6.1 (2020-11-16)

View commits

Merged pull requests:

0.6.0 (2020-11-14)

View commits

Upgraded dependencies:

Fixed bugs:

  • use() and close() on page sessions should NOT close the web socket #4

0.5.0 (2020-11-14)

View commits

Implemented enhancements:

  • Initial functionality supporting all domains and ws connection #2
  • Add scheduled github action to update the protocol and release #1