Debian Codegraph @

CHANGELOG.md

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