added option to remove single registered hook handler
This commit is contained in:
@@ -4,6 +4,10 @@
|
||||
|
||||
- Added VK OAuth2 provider ([#2533](https://github.com/pocketbase/pocketbase/pull/2533); thanks @imperatrona).
|
||||
|
||||
- Renamed `Hook.Reset()` -> `Hook.RemoveAll()`.
|
||||
|
||||
- `Hook.Add()` and `Hook.PreAdd` now returns a unique string identifier that could be used to remove the registered hook handler via `Hook.Remove(handlerId)`.
|
||||
|
||||
|
||||
## v0.16.4-WIP
|
||||
|
||||
|
||||
Reference in New Issue
Block a user