| 1 | # harlequin-mysql 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 | - Adds support for Harlequin's `--read-only` option: every connection runs `set session transaction read only`, so the server refuses DML and DDL ([#46](https://github.com/tconbeer/harlequin-mysql/issues/46)). |
| 10 | - Adds catalog search: `hsql --catalog-search TERM` finds databases, tables, views, and columns, in one query ([#47](https://github.com/tconbeer/harlequin-mysql/issues/47)). |
| 11 | - Catalog items now carry `type_name`, the full type as MySQL spells it, like `decimal(18,2)`. |
| 12 | - Bumps the required Harlequin version to >= 2.11. |
| 13 | |
| 14 | ## [1.3.1] - 2026-08-05 |
| 15 | |
| 16 | - Fixes a crash after executing a `USE <database>;` statement, caused by the trailing semicolon (or backticks) being parsed as part of the database name ([tconbeer/harlequin#982](https://github.com/tconbeer/harlequin/issues/982)). |
| 17 | - Failures to get a connection from the pool are now raised as query errors, so Harlequin displays them instead of crashing. |
| 18 | |
| 19 | ## [1.3.0] - 2025-10-29 |
| 20 | |
| 21 | - Drops support for Python 3.9; adds support for Python 3.14 |
| 22 | - This project is now built using uv. |
| 23 | |
| 24 | ## [1.2.0] - 2025-08-20 |
| 25 | |
| 26 | - Adds the `--enable-cleartext-plugin` option ([#32](https://github.com/tconbeer/harlequin-mysql/pull/32) - thank you, [r-cha](https://github.com/r-cha)!) |
| 27 | |
| 28 | ## [1.1.0] - 2025-01-28 |
| 29 | |
| 30 | - Bumps the MySQL Connector Python version to >=9.1 |
| 31 | - Bumps the required Harlequin version to >= 1.25.0 |
| 32 | - Adds support for the `openid_token_file` connection option introduced with MySQL Connector 9.1 |
| 33 | - This adapter now lazy-loads the catalog, which will dramatically improve the catalog performance for large databases with thousands of objects. |
| 34 | - This adapter now implements interactions for catalog items, like dropping tables, inserting columns at the cursor, etc. |
| 35 | |
| 36 | ## [1.0.0] - 2025-01-07 |
| 37 | |
| 38 | - Drops support for Python 3.8 |
| 39 | - Adds support for Python 3.13 |
| 40 | - Adds support for Harlequin 2.X |
| 41 | |
| 42 | ## [0.3.0] - 2024-08-20 |
| 43 | |
| 44 | - Implements `connection_id` for better persistence. |
| 45 | - Implements the `cancel()` protocol to cancel in-flight queries. |
| 46 | - Implements `close()` |
| 47 | - Fixes a bug where a race condition could cause a crash with an `AssertionError` ([#14](https://github.com/tconbeer/harlequin-mysql/issues/14) - thank you [@blasferna](https://github.com/blasferna)!). |
| 48 | |
| 49 | ## [0.2.0] - 2024-04-11 |
| 50 | |
| 51 | ### Features |
| 52 | |
| 53 | - Adds a `pool-size` CLI option to set the size of the MySQL connection pool. Defaults to 5. |
| 54 | |
| 55 | ### Bug Fixes |
| 56 | |
| 57 | - Updates the connection pool config to keep all connections in sync after running a `use database` command ([#11](https://github.com/tconbeer/harlequin-mysql/issues/11) - thank you [@mlopezgva](https://github.com/mlopezgva)!). |
| 58 | - Handles several issues caused by running too many concurrent queries and not fetching results. |
| 59 | |
| 60 | ## [0.1.3] - 2024-01-29 |
| 61 | |
| 62 | ### Fixes |
| 63 | |
| 64 | - Fixes a typo in the help text for the `--user` option (thank you [@alexmalins](https://github.com/alexmalins)!). |
| 65 | |
| 66 | ## [0.1.2] - 2024-01-25 |
| 67 | |
| 68 | ### Fixes |
| 69 | |
| 70 | - Sets the `pool_name` property on the MySQL connection to prevent auto-generated pool names from being too long ([#6](https://github.com/tconbeer/harlequin-mysql/issues/6) - thank you [sondeokhyeon](https://github.com/sondeokhyeon)!). |
| 71 | |
| 72 | ## [0.1.1] - 2024-01-09 |
| 73 | |
| 74 | ### Fixes |
| 75 | |
| 76 | - Sorts relation names alphabetically and columns by ordinal position. |
| 77 | |
| 78 | ## [0.1.0] - 2023-12-14 |
| 79 | |
| 80 | ### Features |
| 81 | |
| 82 | - Adds a basic MySQL adapter with most common connection options. |
| 83 | |
| 84 | [unreleased]: https://github.com/tconbeer/harlequin-mysql/compare/1.4.0...HEAD |
| 85 | [1.4.0]: https://github.com/tconbeer/harlequin-mysql/compare/1.3.1...1.4.0 |
| 86 | [1.3.1]: https://github.com/tconbeer/harlequin-mysql/compare/1.3.0...1.3.1 |
| 87 | [1.3.0]: https://github.com/tconbeer/harlequin-mysql/compare/1.2.0...1.3.0 |
| 88 | [1.2.0]: https://github.com/tconbeer/harlequin-mysql/compare/1.1.0...1.2.0 |
| 89 | [1.1.0]: https://github.com/tconbeer/harlequin-mysql/compare/1.0.0...1.1.0 |
| 90 | [1.0.0]: https://github.com/tconbeer/harlequin-mysql/compare/0.3.0...1.0.0 |
| 91 | [0.3.0]: https://github.com/tconbeer/harlequin-mysql/compare/0.2.0...0.3.0 |
| 92 | [0.2.0]: https://github.com/tconbeer/harlequin-mysql/compare/0.1.3...0.2.0 |
| 93 | [0.1.3]: https://github.com/tconbeer/harlequin-mysql/compare/0.1.2...0.1.3 |
| 94 | [0.1.2]: https://github.com/tconbeer/harlequin-mysql/compare/0.1.1...0.1.2 |
| 95 | [0.1.1]: https://github.com/tconbeer/harlequin-mysql/compare/0.1.0...0.1.1 |
| 96 | [0.1.0]: https://github.com/tconbeer/harlequin-mysql/compare/f2caef7de11e68bb2b9798fb597c3fc05044b71e...0.1.0 |