@cloudcare/hvigor-ohos-plugin 0.1.0-alpha.3 → 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.1.0] - 2026-09-14
4
+
5
+ - Added compiler instrumentation for automatic console/HiLog collection.
6
+ - Added compiler instrumentation for cold-launch tracking.
7
+
3
8
  ## [0.1.0-alpha.3] - 2026-09-11
4
9
 
5
10
  - Added build-time registration of the installed plugin version in SDK `sdk_pkg_info.track`.
@@ -13,8 +18,4 @@
13
18
 
14
19
  - Prepared the initial npm prerelease of the console/HiLog and cold-launch instrumentation plugin.
15
20
 
16
- ## [0.1.0] - 2026-09-05
17
21
 
18
- - Added compiler instrumentation for automatic console/HiLog collection.
19
- - Added compiler instrumentation for cold-launch tracking.
20
- - Fixed cold-launch instrumentation to retry first-frame observation after `WindowStage.loadContent(...)` completes successfully.
package/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Guance HarmonyOS Hvigor Plugin
2
2
 
3
- [![Hvigor plugin version](https://img.shields.io/badge/dynamic/json?label=plugin&color=orange&query=$.version&uri=https://static.guance.com/ft-sdk-package/badge/harmonyos/plugin/version.json)](https://www.npmjs.com/package/@cloudcare/hvigor-ohos-plugin)
3
+ [![Hvigor plugin version](https://img.shields.io/badge/dynamic/json?label=plugin&color=orange&query=%24.version&uri=https%3A%2F%2Fraw.githubusercontent.com%2FGuanceCloud%2Fdatakit-harmonyos%2Fmaster%2Fft_hvigor_plugin%2Fpackage.json)](https://github.com/GuanceCloud/datakit-harmonyos/tree/master/ft_hvigor_plugin)
4
4
 
5
5
  `@cloudcare/hvigor-ohos-plugin` is the build-time companion for `@guancecloud/ft_sdk`. It instruments direct `console.*` and `hilog.*` calls and injects cold-launch lifecycle tracking into a HAP module's `src/main/ets` sources. Runtime log collection remains controlled by `FTLoggerConfig.setEnableConsoleLog(true)` in `@guancecloud/ft_sdk`.
6
6
 
@@ -11,7 +11,7 @@ This is a Hvigor tool package, so declare it in the project-level `hvigor/hvigor
11
11
  ```json5
12
12
  {
13
13
  "dependencies": {
14
- "@cloudcare/hvigor-ohos-plugin": "0.1.0-alpha.3"
14
+ "@cloudcare/hvigor-ohos-plugin": "0.1.0"
15
15
  }
16
16
  }
17
17
  ```
@@ -42,6 +42,6 @@ The plugin preserves the original console/HiLog output and does not modify appli
42
42
 
43
43
  ## Compatibility
44
44
 
45
- The `0.1.0-alpha.3` prerelease is verified with Node.js 18 or newer, Hvigor and `@ohos/hvigor-ohos-plugin` 6.23.5, and HarmonyOS SDK 6.0.2 (API 22). It supports `@guancecloud/ft_sdk` `0.1.17` and later releases.
45
+ Version `0.1.0` is verified with Node.js 18 or newer, Hvigor and `@ohos/hvigor-ohos-plugin` 6.23.5, and HarmonyOS SDK 6.0.2 (API 22). It supports `@guancecloud/ft_sdk` `0.1.17` and later releases.
46
46
 
47
47
  `@ohos/hvigor-ohos-plugin` is supplied by DevEco Studio's Hvigor runtime. `@guancecloud/ft_sdk` must still be declared as the application's runtime HAR dependency because the generated imports target that package.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cloudcare/hvigor-ohos-plugin",
3
- "version": "0.1.0-alpha.3",
3
+ "version": "0.1.0",
4
4
  "description": "Guance HarmonyOS Hvigor plugin for automatic console, HiLog, and cold-launch collection.",
5
5
  "main": "index.js",
6
6
  "files": [