- Added support for passing database connection to generator
- Added type-only imports and added
--type-only-imports
CLI option (default:true
)- The generated code now uses the TypeScript 3.8+
import type
syntax to avoid generating unnecessary JavaScript code
- The generated code now uses the TypeScript 3.8+
- Fixed SQLite booleans not being parsed as numbers - thanks @valtyr!
- Made tests platform-agnostic (using the SQLite in-memory database instead of a hard-coded path)
- Removed obsolete usage of
RawBuilder
- Updated better-sqlite3 peerDependency version to support version 8 - thanks @spa5k!
- Updated dependencies
- This means that the generated column order is no longer alphabetical (see kysely-org/kysely#262)