Skip to content
This repository has been archived by the owner on Apr 2, 2024. It is now read-only.

Commit

Permalink
Prepare for 0.17.0 release
Browse files Browse the repository at this point in the history
  • Loading branch information
alejandrodnm committed Jan 11, 2023
1 parent 675ebd0 commit 148f25d
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion EXTENSION_VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
master
0.8.0
2 changes: 1 addition & 1 deletion pkg/tests/constants.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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 {
Expand Down
6 changes: 3 additions & 3 deletions pkg/version/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 148f25d

Please sign in to comment.