diff --git a/Telegram/Resources/uwp/AppX/AppxManifest.xml b/Telegram/Resources/uwp/AppX/AppxManifest.xml
index bf63f90dc..018d21701 100644
--- a/Telegram/Resources/uwp/AppX/AppxManifest.xml
+++ b/Telegram/Resources/uwp/AppX/AppxManifest.xml
@@ -9,7 +9,7 @@
+ Version="3.1.8.0" />
Telegram Desktop
Telegram Messenger LLP
diff --git a/Telegram/Resources/winrc/Telegram.rc b/Telegram/Resources/winrc/Telegram.rc
index d47bea8f4..17093d255 100644
--- a/Telegram/Resources/winrc/Telegram.rc
+++ b/Telegram/Resources/winrc/Telegram.rc
@@ -44,8 +44,8 @@ IDI_ICON1 ICON "..\\art\\icon256.ico"
//
VS_VERSION_INFO VERSIONINFO
- FILEVERSION 3,1,7,0
- PRODUCTVERSION 3,1,7,0
+ FILEVERSION 3,1,8,0
+ PRODUCTVERSION 3,1,8,0
FILEFLAGSMASK 0x3fL
#ifdef _DEBUG
FILEFLAGS 0x1L
@@ -62,10 +62,10 @@ BEGIN
BEGIN
VALUE "CompanyName", "Telegram FZ-LLC"
VALUE "FileDescription", "Telegram Desktop"
- VALUE "FileVersion", "3.1.7.0"
+ VALUE "FileVersion", "3.1.8.0"
VALUE "LegalCopyright", "Copyright (C) 2014-2021"
VALUE "ProductName", "Telegram Desktop"
- VALUE "ProductVersion", "3.1.7.0"
+ VALUE "ProductVersion", "3.1.8.0"
END
END
BLOCK "VarFileInfo"
diff --git a/Telegram/Resources/winrc/Updater.rc b/Telegram/Resources/winrc/Updater.rc
index f5c20f6bd..95f0ba385 100644
--- a/Telegram/Resources/winrc/Updater.rc
+++ b/Telegram/Resources/winrc/Updater.rc
@@ -35,8 +35,8 @@ LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
//
VS_VERSION_INFO VERSIONINFO
- FILEVERSION 3,1,7,0
- PRODUCTVERSION 3,1,7,0
+ FILEVERSION 3,1,8,0
+ PRODUCTVERSION 3,1,8,0
FILEFLAGSMASK 0x3fL
#ifdef _DEBUG
FILEFLAGS 0x1L
@@ -53,10 +53,10 @@ BEGIN
BEGIN
VALUE "CompanyName", "Telegram FZ-LLC"
VALUE "FileDescription", "Telegram Desktop Updater"
- VALUE "FileVersion", "3.1.7.0"
+ VALUE "FileVersion", "3.1.8.0"
VALUE "LegalCopyright", "Copyright (C) 2014-2021"
VALUE "ProductName", "Telegram Desktop"
- VALUE "ProductVersion", "3.1.7.0"
+ VALUE "ProductVersion", "3.1.8.0"
END
END
BLOCK "VarFileInfo"
diff --git a/Telegram/SourceFiles/core/version.h b/Telegram/SourceFiles/core/version.h
index f40aac5fc..bf9b244f3 100644
--- a/Telegram/SourceFiles/core/version.h
+++ b/Telegram/SourceFiles/core/version.h
@@ -22,7 +22,7 @@ constexpr auto AppId = "{53F49750-6209-4FBF-9CA8-7A333C87D1ED}"_cs;
constexpr auto AppNameOld = "Telegram Win (Unofficial)"_cs;
constexpr auto AppName = "Telegram Desktop"_cs;
constexpr auto AppFile = "Telegram"_cs;
-constexpr auto AppVersion = 3001007;
-constexpr auto AppVersionStr = "3.1.7";
-constexpr auto AppBetaVersion = true;
+constexpr auto AppVersion = 3001008;
+constexpr auto AppVersionStr = "3.1.8";
+constexpr auto AppBetaVersion = false;
constexpr auto AppAlphaVersion = TDESKTOP_ALPHA_VERSION;
diff --git a/Telegram/build/version b/Telegram/build/version
index 7a2ee5ca5..4d379d39d 100644
--- a/Telegram/build/version
+++ b/Telegram/build/version
@@ -1,7 +1,7 @@
-AppVersion 3001007
+AppVersion 3001008
AppVersionStrMajor 3.1
-AppVersionStrSmall 3.1.7
-AppVersionStr 3.1.7
-BetaChannel 1
+AppVersionStrSmall 3.1.8
+AppVersionStr 3.1.8
+BetaChannel 0
AlphaVersion 0
-AppVersionOriginal 3.1.7.beta
+AppVersionOriginal 3.1.8
diff --git a/changelog.txt b/changelog.txt
index 45632077b..7f06e089a 100644
--- a/changelog.txt
+++ b/changelog.txt
@@ -1,3 +1,9 @@
+3.1.8 (08.10.21)
+
+- Show small media previews in chats list.
+- Show media album previews and caption text in chats list.
+- Add "Quick Reply" and "Mark as Read" to native Windows notifications.
+
3.1.7 beta (07.10.21)
- Fix channel message views and comments counter updates.