@backstage/backend-plugin-api 1.0.0-next.2 → 1.0.1-next.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 +52 -0
- package/alpha/package.json +1 -1
- package/package.json +4 -4
- package/testUtils/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,57 @@
|
|
|
1
1
|
# @backstage/backend-plugin-api
|
|
2
2
|
|
|
3
|
+
## 1.0.1-next.0
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies
|
|
8
|
+
- @backstage/plugin-auth-node@0.5.3-next.0
|
|
9
|
+
- @backstage/cli-common@0.1.14
|
|
10
|
+
- @backstage/config@1.2.0
|
|
11
|
+
- @backstage/errors@1.2.4
|
|
12
|
+
- @backstage/types@1.1.1
|
|
13
|
+
- @backstage/plugin-permission-common@0.8.1
|
|
14
|
+
|
|
15
|
+
## 1.0.0
|
|
16
|
+
|
|
17
|
+
### Major Changes
|
|
18
|
+
|
|
19
|
+
- ec1b4be: Release 1.0 of the new backend system! :tada:
|
|
20
|
+
|
|
21
|
+
The backend system is finally getting promoted to 1.0.0. This means that the API is now stable and breaking changes should not occur until version 2.0.0, see our [package versioning policy](https://backstage.io/docs/overview/versioning-policy/#package-versioning-policy) for more information what this means.
|
|
22
|
+
|
|
23
|
+
This release also marks the end of the old backend system based on `createRouter` exports. Going forward backend plugins packages will start to deprecate and later this year remove exports supporting the old backend system. If you would like to help out with this transition, see https://github.com/backstage/backstage/issues/26353 or consult the [migration guide](https://backstage.io/docs/backend-system/building-plugins-and-modules/migrating/#remove-support-for-the-old-backend-system).
|
|
24
|
+
|
|
25
|
+
### Minor Changes
|
|
26
|
+
|
|
27
|
+
- 19ff127: **BREAKING**: The deprecated identity and token manager services have been removed. This means that `coreServices.identity` and `coreServices.tokenManager` are gone, along with related types and utilities in other packages.
|
|
28
|
+
- f687050: Removed the following deprecated exports
|
|
29
|
+
|
|
30
|
+
- `BackendPluginConfig` use `CreateBackendPluginOptions`
|
|
31
|
+
- `BackendModuleConfig` use `CreateBackendModuleOptions`
|
|
32
|
+
- `ExtensionPointConfig` use `CreateExtensionPointOptions`
|
|
33
|
+
|
|
34
|
+
- 4d82481: Removed deprecated `ServiceFactoryOrFunction` type.
|
|
35
|
+
- d425fc4: **BREAKING**: The return values from `createBackendPlugin`, `createBackendModule`, and `createServiceFactory` are now simply `BackendFeature` and `ServiceFactory`, instead of the previously deprecated form of a function that returns them. For this reason, `createServiceFactory` also no longer accepts the callback form where you provide direct options to the service. This also affects all `coreServices.*` service refs.
|
|
36
|
+
|
|
37
|
+
This may in particular affect tests; if you were effectively doing `createBackendModule({...})()` (note the parentheses), you can now remove those extra parentheses at the end. You may encounter cases of this in your `packages/backend/src/index.ts` too, where you add plugins, modules, and services. If you were using `createServiceFactory` with a function as its argument for the purpose of passing in options, this pattern has been deprecated for a while and is no longer supported. You may want to explore the new multiton patterns to achieve your goals, or moving settings to app-config.
|
|
38
|
+
|
|
39
|
+
As part of this change, the `IdentityFactoryOptions` type was removed, and can no longer be used to tweak that service. The identity service was also deprecated some time ago, and you will want to [migrate to the new auth system](https://backstage.io/docs/tutorials/auth-service-migration) if you still rely on it.
|
|
40
|
+
|
|
41
|
+
### Patch Changes
|
|
42
|
+
|
|
43
|
+
- cd38da8: Deprecate the `featureDiscoveryServiceRef` in favor of using the new `discoveryFeatureLoader` instead.
|
|
44
|
+
- 8052b9b: Add a `toJSON` on refs so that they can appear in expectations in jest tests
|
|
45
|
+
- 66dbf0a: Allow the cache service to accept the human duration format for TTL
|
|
46
|
+
- 0b2a402: Updates to the config schema to match reality
|
|
47
|
+
- Updated dependencies
|
|
48
|
+
- @backstage/plugin-auth-node@0.5.2
|
|
49
|
+
- @backstage/cli-common@0.1.14
|
|
50
|
+
- @backstage/config@1.2.0
|
|
51
|
+
- @backstage/errors@1.2.4
|
|
52
|
+
- @backstage/types@1.1.1
|
|
53
|
+
- @backstage/plugin-permission-common@0.8.1
|
|
54
|
+
|
|
3
55
|
## 1.0.0-next.2
|
|
4
56
|
|
|
5
57
|
### Major Changes
|
package/alpha/package.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@backstage/backend-plugin-api",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.1-next.0",
|
|
4
4
|
"description": "Core API used by Backstage backend plugins",
|
|
5
5
|
"backstage": {
|
|
6
6
|
"role": "node-library"
|
|
@@ -57,7 +57,7 @@
|
|
|
57
57
|
"@backstage/cli-common": "^0.1.14",
|
|
58
58
|
"@backstage/config": "^1.2.0",
|
|
59
59
|
"@backstage/errors": "^1.2.4",
|
|
60
|
-
"@backstage/plugin-auth-node": "^0.5.
|
|
60
|
+
"@backstage/plugin-auth-node": "^0.5.3-next.0",
|
|
61
61
|
"@backstage/plugin-permission-common": "^0.8.1",
|
|
62
62
|
"@backstage/types": "^1.1.1",
|
|
63
63
|
"@types/express": "^4.17.6",
|
|
@@ -67,8 +67,8 @@
|
|
|
67
67
|
"luxon": "^3.0.0"
|
|
68
68
|
},
|
|
69
69
|
"devDependencies": {
|
|
70
|
-
"@backstage/backend-test-utils": "^1.0.
|
|
71
|
-
"@backstage/cli": "^0.
|
|
70
|
+
"@backstage/backend-test-utils": "^1.0.1-next.0",
|
|
71
|
+
"@backstage/cli": "^0.28.0-next.0"
|
|
72
72
|
},
|
|
73
73
|
"configSchema": "config.d.ts"
|
|
74
74
|
}
|