Skip to content

Releases: joffrey-bion/chrome-devtools-kotlin

5.2.0-1167732

09 Jul 18:43
Compare
Choose a tag to compare

Upgraded dependencies:

5.1.0-1165014

03 Jul 15:57
Compare
Choose a tag to compare

Implemented enhancements:

  • Add support for tvosSimulatorArm64 target #261

Merged pull requests:

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

07 Jun 17:46
Compare
Choose a tag to compare

Upgraded dependencies:

5.0.0-1140464

16 May 16:43
Compare
Choose a tag to compare

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

Deprecations:

  • Deprecate overload of awaitNodeBySelector using milliseconds #243

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

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

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:

4.5.0-1134181

24 Apr 14:29
Compare
Choose a tag to compare

Merged pull requests:

Upgraded dependencies:

  • Upgrade Ktor to 2.3.0 #232
  • Upgrade Kotlin to 1.8.20 #231

4.4.0-1122837

30 Mar 18:15
Compare
Choose a tag to compare

Merged pull requests:

4.4.0-1115542

11 Mar 23:55
Compare
Choose a tag to compare

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

Implemented enhancements:

  • Add Fetch domain to SharedWorker target #214

Merged pull requests:

Upgraded dependencies:

  • Upgrade Kotlin to version 1.8.10 #224
  • Upgrade Kotlinx Serialization to 1.5.0 #223
  • Upgrade Ktor to version 2.2.4 #218

4.3.0-1075693

26 Nov 13:51
Compare
Choose a tag to compare

Merged pull requests:

4.3.0-1069585

14 Nov 00:40
Compare
Choose a tag to compare

Merged pull requests:

Upgraded dependencies:

  • Upgrade Ktor to 2.1.3 #210
  • Upgrade kotlinx serialization to 1.4.1 #209

4.2.0-1067399

14 Nov 00:36
Compare
Choose a tag to compare

Merged pull requests: