~/talk

Evolving your Kotlin API painlessly for clients

Talkat KotlinConf 2023 · 2023-04-12..04-14· [kotlin]
slides:none on file

Concrete rules and tools for keeping a Kotlin library stable: use the binary compatibility validator Gradle plugin to generate an API dump and run API check so the build fails on accidental signature changes, enable explicit API mode and warnings-as-errors for production sources, follow a deprecation lifecycle (warning → error → hidden) before removal, prefer opt-in or propagation for experimental APIs, and supplement with integration tests or JApiCmp/jar diffs; Kotlin teams report this workflow prevents painful transitive breakages.

AI-written summary · about

  1. 0:00Introduction
  2. 3:20Compatibility in Kotlin libraries
  3. 11:36Compatibility types and risks
  4. 13:21Binary compatibility with validator
  5. 17:41Explicit API mode for safety
  6. 24:41Deprecating API elements safely
  7. 31:10Experimental versus stable APIs
  8. 39:47API lifecycle and deprecation
  9. 41:33Resources and closing
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.