From 7e0dc2401b14a85e3c96222a2301fd9aa853b59c Mon Sep 17 00:00:00 2001 From: Gloria Date: Mon, 12 Jun 2023 16:58:15 +0800 Subject: [PATCH] fixed 9f0979d from https://gitee.com/wusongqing/docs/pulls/19542 Update docs against 19157+19289 Signed-off-by: wusongqing --- en/OpenHarmony-Overview.md | 4 + en/application-dev/application-dev-guide.md | 4 + en/release-notes/OpenHarmony-v4.0-beta1.md | 446 ++++++++++++++++++ en/release-notes/Readme.md | 35 +- .../changelogs/v4.0-beta1/Readme-EN.md | 12 + .../v4.0-beta1/changelogs-ability.md | 37 ++ .../v4.0-beta1/changelogs-arkcompiler.md | 160 +++++++ .../v4.0-beta1/changelogs-bundlemanager.md | 17 + .../v4.0-beta1/changelogs-common.md | 13 + .../v4.0-beta1/changelogs-resourceschedule.md | 48 ++ en/website.md | 415 ++++++++++------ 11 files changed, 1039 insertions(+), 152 deletions(-) create mode 100644 en/release-notes/OpenHarmony-v4.0-beta1.md create mode 100644 en/release-notes/changelogs/v4.0-beta1/Readme-EN.md create mode 100644 en/release-notes/changelogs/v4.0-beta1/changelogs-ability.md create mode 100644 en/release-notes/changelogs/v4.0-beta1/changelogs-arkcompiler.md create mode 100644 en/release-notes/changelogs/v4.0-beta1/changelogs-bundlemanager.md create mode 100644 en/release-notes/changelogs/v4.0-beta1/changelogs-common.md create mode 100644 en/release-notes/changelogs/v4.0-beta1/changelogs-resourceschedule.md diff --git a/en/OpenHarmony-Overview.md b/en/OpenHarmony-Overview.md index 1aecb0171e..6a8227cd94 100644 --- a/en/OpenHarmony-Overview.md +++ b/en/OpenHarmony-Overview.md @@ -1,5 +1,9 @@ # OpenHarmony Project +> **NOTE** +> +> You are reading documents of OpenHarmony 4.0 Beta1. Obtain the [compatible SDK](release-notes/OpenHarmony-v4.0-beta1.md#version-mapping) during your application development. + ## Introduction OpenHarmony is an open-source project incubated and operated by the OpenAtom Foundation. The purpose of this project is to build an open-source, distributed operating system (OS) framework for smart devices in all scenarios of a fully-connected world. diff --git a/en/application-dev/application-dev-guide.md b/en/application-dev/application-dev-guide.md index 8170d075cf..bb359c6120 100644 --- a/en/application-dev/application-dev-guide.md +++ b/en/application-dev/application-dev-guide.md @@ -1,5 +1,9 @@ # Application Development Overview +> **NOTE** +> +> You are reading documents of OpenHarmony 4.0 Beta1. Obtain the [compatible SDK](../release-notes/OpenHarmony-v4.0-beta1.md#version-mapping) during your application development. + The application development documents provide reference for you to develop applications using the APIs provided by OpenHarmony. They walk you through how to use JavaScript APIs to develop applications on the standard system. The documents are carefully organized as follows: diff --git a/en/release-notes/OpenHarmony-v4.0-beta1.md b/en/release-notes/OpenHarmony-v4.0-beta1.md new file mode 100644 index 0000000000..2d72075494 --- /dev/null +++ b/en/release-notes/OpenHarmony-v4.0-beta1.md @@ -0,0 +1,446 @@ +# OpenHarmony 4.0 Beta1 + + +## Version Description + +The standard system capabilities of OpenHarmony 4.0 are continuously improved. ArkUI further improves component capabilities and effects. The application framework optimizes ExtensionAbilities. Application packages can be installed without decompression and shared across applications. The unified data management framework (UDMF) is provided for distributed data management. The audio, media playback, media control, and camera capabilities of the multimedia subsystem are further enhanced. Badge management is added to the common event and notification subsystem. More key management capabilities are provided for the security subsystem. ArkCompiler updates the tool versions related to the C++ toolchain. The capabilities of multiple tools in the test framework are enhanced. + +OpenHarmony 4.0 Beta1 provides the first batch of API version 10 interfaces. + + +### Application Framework + +- ExtensionAbilities adopt minimal management. APIs of the ExtensionAbilities are provided based on service scenarios to prevent calling of sensitive APIs. + +- Temporary, URI-based authorization is provided for data or files. An application can grant the read and write permissions of its own files to other applications. + +- UIExtensionAbilities are provided. The UI provided by a UIExtensionAbility can be embedded in the window of the invoker application for display. Currently, the following basic UIExtensionAbility capabilities have been built: + - Unified UIExtensionAbility template, with clear API definitions + - Display of the native default ExtensionAbility page, as well as UI customization + + Templates such as Share and Picker will be gradually provided in later versions. + +- Atomic services can be shared. You can use the **UIAbility.onShare()** lifecycle provided by the UIAbility component to set the data to share. Users can share atomic services and widgets to another device through the sharing box. + + +### ArkUI + +Addition or enhancement of basic components: + +- The ExtensionAbility component is provided so that you can embed the extended feature of an application into another application. + +- The drawing components **\**, **\**, **\**, **\**, **\**, **\**, **\**, **\**, and **\** support universal attributes such as translating, cropping, and masking. + +- The mask color and animation can be customized for custom dialog boxes. For example, you can set parameters related to the animation effect. + +- The **bindContextMenu** and **bindMenu** methods allow you to set menu positions. + +- The divider set by the **\** component can be dragged. + +- The **\** component allows you to set the content to be displayed during pulling down to refresh. + +- The width and height of the input string in the **\** component can be returned. If the string is not fully displayed, a dialog box showing the complete string is displayed when the mouse pointer is hovered over. + +Addition or enhancement of the animation effect: + +- Transition animation can be used for component attribute changes, for example, when the **\** component is used to set the divider color and color attributes. + +- You can set the spherical attributes, lower edge pixel stretching, adaptive color, G2 rounded corners, shadows, and gradient attributes for components to implement advanced animation effect. + +Development efficiency improvement: + +- You can hold the **\**, **\**, **\