From 4a0eb7febe7fe439fdcf3b213a904f9ecf3b5e61 Mon Sep 17 00:00:00 2001 From: Taimoor Zaeem Date: Sat, 28 Jun 2025 01:14:34 +0500 Subject: [PATCH] fix: OpenAPI broken docs link (#4169) --- CHANGELOG.md | 4 ++++ src/PostgREST/Version.hs | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8727a6b5a..60e7dd06a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -12,6 +12,10 @@ This project adheres to [Semantic Versioning](http://semver.org/). + The exposed schemas are now listed in the `hint` instead of the `message` field. - Improve error details of `PGRST301` error by @taimoorzaeem in #4051 +### Fixed + +- Fix OpenAPI broken docs link by @taimoorzaeem in #4080 + ## [13.0.4] - 2025-06-17 ### Fixed diff --git a/src/PostgREST/Version.hs b/src/PostgREST/Version.hs index b59495789..54102994a 100644 --- a/src/PostgREST/Version.hs +++ b/src/PostgREST/Version.hs @@ -26,7 +26,7 @@ prettyVersion = docsVersion :: Text docsVersion | isPreRelease = "latest" - | otherwise = "v" <> (T.intercalate "." . map show . take 1 $ version) + | otherwise = "v" <> T.intercalate "." (take 1 version) -- | Versions with two components (e.g., '1.1') are treated as pre-releases.