avif

3 posts

discord

Discord Patch Notes: July 7, 2025 (opens in new tab)

Discord’s July 7, 2025 patch focuses on scalability, responsiveness, media support, and bug fixes across desktop, web, iOS, and Android. Major improvements include raising the default server member cap to 2.5 million, reducing Push to Talk latency, adding AV1 attachments and embeds, and fixing a long-standing mobile voice communication issue. The release also contains numerous usability, localization, accessibility, and interface fixes. ## Large-Server Improvements - Increased the default member cap from 500,000 to 2.5 million. - Improved member-list loading for large servers. - Strengthened monitoring and automatic scaling to detect and resolve server-specific performance problems. ## Voice and Input Enhancements - Added the “Voice Activity Priority” hotkey for users with the appropriate permissions. - Priority speakers reduce the volume of non-priority speakers while talking. - Reduced desktop Push to Talk activation latency. - Fixed a long-standing mobile voice-channel issue caused by specific network-provider conditions, where other participants could no longer hear the user. ## Media and Performance - Added AV1 video attachment and embed support across all platforms. - Improved AVIF processing speed and flexibility. - Fixed a message-sending bug where failed image uploads could block all later image sends until the app restarted. ## Interface and Usability Fixes - Channel names now preserve complex Unicode emoji sequences such as `👩🏻‍🔬` and `❤️`. - Added an interactive empty Voice Channel animation on desktop and web. - Prevented repeated Gift Nitro overlays on Android. - Restored the behavior where pressing Escape marks channels as read. - Improved Nameplate preview updates while editing display names. - Added a copy-link option to Forum post context menus. - Made the Events “More Options” button easier to click. - Prevented the Channel Settings “Add Role” interface from shifting during scrolling. - Fixed hidden Overlay widgets blocking interaction with the space they occupied. - Corrected shop-logo alignment, profile modal borders, event overflow behavior, and several tooltip and label issues. ## Mobile and Platform-Specific Fixes - Fixed blank keyboards when opening chat with an app. - Resolved iOS notification-swipe behavior that could open notifications instead of dismissing them. - Fixed iOS Server Discovery links incorrectly redirecting to profiles. - Restored mobile profile-banner animations. - Fixed Android Nitro gift-button overlays that could not be dismissed. - Corrected QR-code login errors when camera permission had not yet been granted. - Fixed light-mode styling for the “Remove Phone Number” modal. ## Search, Profiles, Events, and Moderation - Search suggestions no longer appear behind tabs. - Refreshing Forum searches no longer inserts the search text into the New Topic interface. - Fixed text truncation involving Custom Status and Rich Presence displays. - Corrected event text that incorrectly said “Starting on Tomorrow.” - Fixed AutoMod rules not disappearing immediately after deletion. - Prevented removing another user’s linked role from accidentally removing the role from oneself. - Fixed Server Template edits that deleted characters but could not be saved. - Updated Mod View title text and removed redundant Quest tooltips. - Corrected clickable bio-link font sizing and several profile rendering issues. ## Localization and Accessibility - Added Polish localization for the “Current Obsession” status. - Fixed Forum call-to-action text clipping in some languages. - Improved light-theme hover colors and other visual consistency issues. - Made various controls easier to use through larger click areas and smoother animations. The patch is aimed at making Discord more reliable at large scale while reducing friction in voice communication, media sharing, and everyday navigation. Users may receive the fixes progressively as they roll out across platforms.

discord

Discord Patch Notes: May 1, 2025 (opens in new tab)

Discord’s May 1, 2025 patch focuses on performance, usability, reliability, and bug fixes across platforms. Notable changes include faster Android video uploads, improved animated emoji support, and new Markdown links for phone numbers and email addresses. The release also resolves a wide range of interface, profile, moderation, permissions, and mobile issues, though some fixes may still be rolling out. ## Performance and Media Improvements - Android video transcoding improvements increased average upload speeds by about 5.6%. - Lower-performance Android devices saw average upload times improve by roughly 10.5%. - Animated emojis can now be uploaded in WebP and AVIF formats. - Supports true alpha transparency. - Provides greater color depth. - Produces smaller files. - Enables smoother playback. ## Markdown Links for Contact Information - Phone numbers and email addresses can now be formatted as links by placing them inside angle brackets: `< >`. - This allows users to tap or interact with contact information directly instead of copying it into another app. ## Notifications, Search, and Forum Usability - macOS notifications were redesigned to be cleaner and less cluttered. - Tapping text enclosed in backticks now copies it on mobile. - Forum searches now support choosing between AND and OR behavior for multiple tags. - Emoji autocomplete was improved for narrow Discord windows. - AutoMod system direct messages now appear correctly in mobile search results. - Server Insights graphs now update with the latest engagement data. - Keyboard behavior was improved when layout changes obscure content, particularly in Forum Channels; further improvements are ongoing. ## Profiles, Friends, and Statuses - Friend-request context menus now say “Accept Friend Request” instead of “Add Friend.” - Friend-request settings were reworded for greater clarity. - Mutual servers now appear correctly in mini profiles and update without requiring a restart. - Custom emojis in statuses animate properly when combined with text. - Non-animated custom-status emojis now display hover tooltips. - System emojis no longer appear clipped in Android statuses. - The Settings label “User Profile” was renamed “Main Profile.” - Accidental status changes from the Nitro preview in profile settings are no longer possible. - Long role lists in profiles can now be scrolled. - Server-specific profile role padding and role color previews were corrected. ## Moderation, Roles, and Server Management - Clicking a member in the Members tab now opens Mod View instead of closing the tab. - Mod View correctly renders messages from age-restricted channels. - Role color changes and slightly edited AutoMod regex rules now save properly. - Roles in Advanced View channel permissions are sorted by hierarchy. - Community Onboarding tasks can now be deleted reliably. - The “More” button on Student Hub server cards now works. - Users can once again move servers into the first position in a folder. - The server member-list border on iOS was reduced to restore usable space. ## Emoji, Reactions, and Embeds - Animated emojis now animate correctly in the full reactions list. - Reaction hover text is properly formatted even when many users participated. - Desktop now displays a clear upload-result toast for GIF emojis. - Invite links ending in a period now embed correctly. - Embeds and bot messages scale more effectively with font sizes and image dimensions, reducing overly narrow layouts. ## Mobile, Platform, and Visual Fixes - Quest and Account panels now align correctly. - Text in Voice for Stage Channels renders properly on foldable devices. - Mobile server headers use consistent colors across non-standard themes. - macOS capitalization for “Quit Discord” was corrected. - A Russian translation error affecting the “Mention the User” button was fixed. - Discovery now shows only one error when a user has reached the server limit. - Android users can side-scroll through server invite options. - Profile reaction coachmarks are positioned correctly. Discord recommends reporting remaining issues through the community bug megathread. Users who want early access to iOS changes can also join the Discord TestFlight program.

discord

Modern Image Formats at Discord: Supporting WebP and AVIF (opens in new tab)

Discord modernized its image pipeline to support animated WebP and AVIF attachments, embeds, and emojis. The change improves animation quality while significantly reducing file sizes compared with GIFs. Discord chose WebP as its primary delivery format because it offers broader platform support and more predictable performance, while converting AVIF sources—including tone-mapping HDR images to SDR when necessary. ## Benefits of WebP and AVIF - **Better transparency:** Both formats support full alpha channels, allowing smooth edges and animations that blend naturally with Discord’s light and dark themes. - **Greater color depth:** - GIF supports only 256 colors. - WebP supports roughly 16 million colors through 8-bit color channels. - AVIF supports up to 12 bits per channel. - **Improved visual quality:** Higher color fidelity reduces banding, produces more accurate colors, and better supports photographic and HDR content. - **Smaller animations:** Modern video-style compression provides: - Inter-frame compression - Advanced prediction - Configurable quality levels - Millisecond-precise frame timing - In the example provided, a GIF was **302 KB**, while the equivalent WebP animation was **43 KB**. ## Cross-Platform Image Processing - Discord processes and resizes every attached or embedded image to provide consistent behavior across: - Web browsers - Windows, macOS, and Linux - iOS - Android - Supporting new formats required coordinating inspection, conversion, decoding, and rendering throughout the media infrastructure. - Discord selected WebP as its preferred transformation target because it offers: - Near-universal platform support - Faster encoding and decoding than AVIF - Mature tools and ecosystem support - More predictable performance ## Tradeoffs Between WebP and AVIF - WebP is less capable than AVIF for: - 10- or 12-bit color - HDR content - Maximum compression efficiency - AVIF can produce smaller files for some content, but its platform support and performance are less consistent. - Discord converts AVIF images to WebP while preserving as much visual quality as possible. - HDR AVIF sources are tone-mapped to SDR because WebP is limited to 8-bit color depth. ## iOS Decoding Challenges - Discord uses SDWebImage to render images on iOS. - Its default WebP implementation relies on Apple’s ImageIO framework, available in iOS 14 and later. - Testing revealed that ImageIO decoded animated WebP files with increasingly inconsistent timing, especially for large or frame-heavy animations. - In a 10-second 480p30 comparison: - `libwebp` decoded the animation in real time. - ImageIO fell more than three seconds behind, with the delay increasing throughout playback. Discord’s move to WebP and AVIF demonstrates how modern formats can deliver higher-quality animations with substantially smaller files. For broad compatibility and reliable playback, WebP serves as the practical default, while AVIF remains useful as a high-efficiency source format.