212 Commits

Author SHA1 Message Date
Lucian Mocanu
546192767d
chore: update dependencies (#11811) 2025-11-29 05:54:38 +01:00
Pablo Thiele
dc74f5374e
fix(deps): upgrade glob to fix CVE-2025-64756 (#11784)
Co-authored-by: Oleg "OSA413" Sokolov <OSA413@users.noreply.github.com>
2025-11-20 23:20:05 +05:00
Piotr Kuczynski
bec548a7d4
ci: migrate from nyc to c8 (#11759)
Co-authored-by: Oleg "OSA413" Sokolov <OSA413@users.noreply.github.com>
2025-11-20 22:15:53 +05:00
Piotr Kuczynski
51fbcf4045
chore(dev-deps): bump eslint and update config (#11756) 2025-11-10 08:45:03 +01:00
Piotr Kuczynski
b9309098bc
feat(cli/init): pick dependencies versions from our own package.json (#11705) 2025-10-03 13:51:06 +07:00
Piotr Kuczynski
e0e7de14ca
ci: introduce jsdoc eslint plugin (warnings only) (#11681)
* ci: introduce jsdoc eslint plugin (warnings only)

* fixed

* fixed
2025-09-26 18:11:29 +02:00
Lucian Mocanu
d4f7b44fdf
chore: fix package preview (#11542) 2025-09-20 09:34:22 +02:00
Lucian Mocanu
c16ef63db7
chore: update dependencies (#11666) 2025-09-19 18:34:39 +02:00
Michael Bromley
9ea8577f42
chore: Release v0.3.27 (#11661) 2025-09-19 11:45:01 +02:00
Lucian Mocanu
8b76e1af74
feat(mysql): add support for MySQL 9 / MariaDB 12 (#11575) 2025-09-17 09:08:31 +02:00
Prateek Hegde
9cdfb20b12
chore: bump sha.js from 2.4.11 to 2.4.12 (fix security issue: CVE-2025-9288) (#11639)
* chore: bump sha.js from 2.4.11 to 2.4.12 (fix security issue: CVE-2025-9288)

* test: add unit tests for hash() to ensure sha.js upgrade compatibility

- Verify SHA1 output for known inputs
- Test truncation with options.length
- Handle empty string input
- Confirm deterministic behavior for identical inputs

* removed .only from test/unit/util/string-utils.ts to run all the unit tests

* fix(hash): ensure negative or zero options.length returns full hash

- Updated hash() to only truncate when options.length > 0
- Prevents accidental truncation when options.length is negative
- Maintains expected behavior for full-length hash

* added strict +ve number input validation for hash()

* simplified the logic to check number len before applying slice() in StringUtils.ts->hash()

---------

Co-authored-by: Prateek Hegde <prateek.hegde@deliverysolutions.co>
Co-authored-by: Prateek Hegde <prateek@Prateeks-MacBook-Pro.local>
2025-09-10 09:19:54 +12:00
Michael Bromley
4d204adf56
chore: Release v0.3.26 (#11602) 2025-08-18 17:32:25 +01:00
Park Jin Woong
17cf837ba9
feat(11528): add Redis 5.x support with backward compatibility wite peer dependency to allow (#11585)
* feat: add Redis 5 support to cache implementation

- Add version detection for Redis client to handle API differences
- Support Redis 5 Promise-based API while maintaining backward compatibility
- Update methods to use appropriate API based on Redis version
- Add tests for Redis 5 compatibility

Redis 5 introduced Promise-based API as default, replacing the callback-based
API. This change detects the Redis version and uses the appropriate API calls
to ensure compatibility with Redis 3, 4, and 5.

Closes #11528

* feat: add Redis 5 support to cache implementation

Implement automatic version detection for Redis client libraries to support
Redis 3, 4, and 5 seamlessly. The implementation uses runtime API testing
to determine the appropriate Redis client behavior without breaking existing
functionality.

Changes include:
  - Dynamic Redis version detection based on client API characteristics
  - Promise-based API support for Redis 5.x
  - Backward compatibility with Redis 3.x and 4.x callback-based APIs
  - Safe fallback mechanism defaulting to Redis 3 behavior
  - Updated peer dependency to include Redis 5.x versions

The cache implementation now automatically adapts to the installed Redis version, ensuring optimal performance and compatibility across all supported Redis client versions while maintaining full backward compatibility.

* fix: delete wrong migration guide

* feat: add package-lock.json

* refactor: optimize Redis client creation to reduce memory usage
Eliminate unnecessary Redis client recreation by using explicit tempClient
variable management, reducing potential client instances while maintaining
full Redis 3/4/5 compatibility and accurate version detection.

* refactor: improve Redis version detection to avoid cache pollution
Replace test key creation method with client method signature analysis
to prevent potential cache pollution and improve performance.

* style: apply Prettier formatting to RedisQueryResultCache.ts
2025-08-01 17:30:41 +02:00
Mohamed Akram
1ea3a5eb06
fix: support for better-sqlite3 v12 (#11557) 2025-07-03 20:35:13 +02:00
Lucian Mocanu
aebc7ebc67
feat(sap): use the native driver for connection pooling (#11520)
* feat(sap): use the native driver for connection pooling

* Add pool error handler
2025-07-01 23:43:12 +02:00
Lucian Mocanu
01dddfef97
fix: add stricter type-checking and improve event loop handling (#11540)
* refactor: minor type improvements

* chore: add type-checked eslint rules

* fix: enable no-misused-promises

* fix: enable no-floating-promises

* fix: enable await-thenable

* fix: enable require-await

* fix: enable no-misused-new

* refactor: enable no-namespace

* refactor: enable tseslint eslint recommended

* code review
2025-06-22 11:51:29 +02:00
Lucian Mocanu
abf8863a53
feat(sap): add support for REAL_VECTOR and HALF_VECTOR data types in SAP HANA Cloud (#11526)
* feat(sap): add support for REAL_VECTOR data type

* feat(sap): add support for HALF_VECTOR data type
2025-06-22 01:43:10 +02:00
Lucian Mocanu
eb3093d03a
chore: improve linting (fixup) (#11511) 2025-06-05 22:42:27 +02:00
Lucian Mocanu
61753b1adf
chore: improve linting (#11510) 2025-06-05 21:40:45 +02:00
Mike Guida
12a71e4581
chore: version 0.3.24 (#11478) 2025-05-14 12:00:37 -06:00
Naor Peled
2168441e6c
fix(ci): resolve pkg.pr.new publish failure
Co-authored-by: AmirHossein Sakhravi <amirhosseinpr184@gmail.com>
2025-05-11 19:53:08 +03:00
Maxim Bronnikov
a213bbd215
chore: Add husky and lint-staged (#11448)
Co-authored-by: maxbronnikov10 <maxbronnikov2004@gmail.com>
2025-05-08 21:53:45 -06:00
Eliya Cohen
c464ff87cb
feat: add tagged template for executing raw SQL queries (#11432)
* Added a new SQL tagged template feature for executing raw SQL queries with automatic parameter handling.

---------

Co-authored-by: Simon Garner <simon@equalogic.com>
2025-05-09 13:19:40 +12:00
Michael Bromley
80e9b3004a
chore: Version 0.3.23 (#11439) 2025-05-07 12:03:48 +02:00
Naor Peled
274bdf2e1a
feat: publish PR releases using pkg.pr.new 2025-05-02 23:09:42 +03:00
Lucian Mocanu
04f3d3ff4c
chore: fix changelog generation (#11381) 2025-04-04 19:50:49 +02:00
dependabot[bot]
055eafd2e4
build(deps): bump tar-fs from 2.1.1 to 2.1.2 (#11370)
Bumps [tar-fs](https://github.com/mafintosh/tar-fs) from 2.1.1 to 2.1.2.
- [Commits](https://github.com/mafintosh/tar-fs/compare/v2.1.1...v2.1.2)

---
updated-dependencies:
- dependency-name: tar-fs
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-04-03 19:37:22 +03:00
Michael Bromley
6c5668bd82
chore: Bump version to v0.3.22 and generate changelog (#11378) 2025-04-03 11:00:34 +02:00
Lucian Mocanu
fb06662bea
build: setup SAP HANA tests (#11347)
* build: setup SAP HANA tests

* test: fix/skip failing SAP HANA tests

* fix(sap): rename schema
2025-03-29 22:35:44 +01:00
Lucian Mocanu
6ba408214e
build: improve test workflow (#11361) 2025-03-26 22:10:19 +01:00
Lucian Mocanu
00d5639efb
chore: update dependencies (#11339)
* style: sort package json

* chore: update dependencies

* fix: update dependencies added by the init command

* fix: restore node 16/18 compatibility

* docs: update package description

* chore: remove unused dependencies
2025-03-21 19:57:18 +02:00
Assaf Sapir
40cc6886d5
chore: don't use version in docker-compose files (#11320) 2025-03-05 22:09:25 +02:00
Lucian Mocanu
988673c549
refactor: use ansis instead of chalk (#11263) 2025-02-27 19:53:59 +01:00
Michael Bromley
17a3c52855
chore: Fix release issues (#11303) 2025-02-20 14:56:54 +01:00
Joshua Mark Furtado
6c0c2bab63
fix: Add support for better-sqlite3 v10 and 11 (#11096) 2025-01-21 08:25:50 +01:00
Lucian Mocanu
1516cfebdd
refactor: use sql-highlight instead of cli-highlight (#11221) 2025-01-20 22:03:13 +01:00
Shenghan Gao
3a51160818
fix: Update mssql allowed version to fix vulnerability. (#10933) 2025-01-20 21:42:08 +01:00
Oleg "OSA413" Sokolov
9d1d3f1008
chore(test): Add Coverage on Coveralls (#11225)
use lcov by default
2025-01-09 11:03:32 +01:00
Lucian Mocanu
71addb2ef4
refactor: use node:fs/promises (#11206)
* refactor: use fs promises

* refactor: remove del, update rimraf
2024-12-30 09:33:51 +01:00
Lucian Mocanu
af7ac1c6d8
chore: migrate to ESLint flat config (#11205) 2024-12-29 16:33:46 +01:00
Oleg "OSA413" Sokolov
af603ae5cf
test: Expand node version matrix to node16, node18, and node20 (#11183) 2024-12-14 08:51:17 +01:00
Oleg "OSA413" Sokolov
14657737a4
chore: Update some packages and run npm audit fix (#11181)
Closes #11171
2024-12-12 14:11:30 +01:00
jeisberg
83567f5334
fix: composite key save issue (#10672)
* chore(TypeORM): Create test case to uncover TypeORM composite key save issue

* chore(TypeORM): Revert package.json test script alteration

* fix the issue

* fixed regression in 1551

* fixed test to prevent issues with auto increment when inserting rows in a different order

* fixed test to prevent issues with auto increment when inserting rows in a different order

---------

Co-authored-by: Umed Khudoiberdiev <pleerock.me@gmail.com>
2024-02-02 13:41:37 +05:00
ertl
7e85460f10
feat: add json type support for Oracle (#10611)
* refactor: remove oracle docker tests and update DEVELOPER.md

Since oracle runs at thin mode now. Now extra docker tests are needed

* chore: increase oracle version to 21c

* feat: add json column types to oracle

* fix: try to resolve pipeline issue to increase oracle waiting time

* fix: try remove networks from oracle to fix pipeline

* fix: add container name

* fix: add missing oracledb driver in package-lock.json

* fix: corrected tests

* fix: remove tests, since only work with old oracle db

* fix: correct tests

* fix: remove deprecated types

* fix: add missing grant for materialized views

* fix: oracle-isolation.ts test

* fix: issue-3363.ts test

* fix: schema in tests
2024-01-26 10:27:28 +05:00
Lucian Mocanu
c22e30f1d2
build: set TS compile target to ES2021 (#10595)
* build: set TS compile target to ES2021

* docs: update minimum supported node version

* build: use @tsconfig/node16
2024-01-04 09:57:12 +05:00
Dmitry Zotov
633c4e36a6 fixed glob import 2024-01-03 17:59:36 +05:00
Umed Khudoiberdiev
5464dec2fa version bump 2024-01-03 17:42:18 +05:00
dependabot[bot]
b5d2599301
build(deps-dev): bump the npm_and_yarn group group with 1 update (#10591)
Bumps the npm_and_yarn group group with 1 update: [gulp-mocha](https://github.com/sindresorhus/gulp-mocha).


Updates `gulp-mocha` from 8.0.0 to 10.0.0
- [Release notes](https://github.com/sindresorhus/gulp-mocha/releases)
- [Commits](https://github.com/sindresorhus/gulp-mocha/compare/v8.0.0...v10.0.0)

---
updated-dependencies:
- dependency-name: gulp-mocha
  dependency-type: direct:development
  dependency-group: npm_and_yarn-security-group
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-03 17:23:54 +05:00
Dmitry Zotov
15bc8876f8
build: update CircleCI config & repair failing tests (#10590)
* updated CircleCI config

* fixed failing test

* fixed failing test

* fixed failing test

* fixed failing test

* fixed CockroachDB enum sync;
removed redundant await;
fixed failing tests;

* fixing failing tests

* fixing failing tests

* added check for empty commands

* fixed failing tests

* fixed failing tests

* fixed failing test
2024-01-03 13:32:17 +05:00
Markus Fürer
b188c1e634
chore: initial setup of ESLint (#10203)
* build: 👷 Initial setup of ESLint

* build: 👷 show erros as warnings

* refactor: ♻️ example of rule "no-var"

* build: 🚨 add rule "no-unsafe-optional-chaining"
2024-01-02 12:04:37 +05:00