DEV Community

Cover image for HarmonyOS Next 5.0.4 Release Update Notes and Adaptation Guide
kouwei qing
kouwei qing

Posted on

HarmonyOS Next 5.0.4 Release Update Notes and Adaptation Guide

HarmonyOS Next 5.0.4 Release Update Notes and Adaptation Guide

On March 30, 2025, HarmonyOS Next 5.0.4 (API 16) was directly released as a Release version without any beta phases. Building upon the previously released HarmonyOS 5.0.3 Release, HarmonyOS 5.0.4 Release introduces the Reader Kit, a few new interfaces, and releases supporting software in Release status.

OS Platform Capabilities

New Features

The 5.0.4 version adds and enhances the following features:

Ability Kit
  • New batch of C API functions to obtain file directories within the application-level sandbox.
ArkUI
  • Text components newly support setting the text selection menu to display in a separate window.
  • Window management newly supports creating virtual screens.
ArkGraphics 2D
  • New batch of C API functions and enumerations to support GPU rendering capabilities for direct drawing to the screen buffer.
ArkWeb
  • New support for setting same-layer rendered elements with fixed width and height.
Connectivity Kit
  • New support for obtaining the name of the peer Bluetooth device.
  • New support for connecting to all allowable profiles of remote devices.
  • New support for persistently storing the MAC address of the peer device.
Input Kit
  • New support for setting callbacks for specified key operations in foreground applications.
Location Kit
  • New support for subscribing to Bluetooth scanning information reporting for positioning.
Media Library Kit
  • New enumeration definition for file locations to mark whether files are local or cloud-based.
Network Kit
  • New support for obtaining the file descriptor of TLSSocket.
Reader Kit
  • New Reader Kit supporting parsing, typesetting, and reading interaction capabilities for multiple e-book formats.

Note: The 5.0.3 version added some APIs for PC versions. Although there were expectations for updates targeting other devices like smartwatches in 5.0.4, such updates are temporarily absent.

DevEco Studio

The tool list, supported API scope, and development version information carried by DevEco Studio 5.0.11.100 are as follows:

DevEco Studio

Component Version Description
DevEco Studio DevEco Studio 5.0.4 Release (5.0.11.100) -
HarmonyOS SDK HarmonyOS 5.0.4 Release SDK -
HarmonyOS Emulator HarmonyOS Emulator 5.0.4 Release (5.0.9.350) Emulator supporting phones (including foldables) and tablets.
Hvigor 5.16.1 Compilation and build tool DevEco Hvigor (Hvigor) for API 10+ projects.
ohpm 5.0.13 Package management tool for OpenHarmony third-party libraries.
compatibleSdk Minimum compatible version: 4.0.0(10) Minimum SDK version compatible with HarmonyOS applications/meta-services.
modelVersion 5.0.4 Development version number.

Command Line Tools for DevEco Studio 5.0.11.100

Component Version Description
Command Line 5.0.11.100 Command line toolset version.
codelinter 5.0.510 Tool for executing code inspection and repair.
hstack 5.1.0 Tool for restoring obfuscated crash stacks of release apps to source code stacks.
hvigorw 5.16.1 Compilation and build tool DevEco Hvigor (Hvigor) for API 10+ projects.
ohpm 5.0.13 Package management tool for OpenHarmony third-party libraries.
sdk HarmonyOS 5.0.4 Release SDK -
compatibleSdk Minimum compatible version: 4.0.0(10) Minimum SDK version compatible with HarmonyOS applications/meta-services.
modelVersion 5.0.4 Development version number.

DevEco Studio supports developing API 16 projects with no other capability changes.

Top comments (0)