From 546ea248dffea7568a0500ef6e0ee875bc14f942 Mon Sep 17 00:00:00 2001 From: Gani Georgiev Date: Sat, 6 Sep 2025 21:40:59 +0300 Subject: [PATCH] updated changelog --- CHANGELOG.md | 4 ++-- tools/osutils/run.go | 3 +-- 2 files changed, 3 insertions(+), 4 deletions(-) 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) {