Releases: rayakame/sqlc-gen-better-python
v0.4.5
Warning
Every Release before v1.0.0, including this one is an early alpha release. These versions are only released for interested people who want to test this plugin and help make it better.
v0.4.5 - 2025-09-03
Added
- #122 Add
omit_typechecking_blocksoption (davfsa) - #124 Added config option
omit_kwargs_limit. (rayakame)
Dependencys
plugins:
- name: python
wasm:
url: https://github.com/rayakame/sqlc-gen-better-python/releases/download/v0.4.5/sqlc-gen-better-python.wasm
sha256: 9b42f7cffda942388470e777af957ec8ab03cbea9124ff8c49bef05f9d00cb66v0.4.4
Warning
Every Release before v1.0.0, including this one is an early alpha release. These versions are only released for interested people who want to test this plugin and help make it better.
v0.4.4 - 2025-05-30
Changed
Fixed
- #112 Added
columnskwarg to:copyfromforasyncpgto fix inserts for columns with default values (rayakame)
plugins:
- name: python
wasm:
url: https://github.com/rayakame/sqlc-gen-better-python/releases/download/v0.4.4/sqlc-gen-better-python.wasm
sha256: b0d544244edd80dfd4c768c23c133ae7e3a00d03978e33efa5ddaa55ea2845e0v0.4.3
Warning
Every Release before v1.0.0, including this one is an early alpha release. These versions are only released for interested people who want to test this plugin and help make it better.
v0.4.3 - 2025-05-28
Fixed
plugins:
- name: python
wasm:
url: https://github.com/rayakame/sqlc-gen-better-python/releases/download/v0.4.3/sqlc-gen-better-python.wasm
sha256: c178ef76085ab4737a9a83f1147662ff0a9a24b8513405880fdfcde3ad30ca66v0.4.2
Warning
Every Release before v1.0.0, including this one is an early alpha release. These versions are only released for interested people who want to test this plugin and help make it better.
v0.4.2 - 2025-05-25
Added
- #104 Enabled ruff
previewconfig option. (rayakame) - #105 Added support for type overrides, allowing users to specify their own python types for specific sql types. (rayakame)
plugins:
- name: python
wasm:
url: https://github.com/rayakame/sqlc-gen-better-python/releases/download/v0.4.2/sqlc-gen-better-python.wasm
sha256: 9db2bada2a5f30dc0a48047e026d25e08dc169315df4c4836e7900a1f1eb85e6v0.4.1
Warning
Every Release before v1.0.0, including this one is an early alpha release. These versions are only released for interested people who want to test this plugin and help make it better.
v0.4.1 - 2025-05-23
Fixed
- #97 Added
NonetoQueryResultsArgsType(rayakame)
Thanks to @null-domain for finding this issue!
plugins:
- name: python
wasm:
url: https://github.com/rayakame/sqlc-gen-better-python/releases/download/v0.4.1/sqlc-gen-better-python.wasm
sha256: 4e01958114e2fb577782d94dc81556ef43aa3c7d8e1aa3f7ba31e781c443f731v0.4.0
Warning
Every Release before v1.0.0, including this one is an early alpha release. These versions are only released for interested people who want to test this plugin and help make it better.
v0.4.0 - 2025-05-21
Added
- #59 Added hyperlink to github profile of contributors in the changelog (rayakame)
- #63 Added strict output tests & ci to prevent bugs from happening (rayakame)
- #66 Added an example sqlc.yaml to README.md (AlexanderHOtt)
- #69 Added config option to auto generate docstrings for generated python code. (rayakame)
- #74 Added support for query annotations
execrowsandexecresultfor driverasyncpg(rayakame) - #75 Code coverage tooling (rayakame)
- #74 Added
ConnectionLikeinstead ofasyncpg.Connectionwhich allows also using connection pools (AlexanderHott) - #82 Added tests for
aiosqlitedriver with 100% coverage (rayakame) - #86 Added tests for
sqlite3driver with 100% coverage (rayakame) - #86 Brought
sqlite3back to full compatibility (rayakame) - #87 Added support for
:copyfromfor driverasyncpg(rayakame)
Deprecated
Changed
- #63 Removed unnecessary
msgspec.field()andattrs.field()for models. (rayakame) - #74
:manyqueries now returnQueryResultsallowing both iteration over rows and fetching rows. (rayakame)
Fixed
- #70 Fixed the
uv synccommand in CONTRIBUTING.md and added an example docker command to create a postgres instance for testing. (AlexanderHOtt) - #82 Brought
aiosqliteback to full compatibility (rayakame) - #82 Fixed incorrect typing of query function arguments for nullable fields. (null-domain)
plugins:
- name: python
wasm:
url: https://github.com/rayakame/sqlc-gen-better-python/releases/download/v0.4.0/sqlc-gen-better-python.wasm
sha256: 4abc65163287f21bbb10325f7ba0b2f5aefd13e316e59af06e9b5d73c83ca4b5v0.3.1
Warning
Every Release before v1.0.0, including this one is an early alpha release. Currently, there is 0% test coverage and these versions are only released for interested people who want to test this plugin and help make it better.
v0.3.1 - 2025-05-07
Fixed
- #50 Fixed missing
__init__return type annotation and connection parameter type when usingasyncpgdriver. (tandemdude) - #53 Wrong deserialization of
datetime.datetimewhen usingasyncpg(rayakame) - #53 Fixed unnecessary type conversion when returning data from queries using
asyncpg(rayakame)
plugins:
- name: python
wasm:
url: https://github.com/rayakame/sqlc-gen-better-python/releases/download/v0.3.1/sqlc-gen-better-python.wasm
sha256: 6e2a6d4d4a2320e32ebc25bf718342d97d2de75fc6fd00bf196ca3e5edca6ee8v0.3.0
Warning
Every Release before v1.0.0, including this one is an early alpha release. Currently, there is 0% test coverage and these versions are only released for interested people who want to test this plugin and help make it better.
v0.3.0 - 2025-05-05
Added
- #37 Added
debugconfig option to enable debug output. (rayakame) - #38 Added documentation for every configuration option in the
README. (rayakame) - #39 Added
emit_init_fileconfiguration option to control__init__.pycreation. (rayakame) - #40 Added support for
msgspecmodel type. (rayakame)
Fixed
- #41 Fixed missing empty lines when using
asyncpgdriver. (rayakame)
plugins:
- name: python
wasm:
url: https://github.com/rayakame/sqlc-gen-better-python/releases/download/v0.3.0/sqlc-gen-better-python.wasm
sha256: 4808c257bbdd0acb6c57032f9dae2db7aa3fc464f2bf87f3d27895c4e3556a90v0.2.0
Warning
Every Release before v1.0.0, including this one is an early alpha release. Currently, there is 0% tests coverage and these versions are only released for interested people who want to test this plugin and help make it better.
v0.2.0 - 2025-05-05
Added
- #29 Added early driver support for
asyncpg. Only has support forexec,manyandone(rayakame)
Fixed
- #31 Missing return statements for
:execresult,:execrowsand:execlastidforaiosqliteandsqlite3(rayakame)
plugins:
- name: python
wasm:
url: https://github.com/rayakame/sqlc-gen-better-python/releases/download/v0.2.0/sqlc-gen-better-python.wasm
sha256: 777dd5044cd30554740b48eeca07bb4ef1c37306c63dda6235f352376d35c3afv0.1.0
v0.1.0 - 2025-04-01
Added
Changed
- #20 Query functions now don't take param-structs (rayakame)
plugins:
- name: python
wasm:
url: https://github.com/rayakame/sqlc-gen-better-python/releases/download/v0.1.0/sqlc-gen-better-python.wasm
sha256: 7565eaf91222d3c90de2b6ec15180fd15a494783d8be4ef40a1c5c120e1fa07a