Releases: wsporto/typesql
Releases · wsporto/typesql
v0.14.2
v0.14.1
What's Changed
SQLite:
- Added support for pipe operator (
||
) - Added support for
trim
,ltrim
,rtrim
andreplace
functions - Allow usage of column alias in WHERE expression
Full Changelog: v0.14.0...v0.14.1
v0.14.0
New Features:
- Added initial support for JSON functions.
Supported JSON Functions:
Scalar functions:
json
jsonb
json_array
jsonb_array
json_array_length
json_error_position
json_extract
jsonb_extract
Table-valued functions:
json_each
json_tree
Full Changelog: v0.13.1...v0.14.0
v0.13.1
v0.13.0
What's Changed
As of this release, index.ts
now exports modules with the .js
extension by default.
Before:
export * from "./select-users";
export * from "./select-posts";
After:
export * from "./select-users.js";
export * from "./select-posts.js";
You can configure the file extension for module exports via the moduleExtension
property in the typesql.json
configuration file.
Property:
"moduleExtension": "ts" | "js"
Example Configuration:
{
"moduleExtension": "ts"
}
This will make the index.ts
file export with .ts
extensions(e.g., export * from './select-users.ts'
), instead of the default .js.
Full Changelog: v0.12.0...v0.13.0
v0.12.0
v0.11.1
Full Changelog: v0.11.0...v0.11.1
v0.11.0
v0.10.8
Full Changelog: v0.10.7...v0.10.8
v0.10.7
What's Changed
- sqlite: add experimental support for loading an extension.
Full Changelog: v0.10.6...v0.10.7