Skip to content

Releases: joffrey-bion/chrome-devtools-kotlin

5.6.0-1207450

11 Oct 15:28

Choose a tag to compare

Implemented enhancements:

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

Upgraded dependencies:

5.5.0-1191157

03 Sep 21:58

Choose a tag to compare

Upgraded dependencies:

5.4.0-1182435

15 Aug 22:08

Choose a tag to compare

Upgraded dependencies:

5.3.1-1170846

16 Jul 16:02

Choose a tag to compare

Fixed bugs:

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

5.3.0-1170846

16 Jul 14:38

Choose a tag to compare

Fixed bugs:

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

Merged pull requests:

Upgraded dependencies:

5.2.0-1167732

09 Jul 18:43

Choose a tag to compare

Upgraded dependencies:

5.1.0-1165014

03 Jul 15:57

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

Choose a tag to compare

Upgraded dependencies:

5.0.0-1140464

16 May 16:43

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

Choose a tag to compare

Merged pull requests:

Upgraded dependencies:

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