@guanghechen/observable 7.0.1 → 7.1.1

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.
Files changed (2) hide show
  1. package/CHANGELOG.md +61 -0
  2. package/package.json +4 -4
package/CHANGELOG.md CHANGED
@@ -1,8 +1,69 @@
1
1
  # Change Log
2
2
 
3
+ ## 7.1.1
4
+
5
+ ### Patch Changes
6
+
7
+ - chore: vitest config auto-load aliases and coverage thresholds; style/doc formatting updates
8
+ - Updated dependencies:
9
+ - @guanghechen/disposable@2.1.1
10
+ - @guanghechen/subscriber@2.1.1
11
+
12
+ ## 7.1.0
13
+
14
+ ### Minor Changes
15
+
16
+ - ### @guanghechen/reporter
17
+ - feat: add `setLevel` method for dynamic log level change
18
+ - refactor: split source into modular files (`level.ts`, `chalk.ts`, `types.ts`, `reporter.ts`)
19
+ - refactor: move `IReporter` types from `@guanghechen/types` to `@guanghechen/reporter`
20
+ - export: add level utilities (`LogLevelEnum`, `ILogLevel`, `LOG_LEVELS`, `LOG_LEVEL_VALUES`,
21
+ `isLogLevel`, `getLogLevelValue`, `resolveLogLevel`)
22
+ - export: add chalk utilities (`ANSI`, `formatTag`)
23
+
24
+ ### @guanghechen/types
25
+ - refactor: remove `IReporter` and `IReporterLevel` exports (moved to `@guanghechen/reporter`)
26
+
27
+ ### @guanghechen/commander
28
+ - feat: add predefined options `logLevelOption` and `silentOption` with `apply` callback support
29
+ - refactor: use `ILogLevel` from `@guanghechen/reporter` instead of `IReporterLevel`
30
+
31
+ ### Dependent packages
32
+ - chore: bump version for packages depending on `@guanghechen/types`, `@guanghechen/reporter`, or
33
+ `@guanghechen/commander`
34
+
35
+ ### Patch Changes
36
+
37
+ - Updated dependencies:
38
+ - @guanghechen/types@2.2.0
39
+ - @guanghechen/disposable@2.1.0
40
+ - @guanghechen/subscriber@2.1.0
41
+
3
42
  All notable changes to this project will be documented in this file. See
4
43
  [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
44
 
45
+ ## 7.0.1 (2025-02-07)
46
+
47
+ ### Improvements
48
+
49
+ - Clean up build configs and standardize package exports
50
+ - Enhance type safety and resource cleanup
51
+
52
+ ### Documentation
53
+
54
+ - Update README.md
55
+
56
+ ### Miscellaneous
57
+
58
+ - Add LICENSE file
59
+ - Migrate from lerna to changesets
60
+
61
+ ## 7.0.0 (2025-01-15)
62
+
63
+ ### Improvements
64
+
65
+ - Upgrade to stable release
66
+
6
67
  ## <small>6.1.3 (2024-09-19)</small>
7
68
 
8
69
  - :art: improve(viewmodel): support to create Computed from another Computed
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@guanghechen/observable",
3
- "version": "7.0.1",
3
+ "version": "7.1.1",
4
4
  "author": {
5
5
  "name": "guanghechen",
6
6
  "url": "https://github.com/guanghechen/"
@@ -37,9 +37,9 @@
37
37
  "README.md"
38
38
  ],
39
39
  "dependencies": {
40
- "@guanghechen/disposable": "^2.0.1",
41
- "@guanghechen/subscriber": "^2.0.1",
42
- "@guanghechen/types": "^2.0.1"
40
+ "@guanghechen/disposable": "^2.1.1",
41
+ "@guanghechen/subscriber": "^2.1.1",
42
+ "@guanghechen/types": "^2.2.0"
43
43
  },
44
44
  "scripts": {
45
45
  "build": "rollup -c ../../rollup.config.mjs",