v0.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
execrows
andexecresult
for driverasyncpg
(rayakame) - #75 Code coverage tooling (rayakame)
- #74 Added
ConnectionLike
instead ofasyncpg.Connection
which allows also using connection pools (AlexanderHott) - #82 Added tests for
aiosqlite
driver with 100% coverage (rayakame) - #86 Added tests for
sqlite3
driver with 100% coverage (rayakame) - #86 Brought
sqlite3
back to full compatibility (rayakame) - #87 Added support for
:copyfrom
for driverasyncpg
(rayakame)
Deprecated
Changed
- #63 Removed unnecessary
msgspec.field()
andattrs.field()
for models. (rayakame) - #74
:many
queries now returnQueryResults
allowing both iteration over rows and fetching rows. (rayakame)
Fixed
- #70 Fixed the
uv sync
command in CONTRIBUTING.md and added an example docker command to create a postgres instance for testing. (AlexanderHOtt) - #82 Brought
aiosqlite
back 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: 4abc65163287f21bbb10325f7ba0b2f5aefd13e316e59af06e9b5d73c83ca4b5