Skip to content

Releases: juanluispaz/ts-sql-query

1.65.0

24 Aug 15:38
Compare
Choose a tag to compare

Changes:

  • Add support to transaction metadata that allows sharing of information across the application within a transaction.

1.64.0

18 Apr 19:54
Compare
Choose a tag to compare

Changes:

  • Add support to aggregateAsArrayDistinct and aggregateAsArrayOfOneColumnDistinct to allow aggregate as array distinct values.
  • LoggingQueryRunner: Use performance.now() in non-Node environments.

1.63.0

20 Mar 22:04
Compare
Choose a tag to compare

Bug fixes:

  • Fix insert multiple no-inserting records when setForAllIfHasNoValue is called and the records to insert contain a single record

1.62.0

11 Mar 11:33
Compare
Choose a tag to compare

Changes:

  • Add support to custom reusable SQL fragments that the returning value can be optional or required depending on the provided arguments.

2.0.0-alpha.2

02 Mar 16:28
Compare
Choose a tag to compare
2.0.0-alpha.2 Pre-release
Pre-release

Removals:

  • Remove deprecated mergeType additional utility type. Use connection.dynamicBooleanExpressionUsing instead.
  • Remove deprecated composing and splitting results functionality long warned to be removed in ts-sql-query. Use complex projections or aggregate as an object array instead.

2.0.0-alpha.1

02 Mar 08:50
Compare
Choose a tag to compare
2.0.0-alpha.1 Pre-release
Pre-release

Removals:

  • Remove deprecated any-db support and query runner.

  • Remove deprecated LoopBack support and query runner.

  • Remove deprecated msnodesqlv8 support and query runner.

  • Remove deprecated tedious support and query runner. Tedious still available using mssql.

  • Remove deprecated Prisma's short-running transactions support. Prisma's Long-running transactions continue supported.

  • Remove deprecated connections with extended types: TypeSafeMariaDBConnection, TypeSafeMySqlConnection, TypeSafeNoopDBConnection, TypeSafeOracleConnection, TypeSafePostgreSqlConnection, TypeSafeSqliteConnection, TypeSafeSqlServerConnection.

  • Remove ts-extended-types dependency.

  • Remove deprecated stringInt and stringDouble column types in favour of customInt and customDouble.

  • Remove long deprecated functions:

    Removed deprecated nam Current name
    smaller lessThan
    smallAs lessOrEquals
    larger greaterThan
    largeAs greaterOrEquals
    mod modulo
    lower toLowerCase
    upper toUpperCase
    ltrim trimLeft
    rtrim trimRight
    replace replaceAll
    replaceIfValue replaceAllIfValue
  • Remove long deprecated overload of functions in columns that allowed to send to the database null values in TypeScript when the type were optional.

1.61.0

02 Mar 12:15
Compare
Choose a tag to compare

Changes:

  • Deprecate composing and splitting results functionality long warned to be removed in ts-sql-query. Use complex projections or aggregate as an object array instead.
  • Deprecate mergeType additional utility type. Use Use connection.dynamicBooleanExpressionUsing instead.

1.60.0

25 Feb 13:09
Compare
Choose a tag to compare

Changes:

  • Allow to use notEqualsInsensitive in dynamic filters previously not included in the white list of allowed functions.
  • Deprecate Tedious and MsNode query runners in favour of mssql.
  • Deprecate Prisma's short-running transactions support.
  • Deprecate stringInt and stringDouble in favour of customInt and customDouble.
  • Deprecated database connections with extended types: TypeSafeMariaDBConnection, TypeSafeMySqlConnection, TypeSafeOracleConnection, TypeSafePostgreSqlConnection, TypeSafeSqliteConnection, TypeSafeSqlServerConnection.

1.59.0

18 Feb 20:27
Compare
Choose a tag to compare

Changes:

  • Add support to more custom types: customInt, customDouble, customUuid, customLocalDate, customLocalTime, customLocalDateTime.
  • Add the possibility to get some metadata regarding the query execution in a query runner: the query execution stack, information about the function that requests to execute the query, knowing if the query is a select count in a select page, allowing to specify an execution name, allow to specify additional metadata for the execution.

Documentation changes:

  • Improve documentation, making the simplified type definition more explicit.

1.58.0

28 Jan 18:23
Compare
Choose a tag to compare

Changes:

  • Add support to complex projections in compound select (union, intersect, etc.)

Bug fixes:

  • Fix missing with in compound select queries (union, intersect, etc.)