| 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.0] - 2026-08-29 |
| 8 | |
| 9 | - 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)). |
| 10 | - 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)). |
| 11 | - 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. |
| 12 | - This adapter now requires `harlequin>=2.11`, the first version with `CatalogSearchResult`. |
| 13 | |
| 14 | ## [1.3.1] - 2026-04-19 |
| 15 | |
| 16 | - Fixes a bug causing user schemas starting with "pg" to be filtered out of the catalog. (#50) |
| 17 | |
| 18 | ## [1.3.0] - 2025-10-29 |
| 19 | |
| 20 | - Drops support for Python 3.9; adds support for Python 3.14. |
| 21 | - This project is now built using uv. |
| 22 | |
| 23 | ## [1.2.2] - 2025-09-12 |
| 24 | |
| 25 | - 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)!). |
| 26 | |
| 27 | ## [1.2.1] - 2025-09-12 |
| 28 | |
| 29 | - 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)). |
| 30 | |
| 31 | ## [1.2.0] - 2025-02-27 |
| 32 | |
| 33 | - 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)!). |
| 34 | |
| 35 | ## [1.1.1] - 2025-02-05 |
| 36 | |
| 37 | - 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)). |
| 38 | |
| 39 | ## [1.1.0] - 2025-01-27 |
| 40 | |
| 41 | - This adapter now lazy-loads the catalog, which will dramatically improve the catalog performance for large databases with thousands of objects. |
| 42 | - This adapter now implements interactions for catalog items, like dropping tables, setting the search path, etc. |
| 43 | |
| 44 | ## [1.0.0] - 2025-01-07 |
| 45 | |
| 46 | - Drops support for Python 3.8 |
| 47 | - Adds support for Python 3.13 |
| 48 | - Adds support for Harlequin 2.X |
| 49 | |
| 50 | ## [0.4.0] - 2024-08-20 |
| 51 | |
| 52 | - Upgrades client library to `psycopg3` (from `psycopg2`). |
| 53 | - Adds an implementation of `connection_id` to improve catalog and history persistence. |
| 54 | - Implements `cancel()` to interrupt in-flight queries. |
| 55 | |
| 56 | ## [0.3.0] - 2024-07-22 |
| 57 | |
| 58 | - Adds an implementation of `close` to gracefully close the connection pool on Harlequin shut-down. |
| 59 | - Adds support for Harlequin Transaction Modes and manual transactions. |
| 60 | |
| 61 | ## [0.2.2] - 2024-01-09 |
| 62 | |
| 63 | - 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)!) |
| 64 | |
| 65 | ## [0.2.1] - 2023-12-14 |
| 66 | |
| 67 | - Lowercases inserted values for keyword completions. |
| 68 | |
| 69 | ## [0.2.0] - 2023-12-14 |
| 70 | |
| 71 | ### Features |
| 72 | |
| 73 | - Implements get_completions for keywords, functions, and settings. |
| 74 | |
| 75 | ## [0.1.3] - 2023-11-28 |
| 76 | |
| 77 | ### Bug fixes |
| 78 | |
| 79 | - Implements connection pools instead of sharing a connection across threads. |
| 80 | |
| 81 | ## [0.1.2] - 2023-11-27 |
| 82 | |
| 83 | ### Bug fixes |
| 84 | |
| 85 | - Fixes issues with package metadata. |
| 86 | |
| 87 | ## [0.1.1] - 2023-11-27 |
| 88 | |
| 89 | ### Bug fixes |
| 90 | |
| 91 | - Fixes typo in release script. |
| 92 | |
| 93 | ## [0.1.0] - 2023-11-27 |
| 94 | |
| 95 | ### Features |
| 96 | |
| 97 | - Adds a basic Postgres adapter with most common connection options. |
| 98 | |
| 99 | [unreleased]: https://github.com/tconbeer/harlequin-postgres/compare/1.4.0...HEAD |
| 100 | [1.4.0]: https://github.com/tconbeer/harlequin-postgres/compare/1.3.1...1.4.0 |
| 101 | [1.3.1]: https://github.com/tconbeer/harlequin-postgres/compare/1.3.0...1.3.1 |
| 102 | [1.3.0]: https://github.com/tconbeer/harlequin-postgres/compare/1.2.2...1.3.0 |
| 103 | [1.2.2]: https://github.com/tconbeer/harlequin-postgres/compare/1.2.1...1.2.2 |
| 104 | [1.2.1]: https://github.com/tconbeer/harlequin-postgres/compare/1.2.0...1.2.1 |
| 105 | [1.2.0]: https://github.com/tconbeer/harlequin-postgres/compare/1.1.1...1.2.0 |
| 106 | [1.1.1]: https://github.com/tconbeer/harlequin-postgres/compare/1.1.0...1.1.1 |
| 107 | [1.1.0]: https://github.com/tconbeer/harlequin-postgres/compare/1.0.0...1.1.0 |
| 108 | [1.0.0]: https://github.com/tconbeer/harlequin-postgres/compare/0.4.0...1.0.0 |
| 109 | [0.4.0]: https://github.com/tconbeer/harlequin-postgres/compare/0.3.0...0.4.0 |
| 110 | [0.3.0]: https://github.com/tconbeer/harlequin-postgres/compare/0.2.2...0.3.0 |
| 111 | [0.2.2]: https://github.com/tconbeer/harlequin-postgres/compare/0.2.1...0.2.2 |
| 112 | [0.2.1]: https://github.com/tconbeer/harlequin-postgres/compare/0.2.0...0.2.1 |
| 113 | [0.2.0]: https://github.com/tconbeer/harlequin-postgres/compare/0.1.3...0.2.0 |
| 114 | [0.1.3]: https://github.com/tconbeer/harlequin-postgres/compare/0.1.2...0.1.3 |
| 115 | [0.1.2]: https://github.com/tconbeer/harlequin-postgres/compare/0.1.1...0.1.2 |
| 116 | [0.1.1]: https://github.com/tconbeer/harlequin-postgres/compare/0.1.0...0.1.1 |
| 117 | [0.1.0]: https://github.com/tconbeer/harlequin-postgres/compare/8611e628dc9d28b6a24817c761cd8a6da11a87ad...0.1.0 |