From 11b62118d2462bcf6a69ba81517f9426ac426b9c Mon Sep 17 00:00:00 2001 From: John Preston Date: Thu, 4 Aug 2022 21:05:44 +0300 Subject: [PATCH] Beta version 4.0.4. - Allow sending animated emoji to Saved Messages even without Telegram Premium. - Premium: Suggest animated emoji by regular emoji (can be disabled in Settings). - Premium: Show all suggested premium stickers in a special section of the stickers panel. - Premium: Allow hiding premium stickers special section of the stickers panel. - Fix a memory leak in RTMP livestreams. - Fix some bot webview bugs on macOS. - Fix forwarding of voice messages. --- Telegram/Resources/uwp/AppX/AppxManifest.xml | 2 +- Telegram/Resources/winrc/Telegram.rc | 8 +- Telegram/Resources/winrc/Updater.rc | 8 +- Telegram/SourceFiles/core/changelogs.cpp | 137 +++---------------- Telegram/SourceFiles/core/version.h | 4 +- Telegram/build/version | 8 +- changelog.txt | 10 ++ 7 files changed, 45 insertions(+), 132 deletions(-) diff --git a/Telegram/Resources/uwp/AppX/AppxManifest.xml b/Telegram/Resources/uwp/AppX/AppxManifest.xml index 517bc87d9c..2a6a5c76ec 100644 --- a/Telegram/Resources/uwp/AppX/AppxManifest.xml +++ b/Telegram/Resources/uwp/AppX/AppxManifest.xml @@ -10,7 +10,7 @@ + Version="4.0.4.0" /> Telegram Desktop Telegram Messenger LLP diff --git a/Telegram/Resources/winrc/Telegram.rc b/Telegram/Resources/winrc/Telegram.rc index cbb4ed7cda..942b5e70b8 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 4,0,3,0 - PRODUCTVERSION 4,0,3,0 + FILEVERSION 4,0,4,0 + PRODUCTVERSION 4,0,4,0 FILEFLAGSMASK 0x3fL #ifdef _DEBUG FILEFLAGS 0x1L @@ -62,10 +62,10 @@ BEGIN BEGIN VALUE "CompanyName", "Telegram FZ-LLC" VALUE "FileDescription", "Telegram Desktop" - VALUE "FileVersion", "4.0.3.0" + VALUE "FileVersion", "4.0.4.0" VALUE "LegalCopyright", "Copyright (C) 2014-2022" VALUE "ProductName", "Telegram Desktop" - VALUE "ProductVersion", "4.0.3.0" + VALUE "ProductVersion", "4.0.4.0" END END BLOCK "VarFileInfo" diff --git a/Telegram/Resources/winrc/Updater.rc b/Telegram/Resources/winrc/Updater.rc index 3a10db314c..2eef33cfb3 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 4,0,3,0 - PRODUCTVERSION 4,0,3,0 + FILEVERSION 4,0,4,0 + PRODUCTVERSION 4,0,4,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", "4.0.3.0" + VALUE "FileVersion", "4.0.4.0" VALUE "LegalCopyright", "Copyright (C) 2014-2022" VALUE "ProductName", "Telegram Desktop" - VALUE "ProductVersion", "4.0.3.0" + VALUE "ProductVersion", "4.0.4.0" END END BLOCK "VarFileInfo" diff --git a/Telegram/SourceFiles/core/changelogs.cpp b/Telegram/SourceFiles/core/changelogs.cpp index abd2e6514d..4d8686113b 100644 --- a/Telegram/SourceFiles/core/changelogs.cpp +++ b/Telegram/SourceFiles/core/changelogs.cpp @@ -22,123 +22,6 @@ namespace { std::map BetaLogs() { return { - { - 3002006, - "- Try out the new audio player with playlist shuffle and repeat.\n" - - "- Give a custom name to your desktop session " - "to distinguish it in the sessions list.\n" - }, - { - 3002007, - "- Active sessions list redesign.\n" - - "- Fix disappearing emoji selector button.\n" - - "- Fix a crash in archived stickers loading.\n" - - "- Fix a crash in calls to old Telegram versions.\n" - }, - { - 3003001, - "- Switch between contacts list sorting modes.\n" - - "- Sort contacts list by last seen time by default.\n" - - "- Fix disappearing Send As Channel button after message editing.\n" - - "- Fix file upload cancelling.\n" - - "- Fix crash in video capture on macOS.\n" - - "- Fix labels in the About box.\n" - - "- Use Qt 6.2.2 for macOS and Linux builds.\n" - - "- Allow installing x64 Windows version on Windows ARM.\n" - }, - { - 3003002, - "- Select text when typing and choose 'Formatting > Spoiler' in the " - "context menu to hide some or all of the contents of a message.\n" - - "- Click on the spoiler in chat to reveal its hidden text.\n" - - "- Spoiler formatting hides text in chat, " - "as well as in the chat list and notifications.\n" - }, - { - 3004005, - "- Fix crash in monospace blocks processing.\n" - - "- Fix reaction animations stopping after an hour uptime.\n" - }, - { - 3004006, - "- Add snap layouts support on Windows 11.\n" - - "- Fix crash in drafts after accounts switching.\n" - }, - { - 3005003, - "- Check the status of media and file downloads by clicking " - "on the new panel in the bottom of the chats list.\n" - - "- View recently downloaded files " - "from the new Settings > Advanced > Downloads section.\n" - - "- Manage Live Streams in your groups and channels " - "using external software like OBS Studio or XSplit Broadcaster.\n" - }, - { - 3005005, - "- Support stereo audio output in RTMP streams.\n" - - "- Improve RTMP stream full screen mode.\n" - - "- Fix a couple of crashes.\n" - }, - { - 3005006, - "- Show viewers count in RTMP streams.\n" - - "- Send GIFs search results without \"via @bot\".\n" - - "- Display the file thumbnail in downloads bar.\n" - - "- Always try to save original photo bytes to disk.\n" - - "- Fix crash when deleting a user from your contacts list.\n" - }, - { - 3006003, - "- Allow sending the default reaction by a double click.\n" - - "- Select a custom sound for message notifications.\n" - - "- Add chats to folders from a chat context menu.\n" - - "- Fix group and channel photo upload.\n" - - "- Test hardware video decoding.\n" - }, - { - 3007004, - "- More icons for chat folders.\n" - - "- Improve some more sections design.\n" - - "- Update the OpenAL library to 1.22.0.\n" - }, - { - 3007006, - "- Settings > Advanced > Experimental adds an option " - "to open chats in separate windows.\n" - - "- Fix possible crash in video chat reconnection.\n" - - "- Fix possible crash after account switch.\n" - }, { 4000003, "- Animated emoji for messages.\n" @@ -147,6 +30,26 @@ std::map BetaLogs() { "- Premium: Gifting Telegram Premium " "to any user from their profile page.\n" + }, + { + 4000004, + "- Allow sending animated emoji to Saved Messages " + "even without Telegram Premium.\n" + + "- Premium: Suggest animated emoji by regular emoji " + "(can be disabled in Settings).\n" + + "- Premium: Show all suggested premium stickers " + "in a special section of the stickers panel.\n" + + "- Premium: Allow hiding premium stickers special section " + "of the stickers panel.\n" + + "- Fix a memory leak in RTMP livestreams.\n" + + "- Fix some bot webview bugs on macOS.\n" + + "- Fix forwarding of voice messages.\n" } }; }; diff --git a/Telegram/SourceFiles/core/version.h b/Telegram/SourceFiles/core/version.h index adf85953f2..055de344a0 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 = 4000003; -constexpr auto AppVersionStr = "4.0.3"; +constexpr auto AppVersion = 4000004; +constexpr auto AppVersionStr = "4.0.4"; constexpr auto AppBetaVersion = true; constexpr auto AppAlphaVersion = TDESKTOP_ALPHA_VERSION; diff --git a/Telegram/build/version b/Telegram/build/version index 336892d367..8ab3ccaad1 100644 --- a/Telegram/build/version +++ b/Telegram/build/version @@ -1,7 +1,7 @@ -AppVersion 4000003 +AppVersion 4000004 AppVersionStrMajor 4.0 -AppVersionStrSmall 4.0.3 -AppVersionStr 4.0.3 +AppVersionStrSmall 4.0.4 +AppVersionStr 4.0.4 BetaChannel 1 AlphaVersion 0 -AppVersionOriginal 4.0.3.beta +AppVersionOriginal 4.0.4.beta diff --git a/changelog.txt b/changelog.txt index 6079687a3f..c5ba51a7e3 100644 --- a/changelog.txt +++ b/changelog.txt @@ -1,3 +1,13 @@ +4.0.4 beta (04.08.22) + +- Allow sending animated emoji to Saved Messages even without Telegram Premium. +- Premium: Suggest animated emoji by regular emoji (can be disabled in Settings). +- Premium: Show all suggested premium stickers in a special section of the stickers panel. +- Premium: Allow hiding premium stickers special section of the stickers panel. +- Fix a memory leak in RTMP livestreams. +- Fix some bot webview bugs on macOS. +- Fix forwarding of voice messages. + 4.0.3 beta (28.07.22) - Animated emoji for messages.