From 8282f64602fa2e96591f8998eabb1043c4557584 Mon Sep 17 00:00:00 2001 From: Manfred Moser Date: Wed, 16 Oct 2024 12:09:18 -0700 Subject: [PATCH 1/4] Add artifacts section in release notes * Backfill version 3-11 * Source archives, helm chart, docker container as applicable --- docs/release-notes.md | 98 ++++++++++++++++++++++++++++++++++++------- 1 file changed, 83 insertions(+), 15 deletions(-) diff --git a/docs/release-notes.md b/docs/release-notes.md index 2132744f3..3cf8ffa18 100644 --- a/docs/release-notes.md +++ b/docs/release-notes.md @@ -2,8 +2,16 @@ ## Trino Gateway 11 (12 Sep 2024) { id="11" } -[JAR file gateway-ha-11-jar-with-dependencies.jar](https://repo1.maven.org/maven2/io/trino/gateway/gateway-ha/11/gateway-ha-11-jar-with-dependencies.jar), -Container image `trinodb/trino-gateway:11` +Artifacts: + +* [JAR file gateway-ha-11-jar-with-dependencies.jar](https://repo1.maven.org/maven2/io/trino/gateway/gateway-ha/11/gateway-ha-11-jar-with-dependencies.jar) +* Container image `trinodb/trino-gateway:11` +* Source code as + [tar.gz](https://github.com/trinodb/trino-gateway/releases/tag/11.tar.gz) + or [zip](https://github.com/trinodb/trino-gateway/releases/tag/11.zip) +* Helm chart `11.0.0` in `helm/trino-gateway` of the tagged source code + +Changes: * [:warning: Breaking change:](#breaking) Require Java 22 for build and runtime. ([#441](https://github.com/trinodb/trino-gateway/pull/441)) @@ -41,8 +49,16 @@ milestone 11 list](https://github.com/trinodb/trino-gateway/pulls?q=is%3Apr+mile ## Trino Gateway 10 (24 Jul 2024) { id="10" } -[JAR file gateway-ha-10-jar-with-dependencies.jar](https://repo1.maven.org/maven2/io/trino/gateway/gateway-ha/10/gateway-ha-10-jar-with-dependencies.jar), -Container image `trinodb/trino-gateway:10` +Artifacts: + +* [JAR file gateway-ha-10-jar-with-dependencies.jar](https://repo1.maven.org/maven2/io/trino/gateway/gateway-ha/10/gateway-ha-10-jar-with-dependencies.jar) +* Container image `trinodb/trino-gateway:10` +* Source code as + [tar.gz](https://github.com/trinodb/trino-gateway/releases/tag/10.tar.gz) + or [zip](https://github.com/trinodb/trino-gateway/releases/tag/10.zip) +* Helm chart `10.0.0` in `helm/trino-gateway` of the tagged source code + +Changes: * [:warning: Breaking change:](#breaking) Remove support for Dropwizard and Jetty Proxy integration and usage. Add @@ -76,15 +92,32 @@ Container image `trinodb/trino-gateway:10` ## Trino Gateway 9 (8 May 2024) { id="9" } -[JAR file gateway-ha-9-jar-with-dependencies.jar](https://repo1.maven.org/maven2/io/trino/gateway/gateway-ha/9/gateway-ha-9-jar-with-dependencies.jar), -Container image `trinodb/trino-gateway:9` +Artifacts: + +* [JAR file gateway-ha-9-jar-with-dependencies.jar](https://repo1.maven.org/maven2/io/trino/gateway/gateway-ha/9/gateway-ha-9-jar-with-dependencies.jar) +* Container image `trinodb/trino-gateway:9` +* Source code as + [tar.gz](https://github.com/trinodb/trino-gateway/releases/tag/9.tar.gz) + or [zip](https://github.com/trinodb/trino-gateway/releases/tag/9.zip) +* Helm chart `8` in `helm/trino-gateway` of the tagged source code (version not + updated) + +Changes: * Ensure inclusion of UI in JAR and container artifacts. ([#337](https://github.com/trinodb/trino-gateway/pull/337)) ## Trino Gateway 8 (6 May 2024) { id="8" } -[JAR file gateway-ha-8-jar-with-dependencies.jar](https://repo1.maven.org/maven2/io/trino/gateway/gateway-ha/8/gateway-ha-8-jar-with-dependencies.jar), -Container image `trinodb/trino-gateway:8` +Artifacts: + +* [JAR file gateway-ha-8-jar-with-dependencies.jar](https://repo1.maven.org/maven2/io/trino/gateway/gateway-ha/8/gateway-ha-8-jar-with-dependencies.jar) +* Container image `trinodb/trino-gateway:8` +* Source code as + [tar.gz](https://github.com/trinodb/trino-gateway/releases/tag/8.tar.gz) + or [zip](https://github.com/trinodb/trino-gateway/releases/tag/8.zip) +* Helm chart version `8` in `helm/trino-gateway` of the tagged source code + +Changes: * Add support for configurable router policies. ([#98](https://github.com/trinodb/trino-gateway/pull/98)) * Add a router policy based on query count per cluster. ([#98](https://github.com/trinodb/trino-gateway/pull/98)) @@ -97,9 +130,15 @@ Container image `trinodb/trino-gateway:8` ## Trino Gateway 7 (21 Mar 2024) { id="7" } -[JAR file gateway-ha-7-jar-with-dependencies.jar](https://repo1.maven.org/maven2/io/trino/gateway/gateway-ha/7/gateway-ha-7-jar-with-dependencies.jar), -Container image `trinodb/trino-gateway:7` +Artifacts: + +* [JAR file gateway-ha-7-jar-with-dependencies.jar](https://repo1.maven.org/maven2/io/trino/gateway/gateway-ha/7/gateway-ha-7-jar-with-dependencies.jar) +* Container image `trinodb/trino-gateway:7` +* Source code as + [tar.gz](https://github.com/trinodb/trino-gateway/releases/tag/7.tar.gz) + or [zip](https://github.com/trinodb/trino-gateway/releases/tag/7.zip) +Changes: * Replace user interface with a new modern UI. ([#116](https://github.com/trinodb/trino-gateway/pull/116)) * Improve logging configurability. Users must update to the [new logging configuration](./installation.md#logging). ([#260](https://github.com/trinodb/trino-gateway/pull/260)) @@ -111,8 +150,15 @@ Container image `trinodb/trino-gateway:7` ## Trino Gateway 6 (16 Feb 2024) { id="6" } -[JAR file gateway-ha-6-jar-with-dependencies.jar](https://repo1.maven.org/maven2/io/trino/gateway/gateway-ha/6/gateway-ha-6-jar-with-dependencies.jar), -Container image `trinodb/trino-gateway:6` +Artifacts: + +* [JAR file gateway-ha-6-jar-with-dependencies.jar](https://repo1.maven.org/maven2/io/trino/gateway/gateway-ha/6/gateway-ha-6-jar-with-dependencies.jar) +* Container image `trinodb/trino-gateway:6` +* Source code as + [tar.gz](https://github.com/trinodb/trino-gateway/releases/tag/6.tar.gz) + or [zip](https://github.com/trinodb/trino-gateway/releases/tag/6.zip) + +Changes: * Add Docker container build, publishing, and usage setup and instructions. ([#86](https://github.com/trinodb/trino-gateway/issues/86)) @@ -120,7 +166,15 @@ Container image `trinodb/trino-gateway:6` ## Trino Gateway 5 (24 Jan 2024) { id="5" } -[gateway-ha-5-jar-with-dependencies.jar](https://repo1.maven.org/maven2/io/trino/gateway/gateway-ha/5/gateway-ha-5-jar-with-dependencies.jar) +Artifacts: + +* [gateway-ha-5-jar-with-dependencies.jar](https://repo1.maven.org/maven2/io/trino/gateway/gateway-ha/5/gateway-ha-5-jar-with-dependencies.jar) +* Source code as + [tar.gz](https://github.com/trinodb/trino-gateway/releases/tag/5.tar.gz) + or [zip](https://github.com/trinodb/trino-gateway/releases/tag/5.zip) + + +Changes: * Add support for OAuth 2 audience use. ([#164](https://github.com/trinodb/trino-gateway/pull/164)) * Add quickstart scripts and documentation. ([#110](https://github.com/trinodb/trino-gateway/pull/110)) @@ -131,7 +185,14 @@ Container image `trinodb/trino-gateway:6` ## Trino Gateway 4 (30 Nov 2023) { id="4" } -[gateway-ha-4-jar-with-dependencies.jar](https://repo1.maven.org/maven2/io/trino/gateway/gateway-ha/4/gateway-ha-4-jar-with-dependencies.jar) +Artifacts: + +* [gateway-ha-4-jar-with-dependencies.jar](https://repo1.maven.org/maven2/io/trino/gateway/gateway-ha/4/gateway-ha-4-jar-with-dependencies.jar) +* Source code as + [tar.gz](https://github.com/trinodb/trino-gateway/releases/tag/4.tar.gz) + or [zip](https://github.com/trinodb/trino-gateway/releases/tag/4.zip) + +Changes: * Add support for configuring additional whitelisted URL paths. ([#63](https://github.com/trinodb/trino-gateway/pull/63)) * Improve flexibility of user and group name matching for authorization. ([#32](https://github.com/trinodb/trino-gateway/pull/32)) @@ -148,7 +209,14 @@ Container image `trinodb/trino-gateway:6` ## Trino Gateway 3 (26 Sep 2023) { id="3" } -[gateway-ha-3-jar-with-dependencies.jar](https://repo1.maven.org/maven2/io/trino/gateway/gateway-ha/3/gateway-ha-3-jar-with-dependencies.jar) +Artifacts: + +* [gateway-ha-3-jar-with-dependencies.jar](https://repo1.maven.org/maven2/io/trino/gateway/gateway-ha/3/gateway-ha-3-jar-with-dependencies.jar) +* Source code as + [tar.gz](https://github.com/trinodb/trino-gateway/releases/tag/3.tar.gz) + or [zip](https://github.com/trinodb/trino-gateway/releases/tag/3.zip) + +Changes: The first release of Trino Gateway is based on the [Presto Gateway](https://github.com/lyft/presto-gateway/) 1.9.5 codebase From 249f7b67a8b0bef916fb411095dd917708b846ca Mon Sep 17 00:00:00 2001 From: Manfred Moser Date: Wed, 18 Sep 2024 09:59:44 -0700 Subject: [PATCH 2/4] Add Trino Gateway 12 release notes --- docs/release-notes.md | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/docs/release-notes.md b/docs/release-notes.md index 3cf8ffa18..f73756cd4 100644 --- a/docs/release-notes.md +++ b/docs/release-notes.md @@ -1,5 +1,40 @@ # Release notes +## Trino Gateway 12 (dd Oct 2024) { id="12" } + +Artifacts: + +* [JAR file gateway-ha-12-jar-with-dependencies.jar](https://repo1.maven.org/maven2/io/trino/gateway/gateway-ha/12/gateway-ha-12-jar-with-dependencies.jar) +* Container image `trinodb/trino-gateway:12` +* Source code as + [tar.gz](https://github.com/trinodb/trino-gateway/releases/tag/12.tar.gz) + or [zip](https://github.com/trinodb/trino-gateway/releases/tag/12.zip) +* Helm chart `12.0.0` in `helm/trino-gateway` of the tagged source code + +Changes: + +* Add support for parsing `EXECUTE IMMEDIATE` statements for routing. + ([#484](https://github.com/trinodb/trino-gateway/issues/484)) +* Add support to set configuration values from environment variables. + ([#483](https://github.com/trinodb/trino-gateway/issues/483)) +* Add support to include information about the cluster used for query processing + to the response cookie. + ([#478](https://github.com/trinodb/trino-gateway/issues/478)) +* [:warning: Breaking change:](#breaking) Require Java 23 for build and + runtime. Use Java 23 as runtime in the container. + ([#486](https://github.com/trinodb/trino-gateway/issues/486)) +* [:warning: Breaking change:](#breaking) Rename routing rule configuration + `blackListHeaders` to`excludeHeaders`. + ([#470](https://github.com/trinodb/trino-gateway/pull/470)) +* Prevent request analyzer failures for some queries without a defined catalog. + ([#478](https://github.com/trinodb/trino-gateway/issues/478)) +* Add support for configuring the startup command for Trino Gateway in the + Helm chart with the `command` node. + ([#505](https://github.com/trinodb/trino-gateway/pull/505)) + +More details and a list of all merged pull requests are [available in the +milestone 12 list](https://github.com/trinodb/trino-gateway/pulls?q=is%3Apr+milestone%3A12+is%3Aclosed). + ## Trino Gateway 11 (12 Sep 2024) { id="11" } Artifacts: From 08d7c769edbc3b450708d3ef93ba773ce1b8d7c2 Mon Sep 17 00:00:00 2001 From: Manfred Moser Date: Wed, 18 Sep 2024 10:00:25 -0700 Subject: [PATCH 3/4] Update Helm chart to Trino Gateway 12 --- helm/trino-gateway/Chart.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/helm/trino-gateway/Chart.yaml b/helm/trino-gateway/Chart.yaml index ad573c7d6..67a629364 100644 --- a/helm/trino-gateway/Chart.yaml +++ b/helm/trino-gateway/Chart.yaml @@ -3,6 +3,6 @@ name: trino-gateway description: A Helm chart for Trino Gateway type: application # Trino Gateway Helm chart version. Should be appVersion with .0.0 appended. -version: "11.0.0" +version: "12.0.0" # Trino Gateway version -appVersion: "11" +appVersion: "12" From cc5e7c5a02c717aef100877cab28701ef053314b Mon Sep 17 00:00:00 2001 From: Manfred Moser Date: Wed, 18 Sep 2024 10:01:06 -0700 Subject: [PATCH 4/4] Update quick start guide to Trino Gateway 12 --- docs/quickstart.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/quickstart.md b/docs/quickstart.md index 7ed9ab70a..406c366ec 100644 --- a/docs/quickstart.md +++ b/docs/quickstart.md @@ -22,7 +22,7 @@ It copies the following, necessary files to current directory: ```shell #!/usr/bin/env sh -VERSION=11 +VERSION=12 # Copy necessary files to current directory