Releases: joffrey-bion/chrome-devtools-kotlin
5.2.0-1167732
Upgraded dependencies:
- Upgrade Kotlin to version 1.9.0 #269
- Update to Chrome DevTools Protocol version 1167732 #268 (@github-actions[bot])
5.1.0-1165014
Implemented enhancements:
- Add support for
tvosSimulatorArm64
target #261
Merged pull requests:
- Update Gradle Wrapper from 8.1.1 to 8.2 #260 (@joffrey-bion)
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
Upgraded dependencies:
- Update to Chrome DevTools Protocol version 1152884 #257 (@github-actions[bot])
5.0.0-1140464
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:
- Update to Chrome DevTools Protocol version 1140464 #234 (@github-actions[bot])
- Upgrade kotlinx-coroutines to version 1.7.0 #242
- Upgrade Kotlin to 1.8.21 #238
4.5.0-1134181
Merged pull requests:
- Update to Chrome DevTools Protocol version 1134181 #227 (@github-actions[bot])
Upgraded dependencies:
4.4.0-1122837
Merged pull requests:
- Update to Chrome DevTools Protocol version 1122837 #226 (@github-actions[bot])
4.4.0-1115542
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 toSharedWorker
target #214
Merged pull requests:
- Update to Chrome DevTools Protocol version 1115542 #216 (@github-actions[bot])
Upgraded dependencies:
4.3.0-1075693
Merged pull requests:
- Update to Chrome DevTools Protocol version 1075693 #211 (@github-actions[bot])
4.3.0-1069585
Merged pull requests:
- Update to Chrome DevTools Protocol version 1069585 #208 (@github-actions[bot])
Upgraded dependencies:
4.2.0-1067399
Merged pull requests:
- Update to Chrome DevTools Protocol version 1067399 #207 (@github-actions[bot])
- Update to Chrome DevTools Protocol version 1067399 #205 (@github-actions[bot])