<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/checking-d-bus-api-stability-uag3riyih" -->

---
title: Checking D-Bus API stability | daily.dev
description: dbus-deviation is a tool and Python library for automatically detecting D-Bus API breaking changes between software releases. It distinguishes...
canonical: https://daily.dev/posts/checking-d-bus-api-stability-uag3riyih
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Checking D-Bus API stability | daily.dev
og:description: dbus-deviation is a tool and Python library for automatically detecting D-Bus API breaking changes between software releases. It distinguishes...
og:url: https://daily.dev/posts/checking-d-bus-api-stability-uag3riyih
og:image: https://api.daily.dev/og/posts/UaG3rIyIh.png
og:image:alt: Checking D-Bus API stability
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Checking D-Bus API stability

**[Collabora Blog](https://daily.dev/sources/collabora)** · 3 min read · 0 upvotes · 0 comments

## Summary

dbus-deviation is a tool and Python library for automatically detecting D-Bus API breaking changes between software releases. It distinguishes backwards-incompatibilities (existing clients break against new service versions) from forwards-incompatibilities (new clients break against old service versions), and lets projects configure their desired stability policy. The tool provides a dbus-interface-diff utility, Python libraries with AST and diff methods, and integrates with git via pre-push hooks to track API signatures on release tags.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://www.collabora.com/about-us/blog/2015/06/02/checking-d-bus-api-stability>

## Questions this post answers

### How can I automatically detect breaking changes in a D-Bus API between releases?

dbus-deviation provides a utility called dbus-interface-diff and Python libraries that compare D-Bus interface definitions across releases. It distinguishes backwards-incompatibilities (existing clients fail against a new service, e.g. a removed method) from forwards-incompatibilities (new clients fail against an old service, e.g. a newly added method). Projects can configure their desired stability policy and integrate checks via a pre-push git hook that records API signatures on release tags.

_Teams shipping D-Bus interfaces track compatibility tooling like this on daily.dev._

## Similar posts on daily.dev

- [Build Your Own Dependency Vulnerability Scanner in 120 Lines of Python](https://daily.dev/posts/build-your-own-dependency-vulnerability-scanner-in-120-lines-of-python-e8jicf6h3) · Medium · 0 upvotes · 0 comments
- [How to reduce false positives in security scans](https://daily.dev/posts/how-to-reduce-false-positives-in-security-scans-8soblcatl) · Red Hat Developer · 0 upvotes · 0 comments
- [Three releases, one new organization](https://daily.dev/posts/three-releases-one-new-organization-azbbcz4no) · Planet Python · 0 upvotes · 0 comments
- [The Post-Heroku Django World](https://daily.dev/posts/the-post-heroku-django-world-o46mujbgp) · Django News · 1 upvotes · 0 comments

---

Tags: [#python](https://daily.dev/tags/python), [#open-source](https://daily.dev/tags/open-source), [#linux](https://daily.dev/tags/linux)

[View this post on daily.dev](https://daily.dev/posts/checking-d-bus-api-stability-uag3riyih)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Checking D-Bus API stability","url":"https://daily.dev/posts/checking-d-bus-api-stability-uag3riyih","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/checking-d-bus-api-stability-uag3riyih"},"datePublished":"2026-08-11T08:55:38.451Z","dateModified":"2026-08-11T09:06:41.316Z","description":"dbus-deviation is a tool and Python library for automatically detecting D-Bus API breaking changes between software releases. It distinguishes...","image":"https://media.daily.dev/image/upload/s--HRgLpUt6--/f_auto/v1722860399/public/Placeholder%2003","thumbnailUrl":"https://media.daily.dev/image/upload/s--HRgLpUt6--/f_auto/v1722860399/public/Placeholder%2003","isAccessibleForFree":true,"articleSection":"Collabora Blog","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Collabora Blog","logo":"https://media.daily.dev/image/upload/s--ZGZ0FjqS--/f_auto,q_auto/v1786438306/logos/collabora?_a=BAMAMicg0","url":"https://daily.dev/sources/collabora"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/checking-d-bus-api-stability-uag3riyih","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"python,open-source,linux","timeRequired":"PT3M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Collabora Blog","item":"https://daily.dev/sources/collabora"},{"@type":"ListItem","position":3,"name":"Checking D-Bus API stability"}]}
{"@context":"https://schema.org","@type":"FAQPage","@id":"https://daily.dev/posts/checking-d-bus-api-stability-uag3riyih#faq","mainEntity":[{"@type":"Question","name":"How can I automatically detect breaking changes in a D-Bus API between releases?","acceptedAnswer":{"@type":"Answer","text":"dbus-deviation provides a utility called dbus-interface-diff and Python libraries that compare D-Bus interface definitions across releases. It distinguishes backwards-incompatibilities (existing clients fail against a new service, e.g. a removed method) from forwards-incompatibilities (new clients fail against an old service, e.g. a newly added method). Projects can configure their desired stability policy and integrate checks via a pre-push git hook that records API signatures on release tags. Teams shipping D-Bus interfaces track compatibility tooling like this on daily.dev."}}]}
```

