@backstage/plugin-auth-backend 0.25.7 → 0.26.0-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 CHANGED
@@ -1,5 +1,16 @@
1
1
  # @backstage/plugin-auth-backend
2
2
 
3
+ ## 0.26.0-next.0
4
+
5
+ ### Minor Changes
6
+
7
+ - 7ffc873: Fix `user_created_at` migration causing `SQLiteError` regarding use of non-constants for defaults
8
+
9
+ ### Patch Changes
10
+
11
+ - Updated dependencies
12
+ - @backstage/plugin-auth-node@0.6.10
13
+
3
14
  ## 0.25.7
4
15
 
5
16
  ### Patch Changes
@@ -22,7 +22,19 @@
22
22
  exports.up = async function up(knex) {
23
23
  await knex.schema.alterTable('user_info', table => {
24
24
  table.renameColumn('exp', 'updated_at');
25
- table.timestamp('created_at').notNullable().defaultTo(knex.fn.now());
25
+ table.timestamp('created_at').nullable();
26
+ });
27
+
28
+ await knex('user_info').update({
29
+ created_at: knex.fn.now(),
30
+ });
31
+
32
+ await knex.schema.alterTable('user_info', table => {
33
+ table
34
+ .timestamp('created_at')
35
+ .notNullable()
36
+ .defaultTo(knex.fn.now())
37
+ .alter();
26
38
  });
27
39
  };
28
40
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@backstage/plugin-auth-backend",
3
- "version": "0.25.7",
3
+ "version": "0.26.0-next.0",
4
4
  "description": "A Backstage backend plugin that handles authentication",
5
5
  "backstage": {
6
6
  "role": "backend-plugin",
@@ -47,13 +47,13 @@
47
47
  "test": "backstage-cli package test"
48
48
  },
49
49
  "dependencies": {
50
- "@backstage/backend-plugin-api": "^1.6.0",
51
- "@backstage/catalog-model": "^1.7.6",
52
- "@backstage/config": "^1.3.6",
53
- "@backstage/errors": "^1.2.7",
54
- "@backstage/plugin-auth-node": "^0.6.10",
55
- "@backstage/plugin-catalog-node": "^1.20.1",
56
- "@backstage/types": "^1.2.2",
50
+ "@backstage/backend-plugin-api": "1.6.0",
51
+ "@backstage/catalog-model": "1.7.6",
52
+ "@backstage/config": "1.3.6",
53
+ "@backstage/errors": "1.2.7",
54
+ "@backstage/plugin-auth-node": "0.6.10",
55
+ "@backstage/plugin-catalog-node": "1.20.1",
56
+ "@backstage/types": "1.2.2",
57
57
  "@google-cloud/firestore": "^7.0.0",
58
58
  "connect-session-knex": "^4.0.0",
59
59
  "cookie-parser": "^1.4.5",
@@ -70,11 +70,11 @@
70
70
  "uuid": "^11.0.0"
71
71
  },
72
72
  "devDependencies": {
73
- "@backstage/backend-defaults": "^0.14.0",
74
- "@backstage/backend-test-utils": "^1.10.2",
75
- "@backstage/cli": "^0.35.0",
76
- "@backstage/plugin-auth-backend-module-google-provider": "^0.3.10",
77
- "@backstage/plugin-auth-backend-module-guest-provider": "^0.2.15",
73
+ "@backstage/backend-defaults": "0.15.0-next.2",
74
+ "@backstage/backend-test-utils": "1.10.3-next.1",
75
+ "@backstage/cli": "0.35.2-next.1",
76
+ "@backstage/plugin-auth-backend-module-google-provider": "0.3.10",
77
+ "@backstage/plugin-auth-backend-module-guest-provider": "0.2.15",
78
78
  "@types/cookie-parser": "^1.4.2",
79
79
  "@types/express": "^4.17.6",
80
80
  "@types/express-session": "^1.17.2",