Drift 2.17.0
simolus3
released this
20 Apr 13:56
·
575 commits
to develop
since this release
Core
- Add the
TypeConverter.extensionType
factory to create type converters for extension types. - Fix invalid SQL syntax being generated for
BLOB
literals on postgres. - Add a
setup
parameter toSchemaVerifier
. It is called when the verifier creates database connections (similar to the callback onNativeDatabase
) and can be used to register custom functions.
Generator
- Adds
companion
entry toDataClassName
to override the name of the generated companion class. - Fix drift using the wrong import alias in generated part files.
- Add the
use_sql_column_name_as_json_key
builder option. - Fix parsing binary literals in drift files.
- Expand support for
IN
expressions in drift files, they now support tuples on the left-hand side and the shorthand syntax for table references and table-valued functions. - Allow custom class names for
CREATE VIEW
statements. - Support the
INT64
hint forCREATE TABLE
statements.