@backstage/plugin-catalog-backend 0.21.2-next.0 → 0.21.3

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,50 @@
1
1
  # @backstage/plugin-catalog-backend
2
2
 
3
+ ## 0.21.3
4
+
5
+ ### Patch Changes
6
+
7
+ - 2441d1cf59: chore(deps): bump `knex` from 0.95.6 to 1.0.2
8
+
9
+ This also replaces `sqlite3` with `@vscode/sqlite3` 5.0.7
10
+
11
+ - Updated dependencies
12
+ - @backstage/catalog-client@0.6.0
13
+ - @backstage/backend-common@0.10.7
14
+ - @backstage/plugin-permission-node@0.4.3
15
+
16
+ ## 0.21.3-next.0
17
+
18
+ ### Patch Changes
19
+
20
+ - 2441d1cf59: chore(deps): bump `knex` from 0.95.6 to 1.0.2
21
+
22
+ This also replaces `sqlite3` with `@vscode/sqlite3` 5.0.7
23
+
24
+ - Updated dependencies
25
+ - @backstage/backend-common@0.10.7-next.0
26
+ - @backstage/plugin-permission-node@0.4.3-next.0
27
+
28
+ ## 0.21.2
29
+
30
+ ### Patch Changes
31
+
32
+ - fac5f112b4: chore(deps): bump `prom-client` from 13.2.0 to 14.0.1
33
+ - 5bbffa60be: Pass authorization token to location service inside location api routes
34
+ - Updated dependencies
35
+ - @backstage/plugin-catalog-common@0.1.2
36
+ - @backstage/backend-common@0.10.6
37
+ - @backstage/plugin-permission-node@0.4.2
38
+
39
+ ## 0.21.2-next.1
40
+
41
+ ### Patch Changes
42
+
43
+ - Updated dependencies
44
+ - @backstage/plugin-catalog-common@0.1.2-next.0
45
+ - @backstage/backend-common@0.10.6-next.0
46
+ - @backstage/plugin-permission-node@0.4.2-next.1
47
+
3
48
  ## 0.21.2-next.0
4
49
 
5
50
  ### Patch Changes
@@ -23,7 +23,7 @@ exports.up = async function up(knex) {
23
23
  // Sqlite does not support alter column.
24
24
  if (knex.client.config.client !== 'sqlite3') {
25
25
  await knex.schema.alterTable('entities_search', table => {
26
- table.text('value').nullable().alter();
26
+ table.text('value').nullable().alter({ alterType: true });
27
27
  });
28
28
  }
29
29
  };
@@ -35,7 +35,7 @@ exports.down = async function down(knex) {
35
35
  // Sqlite does not support alter column.
36
36
  if (knex.client.config.client !== 'sqlite3') {
37
37
  await knex.schema.alterTable('entities_search', table => {
38
- table.string('value').nullable().alter();
38
+ table.string('value').nullable().alter({ alterType: true });
39
39
  });
40
40
  }
41
41
  };
@@ -33,7 +33,7 @@ exports.up = async function up(knex) {
33
33
  // SQLite does not support alter column
34
34
  if (knex.client.config.client !== 'sqlite3') {
35
35
  await knex.schema.alterTable('entities', table => {
36
- table.text('full_name').notNullable().alter();
36
+ table.text('full_name').notNullable().alter({ alterNullable: true });
37
37
  });
38
38
  }
39
39
 
@@ -43,7 +43,7 @@ exports.up = async function up(knex) {
43
43
  // SQLite does not support ALTER COLUMN.
44
44
  if (knex.client.config.client !== 'sqlite3') {
45
45
  await knex.schema.alterTable('entities', table => {
46
- table.text('data').notNullable().alter();
46
+ table.text('data').notNullable().alter({ alterNullable: true });
47
47
  });
48
48
  }
49
49
  };
@@ -26,8 +26,8 @@ exports.up = async function up(knex) {
26
26
  await knex.schema
27
27
  .raw('DROP VIEW location_update_log_latest;')
28
28
  .alterTable('location_update_log', table => {
29
- table.text('message').alter();
30
- table.text('entity_name').nullable().alter();
29
+ table.text('message').alter({ alterType: true });
30
+ table.text('entity_name').nullable().alter({ alterType: true });
31
31
  }).raw(`
32
32
  CREATE VIEW location_update_log_latest AS
33
33
  SELECT t1.* FROM location_update_log t1
@@ -53,8 +53,8 @@ exports.down = async function down(knex) {
53
53
  await knex.schema
54
54
  .raw('DROP VIEW location_update_log_latest;')
55
55
  .alterTable('location_update_log', table => {
56
- table.string('message').alter();
57
- table.string('entity_name').nullable().alter();
56
+ table.string('message').alter({ alterType: true });
57
+ table.string('entity_name').nullable().alter({ alterType: true });
58
58
  }).raw(`
59
59
  CREATE VIEW location_update_log_latest AS
60
60
  SELECT t1.* FROM location_update_log t1
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@backstage/plugin-catalog-backend",
3
3
  "description": "The Backstage backend plugin that provides the Backstage catalog",
4
- "version": "0.21.2-next.0",
4
+ "version": "0.21.3",
5
5
  "main": "dist/index.cjs.js",
6
6
  "types": "dist/index.d.ts",
7
7
  "license": "Apache-2.0",
@@ -30,15 +30,15 @@
30
30
  "clean": "backstage-cli clean"
31
31
  },
32
32
  "dependencies": {
33
- "@backstage/backend-common": "^0.10.5",
34
- "@backstage/catalog-client": "^0.5.5",
33
+ "@backstage/backend-common": "^0.10.7",
34
+ "@backstage/catalog-client": "^0.6.0",
35
35
  "@backstage/catalog-model": "^0.9.10",
36
36
  "@backstage/config": "^0.1.13",
37
37
  "@backstage/errors": "^0.2.0",
38
38
  "@backstage/integration": "^0.7.2",
39
- "@backstage/plugin-catalog-common": "^0.1.1",
39
+ "@backstage/plugin-catalog-common": "^0.1.2",
40
40
  "@backstage/plugin-permission-common": "^0.4.0",
41
- "@backstage/plugin-permission-node": "^0.4.2-next.0",
41
+ "@backstage/plugin-permission-node": "^0.4.3",
42
42
  "@backstage/search-common": "^0.2.2",
43
43
  "@backstage/types": "^0.1.1",
44
44
  "@octokit/graphql": "^4.5.8",
@@ -52,7 +52,7 @@
52
52
  "fs-extra": "9.1.0",
53
53
  "git-url-parse": "^11.6.0",
54
54
  "glob": "^7.1.6",
55
- "knex": "^0.95.1",
55
+ "knex": "^1.0.2",
56
56
  "lodash": "^4.17.21",
57
57
  "luxon": "^2.0.2",
58
58
  "node-fetch": "^2.6.1",
@@ -65,20 +65,20 @@
65
65
  "yup": "^0.32.9"
66
66
  },
67
67
  "devDependencies": {
68
- "@backstage/backend-test-utils": "^0.1.16-next.0",
69
- "@backstage/cli": "^0.13.1-next.0",
68
+ "@backstage/backend-test-utils": "^0.1.17",
69
+ "@backstage/cli": "^0.13.2",
70
70
  "@backstage/plugin-permission-common": "^0.4.0",
71
- "@backstage/test-utils": "^0.2.3",
71
+ "@backstage/test-utils": "^0.2.4",
72
72
  "@types/core-js": "^2.5.4",
73
73
  "@types/git-url-parse": "^9.0.0",
74
74
  "@types/lodash": "^4.14.151",
75
75
  "@types/supertest": "^2.0.8",
76
76
  "@types/uuid": "^8.0.0",
77
77
  "@types/yup": "^0.29.13",
78
+ "@vscode/sqlite3": "^5.0.7",
78
79
  "aws-sdk-mock": "^5.2.1",
79
80
  "luxon": "^2.0.2",
80
81
  "msw": "^0.35.0",
81
- "sqlite3": "^5.0.1",
82
82
  "supertest": "^6.1.3",
83
83
  "wait-for-expect": "^3.0.2"
84
84
  },
@@ -88,5 +88,5 @@
88
88
  "config.d.ts"
89
89
  ],
90
90
  "configSchema": "config.d.ts",
91
- "gitHead": "a28838ac5c80c7332caa6ca0569d2ec85151784f"
91
+ "gitHead": "4f4bc77a4152d372b10a4e8d97d92f00e23f3b56"
92
92
  }