@backstage/backend-app-api 1.4.0-next.0 → 1.4.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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,27 @@
1
1
  # @backstage/backend-app-api
2
2
 
3
+ ## 1.4.0
4
+
5
+ ### Minor Changes
6
+
7
+ - 5a2d538: Introduced backend startup result tracking and error handling. The `Backend.start()` method now returns a `BackendStartupResult` with detailed success/failure status and timing information for all plugins and modules. When startup fails, a `BackendStartupError` is thrown that includes the complete startup results, making it easier to diagnose which plugins or modules failed.
8
+
9
+ This also improves the default error message when backend startup fails, and of course makes it possible to craft your own custom error reporting based on the startup results.
10
+
11
+ ### Patch Changes
12
+
13
+ - Updated dependencies
14
+ - @backstage/backend-plugin-api@1.6.0
15
+
16
+ ## 1.4.0-next.1
17
+
18
+ ### Patch Changes
19
+
20
+ - Updated dependencies
21
+ - @backstage/backend-plugin-api@1.6.0-next.1
22
+ - @backstage/config@1.3.6
23
+ - @backstage/errors@1.2.7
24
+
3
25
  ## 1.4.0-next.0
4
26
 
5
27
  ### Minor Changes
package/dist/index.d.ts CHANGED
@@ -118,4 +118,5 @@ declare class BackendStartupError extends CustomErrorBase {
118
118
  get result(): BackendStartupResult;
119
119
  }
120
120
 
121
- export { type Backend, BackendStartupError, type BackendStartupResult, type CreateSpecializedBackendOptions, type ModuleStartupResult, type PluginStartupResult, createSpecializedBackend };
121
+ export { BackendStartupError, createSpecializedBackend };
122
+ export type { Backend, BackendStartupResult, CreateSpecializedBackendOptions, ModuleStartupResult, PluginStartupResult };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@backstage/backend-app-api",
3
- "version": "1.4.0-next.0",
3
+ "version": "1.4.0",
4
4
  "description": "Core API used by Backstage backend apps",
5
5
  "backstage": {
6
6
  "role": "node-library"
@@ -50,14 +50,14 @@
50
50
  "test": "backstage-cli package test"
51
51
  },
52
52
  "dependencies": {
53
- "@backstage/backend-plugin-api": "1.5.1-next.0",
54
- "@backstage/config": "1.3.6",
55
- "@backstage/errors": "1.2.7"
53
+ "@backstage/backend-plugin-api": "^1.6.0",
54
+ "@backstage/config": "^1.3.6",
55
+ "@backstage/errors": "^1.2.7"
56
56
  },
57
57
  "devDependencies": {
58
- "@backstage/backend-defaults": "0.14.0-next.0",
59
- "@backstage/backend-test-utils": "1.10.1-next.0",
60
- "@backstage/cli": "0.34.6-next.0"
58
+ "@backstage/backend-defaults": "^0.14.0",
59
+ "@backstage/backend-test-utils": "^1.10.2",
60
+ "@backstage/cli": "^0.35.0"
61
61
  },
62
62
  "configSchema": "config.d.ts"
63
63
  }