v0.6.0
版本发布时间: 2022-09-02 16:23:22
pocketbase/pocketbase最新发布版本:v0.22.21(2024-09-18 11:56:49)
Changelong:
-
Added automatic plaintext mail generation.
-
Added better mimetype sniffing support [#351].
-
Removed
OnUserBeforeOauth2Register
andOnUserAfterOauth2Register
event hooks. This is preparations for other changes planned in the future to simplify the authentication api. If you need to listen for OAuth2 sign ups you can use theOnModelBeforeCreate
andOnModelAfterCreate
hooks with the newExternalAuth
model. -
Added 3 new user hook events:
-
OnUserListExternalAuths
-
OnUserBeforeUnlinkExternalAuthRequest
-
OnUserAfterUnlinkExternalAuthRequest
-
-
Added 2 new endpoints to list and unlink the external user auths:
-
GET /api/users/:id/external-auths
-
DELETE /api/users/:id/external-auths/:provider
The SDKs are updated accordingly with
client.users.listExternalAuths()
andclient.users.unlinkExternalAuth()
methods. -
-
Implented external auth linking based on the OAuth2 account ID [#276]. This now allow us to integrate with OAuth2 providers that doesn't return an email address.
You can also unlink the user external auth relation from the Admin UI:
-
Added Discord OAuth2 provider [#335] (thanks @karashiiro).
-
Added Twitter OAuth2 provider [#118] (thanks @thomasdseao).
-
Replaced the MX email domain check with plain email format validator to allow usage in restricted network environments [#298], [#152] (depending on the users feedback, we can reintroduce the MX email domain validator as a global option in a future release).
-
Other minor improvements and optimizations.
1、 checksums.txt 699B
2、 pocketbase_0.6.0_darwin_amd64.zip 12.05MB
3、 pocketbase_0.6.0_darwin_arm64.zip 11.72MB
4、 pocketbase_0.6.0_linux_amd64.zip 11.65MB
5、 pocketbase_0.6.0_linux_arm64.zip 10.85MB
6、 pocketbase_0.6.0_linux_armv7.zip 11.13MB
7、 pocketbase_0.6.0_windows_amd64.zip 11.78MB
8、 pocketbase_0.6.0_windows_arm64.zip 10.97MB