@backstage/backend-openapi-utils 0.5.0-next.3 → 0.5.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.
Files changed (2) hide show
  1. package/CHANGELOG.md +25 -0
  2. package/package.json +6 -6
package/CHANGELOG.md CHANGED
@@ -1,5 +1,30 @@
1
1
  # @backstage/backend-openapi-utils
2
2
 
3
+ ## 0.5.0
4
+
5
+ ### Minor Changes
6
+
7
+ - 700d32b: **BREAKING**: The `wrapInOpenApiTestServer` and `wrapServer` functions are now exported via `/testUtils` subpath. If you were importing these functions directly from the root of the package, you will need to update your imports to use the `/testUtils` subpath:
8
+
9
+ ```diff
10
+ - import { wrapInOpenApiTestServer } from '@backstage/backend-openapi-utils';
11
+ + import { wrapInOpenApiTestServer } from '@backstage/backend-openapi-utils/testUtils';
12
+ ```
13
+
14
+ or
15
+
16
+ ```diff
17
+ - import { wrapServer } from '@backstage/backend-openapi-utils';
18
+ + import { wrapServer } from '@backstage/backend-openapi-utils/testUtils';
19
+ ```
20
+
21
+ ### Patch Changes
22
+
23
+ - Updated dependencies
24
+ - @backstage/backend-plugin-api@1.2.0
25
+ - @backstage/errors@1.2.7
26
+ - @backstage/types@1.2.1
27
+
3
28
  ## 0.5.0-next.3
4
29
 
5
30
  ### Patch Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@backstage/backend-openapi-utils",
3
- "version": "0.5.0-next.3",
3
+ "version": "0.5.0",
4
4
  "description": "OpenAPI typescript support.",
5
5
  "backstage": {
6
6
  "role": "node-library"
@@ -54,9 +54,9 @@
54
54
  },
55
55
  "dependencies": {
56
56
  "@apidevtools/swagger-parser": "^10.1.0",
57
- "@backstage/backend-plugin-api": "1.2.0-next.2",
58
- "@backstage/errors": "1.2.7",
59
- "@backstage/types": "1.2.1",
57
+ "@backstage/backend-plugin-api": "^1.2.0",
58
+ "@backstage/errors": "^1.2.7",
59
+ "@backstage/types": "^1.2.1",
60
60
  "@types/express": "^4.17.6",
61
61
  "@types/express-serve-static-core": "^4.17.5",
62
62
  "ajv": "^8.16.0",
@@ -71,8 +71,8 @@
71
71
  "openapi3-ts": "^3.1.2"
72
72
  },
73
73
  "devDependencies": {
74
- "@backstage/cli": "0.30.0-next.3",
75
- "@backstage/test-utils": "1.7.5-next.0",
74
+ "@backstage/cli": "^0.30.0",
75
+ "@backstage/test-utils": "^1.7.5",
76
76
  "msw": "^1.0.0",
77
77
  "supertest": "^7.0.0"
78
78
  }