# Introducing .discourse-compatibility: pinned plugin/theme versions for older Discourse versions

**URL:** https://meta.discourse.org/t/introducing-discourse-compatibility-pinned-plugin-theme-versions-for-older-discourse-versions/156971
**Category:** Announcements
**Tags:** new-feature
**Created:** [6 juli 2020 om 22:51 UTC](https://meta.discourse.org/t/introducing-discourse-compatibility-pinned-plugin-theme-versions-for-older-discourse-versions/156971 "2020-07-06T22:51:07Z")
**Posts on this page:** 1
**Showing post:** 15

<div class="post-metadata">

### Author: ![RGJ](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/rgj/32/523185_2.png) [@RGJ](https://meta.discourse.org/u/RGJ)
#### Post date: [9 september 2020 om 07:57 UTC](https://meta.discourse.org/t/introducing-discourse-compatibility-pinned-plugin-theme-versions-for-older-discourse-versions/156971/15 "2020-09-09T07:57:09Z")

</div>

I ran into another issue.

[This change](https://github.com/discourse/discourse/commit/3745f2bb8612a6ab9fae9695d244cc0d9c11fd4d) introduces `$danger-low-mid` in 2.6.0beta2.

This broke the [discourse-styleguide plugin](https://github.com/discourse/discourse-styleguide) so that was updated and a `.discourse-compatibility` file was introduced to [keep the plugin at the previous commit for Discourse 2.5.0](https://github.com/discourse/discourse-styleguide/blob/master/.discourse-compatibility).

This breaks on Discourse 2.5.1. Since this change will never be backported to stable, the discourse-compatibility file would need to be updated on every new 2.5.x stable version.

**_Every_ discourse-compatibility file of _every_ plugin would need to be updated on _every_ new 2.5.x stable version.**

Alternatively, the compatibility file could refer to version 2.5.999, effectively keeping the plugin at commit `1f86468b2c81b40e97f1bcd16ea4bb780634e2c7` for the entire 2.5.x lifetime. But this seems very hacky to me.

---

_[View the full topic](https://meta.discourse.org/t/introducing-discourse-compatibility-pinned-plugin-theme-versions-for-older-discourse-versions/156971)._
