# TimescaleDB 2.28.1 — 2.28.1 (2026-06-23) - Product: TimescaleDB (https://whatsnew.fyi/product/timescaledb) - Vendor: Timescale - Date: 2026-06-23 - Version: 2.28.1 - Original notes: https://github.com/timescale/timescaledb/releases/tag/2.28.1 - Permalink: https://whatsnew.fyi/product/timescaledb/releases/2.28.1 What's New is an index, not a publisher: every entry below links to the vendor's own release notes, which are the authoritative source. Entries are labelled where they are hand-curated sample data, pre-releases, or drawn from a secondary source such as a developer blog. Reuse: release facts (products, versions, dates, links, CVE ids and flags) are open data under CC BY 4.0, from the API at https://whatsnew.fyi/api/v1 or the nightly dataset at https://github.com/whatsnew-fyi/dataset. The summaries, labels and curation are © What's New: quote freely with attribution and a link back; wholesale republication of them is not permitted — terms: https://whatsnew.fyi/terms. The vendors' own release notes remain their publishers'. --- - **fixed** — Fix potential crash on DML on compressed tables when the plan uses Bitmap Heap Scan - **fixed** — Fix column rename for compressed chunks - **fixed** — Enforce CHECK, NOT NULL and view WITH CHECK OPTION constraints for direct compress inserts - **fixed** — Fix error when using first/last aggregates in a HAVING clause - **fixed** — Fix first/last optimization returning the same value for aggregates that share the value column but order by different columns - **fixed** — Fix internal error in first/last for unsortable types - **fixed** — Fix bgw_job_stat_history definition - **fixed** — Fix uncompressed size estimate for varlen - **fixed** — Fix deleting every row on compressed hypertable with subquery returning constant false - **fixed** — Fix use-after-free in ALTER TABLE ADD CONSTRAINT This release contains performance improvements and bug fixes since the 2.28.0 release. We recommend that you upgrade at the next available opportunity. **Bugfixes** * [#9913](https://github.com/timescale/timescaledb/pull/9913) Fix potential crash on `DML` on compressed tables when the plan uses `Bitmap Heap Scan` * [#10091](https://github.com/timescale/timescaledb/pull/10091) Fix column rename for compressed chunks * [#10056](https://github.com/timescale/timescaledb/pull/10056) Enforce `CHECK`, `NOT NULL` and view `WITH CHECK OPTION` constraints for direct compress inserts * [#10059](https://github.com/timescale/timescaledb/pull/10059) Fix error when using `first`/`last` aggregates in a `HAVING` clause * [#10060](https://github.com/timescale/timescaledb/pull/10060) Fix `first`/`last` optimization returning the same value for aggregates that share the value column but order by different columns * [#10061](https://github.com/timescale/timescaledb/pull/10061) Fix internal error in `first`/`last` for unsortable types * [#10069](https://github.com/timescale/timescaledb/pull/10069) Fix `bgw_job_stat_history` definition * [#10073](https://github.com/timescale/timescaledb/pull/10073) Fix uncompressed size estimate for `varlen` * [#10089](https://github.com/timescale/timescaledb/pull/10089) Fix deleting every row on compressed hypertable with subquery returning constant false * [#10094](https://github.com/timescale/timescaledb/pull/10094) Fix use-after-free in `ALTER TABLE ADD CONSTRAINT` **Thanks** * @skrenes for reporting a problem with the `job_history` view when upgrading to 2.28.0