Skip to content

Commit c5ed0ca

Browse files
committed
Release ts-sql-query 2.0.0-alpha.1
1 parent f3537e5 commit c5ed0ca

File tree

2 files changed

+32
-1
lines changed

2 files changed

+32
-1
lines changed

docs/CHANGELOG.md

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,35 @@
11
# Change Log
22

3+
## v2.0.0-alpha.1 (2 Mar 2024)
4+
5+
**Removals**:
6+
7+
- Remove deprecated [any-db](https://www.npmjs.com/package/any-db) support and query runner.
8+
- Remove deprecated [LoopBack](https://loopback.io/) support and query runner.
9+
- Remove deprecated [msnodesqlv8](https://www.npmjs.com/package/msnodesqlv8) support and query runner.
10+
- Remove deprecated [tedious](https://www.npmjs.com/package/tedious) support and query runner. Tedious still available using [mssql](https://www.npmjs.com/package/mssql).
11+
- Remove deprecated [Prisma](https://www.prisma.io)'s short-running transactions support. Prisma's Long-running transactions continue supported.
12+
- Remove deprecated connections with extended types: `TypeSafeMariaDBConnection`, `TypeSafeMySqlConnection`, `TypeSafeNoopDBConnection`, `TypeSafeOracleConnection`, `TypeSafePostgreSqlConnection`, `TypeSafeSqliteConnection`, `TypeSafeSqlServerConnection`.
13+
- Remove `ts-extended-types` dependency.
14+
- Remove deprecated `stringInt` and `stringDouble` column types in favour of `customInt` and `customDouble`.
15+
- Remove long deprecated functions:
16+
17+
| Removed deprecated nam | Current name |
18+
| -------------------------- | ------------------ |
19+
| `smaller` | `lessThan` |
20+
| `smallAs` | `lessOrEquals` |
21+
| `larger` | `greaterThan` |
22+
| `largeAs` | `greaterOrEquals` |
23+
| `mod` | `modulo` |
24+
| `lower` | `toLowerCase` |
25+
| `upper` | `toUpperCase` |
26+
| `ltrim` | `trimLeft` |
27+
| `rtrim` | `trimRight` |
28+
| `replace` | `replaceAll` |
29+
| `replaceIfValue` | `replaceAllIfValue`|
30+
31+
- Remove long deprecated overload of functions in columns that allowed to send to the database null values in TypeScript when the type were optional.
32+
333
## v1.60.0 (25 Feb 2024)
434

535
**Changes**:

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "ts-sql-query",
3-
"version": "1.60.0",
3+
"version": "2.0.0-alpha.1",
44
"description": "Type-safe SQL query builder like QueryDSL or JOOQ in Java or Linq in .Net for TypeScript with MariaDB, MySql, Oracle, PostgreSql, Sqlite and SqlServer support.",
55
"license": "MIT",
66
"author": "juanluispaz",
@@ -41,6 +41,7 @@
4141
"coverage": "nyc sh ./scripts/run-all-examples.sh",
4242
"build": "rm -rf dist/*; tsc --version && tsc && npm run copy-prisma",
4343
"dist": "npm run build && cp LICENSE.md package.json README.md dist && cd dist && rm -Rf examples && npm publish",
44+
"dist-alpha": "npm run build && cp LICENSE.md package.json README.md dist && cd dist && rm -Rf examples && npm publish --tag alpha",
4445
"dist-beta": "npm run build && cp LICENSE.md package.json README.md dist && cd dist && rm -Rf examples && npm publish --tag beta",
4546
"docs": "mkdocs serve",
4647
"create-single-doc-file": "sh ./scripts/create-single-doc-file.sh"

0 commit comments

Comments
 (0)