From 2af60a85c5e926f56cb2ab8cf49dd25b7fec6150 Mon Sep 17 00:00:00 2001 From: Gani Georgiev Date: Tue, 13 Jan 2026 22:23:23 +0200 Subject: [PATCH] fixed typo and updated changelog --- CHANGELOG.md | 8 ++++++++ tools/dbutils/select.go | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a2bee0b5..ea9af37d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,11 @@ +## v0.36.0-rc.1 + +- Minor list query and API rules optimizations: + - Removed unnecessery correlated subquery expression when using back-relations via single `relation` field. + - Replaced `DISTINCT` with `GROUP BY id` when rows deduplication is needed. + _This should help with having a more stable and predictable performance even if the table rows are on the larger side._ + + ## v0.35.1 - Updated `modernc.org/sqlite` to v1.43.0 _(SQLite 3.51.1 and query cancellation race fix)_. diff --git a/tools/dbutils/select.go b/tools/dbutils/select.go index dc740bdf..f806646d 100644 --- a/tools/dbutils/select.go +++ b/tools/dbutils/select.go @@ -5,7 +5,7 @@ import "regexp" // Regexp for columns and tables (the same as the one in dbx). var selectRegex = regexp.MustCompile(`(?i:\s+as\s+|\s+)([\w\-_\.]+)$`) -// AliasOrIdentifier returns the alias from a column or table identifier, +// AliasOrIdentifier returns the alias from a column or table identifier. // Returns the identifier unmodified if no alias was found. func AliasOrIdentifier(columnOrTableIdentifier string) string { matches := selectRegex.FindStringSubmatch(columnOrTableIdentifier)