Skip to content

Latest commit

 

History

History
85 lines (73 loc) · 7.13 KB

File metadata and controls

85 lines (73 loc) · 7.13 KB

Changelog

All notable changes to this project will be documented in this file.

v0.4.5 - 2025-09-03

Added

Dependencys

  • #125 Updated sqlc to v1.30.0 used for testing the plugin (rayakame)

v0.4.4 - 2025-05-30

Changed

  • #112 Improved :execrows performance for asyncpg and added speedup option for :execrows (rayakame)

Fixed

  • #112 Added columns kwarg to :copyfrom for asyncpg to fix inserts for columns with default values (rayakame)

v0.4.3 - 2025-05-28

Fixed

  • #109 Fixed missing model import when using :copyfrom cmd. (rayakame)

v0.4.2 - 2025-05-25

Added

  • #104 Enabled ruff preview config option. (rayakame)
  • #105 Added support for type overrides, allowing users to specify their own python types for specific sql types. (rayakame)

v0.4.1 - 2025-05-23

Fixed

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 and execresult for driver asyncpg (rayakame)
  • #75 Code coverage tooling (rayakame)
  • #74 Added ConnectionLike instead of asyncpg.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 driver asyncpg (rayakame)

Changed

  • #63 Removed unnecessary msgspec.field() and attrs.field() for models. (rayakame)
  • #74 :many queries now return QueryResults allowing both iteration over rows and fetching rows. (rayakame)

Deprecated

  • #63 Added id to reserved keywords so that it will appear as id_ (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)

v0.3.1 - 2025-05-07

Fixed

  • #50 Fixed missing __init__ return type annotation and connection parameter type when using asyncpg driver. (tandemdude)
  • #53 Wrong deserialization of datetime.datetime when using asyncpg (rayakame)
  • #53 Fixed unnecessary type conversion when returning data from queries using asyncpg (rayakame)

v0.3.0 - 2025-05-05

Added

  • #37 Added debug config option to enable debug output. (rayakame)
  • #38 Added documentation for every configuration option in the README. (rayakame)
  • #39 Added emit_init_file configuration option to control __init__.py creation. (rayakame)
  • #40 Added support for msgspec model type. (rayakame)

Fixed

  • #41 Fixed missing empty lines when using asyncpg driver. (rayakame)

v0.2.0 - 2025-05-05

Added

  • #29 Added early driver support for asyncpg. Only has support for exec, many and one (rayakame)

Fixed

  • #31 Missing return statements for :execresult, :execrows and :execlastid for aiosqlite and sqlite3 (rayakame)

v0.1.0 - 2025-04-01

Added

  • #17 Added support for driver sqlite3 (rayakame)
  • #21 Added support for sqlc.embed() (rayakame)

Changed

  • #20 Query functions now don't take param-structs (rayakame)

v0.0.1 - 2025-03-31

Added

  • #13 Added emit_classes config option that, if enabled, puts all the queries into classes (rayakame)
  • #14 Added changelog functionality (rayakame)