Releases: joffrey-bion/chrome-devtools-kotlin
5.6.0-1207450
Implemented enhancements:
Upgraded dependencies:
- Update to Chrome DevTools Protocol version 1207450 #306 (@github-actions[bot])
- Bump ktor from 2.3.4 to 2.3.5 #301 (@dependabot[bot])
5.5.0-1191157
Upgraded dependencies:
- Update to Chrome DevTools Protocol version 1191157 #290 (@github-actions[bot])
- Bump kotlin from 1.9.0 to 1.9.10 #288 (@dependabot[bot])
- Bump ktor from 2.3.3 to 2.3.4 #292 (@dependabot[bot])
- Bump org.jetbrains.kotlinx:kotlinx-serialization-json from 1.5.1 to 1.6.0 #287 (@dependabot[bot])
5.4.0-1182435
Upgraded dependencies:
- Bump org.jetbrains.kotlinx:atomicfu from 0.21.0 to 0.22.0 #283 (@dependabot[bot])
- Update to Chrome DevTools Protocol version 1182435 #276 (@github-actions[bot])
- Bump com.squareup:kotlinpoet from 1.12.0 to 1.14.2 #281 (@dependabot[bot])
- Bump org.jetbrains.kotlinx:kotlinx-coroutines-core from 1.7.2 to 1.7.3 #280 (@dependabot[bot])
- Bump com.gradle.enterprise from 3.12.4 to 3.14.1 #279 (@dependabot[bot])
- Bump io.github.gradle-nexus.publish-plugin from 1.2.0 to 1.3.0 #278 (@dependabot[bot])
- Bump ktor from 2.3.2 to 2.3.3 #277 (@dependabot[bot])
5.3.1-1170846
Fixed bugs:
BrowserSession.use\(\)andPageSession.use\(\)swallow user exceptions whenclose\(\)throws #273
5.3.0-1170846
Fixed bugs:
- The error message in session adapters contains escaped variables #272
Merged pull requests:
- Update Gradle Wrapper from 8.2 to 8.2.1 #270 (@joffrey-bion)
Upgraded dependencies:
- Update to Chrome DevTools Protocol version 1170846 #271 (@github-actions[bot])
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
tvosSimulatorArm64target #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
awaitNodeBySelectorusing milliseconds #243
Fixed bugs:
- Make CDP request consistently fail with the same exception if the WS is closed concurrently #247
awaitNodeBySelectorcan 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
AllDomainsTargetextend all target interfaces #248 - Multiplatform support: JVM, JS, linux, windows, macOS, iOS, tvOS, watchOS #197
- Add helper
awaitNodeAbsentBySelector#240
Removals:
- Remove deprecated
captureScreenshotToFilewith 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: