diff --git a/CHANGELOG.md b/CHANGELOG.md index 9afec1e8..1c6074c7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,4 @@ -## v0.30.0 (WIP) +## v0.30.0 - Eagerly escape the S3 request path following the same rules as in the S3 signing header ([#7153](https://github.com/pocketbase/pocketbase/issues/7153)). @@ -8,7 +8,7 @@ - Added `os.Root` bindings to the JSVM ([`$os.openRoot`](https://pocketbase.io/jsvm/functions/_os.openRoot.html), [`$os.openInRoot`](https://pocketbase.io/jsvm/functions/_os.openInRoot.html)). -- Added `osutils.IsProbablyGoRun()` helper to loosely check if the executable was started using `go run`. +- Added `osutils.IsProbablyGoRun()` helper to loosely check if the program was started using `go run`. - Various minor UI improvements (updated collections indexes UI, enabled seconds in the datepicker, updated helper texts, etc.). diff --git a/tools/osutils/run.go b/tools/osutils/run.go index b21dcdf8..4253cb82 100644 --- a/tools/osutils/run.go +++ b/tools/osutils/run.go @@ -7,8 +7,7 @@ import ( var runDirs = []string{os.TempDir(), cacheDir()} -// IsProbablyGoRun loosely checks if the current executable is running -// as a result of "go run". +// IsProbablyGoRun loosely checks if the current program was started with "go run". func IsProbablyGoRun() bool { for _, dir := range runDirs { if dir != "" && strings.HasPrefix(os.Args[0], dir) {