# How much effort does backwards compatibility require from library authors?

**URL:** <https://discourse.haskell.org/t/how-much-effort-does-backwards-compatibility-require-from-library-authors/11584>\
**Category:** Learn\
**Created:** [March 9, 2025, 8:46pm UTC](https://discourse.haskell.org/t/how-much-effort-does-backwards-compatibility-require-from-library-authors/11584 "2025-03-09T20:46:57Z")\
**Posts on this page:** 2\
**Page:** 5

<div class="post-metadata">

**Author:** ![hasufell](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.haskell.org/hasufell/32/1250_2.png) [@hasufell](https://discourse.haskell.org/u/hasufell)\
**Post date:** [April 30, 2025, 11:03am UTC](https://discourse.haskell.org/t/how-much-effort-does-backwards-compatibility-require-from-library-authors/11584/90 "2025-04-30T11:03:22Z")

</div>

> [@maralorn](#):
>
> If however B is tightly coupled to C, C has breaking changes and my other dependency D is not compatible with newest C then I am suddenly in a world of pain where I need to write patches for dependencies and the lack of backwards compatibility of B bites me.

This is somewhat of an oversight of practical PVP maybe… should you raise the minimum required major version of your dependencies without doing a major version bump? (this can also make you silently lock into a vulnerable version of a library, because the solver can’t pick the newer minor version)

---

<div class="post-metadata">

**Author:** ![maralorn](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.haskell.org/maralorn/32/449_2.png) [@maralorn](https://discourse.haskell.org/u/maralorn)\
**Post date:** [April 30, 2025, 11:32am UTC](https://discourse.haskell.org/t/how-much-effort-does-backwards-compatibility-require-from-library-authors/11584/91 "2025-04-30T11:32:33Z")

</div>

We might be drifting into offtopic here. As far as I know the purpose of PVP is to prevent incorrect/failing builds. I don`t see how what you are describing is an oversight because I don’t see how the rule you are proposing would prevent incorrect builds. It would however disrupt the ecosystem a lot.

[Previous page](https://discourse.haskell.org/t/how-much-effort-does-backwards-compatibility-require-from-library-authors/11584.md?page=4)
