v0.8.0
Added
- Kotlin extension functions (
extension_functions, opt-in) forkotlin-jdbcandkotlin-r2dbc. Generates idiomatic extension functions on the connection receiver —fun Connection.getUser(id: Int), called asconnection.getUser(id)— with expression bodies for value-returning queries.kotlin-r2dbcis reworked into asuspendextension onio.r2dbc.spi.Connection. Default off; existing output unchanged. (#43) - Configurable PHP namespace (
namespace) forphp-pdoandphp-amphp, enabling PSR-4 framework integration. Default remainsApp\Generated; an empty string omits the declaration. (#46)
Fixed
- Postgres 18 compatibility: the schema parser no longer crashes on psql meta-commands (
\restrict/\unrestrict) emitted bypg_dump 18+anddbmate. Such lines are stripped before parsing, so plain-format dumps are consumed as-is. (#49) - Python imports:
python-psycopg3,python-asyncpg, andpython-aiomysqlnow emitimport uuid/from typing import Anywhen their type mappings need them, fixing aNameErroron import of generated modules. (#48)
Full Changelog: v0.7.0...v0.8.0