| 1 |
# Harlequin-Postgres CHANGELOG |
| 2 |
|
| 3 |
All notable changes to this project will be documented in this file. |
| 4 |
|
| 5 |
## [Unreleased] |
| 6 |
|
| 7 |
## [1.4.1] - 2026-08-31 |
| 8 |
|
| 9 |
- Fixes noisy `rolling back returned connection:` warnings from `psycopg_pool`, one per catalog query, by returning pooled connections outside of a transaction. Catalog and completion queries now borrow their connection with `pool.connection()`, which also returns the connection to the pool if the query raises ([#61](https://github.com/tconbeer/harlequin-postgres/issues/61)). |
| 10 |
|
| 11 |
## [1.4.0] - 2026-08-29 |
| 12 |
|
| 13 |
- This adapter now supports Harlequin's `--read-only` option and declares `IMPLEMENTS_READ_ONLY`. Read-only connections are enforced by the server, using `set session characteristics as transaction read only` ([#58](https://github.com/tconbeer/harlequin-postgres/issues/58)). |
| 14 |
- This adapter now implements `search_catalog()` and declares `IMPLEMENTS_CATALOG_SEARCH`, so `hsql --catalog-search TERM` finds databases, schemas, relations (including materialized views), and columns in one query, instead of walking the catalog a level at a time ([#59](https://github.com/tconbeer/harlequin-postgres/issues/59)). |
| 15 |
- Catalog items now set `type_name`, the full type that their short `type_label` is shortened from: `BASE TABLE`, `VIEW`, `MATERIALIZED VIEW`, etc. for relations, and the column's type, as Postgres spells it, for columns. |
| 16 |
- This adapter now requires `harlequin>=2.11`, the first version with `CatalogSearchResult`. |
| 17 |
|
| 18 |
## [1.3.1] - 2026-04-19 |
| 19 |
|
| 20 |
- Fixes a bug causing user schemas starting with "pg" to be filtered out of the catalog. (#50) |
| 21 |
|
| 22 |
## [1.3.0] - 2025-10-29 |
| 23 |
|
| 24 |
- Drops support for Python 3.9; adds support for Python 3.14. |
| 25 |
- This project is now built using uv. |
| 26 |
|
| 27 |
## [1.2.2] - 2025-09-12 |
| 28 |
|
| 29 |
- Adds materialized views to the Data Catalog. Note: Harlequin can only show Materialized Views in the catalog for the currently-connected database ([#40](https://github.com/tconbeer/harlequin-postgres/issues/40) - thank you [@PadenZach](https://github.com/PadenZach)!). |
| 30 |
|
| 31 |
## [1.2.1] - 2025-09-12 |
| 32 |
|
| 33 |
- Fixes a bug where Harlequin would crash if you execute a query against a closed/lost database connection ([#42](https://github.com/tconbeer/harlequin-postgres/issues/42)). |
| 34 |
|
| 35 |
## [1.2.0] - 2025-02-27 |
| 36 |
|
| 37 |
- Adds interactions to list relations, indexes, constraints, and to describe relations (similar to psql's `\d+`) ([tconbeer/harlequin#586](https://github.com/tconbeer/harlequin/discussions/586) - thank you [@JPFrancoia](https://github.com/JPFrancoia)!). |
| 38 |
|
| 39 |
## [1.1.1] - 2025-02-05 |
| 40 |
|
| 41 |
- This adapter now supports `infinity` and `-infinity` dates and timestamps by loading their values as `date[time].max` or `date[time].min` ([tconbeer/harlequin#690](https://github.com/tconbeer/harlequin/issues/690)). |
| 42 |
|
| 43 |
## [1.1.0] - 2025-01-27 |
| 44 |
|
| 45 |
- This adapter now lazy-loads the catalog, which will dramatically improve the catalog performance for large databases with thousands of objects. |
| 46 |
- This adapter now implements interactions for catalog items, like dropping tables, setting the search path, etc. |
| 47 |
|
| 48 |
## [1.0.0] - 2025-01-07 |
| 49 |
|
| 50 |
- Drops support for Python 3.8 |
| 51 |
- Adds support for Python 3.13 |
| 52 |
- Adds support for Harlequin 2.X |
| 53 |
|
| 54 |
## [0.4.0] - 2024-08-20 |
| 55 |
|
| 56 |
- Upgrades client library to `psycopg3` (from `psycopg2`). |
| 57 |
- Adds an implementation of `connection_id` to improve catalog and history persistence. |
| 58 |
- Implements `cancel()` to interrupt in-flight queries. |
| 59 |
|
| 60 |
## [0.3.0] - 2024-07-22 |
| 61 |
|
| 62 |
- Adds an implementation of `close` to gracefully close the connection pool on Harlequin shut-down. |
| 63 |
- Adds support for Harlequin Transaction Modes and manual transactions. |
| 64 |
|
| 65 |
## [0.2.2] - 2024-01-09 |
| 66 |
|
| 67 |
- Sorts databases, schemas, and relations alphabetically; sorts columns ordinally. ([#10](https://github.com/tconbeer/harlequin-postgres/issues/10) - thank you [@frankbreetz](https://github.com/frankbreetz)!) |
| 68 |
|
| 69 |
## [0.2.1] - 2023-12-14 |
| 70 |
|
| 71 |
- Lowercases inserted values for keyword completions. |
| 72 |
|
| 73 |
## [0.2.0] - 2023-12-14 |
| 74 |
|
| 75 |
### Features |
| 76 |
|
| 77 |
- Implements get_completions for keywords, functions, and settings. |
| 78 |
|
| 79 |
## [0.1.3] - 2023-11-28 |
| 80 |
|
| 81 |
### Bug fixes |
| 82 |
|
| 83 |
- Implements connection pools instead of sharing a connection across threads. |
| 84 |
|
| 85 |
## [0.1.2] - 2023-11-27 |
| 86 |
|
| 87 |
### Bug fixes |
| 88 |
|
| 89 |
- Fixes issues with package metadata. |
| 90 |
|
| 91 |
## [0.1.1] - 2023-11-27 |
| 92 |
|
| 93 |
### Bug fixes |
| 94 |
|
| 95 |
- Fixes typo in release script. |
| 96 |
|
| 97 |
## [0.1.0] - 2023-11-27 |
| 98 |
|
| 99 |
### Features |
| 100 |
|
| 101 |
- Adds a basic Postgres adapter with most common connection options. |
| 102 |
|
| 103 |
[unreleased]: https://github.com/tconbeer/harlequin-postgres/compare/1.4.1...HEAD |
| 104 |
[1.4.1]: https://github.com/tconbeer/harlequin-postgres/compare/1.4.0...1.4.1 |
| 105 |
[1.4.0]: https://github.com/tconbeer/harlequin-postgres/compare/1.3.1...1.4.0 |
| 106 |
[1.3.1]: https://github.com/tconbeer/harlequin-postgres/compare/1.3.0...1.3.1 |
| 107 |
[1.3.0]: https://github.com/tconbeer/harlequin-postgres/compare/1.2.2...1.3.0 |
| 108 |
[1.2.2]: https://github.com/tconbeer/harlequin-postgres/compare/1.2.1...1.2.2 |
| 109 |
[1.2.1]: https://github.com/tconbeer/harlequin-postgres/compare/1.2.0...1.2.1 |
| 110 |
[1.2.0]: https://github.com/tconbeer/harlequin-postgres/compare/1.1.1...1.2.0 |
| 111 |
[1.1.1]: https://github.com/tconbeer/harlequin-postgres/compare/1.1.0...1.1.1 |
| 112 |
[1.1.0]: https://github.com/tconbeer/harlequin-postgres/compare/1.0.0...1.1.0 |
| 113 |
[1.0.0]: https://github.com/tconbeer/harlequin-postgres/compare/0.4.0...1.0.0 |
| 114 |
[0.4.0]: https://github.com/tconbeer/harlequin-postgres/compare/0.3.0...0.4.0 |
| 115 |
[0.3.0]: https://github.com/tconbeer/harlequin-postgres/compare/0.2.2...0.3.0 |
| 116 |
[0.2.2]: https://github.com/tconbeer/harlequin-postgres/compare/0.2.1...0.2.2 |
| 117 |
[0.2.1]: https://github.com/tconbeer/harlequin-postgres/compare/0.2.0...0.2.1 |
| 118 |
[0.2.0]: https://github.com/tconbeer/harlequin-postgres/compare/0.1.3...0.2.0 |
| 119 |
[0.1.3]: https://github.com/tconbeer/harlequin-postgres/compare/0.1.2...0.1.3 |
| 120 |
[0.1.2]: https://github.com/tconbeer/harlequin-postgres/compare/0.1.1...0.1.2 |
| 121 |
[0.1.1]: https://github.com/tconbeer/harlequin-postgres/compare/0.1.0...0.1.1 |
| 122 |
[0.1.0]: https://github.com/tconbeer/harlequin-postgres/compare/8611e628dc9d28b6a24817c761cd8a6da11a87ad...0.1.0 |