diff --git a/.github/workflows/header-check.yml b/.github/workflows/header-check.yml index 427e977..b102535 100644 --- a/.github/workflows/header-check.yml +++ b/.github/workflows/header-check.yml @@ -24,7 +24,7 @@ jobs: runs-on: ubuntu-latest steps: - name: 'Checkout Repository' - uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5 + uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5 - name: Check License Header uses: apache/skywalking-eyes/header@61275cc80d0798a405cb070f7d3a8aaf7cf2c2c1 # v0.8.0 diff --git a/.github/workflows/json-lint.yml b/.github/workflows/json-lint.yml index 7969d49..d898d44 100644 --- a/.github/workflows/json-lint.yml +++ b/.github/workflows/json-lint.yml @@ -23,7 +23,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Check out code - uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5 + uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5 - name: Run JSON Lint run: jq . gemini-extension.json \ No newline at end of file diff --git a/.github/workflows/markdown-checks.yml b/.github/workflows/markdown-checks.yml index 53de296..6010c88 100644 --- a/.github/workflows/markdown-checks.yml +++ b/.github/workflows/markdown-checks.yml @@ -24,7 +24,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Check out code - uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5 + uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5 - name: Link Checker uses: lycheeverse/lychee-action@a8c4c7cb88f0c7386610c35eb25108e448569cb0 # v2.7.0 diff --git a/.github/workflows/package-and-upload-assets.yml b/.github/workflows/package-and-upload-assets.yml index 6995a3b..f4e36d8 100644 --- a/.github/workflows/package-and-upload-assets.yml +++ b/.github/workflows/package-and-upload-assets.yml @@ -39,7 +39,7 @@ jobs: steps: - name: Checkout code at the new tag - uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5 + uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5 with: ref: ${{ github.event.release.tag_name }} @@ -117,7 +117,7 @@ jobs: contents: write steps: - name: Checkout code - uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5 + uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5 - name: Download all archives from workflow artifacts uses: actions/download-artifact@018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # v6 diff --git a/.github/workflows/presubmit-tests.yml b/.github/workflows/presubmit-tests.yml index 5562901..b330787 100644 --- a/.github/workflows/presubmit-tests.yml +++ b/.github/workflows/presubmit-tests.yml @@ -22,7 +22,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Check out code - uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5 + uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5 - name: Install Gemini CLI run: npm install @google/gemini-cli diff --git a/.github/workflows/sync-labels.yaml b/.github/workflows/sync-labels.yaml index 2d785ff..bf53511 100644 --- a/.github/workflows/sync-labels.yaml +++ b/.github/workflows/sync-labels.yaml @@ -29,7 +29,7 @@ jobs: issues: 'write' pull-requests: 'write' steps: - - uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 + - uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5.0.1 - uses: micnncim/action-label-syncer@3abd5ab72fda571e69fffd97bd4e0033dd5f495c # v1.3.0 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/.release-please-manifest.json b/.release-please-manifest.json index 4c5a1a0..a43290c 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "0.1.3" + ".": "0.1.4" } \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index bdbc9e3..da5adad 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,17 @@ # Changelog +## [0.1.4](https://github.com/gemini-cli-extensions/postgres/compare/0.1.3...0.1.4) (2025-12-01) + + +### Features + +* **tools/postgres:** Add `long_running_transactions`, `list_locks` and `replication_stats` tools ([genai-toolbox#​1751](https://redirect.github.com/googleapis/genai-toolbox/issues/1751)) ([5abad5d](https://redirect.github.com/googleapis/genai-toolbox/commit/5abad5d56c6cc5ba86adc5253b948bf8230fa830)) ([159f7d5](https://github.com/gemini-cli-extensions/postgres/commit/159f7d50673345dcec96903e90a8fd9d6383582f)) + + +### Bug Fixes + +* **tools:** Check for query execution error for pgxpool.Pool ([genai-toolbox#​1969](https://redirect.github.com/googleapis/genai-toolbox/issues/1969)) ([2bff138](https://redirect.github.com/googleapis/genai-toolbox/commit/2bff1384a3570ef46bc03ebebc507923af261987)) ([159f7d5](https://github.com/gemini-cli-extensions/postgres/commit/159f7d50673345dcec96903e90a8fd9d6383582f)) + ## [0.1.3](https://github.com/gemini-cli-extensions/postgres/compare/0.1.2...0.1.3) (2025-11-18) diff --git a/README.md b/README.md index 02f9818..16d44a6 100644 --- a/README.md +++ b/README.md @@ -44,8 +44,8 @@ gemini extensions install https://github.com/gemini-cli-extensions/postgres Set the following environment variables before starting the Gemini CLI. These variables can be loaded from a `.env` file. ```bash -export POSTGRES_HOST="" -export POSTGRES_PORT="" +export POSTGRES_HOST="" # Optional: defaults to localhost +export POSTGRES_PORT="" # Optional: defaults to 5432 export POSTGRES_DATABASE="" export POSTGRES_USER="" export POSTGRES_PASSWORD="" diff --git a/gemini-extension.json b/gemini-extension.json index 9630059..7874dfc 100644 --- a/gemini-extension.json +++ b/gemini-extension.json @@ -1,6 +1,6 @@ { "name": "postgres", - "version": "0.1.3", + "version": "0.1.4", "description": "Connect and interact with a PostgreSQL database and data", "mcpServers": { "postgresql": { diff --git a/toolbox_version.txt b/toolbox_version.txt index a881cf7..1db0ede 100644 --- a/toolbox_version.txt +++ b/toolbox_version.txt @@ -1 +1 @@ -0.20.0 \ No newline at end of file +0.21.0 \ No newline at end of file