554 Commits

Author SHA1 Message Date
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
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
Lucian Mocanu
8c2b2ae240
style: lint repository (#11346)
* style: lint uncommon rules

* style: fix `no-wrapper-object-types`

* fix: type errors after Object -> object change

* style: fix `prefer-const`

* build: add eslint/prettier exclusions
2025-03-20 22:15:39 +02:00
Mike Guida
de8eb04c72
build: run format in ci (#11342)
* style: run format on existing files

* build: run format in ci

* build: add format:ci to check formatting in ci
2025-03-20 20:27:09 +02:00
Michael Bromley
206af0aa39
chore: Bump version 0.3.21 (#11314) 2025-03-03 09:02:10 +01: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
Rohan Talip
08cea16ac5
chore: added --cache to prettier call (#10865) 2025-01-20 21:19:34 +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
Oleg "OSA413" Sokolov
e7649d2746
fix: moved reflect-metadata to peerDependencies and set version to "^0.1.14 || ^0.2.0" (#10779) 2024-03-28 20:06:13 +05:00
Umed Khudoiberdiev
3d55188c0d version bump 2024-01-26 16:18:56 +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
Umed Khudoiberdiev
73e3b49edc version bump 2024-01-03 19:43:45 +05:00
Umed Khudoiberdiev
5464dec2fa version bump 2024-01-03 17:42:18 +05:00
Umed Khudoiberdiev
b6ef306d88 updated glob version 2024-01-03 17:24:25 +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
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
ertl
3af891a8e6
feat: use node-oracledb 6 (#10285)
* chore: increase oracledb version

* feat: optionally use thick client

BREAKING CHANGE: With node-oracledb the thin client is used as default. Added a option to use the thick client. Also added the option to specify the instant client lib

closes: #10277

* fix: make thick driver the default, to assure an easy transition from version 5 to 6

* fix: make thin driver default again

Since there should be no problems with oracle db version >= 12.1
For oracle db < 12.1 the thick client must be used.

* chore: increase oracledb to 6.1.0

* chore: increase oracledb to 6.2.0 and added new option binaryDir

* refactor: fix linting

* update oracledb to 6.3.0
2023-12-29 20:20:34 +05:00
Dinko Osrecki
f6bb6711e2
feat: support mssql@10 (#10356)
* feat: add support for mssql@10

Add mssql@10 to peerDependency, alongside mssql@9.
Update tests to use latest version of mssql and Node v16.

Closes: #10340

* fixed failing test

---------

Co-authored-by: Alex Messer <dmzt08@gmail.com>
2023-12-29 19:46:52 +05:00
Julien MUNIO
cf7147fa7c
fix: remove date-fns in favor of DayJs (#10306)
* Migration of DateUtils to DayJs

* lint

---------

Co-authored-by: julien.munio-ext <julien.munio-ext@arkema.com>
2023-12-29 16:22:55 +05:00
Peter
75ec8f2032
fix: bump better-sqlite3 version range (#10452) 2023-12-29 15:48:19 +05:00
Alec Brunelle
3647b269cc
feat: support for MongoDB 6.x (#10545)
The return value of `findOneAndX` family of MongoDB methods
now includes `null` when no document is found. This is a
breaking change from the previous behavior of returning
a result with metadata describing when a document is not found.
See: https://github.com/mongodb/node-mongodb-native/blob/HEAD/etc/notes/CHANGES_6.0.0.md
2023-12-29 15:22:28 +05:00
dependabot[bot]
befe4f9cbf
build(deps-dev): bump mongodb from 5.4.0 to 5.8.0 (#10321)
Bumps [mongodb](https://github.com/mongodb/node-mongodb-native) from 5.4.0 to 5.8.0.
- [Release notes](https://github.com/mongodb/node-mongodb-native/releases)
- [Changelog](https://github.com/mongodb/node-mongodb-native/blob/v5.8.0/HISTORY.md)
- [Commits](https://github.com/mongodb/node-mongodb-native/compare/v5.4.0...v5.8.0)

---
updated-dependencies:
- dependency-name: mongodb
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-02 14:52:09 +05:00
Guilherme Nogueira
78b2f4805c
feat: implements QueryFailedError generic for driverError typing (#10253)
* chore: linting result

* feat: implements generic to driver error
2023-08-19 20:40:15 +05:00
Umed Khudoiberdiev
a909d5b697 version bump 2023-06-20 12:47:22 -07:00
Umed Khudoiberdiev
abb9079f2b version bump 2023-05-09 23:57:55 +05:00
Umed Khudoiberdiev
54f4f8986a revert: "refactor: remove date-fns package (#9634)"
This reverts commit 1fcd9f38
2023-05-09 13:45:13 +05:00
spotykatch
99bef49128
fix: mongodb typings breaks the browser version (#9962)
* fix: exclude mongodb typings from browser

Closes: #9959

fix: delete unnessecary dummy file

* another fix for bson typings problem in browser

---------

Co-authored-by: Umed Khudoiberdiev <pleerock.me@gmail.com>
2023-05-09 13:42:23 +05:00
Umed Khudoiberdiev
589056162c version bump 2023-04-15 18:26:02 +05:00
mptr
f6a3ce732d
feat: support for the latest mongodb v5 (#9925)
* fix: add support for mongodb driver v5

This new fix allow support to mongodb driver v5

Closes: #7907

* refactor: remove callback from MongoDriver connect

* fix: check for propertyName in transform

* fix: add support for mongodb driver v5

This new fix allow support to mongodb driver v5

Closes: #7907

* feat: mongodb 5.2.0 typings

* fix: instanceof ObjectId check

Instanceof check now no longer references to just the
type but the loaded class ref instead.

* test: fix test name to mongodb v5

---------

Co-authored-by: Matheus Melo Antiquera <matheusantiquera@finchsolucoes.com.br>
Co-authored-by: tgrassl <grassl.timon@gmail.com>
Co-authored-by: Matheus Melo Antiquera <matheus.melo.a@hotmail.com>
2023-04-15 13:30:01 +05:00
Umed Khudoiberdiev
5e3c565dce version bump 2023-04-09 11:39:56 +05:00
Umed Khudoiberdiev
7dac12c2b1
fix: drop xml & yml connection option support (#9930) 2023-04-09 11:30:28 +05:00
Umed Khudoiberdiev
0194f179fe version bump 2023-04-06 14:25:06 +05:00
dependabot[bot]
4fa14e396a
build(deps): bump jsonwebtoken and mssql (#9700)
Bumps [jsonwebtoken](https://github.com/auth0/node-jsonwebtoken) to 9.0.0 and updates ancestor dependency [mssql](https://github.com/tediousjs/node-mssql). These dependencies need to be updated together.


Updates `jsonwebtoken` from 8.5.1 to 9.0.0
- [Release notes](https://github.com/auth0/node-jsonwebtoken/releases)
- [Changelog](https://github.com/auth0/node-jsonwebtoken/blob/master/CHANGELOG.md)
- [Commits](https://github.com/auth0/node-jsonwebtoken/compare/v8.5.1...v9.0.0)

Updates `mssql` from 7.3.0 to 9.0.1
- [Release notes](https://github.com/tediousjs/node-mssql/releases)
- [Changelog](https://github.com/tediousjs/node-mssql/blob/master/CHANGELOG.txt)
- [Commits](https://github.com/tediousjs/node-mssql/compare/v7.3.0...v9.0.1)

---
updated-dependencies:
- dependency-name: jsonwebtoken
  dependency-type: indirect
- dependency-name: mssql
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-05 16:45:53 +05:00