Skip to content

Releases: wsporto/typesql

v0.14.2

28 Nov 17:41
Compare
Choose a tag to compare

What's Changed

SQLite:

  • Added support for char function

Full Changelog: v0.14.1...v0.14.2

v0.14.1

27 Nov 00:56
Compare
Choose a tag to compare

What's Changed

SQLite:

  • Added support for pipe operator (||)
  • Added support for trim, ltrim, rtrim and replace functions
  • Allow usage of column alias in WHERE expression

Full Changelog: v0.14.0...v0.14.1

v0.14.0

26 Nov 19:45
Compare
Choose a tag to compare

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

25 Nov 00:44
Compare
Choose a tag to compare

What's Changed

  • handle SQLite generated columns

Full Changelog: v0.13.0...v0.13.1

v0.13.0

17 Nov 00:59
Compare
Choose a tag to compare

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

31 Oct 00:50
Compare
Choose a tag to compare

What's Changed

  • Add support for cloudflare d1 database

Full Changelog: v0.11.1...v0.12.0

v0.11.1

18 Oct 13:39
Compare
Choose a tag to compare

Full Changelog: v0.11.0...v0.11.1

v0.11.0

28 Sep 18:36
Compare
Choose a tag to compare

What's Changed

  • Add support for emulated enum types in SQLite.

Full Changelog: v0.10.8...v0.11.0

v0.10.8

23 Sep 22:02
Compare
Choose a tag to compare

Full Changelog: v0.10.7...v0.10.8

v0.10.7

12 Sep 02:49
Compare
Choose a tag to compare

What's Changed

  • sqlite: add experimental support for loading an extension.

Full Changelog: v0.10.6...v0.10.7