From 9b901fcee80c8c1fdac3d8d3057eb8018fe70c28 Mon Sep 17 00:00:00 2001 From: Gani Georgiev Date: Thu, 30 Jan 2025 17:28:22 +0200 Subject: [PATCH] updated changelog and help texts --- CHANGELOG.md | 8 +++++--- examples/base/main.go | 4 ++-- plugins/jsvm/jsvm.go | 2 +- 3 files changed, 8 insertions(+), 6 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2c29cf4b..c0b1b984 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,14 +1,14 @@ ## v0.25.0 (WIP) - ⚠️ Upgraded Google OAuth2 auth, token and userinfo endpoints to their latest versions. - _For users that doesn't do anything custom with the Google account response or the `urlCallback`, this should be a non-breaking change. The exceptions that I could find are:_ + _For users that don't do anything custom with the Google OAuth2 data or the `urlCallback`, this should be a non-breaking change. The exceptions that I could find are:_ - `/v3/userinfo` auth response changes: ``` meta.rawUser.id => meta.rawUser.sub meta.rawUser.verified_email => meta.rawUser.email_verified ``` - `/v2/auth` query parameters changes: - if you are specifying custom `approval_prompt=force` query parameter in the `urlCallback`, you'll have to replace it with `prompt=consent` + If you are specifying custom `approval_prompt=force` query parameter in the `urlCallback`, you'll have to replace it with **`prompt=consent`**. - Added Trakt OAuth2 provider ([#6338](https://github.com/pocketbase/pocketbase/pull/6338); thanks @aidan-) @@ -28,7 +28,9 @@ - Added `inflector.Camelize(str)` and `inflector.Singularize(str)` helper methods. -- Other minor improvements (_replaced all `bool` exists db scans with `int` for broader drivers compatibility, use the non-transactional app instance during realtime records delete access checks to ensure that cascade deleted records with API rules relying on the parent will be resolved, updated API Preview sample error responses, updated UI dependencies, etc._) +- Use the non-transactional app instance during the realtime records delete access checks to ensure that cascade deleted records with API rules relying on the parent will be resolved. + +- Other minor improvements (_replaced all `bool` exists db scans with `int` for broader drivers compatibility, updated API Preview sample error responses, updated UI dependencies, etc._) ## v0.24.4 diff --git a/examples/base/main.go b/examples/base/main.go index b9333fd1..ff03b85b 100644 --- a/examples/base/main.go +++ b/examples/base/main.go @@ -36,7 +36,7 @@ func main() { &hooksWatch, "hooksWatch", true, - "auto restart the app on pb_hooks file change", + "auto restart the app on pb_hooks file change; it has no effect on Windows", ) var hooksPool int @@ -76,7 +76,7 @@ func main() { &indexFallback, "indexFallback", true, - "fallback the request to index.html on missing static path (eg. when pretty urls are used with SPA)", + "fallback the request to index.html on missing static path, e.g. when pretty urls are used with SPA", ) app.RootCmd.ParseFlags(os.Args[1:]) diff --git a/plugins/jsvm/jsvm.go b/plugins/jsvm/jsvm.go index 1d9ffe76..ba5385b6 100644 --- a/plugins/jsvm/jsvm.go +++ b/plugins/jsvm/jsvm.go @@ -389,7 +389,7 @@ func (p *plugin) watchHooks() error { debounceTimer = time.AfterFunc(50*time.Millisecond, func() { // app restart is currently not supported on Windows if runtime.GOOS == "windows" { - color.Yellow("File %s changed, please restart the app", event.Name) + color.Yellow("File %s changed, please restart the app manually", event.Name) } else { color.Yellow("File %s changed, restarting...", event.Name) if err := p.app.Restart(); err != nil {