All notable changes to this project will be documented in this file.
- #122 Add
omit_typechecking_blocksoption (davfsa) - #124 Added config option
omit_kwargs_limit. (rayakame)
- #112 Added
columnskwarg to:copyfromforasyncpgto fix inserts for columns with default values (rayakame)
- #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)
- #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)
- #63 Removed unnecessary
msgspec.field()andattrs.field()for models. (rayakame) - #74
:manyqueries now returnQueryResultsallowing both iteration over rows and fetching rows. (rayakame)
- #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)
- #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)
- #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)
- #41 Fixed missing empty lines when using
asyncpgdriver. (rayakame)
- #29 Added early driver support for
asyncpg. Only has support forexec,manyandone(rayakame)
- #31 Missing return statements for
:execresult,:execrowsand:execlastidforaiosqliteandsqlite3(rayakame)
- #20 Query functions now don't take param-structs (rayakame)