fix(deps): update dependency http-proxy-middleware to v3#11038
Conversation
|
Pinging you for reference @dac09 since this is in your area. It looks like the two points in the upgrade guide that we had to watch out for were:
I think we're okay on this one because the target in our case has no path and is just the base url of the api server.
This was a bit confusing to get my head round at first but I think it was fairly simple. You used to have to rewrite because you were rewriting the full path and so wanted to strip out the prefix used to proxy on. Now you don't have to do that and we don't need to rewrite anything as we wish to pass whatever came after the prefix to the api server. I tested this locally with |
|
Merging this given my local testing worked well and that CI continues to be happy. |
…-dual-pkg * 'main' of github.com:redwoodjs/redwood: fix(deps): update dependency ts-morph to v23 (redwoodjs#11044) chore(deps): update dependency typescript to v5.5.3 (redwoodjs#11035) Update saving-data.md (redwoodjs#11043) chore(deps): update chore (redwoodjs#11042) fix(deps): update dependency ts-morph to v22 (redwoodjs#11041) fix(deps): update dependency resend to v3 (redwoodjs#11040) chore(deps): update dependency lerna to v8.1.7 (redwoodjs#11039) fix(deps): update dependency http-proxy-middleware to v3 (redwoodjs#11038) chore(deps): update dependency ora to v8 (redwoodjs#11037) fix(deps): update dependency uuid to v10 (redwoodjs#11036) chore(deps): update dependency jsdom to v24.1.1 (redwoodjs#11033) chore(test): Document vitest issue in cli-helper test (redwoodjs#11032)
Upgrades the
http-proxy-middlewarefrom v2 to v3See: https://github.com/chimurai/http-proxy-middleware/blob/master/MIGRATION.md#v3-breaking-changes