@contractspec/lib.observability 1.44.1 → 1.45.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.
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,38 @@
|
|
|
1
1
|
# @contractspec/lib.observability
|
|
2
2
|
|
|
3
|
+
## 1.45.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- feat: improve app config and examples contracts
|
|
8
|
+
- Updated dependencies
|
|
9
|
+
- @contractspec/lib.lifecycle@1.45.1
|
|
10
|
+
|
|
11
|
+
## 1.45.0
|
|
12
|
+
|
|
13
|
+
### Minor Changes
|
|
14
|
+
|
|
15
|
+
- e73ca1d: feat: improve app config and examples contracts
|
|
16
|
+
feat: Contract layers support (features, examples, app-configs)
|
|
17
|
+
|
|
18
|
+
### New CLI Commands
|
|
19
|
+
- `contractspec list layers` - List all contract layers with filtering
|
|
20
|
+
|
|
21
|
+
### Enhanced Commands
|
|
22
|
+
- `contractspec ci` - New `layers` check category validates features/examples/config
|
|
23
|
+
- `contractspec doctor` - New `layers` health checks
|
|
24
|
+
- `contractspec integrity` - Now shows layer statistics
|
|
25
|
+
|
|
26
|
+
### New APIs
|
|
27
|
+
- `discoverLayers()` - Scan workspace for all layer files
|
|
28
|
+
- `scanExampleSource()` - Parse ExampleSpec from source code
|
|
29
|
+
- `isExampleFile()` - Check if file is an example spec
|
|
30
|
+
|
|
31
|
+
### Patch Changes
|
|
32
|
+
|
|
33
|
+
- Updated dependencies [e73ca1d]
|
|
34
|
+
- @contractspec/lib.lifecycle@1.45.0
|
|
35
|
+
|
|
3
36
|
## 1.44.1
|
|
4
37
|
|
|
5
38
|
### Patch Changes
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
interface TelemetrySample {
|
|
3
3
|
operation: {
|
|
4
4
|
name: string;
|
|
5
|
-
version:
|
|
5
|
+
version: string;
|
|
6
6
|
};
|
|
7
7
|
durationMs: number;
|
|
8
8
|
success: boolean;
|
|
@@ -16,7 +16,7 @@ interface TelemetrySample {
|
|
|
16
16
|
interface AggregatedOperationMetrics {
|
|
17
17
|
operation: {
|
|
18
18
|
name: string;
|
|
19
|
-
version:
|
|
19
|
+
version: string;
|
|
20
20
|
};
|
|
21
21
|
totalCalls: number;
|
|
22
22
|
successRate: number;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@contractspec/lib.observability",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.45.1",
|
|
4
4
|
"description": "OpenTelemetry-based observability primitives",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"contractspec",
|
|
@@ -26,14 +26,14 @@
|
|
|
26
26
|
"test": "bun run"
|
|
27
27
|
},
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@contractspec/lib.lifecycle": "1.
|
|
29
|
+
"@contractspec/lib.lifecycle": "1.45.1"
|
|
30
30
|
},
|
|
31
31
|
"peerDependencies": {
|
|
32
32
|
"@opentelemetry/api": "*"
|
|
33
33
|
},
|
|
34
34
|
"devDependencies": {
|
|
35
|
-
"@contractspec/tool.tsdown": "1.
|
|
36
|
-
"@contractspec/tool.typescript": "1.
|
|
35
|
+
"@contractspec/tool.tsdown": "1.45.1",
|
|
36
|
+
"@contractspec/tool.typescript": "1.45.1",
|
|
37
37
|
"typescript": "^5.9.3"
|
|
38
38
|
},
|
|
39
39
|
"exports": {
|