5625 Commits

Author SHA1 Message Date
Mohamed Akram
81bb9d53e8
fix: update mongodb connection options (#11310) 2025-03-31 00:32:20 +02:00
Nicklas Laine Overgaard
03dbc7a697
fix: export QueryEvent before/after types (#10688)
* fix: export * from `subscriber/event/QueryEvent`

Otherwise it's impossible to create a listener/subscriper that is using
the Before/After query event types

* docs: clarify that QueryEvent execution time result is in ms
2025-03-30 11:31:52 +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
4e31a8648a
refactor: database server version fetching & comparison (#11357) 2025-03-26 11:41:07 +01:00
Muhammad Ghayas Baig
834e85692f
fix: FindOptionsSelect to use correct type when property is an object (#11355)
* fix: FindOptionsSelectProperty or boolean when Property is object

* fix: add test cases for find options select

* fix: use simple-json for tests
2025-03-25 15:40:42 +05: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
Sudhir Shrestha
ecae9f5990
fix: ensure correct MSSQL parameter conversion in where conditions
Fixes input parameter conversion in SelectQueryBuilder when using an MSSQL connection.

Closes #11285
2025-03-20 23:24:23 +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
John Chan
b0ea913f4e
feat(postgres): support macaddr8 column type
Signed-off-by: John Chan <john.chan@sgwireless.com>
2025-03-19 16:13:12 +05:00
Oleg "OSA413" Sokolov
5d6d893662
test: fix and run tests on Windows (#11257)
* Skip tests that don't work on Windows

* Bring back tests on Windows

* Skip the test on all platforms exept Windows

* Make the test run only on Windows

* Add simple winodws test

* fix cli test on Windows

* let's see if this test passes on linux

* limit test to Windows and run format

* Add withPlatform test helper

* Mock platform in file path tests using withPlatform()

* Fix test: relative paths should not change on non-win32 platforms

* Lowercase relative path on non-win32 platform

* test: add better-sqlite3 and sqlite for Windows tests

---------

Co-authored-by: Simon Garner <simon@equalogic.com>
2025-03-14 16:01:46 +05:00
Lucian Mocanu
ae96f87923
fix: empty objects being hydrated when eager loading relations that have a @VirtualColumn (#10927) 2025-03-14 10:05:19 +01:00
Naor Peled
8429e8f9cc
ci: add CodeQL workflow 2025-03-14 00:02:42 +02:00
Doug Ayers
ba47b62379
chore(test): set timezone to UTC (#11247)
Fixes #11246

To mitigate timezone discrepancies with timestamps in tests with hard coded assertions, standardize on UTC

Co-authored-by: Mike Guida <mike@mguida.com>
2025-03-12 21:56:33 +05:00
Oleg "OSA413" Sokolov
deb0e81398
test: rename tests to better describe the case (#11280)
Fixes #10863
2025-03-12 21:40:55 +05:00
Dmitrii Tkachenko
72145b859d
fix: remove unnecessary import from JS migration (#11327)
* fix: omit ts import for js migration

* test: javascript template create

* test: remove TS from JS templates

* chore: update docs
2025-03-10 19:46:42 +02:00
François de Bellescize
5a276a4f30
Add VirtualColumn to model shim (#11331)
Co-authored-by: Francois de Bellescize <francois.debellescize@ekimetrics.com>
2025-03-10 17:38:16 +05:00
Lucian Mocanu
27b4207c48
fix(sap): incorrect handling of simple array/json data type (#11322) 2025-03-06 14:00:33 +01:00
Lucian Mocanu
04ca83a72f
fix(sap): pass the configured schema to the db client (#11321) 2025-03-06 12:57:12 +01:00
Assaf Sapir
40cc6886d5
chore: don't use version in docker-compose files (#11320) 2025-03-05 22:09:25 +02:00
Robbert Korving
513be336c8
docs: add "How to use Vite for the backend" entry to faq (#11306)
* docs: add "How to use Vite for the backend" entry to faq

* Apply suggestions from code review

docs: apply suggested grammar and spelling changes

Co-authored-by: Mike Guida <mike@mguida.com>

* Apply suggestions from code review

docs: add link to vite documentation

Co-authored-by: Mike Guida <mike@mguida.com>

---------

Co-authored-by: Mike Guida <mike@mguida.com>
2025-03-04 07:56:53 -07:00
Lucian Mocanu
673b6ceb88
Merge pull request #11264 from alumni/fix-transaction-issues 2025-03-03 20:30:50 +01:00
Lucian Mocanu
759cf7cf54 test: issue #11269 2025-03-03 15:35:06 +01:00
Lucian Mocanu
50a660aecc fix: inverse relation metadata not cyclic 2025-03-03 15:35:05 +01:00
Lucian Mocanu
a08ebbdea0 test: improve nested transactions tests 2025-03-03 15:35:05 +01:00
Lucian Mocanu
7aa4f3c3e0 Revert "fix: nested transactions issues (#10210)"
This reverts commit 25e6ecdfd23569b4b6ba15b845b4444927386f42.
2025-03-03 15:35:05 +01:00
Lucian Mocanu
3044e7a233 test: fix cockroach tests 2025-03-03 15:35:05 +01:00
Michael Bromley
206af0aa39
chore: Bump version 0.3.21 (#11314) 0.3.21 2025-03-03 09:02:10 +01:00
Joel Myers
d52ecf60a7
Update eager-and-lazy-relations.md (#10757)
Tweaking copy in eager and lazy relations doc for better readability.

Co-authored-by: Michael Bromley <michaelbromley@users.noreply.github.com>
2025-02-27 18:53:49 -07: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
Michael Dippery
9d862c8a53
docs: correct "it's" -> "its"
"It's" is a contraction for "it is". "its" is the possessive form of
"it".
2025-02-19 09:08:43 +02:00
Maciej Kasprzyk
87b9fad737
docs: fix missing DataSource in migrations config (#11249) 2025-02-14 21:17:09 +01:00
Quang Nguyen
5f6039289c
docs: add performance and optimizing (#11068) 2025-02-14 21:16:08 +01:00
Alper Cugun
e3056d15ef
docs: Improve DEVELOPER.md documentation (#11289) 2025-02-14 21:14:02 +01:00
Victor Domene Gimeno
1cd3ff729d
docs: Update relations.md (#11161) 2025-02-14 21:13:27 +01:00
Naor Peled
981cf820ab
fix(npm-readme): resolve missing image file pt. 2 (#11291) 2025-02-14 21:00:19 +01:00
Naor Peled
c554f58835
fix(npm-readme): resolve missing image file (#11290) 2025-02-14 17:42:41 +01:00
David Höck
b9263d50d6
chore: Add new logo (#11276)
* chore: Add new logo to README

* chore: Remove announcement teaser in README

* fix: Revert format changes in README.md
2025-02-06 17:38:33 +01:00
Oleg "OSA413" Sokolov
79960e136d
chore: replace CircleCI badge with GitHub Actions (#11230) 2025-01-21 22:46: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
Arthur Peruzzo
0d082463ce
docs: Update select-query-builder.md (#10763)
Crystal Maiden, not Cristal.
2025-01-20 21:20:49 +01:00
Rohan Talip
08cea16ac5
chore: added --cache to prettier call (#10865) 2025-01-20 21:19:34 +01:00
Herasymovych Ihor
7a384be0f6
fox: Fix maximum call stack error (#10733) 2025-01-20 21:11:52 +01:00
Orhan Özalp
340f933f6d
refactor: Rename SubjectTopoligicalSorter as SubjectTopologicalSorter (#11074) 2025-01-20 21:04:21 +01:00
Mohamed Akram
7bea198b9b
perf: improve results transformer performance (#10349) 2025-01-19 17:57:45 +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