@backstage/repo-tools 0.18.0-next.1 → 0.18.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,28 @@
1
1
  # @backstage/repo-tools
2
2
 
3
+ ## 0.18.0
4
+
5
+ ### Minor Changes
6
+
7
+ - 84171b3: **BREAKING**: Replaced `@useoptic/optic` and `@useoptic/openapi-utilities` with `oasdiff` for OpenAPI breaking change detection.
8
+
9
+ To migrate, remove `@useoptic/optic` from your root `package.json` and install the `oasdiff` CLI on your system — see https://github.com/oasdiff/oasdiff#installation for instructions.
10
+
11
+ The `package schema openapi diff` command now uses `oasdiff` under the hood. The `--since`, `--json`, and `--ignore` flags continue to work, but the JSON and text output formats have changed to match `oasdiff`'s native output.
12
+
13
+ The `repo schema openapi diff` command now automatically detects all packages with a changed `src/schema/openapi.yaml` and runs `oasdiff` against them directly. Packages no longer need a `"diff"` script in their `package.json` to be included in the check.
14
+
15
+ Removed the `package schema openapi init` and `repo schema openapi test` commands, which depended on the Optic `capture` workflow and have no equivalent with `oasdiff`. Runtime validation of your API against its OpenAPI spec is still available via `wrapServer` from `@backstage/backend-openapi-utils/testUtils`.
16
+
17
+ ### Patch Changes
18
+
19
+ - 120e7c3: chore(deps): bump `js-yaml` from 4.1.1 to 4.2.0
20
+ - Updated dependencies
21
+ - @backstage/config-loader@1.11.0
22
+ - @backstage/cli-common@0.3.0
23
+ - @backstage/backend-plugin-api@1.9.3
24
+ - @backstage/cli-node@0.3.4
25
+
3
26
  ## 0.18.0-next.1
4
27
 
5
28
  ### Minor Changes
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var version = "0.18.0-next.1";
3
+ var version = "0.18.0";
4
4
 
5
5
  exports.version = version;
6
6
  //# sourceMappingURL=package.json.cjs.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@backstage/repo-tools",
3
- "version": "0.18.0-next.1",
3
+ "version": "0.18.0",
4
4
  "description": "CLI for Backstage repo tooling ",
5
5
  "backstage": {
6
6
  "role": "cli"
@@ -43,12 +43,12 @@
43
43
  "dependencies": {
44
44
  "@apidevtools/swagger-parser": "^10.1.0",
45
45
  "@apisyouwonthate/style-guide": "^1.4.0",
46
- "@backstage/backend-plugin-api": "1.9.3-next.1",
47
- "@backstage/catalog-model": "1.9.0",
48
- "@backstage/cli-common": "0.3.0-next.0",
49
- "@backstage/cli-node": "0.3.4-next.0",
50
- "@backstage/config-loader": "1.11.0-next.2",
51
- "@backstage/errors": "1.3.1",
46
+ "@backstage/backend-plugin-api": "^1.9.3",
47
+ "@backstage/catalog-model": "^1.9.0",
48
+ "@backstage/cli-common": "^0.3.0",
49
+ "@backstage/cli-node": "^0.3.4",
50
+ "@backstage/config-loader": "^1.11.0",
51
+ "@backstage/errors": "^1.3.1",
52
52
  "@electric-sql/pglite": "^0.3.0",
53
53
  "@manypkg/get-packages": "^1.1.3",
54
54
  "@microsoft/api-documenter": "^7.28.1",
@@ -71,7 +71,7 @@
71
71
  "glob": "^13.0.0",
72
72
  "globby": "^11.0.0",
73
73
  "is-glob": "^4.0.3",
74
- "js-yaml": "^4.1.0",
74
+ "js-yaml": "^4.2.0",
75
75
  "just-diff": "^6.0.2",
76
76
  "knex": "^3.0.0",
77
77
  "knex-pglite": "^0.11.0",
@@ -85,9 +85,9 @@
85
85
  "zod": "^3.25.76 || ^4.0.0"
86
86
  },
87
87
  "devDependencies": {
88
- "@backstage/backend-test-utils": "1.11.5-next.0",
89
- "@backstage/cli": "0.36.4-next.2",
90
- "@backstage/types": "1.2.2",
88
+ "@backstage/backend-test-utils": "^1.11.5",
89
+ "@backstage/cli": "^0.36.4",
90
+ "@backstage/types": "^1.2.2",
91
91
  "@types/is-glob": "^4.0.2",
92
92
  "@types/node": "^22.13.14",
93
93
  "@types/prettier": "^2.0.0",