@backstage/plugin-search-backend 1.1.0-next.2 → 1.1.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 +10 -10
package/CHANGELOG.md CHANGED
@@ -1,5 +1,35 @@
1
1
  # @backstage/plugin-search-backend
2
2
 
3
+ ## 1.1.0
4
+
5
+ ### Minor Changes
6
+
7
+ - 16c853a6ed: Be less restrictive with unknown keys on query endpoint
8
+ - a799972bb1: The query received by search engines now contains a property called `pageLimit`, it specifies how many results to return per page when sending a query request to the search backend.
9
+
10
+ Example:
11
+ _Returns up to 30 results per page_
12
+
13
+ ```
14
+ GET /query?pageLimit=30
15
+ ```
16
+
17
+ The search backend validates the page limit and this value must not exceed 100, but it doesn't set a default value for the page limit parameter, it leaves it up to each search engine to set this, so Lunr, Postgres and Elastic Search set 25 results per page as a default value.
18
+
19
+ ### Patch Changes
20
+
21
+ - 2d3a5f09ab: Use `response.json` rather than `response.send` where appropriate, as outlined in `SECURITY.md`
22
+ - Updated dependencies
23
+ - @backstage/backend-common@0.15.2
24
+ - @backstage/plugin-auth-node@0.2.6
25
+ - @backstage/plugin-permission-node@0.7.0
26
+ - @backstage/plugin-permission-common@0.7.0
27
+ - @backstage/plugin-search-common@1.1.0
28
+ - @backstage/plugin-search-backend-node@1.0.3
29
+ - @backstage/config@1.0.3
30
+ - @backstage/errors@1.1.2
31
+ - @backstage/types@1.0.0
32
+
3
33
  ## 1.1.0-next.2
4
34
 
5
35
  ### Patch Changes
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@backstage/plugin-search-backend",
3
3
  "description": "The Backstage backend plugin that provides your backstage app with search",
4
- "version": "1.1.0-next.2",
4
+ "version": "1.1.0",
5
5
  "main": "dist/index.cjs.js",
6
6
  "types": "dist/index.d.ts",
7
7
  "license": "Apache-2.0",
@@ -23,14 +23,14 @@
23
23
  "clean": "backstage-cli package clean"
24
24
  },
25
25
  "dependencies": {
26
- "@backstage/backend-common": "^0.15.2-next.2",
27
- "@backstage/config": "^1.0.3-next.2",
28
- "@backstage/errors": "^1.1.2-next.2",
29
- "@backstage/plugin-auth-node": "^0.2.6-next.2",
30
- "@backstage/plugin-permission-common": "^0.7.0-next.2",
31
- "@backstage/plugin-permission-node": "^0.7.0-next.2",
32
- "@backstage/plugin-search-backend-node": "^1.0.3-next.2",
33
- "@backstage/plugin-search-common": "^1.1.0-next.2",
26
+ "@backstage/backend-common": "^0.15.2",
27
+ "@backstage/config": "^1.0.3",
28
+ "@backstage/errors": "^1.1.2",
29
+ "@backstage/plugin-auth-node": "^0.2.6",
30
+ "@backstage/plugin-permission-common": "^0.7.0",
31
+ "@backstage/plugin-permission-node": "^0.7.0",
32
+ "@backstage/plugin-search-backend-node": "^1.0.3",
33
+ "@backstage/plugin-search-common": "^1.1.0",
34
34
  "@backstage/types": "^1.0.0",
35
35
  "@types/express": "^4.17.6",
36
36
  "dataloader": "^2.0.0",
@@ -43,7 +43,7 @@
43
43
  "zod": "^3.11.6"
44
44
  },
45
45
  "devDependencies": {
46
- "@backstage/cli": "^0.20.0-next.2",
46
+ "@backstage/cli": "^0.20.0",
47
47
  "@types/supertest": "^2.0.8",
48
48
  "supertest": "^6.1.3"
49
49
  },