[#3058] soft-deprecated 'data' prop in favour of 'body' to allow raw strings

This commit is contained in:
Gani Georgiev
2023-08-03 12:31:50 +03:00
parent b3f09ff045
commit b1093baef7
5 changed files with 2665 additions and 2646 deletions
+7
View File
@@ -1,3 +1,10 @@
## v0.17.2
- Soft-deprecated `$http.send({ data: object, ... })` in favour of `$http.send({ body: rawString, ... })`
to allow sending non-JSON body with the request ([#3058](https://github.com/pocketbase/pocketbase/discussions/3058)).
The existing `data` prop will still work, but it will be recommended to use `body` instead (_to send JSON you can use `JSON.stringify(...)` as body value_).
## v0.17.1
- Use relative path when redirecting to the OAuth2 providers page in the Admin UI to support subpath deployments ([#3026](https://github.com/pocketbase/pocketbase/pull/3026); thanks @sonyarianto).