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 2.12.0 #6086

Merged
merged 2 commits into from
Sep 20, 2023
Merged
Show file tree
Hide file tree
Changes from all 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
6 changes: 3 additions & 3 deletions .github/workflows/changelog-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,16 +38,16 @@ jobs:
folder=".unreleased"

# Get the list of modified files in this pull request
files=$(git --no-pager diff --name-only HEAD $(git merge-base HEAD ${{ github.event.pull_request.base.sha }}))
files=$(git --no-pager diff --diff-filter=ACMR --name-only $(git merge-base HEAD ${{ github.event.pull_request.base.sha }}) HEAD)

if echo "$BODY" | egrep -qsi "Disable-check:[[:space:]]*force-changelog-file"; then
# skip changelog checks if forced
exit 0
else
# if no changelog files found, and the PR does not have the force disable check option
if ! echo "${files}" | grep -Eq "^(${folder})/.+$"; then
echo "PR does not add a change log file in .unlreased/ folder"
echo "Check .unlreased/template.rfc822 for the format of the change log file."
echo "PR does not add a change log file in .unreleased/ folder"
echo "Check .unreleased/template.rfc822 for the format of the change log file."
echo
echo "To disable changelog updated check, add this trailer to pull request message:"
echo
Expand Down
1 change: 0 additions & 1 deletion .unreleased/5655_decompression_workers.txt

This file was deleted.

1 change: 0 additions & 1 deletion .unreleased/PR_5150

This file was deleted.

1 change: 0 additions & 1 deletion .unreleased/PR_5586

This file was deleted.

1 change: 0 additions & 1 deletion .unreleased/PR_5805

This file was deleted.

1 change: 0 additions & 1 deletion .unreleased/PR_5839

This file was deleted.

1 change: 0 additions & 1 deletion .unreleased/PR_5852

This file was deleted.

1 change: 0 additions & 1 deletion .unreleased/PR_5868

This file was deleted.

2 changes: 0 additions & 2 deletions .unreleased/PR_5930

This file was deleted.

1 change: 0 additions & 1 deletion .unreleased/PR_6036

This file was deleted.

1 change: 0 additions & 1 deletion .unreleased/PR_6067

This file was deleted.

2 changes: 0 additions & 2 deletions .unreleased/PR_6081

This file was deleted.

1 change: 0 additions & 1 deletion .unreleased/bugfix_5562

This file was deleted.

5 changes: 0 additions & 5 deletions .unreleased/bugfix_5734

This file was deleted.

1 change: 0 additions & 1 deletion .unreleased/bugfix_5872

This file was deleted.

2 changes: 0 additions & 2 deletions .unreleased/bugfix_5892

This file was deleted.

1 change: 0 additions & 1 deletion .unreleased/bugfix_5909

This file was deleted.

3 changes: 0 additions & 3 deletions .unreleased/bugfix_5918

This file was deleted.

4 changes: 0 additions & 4 deletions .unreleased/bugfix_5951

This file was deleted.

1 change: 0 additions & 1 deletion .unreleased/bugfix_5990

This file was deleted.

2 changes: 0 additions & 2 deletions .unreleased/bugfix_5991

This file was deleted.

1 change: 0 additions & 1 deletion .unreleased/bugfix_6015

This file was deleted.

3 changes: 0 additions & 3 deletions .unreleased/bugfix_6024

This file was deleted.

3 changes: 0 additions & 3 deletions .unreleased/bugfix_6037

This file was deleted.

1 change: 0 additions & 1 deletion .unreleased/bugfix_6044

This file was deleted.

1 change: 0 additions & 1 deletion .unreleased/bugfix_6053

This file was deleted.

2 changes: 0 additions & 2 deletions .unreleased/bugfix_6084

This file was deleted.

1 change: 0 additions & 1 deletion .unreleased/bugfix_chunk_create

This file was deleted.

1 change: 0 additions & 1 deletion .unreleased/feature_5137

This file was deleted.

1 change: 0 additions & 1 deletion .unreleased/feature_5515

This file was deleted.

1 change: 0 additions & 1 deletion .unreleased/feature_5596

This file was deleted.

1 change: 0 additions & 1 deletion .unreleased/feature_5599

This file was deleted.

1 change: 0 additions & 1 deletion .unreleased/feature_5758

This file was deleted.

1 change: 0 additions & 1 deletion .unreleased/feature_5809

This file was deleted.

1 change: 0 additions & 1 deletion .unreleased/feature_5875

This file was deleted.

63 changes: 62 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,68 @@
`psql` with the `-X` flag to prevent any `.psqlrc` commands from
accidentally triggering the load of a previous DB version.**

## 2.12.0 (2023-09-20)

This release contains performance improvements for compressed hypertables
and continuous aggregates and bug fixes since the 2.11.2 release.
We recommend that you upgrade at the next available opportunity.

This release moves all internal functions from the _timescaleb_internal
schema into the _timescaledb_functions schema. This separates code from
internal data objects and improves security by allowing more restrictive
permissions for the code schema. If you are calling any of those internal
functions you should adjust your code as soon as possible. This version
also includes a compatibility layer that allows calling them in the old
location but that layer will be removed in 2.14.0.

iroussos marked this conversation as resolved.
Show resolved Hide resolved
**PostgreSQL 12 support removal announcement**
Following the deprecation announcement for PostgreSQL 12 in TimescaleDB 2.10,
PostgreSQL 12 is not supported starting with TimescaleDB 2.12.
Currently supported PostgreSQL major versions are 13, 14 and 15.
PostgreSQL 16 support will be added with a following TimescaleDB release.

**Features**
* #5137 Insert into index during chunk compression
* #5150 MERGE support on hypertables
* #5515 Make hypertables support replica identity
* #5586 Index scan support during UPDATE/DELETE on compressed hypertables
* #5596 Support for partial aggregations at chunk level
* #5599 Enable ChunkAppend for partially compressed chunks
* #5655 Improve the number of parallel workers for decompression
* #5758 Enable altering job schedule type through `alter_job`
* #5805 Make logrepl markers for (partial) decompressions
* #5809 Relax invalidation threshold table-level lock to row-level when refreshing a Continuous Aggregate
* #5839 Support CAgg names in chunk_detailed_size
* #5852 Make set_chunk_time_interval CAggs aware
* #5868 Allow ALTER TABLE ... REPLICA IDENTITY (FULL|INDEX) on materialized hypertables (continuous aggregates)
* #5875 Add job exit status and runtime to log
* #5909 CREATE INDEX ONLY ON hypertable creates index on chunks

**Bugfixes**
* #5860 Fix interval calculation for hierarchical CAggs
* #5894 Check unique indexes when enabling compression
* #5951 _timescaledb_internal.create_compressed_chunk doesn't account for existing uncompressed rows
* #5988 Move functions to _timescaledb_functions schema
* #5788 Chunk_create must add an existing table or fail
* #5872 Fix duplicates on partially compressed chunk reads
* #5918 Fix crash in COPY from program returning error
* #5990 Place data in first/last function in correct mctx
* #5991 Call eq_func correctly in time_bucket_gapfill
* #6015 Correct row count in EXPLAIN ANALYZE INSERT .. ON CONFLICT output
* #6035 Fix server crash on UPDATE of compressed chunk
* #6044 Fix server crash when using duplicate segmentby column
* #6045 Fix segfault in set_integer_now_func
* #6053 Fix approximate_row_count for CAggs
* #6081 Improve compressed DML datatype handling
* #6084 Propagate parameter changes to decompress child nodes

**Thanks**
* @ajcanterbury for reporting a problem with lateral joins on compressed chunks
* @alexanderlaw for reporting multiple server crashes
* @lukaskirner for reporting a bug with monthly continuous aggregates
* @mrksngl for reporting a bug with unusual user names
* @willsbit for reporting a crash in time_bucket_gapfill

## 2.11.2 (2023-08-09)

This release contains bug fixes since the 2.11.1 release.
Expand Down Expand Up @@ -72,7 +134,6 @@ This release includes these noteworthy features:
* #5584 Reduce decompression during constraint checking
* #5530 Optimize compressed chunk resorting
* #5639 Support sending telemetry event reports
* #5150 MERGE support on hypertables

**Bugfixes**
* #5396 Fix SEGMENTBY columns predicates to be pushed down
Expand Down
3 changes: 2 additions & 1 deletion sql/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,8 @@ set(MOD_FILES
updates/2.10.2--2.10.3.sql
updates/2.10.3--2.11.0.sql
updates/2.11.0--2.11.1.sql
updates/2.11.1--2.11.2.sql)
updates/2.11.1--2.11.2.sql
updates/2.11.2--2.12.0.sql)

# The downgrade file to generate a downgrade script for the current version, as
# specified in version.config
Expand Down
Loading
Loading