@aigne/core 1.28.0 → 1.28.2
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 +23 -0
- package/lib/cjs/utils/logger.js +1 -1
- package/lib/esm/utils/logger.js +1 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -12,6 +12,29 @@
|
|
|
12
12
|
* dependencies
|
|
13
13
|
* @aigne/observability bumped to 0.1.0
|
|
14
14
|
|
|
15
|
+
## [1.28.2](https://github.com/AIGNE-io/aigne-framework/compare/core-v1.28.1...core-v1.28.2) (2025-07-01)
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
### Bug Fixes
|
|
19
|
+
|
|
20
|
+
* fix: compatible with node 20.0 & polish example defintions ([#209](https://github.com/AIGNE-io/aigne-framework/issues/209)) ([9752b96](https://github.com/AIGNE-io/aigne-framework/commit/9752b96dc54a44c6f710f056fe9205c0f2b0a73e))
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
### Dependencies
|
|
24
|
+
|
|
25
|
+
* The following workspace dependencies were updated
|
|
26
|
+
* dependencies
|
|
27
|
+
* @aigne/observability-api bumped to 0.3.2
|
|
28
|
+
|
|
29
|
+
## [1.28.1](https://github.com/AIGNE-io/aigne-framework/compare/core-v1.28.0...core-v1.28.1) (2025-07-01)
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
### Dependencies
|
|
33
|
+
|
|
34
|
+
* The following workspace dependencies were updated
|
|
35
|
+
* dependencies
|
|
36
|
+
* @aigne/observability-api bumped to 0.3.1
|
|
37
|
+
|
|
15
38
|
## [1.28.0](https://github.com/AIGNE-io/aigne-framework/compare/core-v1.27.0...core-v1.28.0) (2025-07-01)
|
|
16
39
|
|
|
17
40
|
|
package/lib/cjs/utils/logger.js
CHANGED
|
@@ -16,7 +16,7 @@ var LogLevel;
|
|
|
16
16
|
})(LogLevel || (exports.LogLevel = LogLevel = {}));
|
|
17
17
|
const levels = Object.values(LogLevel);
|
|
18
18
|
function getLevelFromEnv(ns) {
|
|
19
|
-
for (const level of levels.
|
|
19
|
+
for (const level of [...levels].reverse()) {
|
|
20
20
|
if (debug_1.default.enabled(`${ns}:${level}`)) {
|
|
21
21
|
return level;
|
|
22
22
|
}
|
package/lib/esm/utils/logger.js
CHANGED
|
@@ -9,7 +9,7 @@ export var LogLevel;
|
|
|
9
9
|
})(LogLevel || (LogLevel = {}));
|
|
10
10
|
const levels = Object.values(LogLevel);
|
|
11
11
|
export function getLevelFromEnv(ns) {
|
|
12
|
-
for (const level of levels.
|
|
12
|
+
for (const level of [...levels].reverse()) {
|
|
13
13
|
if (debug.enabled(`${ns}:${level}`)) {
|
|
14
14
|
return level;
|
|
15
15
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aigne/core",
|
|
3
|
-
"version": "1.28.
|
|
3
|
+
"version": "1.28.2",
|
|
4
4
|
"description": "AIGNE core library for building AI-powered applications",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -82,7 +82,7 @@
|
|
|
82
82
|
"zod": "^3.24.4",
|
|
83
83
|
"zod-to-json-schema": "^3.24.5",
|
|
84
84
|
"@aigne/platform-helpers": "^0.1.2",
|
|
85
|
-
"@aigne/observability-api": "^0.3.
|
|
85
|
+
"@aigne/observability-api": "^0.3.2"
|
|
86
86
|
},
|
|
87
87
|
"devDependencies": {
|
|
88
88
|
"@types/bun": "^1.2.12",
|