HarmonyOS Next 6.0.0 Beta1 Update Notes and Adaptation Guide
On June 20, 2025, the Huawei Developers Conference (HDC) officially announced the launch of HarmonyOS 6 Developer Beta for developers.
HarmonyOS 6 Beta Version Description
HarmonyOS developer version 6.0.0 (20) Beta1 adds a batch of underlying open capabilities, such as cross-thread data transmission, pull request processing, background service extension capabilities, and support for filtering qualified grouped data. ArkUI and ArkWeb capabilities are further enhanced. Multiple high-level Kit capabilities are added, such as the Data Augmentation Kit, Enterprise Space Kit, and Screen Time Guard Kit.
6.0.0 (20) Beta1 Developer Kit Supporting Information
Software Package | Release Type | Version Number | Build Version | Release Date |
---|---|---|---|---|
System | Beta | HarmonyOS 6.0.0 Beta1 |
Software Version: 6.0.0.35 API Version: 6.0.0 (20) |
2025/06/20 |
DevEco Studio | Beta | DevEco Studio 6.0.0 Beta1 | 6.0.0.418 | 2025/06/20 |
SDK | Beta | HarmonyOS 6.0.0 Beta1 SDK | Based on OpenHarmony SDK Ohos_sdk_public 6.0.0.35 (API 20 Beta1) | 2025/06/20 |
New and Enhanced OS Features
I. Ability Kit: Comprehensive Enhancement of Application Capabilities
The Ability Kit adds multiple practical functions in this update:
- New optional parameter
CompletionHandler
forStartOptions
to flexibly handle pull request results - Supports enabling
Eventhub
cross-thread data transmission function inContext
- New C API support for obtaining application-level resource directories, querying debug modes, and acquiring module metadata
- Specifically adds the
AppServiceExtensionAbility
module to provide full lifecycle management for background services
II. AR Engine: Upgraded Spatial Measurement Capabilities
The AR Engine update introduces powerful volume measurement functions:
- New ArkTS API supports cube object recognition and volume calculation
- Simultaneously adds C API support for the same functions
- Accurately identifies cube objects or embedded cubic spaces in space, calculating length, width, height, and volume
III. ArkData: Smarter Data Filtering
- New
having
interface supports more flexible grouping data filtering conditions
IV. Comprehensive Optimization of Graphics Capabilities
ArkGraphics 2D
- Wraps original C API capabilities into more user-friendly ArkTS APIs
ArkGraphics 3D
- New ability to发射 rays from specified screen positions to detect 3D objects
V. ArkUI: Comprehensive Upgrade of User Experience
ArkUI brings numerous UI component enhancements in this update:
- Text and Input Components: New strikethrough/underline styles, line spacing control, ultra-long text display effects, verification code input modes, etc.
- Interaction Experience: Supports drag event screen ID acquisition, graphic rotation control, custom pop-up states, etc.
- Layout Optimization: Intelligent breakpoint completion for grid layouts, scrollbar margin control, etc.
- New Components: ToolBarItem component, accessibility event support, etc.
- Performance Optimization: Component translation API, Canvas rounded rectangle drawing support, etc.
VI. ArkWeb: Improved Web Experience
- New long-press menu vibration effect support
- Enhanced Web instance binding detection capabilities
- Upgraded based on Chromium M132 kernel
- New JSBridge synchronous calls, custom user agents, and other functions
- Supports picture-in-picture video playback mode
VII. Enhanced Audio and Security Capabilities
Audio Kit
- New echo cancellation query function
Device Security Kit
- New simulated click detection
- Introduces digital shield service to ensure password security
- New anti-peep protection function
VIII. Brand-New Kits Debut
This update introduces multiple new development kits:
- Data Augmentation Kit: Provides data enhancement capabilities such as knowledge bases, knowledge retrieval, and RAG
- Enterprise Space Kit: Enterprise digital space service supporting secure data transmission and management
- Screen Time Guard Kit: Screen time guardian service providing usage time control capabilities
IX. Other Important Updates
- Basic Services Kit: New device type enumeration values
- Device Certificate Kit: Enhanced X509 certificate information acquisition capabilities
- Location Kit: New POI definition and distance calculation
- MDM Kit: New public network upgrade control, device maintenance mode, etc.
- Online Authentication Kit: Supports passkey services
- Remote Communication Kit: Optimized network connection strategies
- Scan Kit: New emulator support
- Share Kit: Expanded touch-to-share scenarios
- Test Kit: Enhanced text testing capabilities
- UI Design Kit: New UI components and effects
- XEngine Kit: Supports high-performance GPU sorting
- Debugging Tools: Packaging tools add universal normalization commands
DevEco Studio Beta1 (6.0.0.418) New and Enhanced Features
- DevEco Studio supports developing API 20 projects.
- DevEco Studio adapts to the IntelliJ 2024.3.3 base upgrade, providing a new user interface with a simpler appearance and development experience.
- New page generation function supports multi-turn dialogue through natural language to generate usable page code for applications/meta-services, completing page construction quickly.
- Provides problem repair capabilities for syntax errors in compilation and build scenarios.
- New support for natural language interaction to analyze and explain performance issues in the current instance or project, helping developers quickly locate specific causes affecting performance.
- Supports querying changes in C APIs and provides cross-version query capabilities.
- Code Linter adds 3 new inspection rules, and the @typescript-eslint/explicit-function-return-type rule adds a configuration option to support inspection of .ets files.
- Enhanced Profiler tuning tool capabilities:
- Snapshot analysis template supports displaying reference chains in chart form.
- Snapshot analysis supports parsing the names of application object classes.
- Launch template supports displaying ETS file loading during application cold start.
- The Profiler tool's Energy template supports displaying abnormal energy consumption data and locating abnormal energy consumption components.
- Provides Graphics Profiler tools to capture GPU frame information.
- New support for quickly applying for partial ACL permissions via auto-signing.
- ohpm supports introducing dependencies using @module to point to module directories by module name.
- ohpm supports encrypted storage and reading of sensitive configuration items.
- ohpm command-line tools support the list --recursive option to display dependency trees of all modules.
- ohpm-repo supports OHMUrl version consistency verification for third-party library bytecode files.
- The hvigor-config.json5 file's execution section adds the optimizationStrategy field to specify the build mode. Command-line parameters support --optimization-strategy=performance/memory.
- The following fields are added under properties in the hvigor-config.json5 file:
- ohos.rollupCache.usePathPlaceholder: Specifies whether to replace absolute paths in rollup caches under the build directory with placeholders.
- ohos.rollupCache.useSourceHash: Specifies whether to replace source code in rollup caches under the build directory with corresponding hash content to reduce cache size.
- The skipOhModulesLint field is added under buildOption/arkOptions in project-level and module-level build-profile.json5 files to specify whether to skip ArkTS rule checks for the oh_modules directory in the project.
- Build Analyzer build analysis adds support for ultra-fine-grained mode. Compared with advanced mode, it records more detailed timing data during ArkTS compilation, but enabling it may prolong compilation and build time.
- The obfuscation assistant supports associating historical records, eliminating the need to recheck whitelist fields already investigated historically, and supports merging whitelist files.
- ArkUI Inspector supports 3D expansion of applications by component granularity, facilitating viewing of nesting and occlusion relationships between components.
- FaultLog of Cpp Crash type supports structured display and log filtering.
- The emulator supports custom screen size, resolution, DPI, and other configurations.
- Partial Kits support running on the emulator.
- The emulator supports adding multiple screens for quickly testing UI layouts in different resolution and DPI scenarios.
- The application and meta-service health check adds a pre-listing health check mode to quickly detect listing blocking issues. After detection, you can choose to upload the health check report for reference in AppGallery listing, improving listing efficiency.
- The rule health check for applications and meta-services adds seven new UX detection rules.
Top comments (0)