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