Releases: RobinBlomberg/kysely-codegen
Releases · RobinBlomberg/kysely-codegen
0.9.0
- 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)
0.8.0
Notable changes
- Added support for PostgreSQL scalar arrays (e.g.
TEXT[]
) - thanks @johynpapin! - Included --include-pattern and --exclude-pattern options in programatic API - thanks @antoineneff!
- Fixed crash when using programmatic API
- Fixed camel-case output
0.7.0
Notable changes
- Added MySQL/PostgreSQL enum support
- Added
--include-pattern
and--exclude-pattern
CLI options - Adjusted programmatic API
- Loosened peer dependency requirement
0.6.0
Notable changes
- Added support for inserting numbers into Decimal fields
- Added support for using RawBuilder in Timestamp fields
- Improved
json
andjsonb
typings
0.5.0
Notable changes
- Added camel case support
0.4.0
Notable changes
- Added MySQL support
- Added PostgreSQL schema support
- Made generated PostgreSQL and SQLite types more accurate
- Made module usable as a library
- Made
--dialect
CLI option optional - Removed
--format
CLI option - Implemented new AST-based transformer/serializer to allow for more advanced generation