@backstage/backend-test-utils 1.1.0 → 1.2.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.
Files changed (2) hide show
  1. package/CHANGELOG.md +30 -0
  2. package/package.json +13 -13
package/CHANGELOG.md CHANGED
@@ -1,5 +1,35 @@
1
1
  # @backstage/backend-test-utils
2
2
 
3
+ ## 1.2.0-next.0
4
+
5
+ ### Minor Changes
6
+
7
+ - de6f280: **BREAKING** Upgraded @keyv/redis and keyv packages to resolve a bug related to incorrect resolution of cache keys.
8
+
9
+ This is a breaking change for clients using the `redis` store for cache with `useRedisSets` option set to false since cache keys will be calculated differently (without the sets:namespace: prefix). For clients with default configuration (or useRedisSets set to false) the cache keys will stay the same, but since @keyv/redis library no longer supports redis sets they won't be utilised anymore.
10
+
11
+ If you were using `useRedisSets` option in configuration make sure to remove it from `app-config.yaml`:
12
+
13
+ ```diff
14
+ backend:
15
+ cache:
16
+ store: redis
17
+ connection: redis://user:pass@cache.example.com:6379
18
+ - useRedisSets: false
19
+ ```
20
+
21
+ ### Patch Changes
22
+
23
+ - Updated dependencies
24
+ - @backstage/backend-defaults@0.6.0-next.0
25
+ - @backstage/backend-plugin-api@1.0.3-next.0
26
+ - @backstage/backend-app-api@1.0.3-next.0
27
+ - @backstage/plugin-events-node@0.4.6-next.0
28
+ - @backstage/plugin-auth-node@0.5.5-next.0
29
+ - @backstage/config@1.3.0
30
+ - @backstage/errors@1.2.5
31
+ - @backstage/types@1.2.0
32
+
3
33
  ## 1.1.0
4
34
 
5
35
  ### Minor Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@backstage/backend-test-utils",
3
- "version": "1.1.0",
3
+ "version": "1.2.0-next.0",
4
4
  "description": "Test helpers library for Backstage backends",
5
5
  "backstage": {
6
6
  "role": "node-library"
@@ -49,16 +49,16 @@
49
49
  "test": "backstage-cli package test"
50
50
  },
51
51
  "dependencies": {
52
- "@backstage/backend-app-api": "^1.0.2",
53
- "@backstage/backend-defaults": "^0.5.3",
54
- "@backstage/backend-plugin-api": "^1.0.2",
55
- "@backstage/config": "^1.3.0",
56
- "@backstage/errors": "^1.2.5",
57
- "@backstage/plugin-auth-node": "^0.5.4",
58
- "@backstage/plugin-events-node": "^0.4.5",
59
- "@backstage/types": "^1.2.0",
60
- "@keyv/memcache": "^1.3.5",
61
- "@keyv/redis": "^2.5.3",
52
+ "@backstage/backend-app-api": "1.0.3-next.0",
53
+ "@backstage/backend-defaults": "0.6.0-next.0",
54
+ "@backstage/backend-plugin-api": "1.0.3-next.0",
55
+ "@backstage/config": "1.3.0",
56
+ "@backstage/errors": "1.2.5",
57
+ "@backstage/plugin-auth-node": "0.5.5-next.0",
58
+ "@backstage/plugin-events-node": "0.4.6-next.0",
59
+ "@backstage/types": "1.2.0",
60
+ "@keyv/memcache": "^2.0.1",
61
+ "@keyv/redis": "^4.0.1",
62
62
  "@types/express": "^4.17.6",
63
63
  "@types/express-serve-static-core": "^4.17.5",
64
64
  "@types/keyv": "^4.2.0",
@@ -67,7 +67,7 @@
67
67
  "cookie": "^0.7.0",
68
68
  "express": "^4.17.1",
69
69
  "fs-extra": "^11.0.0",
70
- "keyv": "^4.5.2",
70
+ "keyv": "^5.2.1",
71
71
  "knex": "^3.0.0",
72
72
  "mysql2": "^3.0.0",
73
73
  "pg": "^8.11.3",
@@ -78,7 +78,7 @@
78
78
  "yn": "^4.0.0"
79
79
  },
80
80
  "devDependencies": {
81
- "@backstage/cli": "^0.29.0",
81
+ "@backstage/cli": "0.29.3-next.0",
82
82
  "@types/supertest": "^2.0.8",
83
83
  "supertest": "^7.0.0"
84
84
  },