The official version of open-source HarmonyOS 5.0 released
OpenHarmony 5 release, marking that the open source HarmonyOS has entered a new stage of development.
On December 20, at the opening ceremony of today's 2024 OpenAtom Developer Conference and the first Open Source Technology Academic Conference, the OpenAtom Open Source Harmony (OpenAtom OpenHarmony, referred to as "Open Source Harmony" or "OpenHarmony") project group released the open source Harmony OS 5.0 Release version.
Officially, this version has achieved significant improvements in system completeness, distributed innovation, developer experience, and system stability, marking that the open source HarmonyOS has entered a new stage of development.
Open source HarmonyOS is an open source project incubated and operated by the OpenAtom Open Source Foundation, with the goal of building a framework and platform for the operating system of intelligent terminal devices based on open source for the all-scenario, full-connection, and all-intelligent era.
Since the open-source HarmonyOS project was open-sourced for more than four years, it has gone from the earliest 1.0 release version with only 7 million lines of code to the current 5.0 release version with more than 120 million lines of code. The new version of the system has more complete capabilities, which can support the development of various super applications, and the distributed soft bus is upgraded to improve the efficiency and stability of device connections.
The key features of the open source HarmonyOS 5.0 Release version are as follows:
1. System functions
1.1 Application Framework Capability Optimization
The application framework adds key capabilities, such as sub-process creation and ability lifecycle monitoring, so that developers can manage application runtime tasks in a more granular manner, significantly improving application performance and resource management flexibility.
1.2 Enhancements to ArkUI customization
ArkUI has been further strengthened in terms of component customization, rendering nodes, interactive experience, etc., adding features such as component modifier, ContentModifier, and DrawModifier, and opening up custom nodes and native rendering nodes, providing developers with richer UI customization capabilities.
1.3 Camera and image processing optimization
New modes such as time-lapse, panorama, and wide-aperture recording, combined with anti-shake, continuous shooting, and status notification functions, provide a more efficient shooting experience. In terms of image processing, the image quality is further improved by enhancing EXIF's batch read and write capabilities and HDR dual-layer codec technology and supporting multiple codec formats such as HEIF and DNG to meet users' high-standard image processing needs.
1.4 Improvement of end-user experience
Package management supports features such as application clones, desktop shortcuts, and system-level HSP independent upgrades, and optimizes application packaging tools to significantly reduce the size of application packages and improve the end-user experience.
2. Performance optimization
2.1 ArkCompiler Performance Optimization
ArkCompiler has made significant progress in ArKTS syntax support, performance optimization, debugging capabilities, and more. The lazy loading mechanism of modules is introduced at runtime to significantly improve the application startup performance. Optimize cross-thread communication and task scheduling efficiency through the Sendable object sharing mechanism and task pooling.
2.2 Media Capability Performance Optimization
In the audio part, a focus session mechanism and more flexible playback strategies are introduced, and more audio devices and scenes can be dynamically switched to improve the user experience. The playback system optimizes the startup and seek performance, reduces playback latency, and supports functions such as multi-track, silent playback, and precise seek, further enriching playback control capabilities.
2.3 C API capability enhancement
ArkUI, data management UDMF, network management, distributed soft bus, graphics drawing, graphics codec, camera, internationalization, time zone, input method framework, clipboard and other areas enhance C API capabilities to provide developers with a complete high-performance application development experience.
2.4 ArkCompiler performance optimization
3. Security and Privacy Protection
3.1 Security Capability Upgrade
The new version provides more fine-grained security mechanisms in terms of encryption and decryption algorithms, certificate management, and program access control, such as one-time authorization for geolocation permissions, and the addition of SM4-GCM algorithm interfaces.
3.2 User Privacy Protection
Enhance user account management capabilities and privacy account types, support account cancellation and more granular permission control, and provide users with a more secure operating environment. File management further improves the Picker capability to achieve reasonable control and control of file resources and reasonable use of them.
Fourth, distributed capabilities
4.1 Cross-device data collaboration capabilities
The distributed soft bus provides an efficient communication foundation for distributed applications. Distributed data management supports co-sandbox data access, E-type encryption, flexible inverted indexes, and data asset synchronization to achieve secure and efficient data sharing and collaboration.
4.2 Cross-device interaction and collaboration
The cross-device keyboard and mouse traversal feature reduces traversal latency and improves the traversal success rate, bringing users a more flexible and convenient cross-device interactive operation experience and improving the efficiency of multi-device collaboration.