Version Packages (next)
This commit is contained in:
@@ -1,5 +1,27 @@
|
||||
# @backstage/plugin-proxy-backend
|
||||
|
||||
## 0.2.37-next.0
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- 3e3eea4bc7: The proxy-backend plugin now supports reviving request bodies that have previously been consumed by an express middleware (e.g. `express.json()`). This is done by setting `reviveConsumedRequestBodies: true` on the proxy `RouterOptions`. In order to preserve the current behavior, the proxy will **not** revive request bodies by default.
|
||||
|
||||
The following is an example of a proxy `createRouter` invocation that revives request bodies:
|
||||
|
||||
```diff
|
||||
const router = await createRouter({
|
||||
config,
|
||||
logger,
|
||||
discovery,
|
||||
+ reviveConsumedRequestBodies: true,
|
||||
});
|
||||
```
|
||||
|
||||
- Updated dependencies
|
||||
- @backstage/backend-plugin-api@0.4.1-next.0
|
||||
- @backstage/backend-common@0.18.3-next.0
|
||||
- @backstage/config@1.0.6
|
||||
|
||||
## 0.2.36
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "@backstage/plugin-proxy-backend",
|
||||
"description": "A Backstage backend plugin that helps you set up proxy endpoints in the backend",
|
||||
"version": "0.2.36",
|
||||
"version": "0.2.37-next.0",
|
||||
"main": "src/index.ts",
|
||||
"types": "src/index.ts",
|
||||
"license": "Apache-2.0",
|
||||
|
||||
Reference in New Issue
Block a user