# Maintaining Compatibility in Kotlin Libraries

DevFeed: [Maintaining Compatibility in Kotlin Libraries](<https://devfeed.tech/articles/maintaining-compatibility-in-kotlin-libraries-27071.md>)

Original publisher: [Read original article](<https://zsmb.co/maintaining-compatibility-in-kotlin-libraries/>)

Author: Márton Braun

Published: 2019-03-30T22:00:00Z

Content type: tutorial

Language: en

Sources: [zsmb.co](<https://devfeed.tech/sources/zsmb-co.md>)

Topics: [Kotlin](<https://devfeed.tech/topics/kotlin.md>), [Library](<https://devfeed.tech/topics/library.md>), [Code](<https://devfeed.tech/topics/code.md>), [Programming](<https://devfeed.tech/topics/programming.md>)

Tags: [android](<https://devfeed.tech/tags/android.md>), [code](<https://devfeed.tech/tags/code.md>), [interface](<https://devfeed.tech/tags/interface.md>), [kotlin](<https://devfeed.tech/tags/kotlin.md>), [libraries](<https://devfeed.tech/tags/libraries.md>), [library](<https://devfeed.tech/tags/library.md>), [marton-braun](<https://devfeed.tech/tags/marton-braun.md>), [migration](<https://devfeed.tech/tags/migration.md>), [unit-tests](<https://devfeed.tech/tags/unit-tests.md>), [zsmb](<https://devfeed.tech/tags/zsmb.md>), [zsmb-co](<https://devfeed.tech/tags/zsmb-co.md>), [zsmb13](<https://devfeed.tech/tags/zsmb13.md>), [zsmbco](<https://devfeed.tech/tags/zsmbco.md>)

## AI overview

This tutorial explains how Kotlin library developers can preserve compatibility for existing clients. It covers source compatibility, binary compatibility, and deprecation, using examples of API changes and default parameters.

## Source excerpt

Not breaking client code is an essential duty of a library developer. Let's take a look at a couple rarely discussed issues you might face in this area.