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