diff --git a/CMakeLists.txt b/CMakeLists.txt
index 9f0e6b544..3bc967e91 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -9,7 +9,7 @@
 #         Stratagus - A free fantasy real time strategy game engine
 #
 #    CMakeLists.txt
-#    Copyright (C) 2011  Pali Rohár <pali.rohar@gmail.com>
+#    Copyright (C) 2011-2012  Pali Rohár <pali.rohar@gmail.com>
 #
 #    This program is free software: you can redistribute it and/or modify
 #    it under the terms of the GNU General Public License as published by
@@ -28,7 +28,7 @@
 
 project(stratagus)
 cmake_minimum_required(VERSION 2.6)
-set(STRATAGUS_VERSION 2.2.6)
+set(STRATAGUS_VERSION 2.2.7)
 
 # Stratagus sources
 
diff --git a/debian/changelog b/debian/changelog
index 66067fb1a..ca5571a86 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,46 @@
+stratagus (2.2.7-1) unstable; urgency=low
+
+  * Added CclCreateMissile function to create missiles from Lua code. from Cybermind)
+  * Added MissileType::SmokeParticle (same use as SmokeMissile).(from Cybermind)
+  * Alllow same units to get upgrade-to in one click.(from Cybermind)
+  * CclGetUnitVariable and CclSetUnitVariable now can get and set the Max, Increase and Enable fields.(from Cybermind)
+  * Added OnHit Lua callback parameter for UnitType to create some effects if unit is hit. (from Cybermind)
+  * Reworked the button's popup system to achieve more flexibility (from Cybermind)
+  * Added Preference.ShowNameDelay and Preference.ShowNameTime to show a popup for unit under cursor (from Cybermind)
+  * Code compile now with Lua 5.2 (from Joris Dauphin).
+  * Fix bug #901393: Always "network out of sync" in multiplayer mode (from Cybermind)
+  * Fix bug #710187: OpenGL is slower than without OpenGL (from Cybermind)
+  * Fix bug #909454: compile errors on OpenBSD. (from Pali Rohár)
+  * Fix compilation for maemo. (from Pali Rohár)
+  * Fix bug #910078: worker unable to do anything after building structure. (patch from Neil Tan)
+  * Fix bug #912904: Fix pathfinfing problem with unit near of goal. (patch from Neil Tan)
+  * Fix bug #911062: Fix segfault. (patch from Neil Tan)
+  * Fix bug #841133: Fix Action resource and DeassignWorkerFromMine. (from Joris Dauphin)
+  * Fix some regression in pathFinding. (from Joris Dauphin)
+  * Rearchitecturing of COrder and CAnimation. (from Joris Dauphin)
+  * Add DefineDefaultResourceMaxAmounts() to define max value per resource (like tiberium from C&C). Add "Storing" in UnitType to increase MaxResourceAmount (from Cybermind)
+  * New unitType flag:"Wall" which create "connection" with its neighboors. (from Cybermind)
+  * New unitType flag:"NonSolid" for unit which don't forbid other unit to be in the same place. (from Cybermind)
+  * New missile class "missile-class-treacer" which seek towards its target. (from Cybermind)
+  * New missile class "missile-class-clip-to-target" which is clipped to the target, then animate once before deal the damege. (from Cybermind)
+  * Add parameter "use-unit-var" to "spawn-missile" spell to use caster's damage. (from Cybermind)
+  * Rework animation parser to have access to some variables. (from Cybermind)
+  * Add impact by type. (from Cybermind)
+  * Add "AlwaysFire" flag to missile to shoot even if target is dead.(from Cybermind)
+  * Fix some saving issues.(from Joris Dauphin)
+  * Activate AutocastSpell for non moving unit. (from Cybermind)
+  * Disable buggy multithreading support. (from Pali Rohár)
+  * Fixed mouse scroll speed (from Pali Rohár)
+  * Fix bug #913621: Replace the abort and core dump by a lua_Error when unitType is unknown (from Joris Dauphin)
+  * Fix bug #976937: Fix crashing issue when loadnig a game with more than 3 ai-forces (from Joris Dauphin)
+  * Fix bug #993364: Fix compilation when using lua 5.2 (from Joris Dauphin)
+  * Fix bug #1001999: Do not overwrite CMAKE_CXX_FLAGS and CMAKE_EXE_LINKER_FLAGS variables, make install paths configurable (from hasufell)
+  * Fix bug #1013694: Fix compilation when MNG support is active (from Joris Dauphin)
+  * Fix bug #1020858: Fix Assert in Action_Attack (from Joris Dauphin)
+  * Fix bug #1022272: Fix Assert in pathfinding (from Joris Dauphin)
+
+ -- Pali Rohár <pali.rohar@gmail.com>  Mon, 20 Aug 2012 13:33:38 +0200
+
 stratagus (2.2.6-1) unstable; urgency=low
 
   * Changed directory structure for CMake, DoxyGen and platform code (from Pali Rohár)
diff --git a/debian/copyright b/debian/copyright
index 743659451..72a2aa760 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -16,7 +16,7 @@ Upstream Author(s):
 
 Copyright:
 
-    (C) 1998-2011 by The Stratagus Project and Pali Rohár
+    (C) 1998-2012 by The Stratagus Project and Pali Rohár
 
 License:
 
@@ -37,7 +37,7 @@ License:
 The Debian packaging is:
 
     Copyright (C) 2004 David Martínez Moreno <ender@debian.org>
-    Copyright (C) 2010-2011 Pali Rohár <pali.rohar@gmail.com>
+    Copyright (C) 2010-2012 Pali Rohár <pali.rohar@gmail.com>
 
 and is licensed under the GPL version 2,
 see "/usr/share/common-licenses/GPL-2".
diff --git a/doc/Doxyfile.in b/doc/Doxyfile.in
index 6abd0128b..777d6b342 100644
--- a/doc/Doxyfile.in
+++ b/doc/Doxyfile.in
@@ -31,7 +31,7 @@ PROJECT_NAME           = Stratagus
 # This could be handy for archiving the generated documentation or
 # if some version control system is used.
 
-PROJECT_NUMBER         = 2.2.6
+PROJECT_NUMBER         = 2.2.7
 
 # Using the PROJECT_BRIEF tag one can provide an optional one line description
 # for a project that appears at the top of each page and should give viewer
diff --git a/doc/stratagus.6 b/doc/stratagus.6
index 143b0cc96..16dbfb38c 100644
--- a/doc/stratagus.6
+++ b/doc/stratagus.6
@@ -1,4 +1,4 @@
-.TH STRATAGUS 6 "Oct 2011" "Stratagus v2.2.6"
+.TH STRATAGUS 6 "Oct 2011" "Stratagus v2.2.7"
 .SH NAME
 stratagus \- Strategy Gaming Engine
 .SH SYNOPSIS
diff --git a/src/include/version.h b/src/include/version.h
index 88cc27f03..50c92b8e6 100644
--- a/src/include/version.h
+++ b/src/include/version.h
@@ -9,7 +9,7 @@
 #define DESCRIPTION NAME " - Strategy Gaming Engine"
 
 /// Engine version shown
-#define VERSION  "2.2.6"
+#define VERSION  "2.2.7"
 
 /// Stratagus major version
 #define StratagusMajorVersion  2
@@ -18,7 +18,7 @@
 #define StratagusMinorVersion  2
 
 /// Stratagus patch level (maximal 99)
-#define StratagusPatchLevel    6
+#define StratagusPatchLevel    7
 
 /// Stratagus patch level 2
 #define StratagusPatchLevel2   0
@@ -39,4 +39,4 @@
 #define LICENSE "GPL v2"
 
 /// Copyright
-#define COPYRIGHT "Copyright (c) 1998-2011 by The Stratagus Project and Pali Rohar"
+#define COPYRIGHT "Copyright (c) 1998-2012 by The Stratagus Project and Pali Rohar"
diff --git a/src/win32/stratagus.nsi b/src/win32/stratagus.nsi
index 146cf4f4e..411a32965 100644
--- a/src/win32/stratagus.nsi
+++ b/src/win32/stratagus.nsi
@@ -9,7 +9,7 @@
 ;         Stratagus - A free fantasy real time strategy game engine
 ;
 ;    stratagus.nsi - Windows NSIS Installer for Stratagus
-;    Copyright (C) 2010-2011  Pali Rohár <pali.rohar@gmail.com>
+;    Copyright (C) 2010-2012  Pali Rohár <pali.rohar@gmail.com>
 ;
 ;    This program is free software: you can redistribute it and/or modify
 ;    it under the terms of the GNU General Public License as published by
@@ -45,11 +45,11 @@
 
 !define NAME "Stratagus"
 !define DESCRIPTION "Strategy Gaming Engine"
-!define VERSION "2.2.6"
+!define VERSION "2.2.7"
 !define VIVERSION "${VERSION}.0"
 !define HOMEPAGE "https://launchpad.net/stratagus"
 !define LICENSE "GPL v2"
-!define COPYRIGHT "Copyright (c) 1998-2011 by The Stratagus Project"
+!define COPYRIGHT "Copyright (c) 1998-2012 by The Stratagus Project"
 
 ;--------------------------------