diff --git a/RELEASE-NOTES.md b/RELEASE-NOTES.md
index 401dbe28b..81f9747fa 100644
--- a/RELEASE-NOTES.md
+++ b/RELEASE-NOTES.md
@@ -1,5 +1,14 @@
These are the release notes for the [Semantic Result Formats](https://www.semantic-mediawiki.org/wiki/Extension:Semantic_Result_Formats) MediaWiki extension.
+## SRF 2.5.1
+
+Released on July 11, 2017.
+
+* Fixed bug #235: Fix the `template` parameter to the "tree", "oltree" and "ultree" formats
+* Fixed bug #236: Make the "oltree" format to actually use `
`
+* Fixed bug #253: Remove obsolete `"div"` element `align="justify"` from the "tagcloud" and "gallery" formats
+* Provided translation updates (by translatewiki.net community)
+
## SRF 2.5.0
Released on June 13, 2017.
diff --git a/SemanticResultFormats.php b/SemanticResultFormats.php
index b65daa413..a08b35407 100644
--- a/SemanticResultFormats.php
+++ b/SemanticResultFormats.php
@@ -51,7 +51,7 @@ public static function load() {
*/
public static function initExtension() {
- define( 'SRF_VERSION', '2.5.0' );
+ define( 'SRF_VERSION', '2.5.1' );
// Register the extension
$GLOBALS['wgExtensionCredits']['semantic'][] = [
diff --git a/composer.json b/composer.json
index df7d12f2a..e0cc74dd8 100644
--- a/composer.json
+++ b/composer.json
@@ -47,7 +47,7 @@
"require": {
"php": ">=5.5.0",
"composer/installers": "1.*,>=1.0.1",
- "mediawiki/semantic-media-wiki": "~2.1|~3.0",
+ "mediawiki/semantic-media-wiki": "~2.1",
"nicmart/tree": "^0.2.7",
"symfony/css-selector": "^3.3"
},