Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release notes 2.15.0 #3186

Merged
merged 7 commits into from
May 8, 2024
Merged
Changes from 5 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
68 changes: 67 additions & 1 deletion about/release-notes/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,72 @@ GitHub and be notified by email whenever a new release is available. On the
click `Watch`, select `Custom` and then check `Releases`.
</Highlight>

## TimescaleDB&nbsp;2.15.0 on 2024-05-08

<Highlight type="note">
This release contains performance improvements and bug fixes introduced since
TimescaleDB v2.14.2. Best practice is to upgrade at the next available opportunity.
</Highlight>

#### Highlighted features in this release
* [Continuous Aggregate](/api/:currentVersion:/continuous-aggregates/create_materialized_view/#sample-usage) now support `time_bucket` with `origin` and/or `offset`.
* The following improvements have been introduced for [hypertable compression](/api/:currentVersion:/compression/):
- Add planner support to check more kinds of WHERE conditions before decompression, therefore reducing the number of rows that have to be decompressed.
- You can now use `minmax` sparse indexes when you compress columns with `btree` indexes.
- Make compression use the defaults functions.
- Vectorize filters in WHERE clause that contain text equality operators and LIKE expressions.

#### Deprecation warning
* You can no longer create continuous aggregates using `time_bucket_ng`. Best practice is to [migrate your current continuous aggregates to the new format](/use-timescale/:currentVersion:/continuous-aggregates/migrate/), this feature will be completely removed the next release.
* Recommend users to [migrate their old Continuous Aggregate format to the new one](https://docs.timescale.com/use-timescale/latest/continuous-aggregates/migrate/) because it support will be completely removed in next releases prevent them to migrate.
billy-the-fish marked this conversation as resolved.
Show resolved Hide resolved
* This is the last release supporting PostgreSQL 13.

#### For self-hosted deployments of TimescaleDB v2.15.0 only
After you run `ALTER EXTENSION`, you must run [this SQL script](https://github.com/timescale/timescaledb-extras/blob/master/utils/2.15.X-fix_hypertable_foreign_keys.sql). For more details, see the following pull requests [#6786](#6797).

### Complete list of features
* #6382 Support for time_bucket with origin and offset in CAggs
* #6696 Improve defaults for compression segment_by and order_by
* #6705 Add sparse minmax indexes for compressed columns that have uncompressed btree indexes
* #6754 Allow DROP CONSTRAINT on compressed hypertables
* #6767 Add metadata table `_timestaledb_internal.bgw_job_stat_history` for tracking job execution history
* #6798 Prevent usage of deprecated time_bucket_ng in CAgg definition
* #6810 Add telemetry for access methods
* #6811 Remove no longer relevant timescaledb.allow_install_without_preload GUC
* #6837 Add migration path for CAggs using time_bucket_ng
* #6865 Update the watermark when truncating a CAgg

### Complete list of bugfixes
* #6617 Fix error in show_chunks
* #6621 Remove metadata when dropping chunks
* #6677 Fix snapshot usage in CAgg invalidation scanner
* #6698 Define meaning of 0 retries for jobs as no retries
* #6717 Fix handling of compressed tables with primary or unique index in COPY path
* #6726 Fix constify cagg_watermark using window function when querying a CAgg
* #6729 Fix NULL start value handling in CAgg refresh
* #6732 Fix CAgg migration with custom timezone / date format settings
* #6752 Remove custom autovacuum setting from compressed chunks
* #6770 Fix plantime chunk exclusion for OSM chunk
* #6789 Fix deletes with subqueries and compression
* #6796 Fix a crash involving a view on a hypertable
* #6797 Fix foreign key constraint handling on compressed hypertables
* #6816 Fix handling of chunks with no contraints
* #6820 Fix a crash when the ts_hypertable_insert_blocker was called directly
* #6849 Use non-orderby compressed metadata in compressed DML
* #6867 Clean up compression settings when deleting compressed cagg
* #6869 Fix compressed DML with constraints of form value OP column
* #6870 Fix bool expression pushdown for queries on compressed chunks

### Acknowledgments
* @brasic for reporting a crash when `ts_hypertable_insert_blocker` was called directly
* @bvanelli for reporting an issue with the jobs retry count
* @djzurawsk for reporting an error about dropping chunks
* @Dzuzepppe for reporting the issue that DELETEs using a subquery on compressed chunks was working incorrectly
* @hongquan for reporting a 'timestamp out of range' error during CAgg migrations
* @kevcenteno for reporting that the `show_chunks` API returned an incorrect output when 'created_before/created_after' was used with time-partitioned columns
* @mahipv for starting working on the job history PR
* @rovo89 for reporting that constify `cagg_watermark` was not working using the window function when querying a CAgg

## TimescaleDB&nbsp;2.14.2 on 2024-02-20

<Highlight type="note">
Expand Down Expand Up @@ -693,4 +759,4 @@ For release notes for older TimescaleDB versions, see the
[migrate-caggs]: /use-timescale/:currentVersion:/continuous-aggregates/migrate/
[join-caggs]: /use-timescale/:currentVersion:/continuous-aggregates/create-a-continuous-aggregate/#create-a-continuous-aggregate-with-a-join
[multi-node-to-timescale-service]:/migrate/:currentVersion:/playbooks/multi-node-to-timescale-service/
[multi-node-deprecation]: https://github.com/timescale/timescaledb/blob/main/docs/MultiNodeDeprecation.md
[multi-node-deprecation]: https://github.com/timescale/timescaledb/blob/main/docs/MultiNodeDeprecation.md
Loading