diff --git a/CHANGELOG.md b/CHANGELOG.md index c77975406..9ec8188a7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,10 @@ This project adheres to [Semantic Versioning](http://semver.org/). ## Unreleased +### Fixed + +- Fix OpenAPI broken docs link by @taimoorzaeem in #4048 + ## [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.