diff --git a/CMakeLists.txt b/CMakeLists.txt
index d1392e0638b0c1b62a43c79629996289c744abf4..e1f580624b4c0813f1d25d709b3e716b615ff7a0 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -41,7 +41,7 @@ SET(SOFTWARE_NAME "XTPcpp")
 
 SET(XTPCPP_VERSION_MAJOR "0")
 SET(XTPCPP_VERSION_MINOR "2")
-SET(XTPCPP_VERSION_PATCH "1")
+SET(XTPCPP_VERSION_PATCH "2")
 SET(XTPCPP_VERSION "${XTPCPP_VERSION_MAJOR}.${XTPCPP_VERSION_MINOR}.${XTPCPP_VERSION_PATCH}")
 
 # Set the CMAKE_PREFIX_PATH for the find_library fonction when using non
diff --git a/debian/changelog b/debian/changelog
index 467b8764ae992e8e4a0be9db2639be32f8add9ff..20df678d41ec089b2c576adc5a18c593a706d9d8 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+xtpcpp (0.2.2-1) stretch; urgency=medium
+
+  * better xpip format input and output
+
+ -- Olivier Langella <olivier.langella@u-psud.fr>  Mon, 04 Dec 2017 10:54:31 +0100
+
 xtpcpp (0.2.1-1) stretch; urgency=medium
 
   * huge refactoring