From 148f25dbabd6f93fa8d317e9ffb5b5baf449e061 Mon Sep 17 00:00:00 2001 From: Alejandro Do Nascimento Mora Date: Mon, 9 Jan 2023 11:16:44 +0100 Subject: [PATCH] Prepare for 0.17.0 release --- CHANGELOG.md | 2 +- EXTENSION_VERSION | 2 +- pkg/tests/constants.go | 2 +- .../end_to_end_tests/promql_endpoint_integration_test.go | 4 ++-- pkg/version/version.go | 6 +++--- 5 files changed, 8 insertions(+), 8 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 5981ba02f1..a45b04454d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,7 +13,7 @@ We use the following categories for changes: - `Fixed` for any bug fixes. - `Security` in case of vulnerabilities. -## Unreleased +## [0.17.0] - 2023-09-01 ### Added - Add support for PostgreSQL 15 diff --git a/EXTENSION_VERSION b/EXTENSION_VERSION index 1f7391f92b..a3df0a6959 100644 --- a/EXTENSION_VERSION +++ b/EXTENSION_VERSION @@ -1 +1 @@ -master +0.8.0 diff --git a/pkg/tests/constants.go b/pkg/tests/constants.go index e88e8aa959..1439c5a5bc 100644 --- a/pkg/tests/constants.go +++ b/pkg/tests/constants.go @@ -17,5 +17,5 @@ func init() { } PromscaleExtensionVersion = strings.TrimSpace(string(content)) - PromscaleExtensionContainer = "ghcr.io/timescale/dev_promscale_extension:" + PromscaleExtensionVersion + "-ts2-pg14" + PromscaleExtensionContainer = "ghcr.io/timescale/dev_promscale_extension:" + PromscaleExtensionVersion + "-ts2-pg15" } diff --git a/pkg/tests/end_to_end_tests/promql_endpoint_integration_test.go b/pkg/tests/end_to_end_tests/promql_endpoint_integration_test.go index 363db64b0b..d3434540ee 100644 --- a/pkg/tests/end_to_end_tests/promql_endpoint_integration_test.go +++ b/pkg/tests/end_to_end_tests/promql_endpoint_integration_test.go @@ -259,7 +259,7 @@ func compareHTTPHeaders(t *testing.T, expected, actual http.Header) { } // dateHeadersMatch checks if the date headers from two HTTP responses match -// and are within a tolerance of 10 seconds. +// and are within a tolerance of 60 seconds (GH runner is slow sometimes) func dateHeadersMatch(expected, actual []string) bool { if len(expected) != 1 { return false @@ -275,7 +275,7 @@ func dateHeadersMatch(expected, actual []string) bool { return false } - return expectedDate.Sub(actualDate) <= 10*time.Second + return expectedDate.Sub(actualDate) <= 60*time.Second } func defaultAPIConfig() *api.Config { diff --git a/pkg/version/version.go b/pkg/version/version.go index e9e857ee9d..dd9dc648c7 100644 --- a/pkg/version/version.go +++ b/pkg/version/version.go @@ -38,20 +38,20 @@ var ( // It is customary to bump the version by incrementing the numeral after // the `dev` tag. The SQL migration script name must correspond to the /new/ version. - Promscale = "0.17.0-dev" + Promscale = "0.17.0" PrevReleaseVersion = "0.16.0" CommitHash = "" // Comes from -ldflags settings Branch = "" // Comes from -ldflags settings EarliestUpgradeTestVersion = "0.3.0" // 0.3.0 earliest version an image with correct extension versions exists - PgVersionNumRange = ">=12.x <16.x" // Corresponds to range within pg 12.0 to pg 14.99 + PgVersionNumRange = ">=12.x <16.x" // Corresponds to range within pg 12.0 to pg 15.99 pgAcceptedVersionsRange = semver.MustParseRange(PgVersionNumRange) TimescaleVersionRangeString = ">=2.6.1 <2.99.0" TimescaleVersionRange = semver.MustParseRange(TimescaleVersionRangeString) // ExtVersionRangeString is a range of required promscale extension versions - ExtVersionRangeString = ">=0.7.0 <0.8.99" + ExtVersionRangeString = ">=0.8.0 <0.8.99" ExtVersionRange = semver.MustParseRange(ExtVersionRangeString) // Expose build info through Prometheus metric