diff --git a/Telegram/Resources/uwp/AppX/AppxManifest.xml b/Telegram/Resources/uwp/AppX/AppxManifest.xml
index 4a7b9625b..74c2b20a2 100644
--- a/Telegram/Resources/uwp/AppX/AppxManifest.xml
+++ b/Telegram/Resources/uwp/AppX/AppxManifest.xml
@@ -9,7 +9,7 @@
+ Version="1.5.8.0" />
Telegram Desktop
Telegram Messenger LLP
diff --git a/Telegram/Resources/winrc/Telegram.rc b/Telegram/Resources/winrc/Telegram.rc
index 094b68d06..b8d373612 100644
--- a/Telegram/Resources/winrc/Telegram.rc
+++ b/Telegram/Resources/winrc/Telegram.rc
@@ -34,8 +34,8 @@ IDI_ICON1 ICON "..\\art\\icon256.ico"
//
VS_VERSION_INFO VERSIONINFO
- FILEVERSION 1,5,7,2
- PRODUCTVERSION 1,5,7,2
+ FILEVERSION 1,5,8,0
+ PRODUCTVERSION 1,5,8,0
FILEFLAGSMASK 0x3fL
#ifdef _DEBUG
FILEFLAGS 0x1L
@@ -52,10 +52,10 @@ BEGIN
BEGIN
VALUE "CompanyName", "Telegram Messenger LLP"
VALUE "FileDescription", "Telegram Desktop"
- VALUE "FileVersion", "1.5.7.2"
+ VALUE "FileVersion", "1.5.8.0"
VALUE "LegalCopyright", "Copyright (C) 2014-2019"
VALUE "ProductName", "Telegram Desktop"
- VALUE "ProductVersion", "1.5.7.2"
+ VALUE "ProductVersion", "1.5.8.0"
END
END
BLOCK "VarFileInfo"
diff --git a/Telegram/Resources/winrc/Updater.rc b/Telegram/Resources/winrc/Updater.rc
index 3a463c681..64f9326c1 100644
--- a/Telegram/Resources/winrc/Updater.rc
+++ b/Telegram/Resources/winrc/Updater.rc
@@ -25,8 +25,8 @@ LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
//
VS_VERSION_INFO VERSIONINFO
- FILEVERSION 1,5,7,2
- PRODUCTVERSION 1,5,7,2
+ FILEVERSION 1,5,8,0
+ PRODUCTVERSION 1,5,8,0
FILEFLAGSMASK 0x3fL
#ifdef _DEBUG
FILEFLAGS 0x1L
@@ -43,10 +43,10 @@ BEGIN
BEGIN
VALUE "CompanyName", "Telegram Messenger LLP"
VALUE "FileDescription", "Telegram Desktop Updater"
- VALUE "FileVersion", "1.5.7.2"
+ VALUE "FileVersion", "1.5.8.0"
VALUE "LegalCopyright", "Copyright (C) 2014-2019"
VALUE "ProductName", "Telegram Desktop"
- VALUE "ProductVersion", "1.5.7.2"
+ VALUE "ProductVersion", "1.5.8.0"
END
END
BLOCK "VarFileInfo"
diff --git a/Telegram/SourceFiles/core/version.h b/Telegram/SourceFiles/core/version.h
index e9ae5e5ea..aafae7f0d 100644
--- a/Telegram/SourceFiles/core/version.h
+++ b/Telegram/SourceFiles/core/version.h
@@ -7,7 +7,7 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
*/
#pragma once
-#define TDESKTOP_REQUESTED_ALPHA_VERSION (1005007002ULL)
+#define TDESKTOP_REQUESTED_ALPHA_VERSION (0ULL)
#ifdef TDESKTOP_OFFICIAL_TARGET
#define TDESKTOP_ALPHA_VERSION TDESKTOP_REQUESTED_ALPHA_VERSION
@@ -15,7 +15,7 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
#define TDESKTOP_ALPHA_VERSION (0ULL)
#endif // TDESKTOP_OFFICIAL_TARGET
-constexpr auto AppVersion = 1005007;
-constexpr auto AppVersionStr = "1.5.7";
+constexpr auto AppVersion = 1005008;
+constexpr auto AppVersionStr = "1.5.8";
constexpr auto AppBetaVersion = false;
constexpr auto AppAlphaVersion = TDESKTOP_ALPHA_VERSION;
diff --git a/Telegram/build/version b/Telegram/build/version
index e8bf7c3b0..9c071f6cc 100644
--- a/Telegram/build/version
+++ b/Telegram/build/version
@@ -1,6 +1,6 @@
-AppVersion 1005007
+AppVersion 1005008
AppVersionStrMajor 1.5
-AppVersionStrSmall 1.5.7
-AppVersionStr 1.5.7
+AppVersionStrSmall 1.5.8
+AppVersionStr 1.5.8
BetaChannel 0
-AlphaVersion 1005007002
+AlphaVersion 0
diff --git a/changelog.txt b/changelog.txt
index 7acdfb363..69c534c63 100644
--- a/changelog.txt
+++ b/changelog.txt
@@ -1,3 +1,11 @@
+1.5.8 (21.01.19)
+
+- Global permissions for groups. Restrict all members in any group from posting certain types of content.
+- Unified group settings. Make groups public, set admins with granular permissions and toggle persistent history in just a few clicks in any group.
+- Choose the emoji set you would like to use in Chat Settings.
+- Choose input and output devices for Telegram Calls in Settings > Advanced > Call Settings.
+- Support for automatically downloading files and music.
+
1.5.7 beta (11.01.19)
- Choose the emoji set you would like to use in Settings > Chat Settings.