850 Commits

Author SHA1 Message Date
Roman Ostolosh
24a0369673
docs: update repository additional chunk option usage example (#11282)
* docs: update repository additional chunk option usage example

* Update docs/repository-api.md

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

* Update docs/repository-api.md

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

---------

Co-authored-by: Jovana Đurić <63621526+jovanadjuric@users.noreply.github.com>
Co-authored-by: Mike Guida <mike@mguida.com>
2025-04-17 22:31:07 +02:00
Pieter Wigboldus
4c8fc3a7cb
feat: add FormattedConsoleLogger (#11401)
* fix: Build ESM migrations for JS

Including jsdoc for typehinting
Add esm as an option in the migrate cli
Update the documentation for the JS migrations

Closes: #10801

* fix: Fix the migration documentation

* Cleanup the types in the migrations

* Add the formatted sql console

* Add the formatSql to the logger

* Update src/logger/FormattedConsoleLogger.ts

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Make names in test more consistent

* Add a sub query example

* Set the language to the sql formatter

* Import SqlLanguage as a type from sql-formatter

* Remove empty console log

* Remove console log

* Add the dataSourceType

* Remove js extension from import

* Use another package to format the SQL in the logging

Same package as we use to generate the migrations

* Not need to add all the spaces in the log

* Fix the expected formatted queries

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-04-16 18:55:23 +02:00
iliagrvch
046aebe696
feat: Add query timeout support for MySql (#10846)
Add "enableQueryTimeout" option to MysqlConnectionOptions. When enabled the value of "maxQueryExecutionTime" will be passed to mysql driver as query timeout.

---------

Co-authored-by: Mike Guida <mike@mguida.com>
2025-04-15 12:17:04 -06:00
Jovana Đurić
c15cb077a7
docs(entity-subscribers): document primary key availability in UpdateEvent (#11308)
* docs(entity-subscribers): describe UpdateEvent behavior

* Update docs/listeners-and-subscribers.md

Co-authored-by: Simon Garner <simon@equalogic.com>

---------

Co-authored-by: Simon Garner <simon@equalogic.com>
2025-04-05 14:45:22 +02:00
Pieter Wigboldus
7c5ea99b31
feat: generate ESM migrations via esm flag (#10802)
Including jsdoc for typehinting
Add esm as an option in the migrate cli
Update the documentation for the JS migrations

fixes #10801

Co-authored-by: Mike Guida <mike@mguida.com>
2025-04-04 12:05:33 -06:00
Yevhen Komarov
6ebae3b795
feat: add new foreign key decorator, and entity schemas options (#11144)
* feat: add new foreign key decorator, and entity schemas options

This new feature adds the ability to create foreign key constraints without entity relations, using `@ForeignKey()` decorator or entity schema options.

Closes: #4569
2025-04-04 10:22:40 +13:00
Lucian Mocanu
460ef023ba
fix(sap): normalize deprecated/removed data types in SAP HANA Cloud (#11356)
* fix(sap): SAP HANA Cloud data types

* fix(sap): fall back to regular index when fulltext is not supported

* fix: remove dead code
2025-04-01 20:54:54 +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
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
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
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
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 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
Victor Domene Gimeno
1cd3ff729d
docs: Update relations.md (#11161) 2025-02-14 21:13:27 +01:00
Arthur Peruzzo
0d082463ce
docs: Update select-query-builder.md (#10763)
Crystal Maiden, not Cristal.
2025-01-20 21:20:49 +01:00
Ahmed Radwan
65026cc509
docs: clarify adjacency list (#10664)
Closes: #2540
2025-01-05 22:16:25 +01:00
Mykyta
c293bd278d
docs: fix imports in Or find operator example (#10689) 2025-01-05 22:12:27 +01:00
LucoEldritch
f4e97d754d
docs: Update mongodb.md (#10718) 2025-01-05 22:09:07 +01:00
Jacob Sánchez
025318b8c8
docs: Include info about using soft delete in Repository API (#10722) 2025-01-05 22:07:18 +01:00
Kunal Garg
4d319020ff
docs: Update eager-and-lazy-relations.md (#10791) 2025-01-05 21:58:00 +01:00
Ivan Vlahov
cf69b64312
docs: documentation for parameters in Repository, DataSource, EntityManager query methods (#10848) 2025-01-05 21:53:05 +01:00
Mykola Kryshchuk
c27e4e83b5
docs: update find-options (#10877) 2025-01-05 21:45:28 +01:00
Guillaume Lhermenier
43e3a07e1e
docs: removed dead link about using typeorm with DI from faq.md (#10886) 2025-01-05 21:44:10 +01:00
YoungKi Lyu
c1ff5d3fa5
docs: add Lock tables in Set Locking (#10921) 2025-01-05 21:42:55 +01:00
Oussama Moussaoui
2844cbc7c8
docs: fix connection options description (#10935) 2025-01-05 21:37:53 +01:00
임채성
54bed9d56d
docs: update deprecated naming (#11017)
Connection is deprecated, so updated naming 'connection' to 'dataSource'.
2025-01-05 21:36:37 +01:00
Hlib Omelchenko
4f643a51af
docs: fix spacing (#11052) 2025-01-05 21:34:40 +01:00
Felipe Pena
6fe7afa747
docs: Update select-query-builder.md (#11120) 2025-01-05 21:24:10 +01:00
standage-thanh
9d15cbdaee
docs: update many-to-many-relations.md (#10699) 2025-01-05 21:13:03 +01:00
Victor Domene Gimeno
30f801f9f0
docs: Update select-query-builder.md (#11166)
change row by column y description
2024-12-30 09:27:45 +01:00
Abdul Aziz Al Basyir
b2d26b07ec
docs: Update data-source-options.md (#11207) 2024-12-29 16:24:03 +01:00
Joel Stimson
a3a7d75bbe
docs: Remove links to defunct Vesper project (#11195) 2024-12-18 11:11:52 +01:00
Abdul Aziz Al Basyir
755191e8cb
docs: Some sentence updated for datasource doc (#11182) 2024-12-12 14:13:16 +01:00
Michael Bromley
6927a65bfb chore: Replace Slack links with Discord
The community has officially moved to Discord
2024-11-28 13:38:53 +01:00
David Höck
db508424c8
chore(docs): add announcement (#11125)
* chore: add announcement file

* chore: add link from home page to announcement

* fix: link to announcement in readme

* chore: remove todo

* chore: add Tauri links
2024-11-08 13:09:13 +01:00
OrangeSheepCool
28a83834ee
docs: update the custom-repository.md file in the docs/zh_CN directory (#10676)
Co-authored-by: OrangeSheepCool <chenyangshuang@qutke.com>
2024-02-02 00:50:54 +05:00
Xayrulloh
dd8c0fdb7e
docs: grammar mistake fixed (#10647)
Let => Lets
2024-01-26 11:55:25 +05:00
Niels Stinissen
d0b76703cc
feat: add postgres multirange column types (#10627)
* feat: add postgres multirange column types

Adds int4-, int8-, num-, ts-, tstz-, date-multirange column types for postgres
Update docs to include multirange column types
Update functional column-types-postgres test to test multirange column types

Closes: #10556

* style: run npm run format

---------

Co-authored-by: Dmitry Zotov <dmzt08@gmail.com>
2024-01-26 11:33:16 +05:00
Alessio Napolitano
032f5350e1
docs: add documentation for .orIgnore method (#10607) 2024-01-26 11:18:18 +05:00
Alessio Napolitano
62f574bc5b
docs: add And operator example (#10603) 2024-01-26 11:00:11 +05:00
Alessio Napolitano
8aa8690f94
fix: resolve issue CREATE/DROP Index concurrently (#10634)
Closes: #10626
2024-01-26 10:38:30 +05:00
Mansur Ibrahim Nok
b67ae360f6
docs: update the content of one-to-one to be more grammatically complete (#10645) 2024-01-26 10:34:40 +05:00
Esdras Rodrigues do Carmo
d3a2e53801
docs: fix table of contents missing sections (#10625) 2024-01-26 10:33:15 +05:00
Kobe Kwanten
15de46fd5d
revert "feat: nullable embedded entities (#10289)" (#10614)
This reverts commit e67d7041387df78c69599c1d3c880389a935ffbf.
2024-01-08 22:20:36 +05:00
zhennann
b5ec0889f7
docs: update Chinese faq.md (#10593) 2024-01-03 09:52:50 +05:00
Deep khurana
a00b1df68f
feat: implement OR operator (#10086)
* feat: implement or operator

This new feature enables typeorm to allow use multiple operators joining with or

Closes: #10054

* feat: implement or operator

Completed code formating using command.

Closes: #10054

* feat: implement or operator

Completed the documentation update.

Closes: #10054

* feat: implement or operator

Renamed Or operator file name.

Closes: #10054

* feat: implement or operator

Renamed Or operator file name.

Closes: #10054

* feat: implement or operator

Renamed Or operator file name.

Closes: #10054

* feat: implement or operator

Renamed Or operator.

Closes: #10054
2024-01-02 15:01:01 +05:00
seungwonleee
4329996086
docs: update Soft-Delete, Restore-Soft-Delete examples (#10585)
The getRepository method is missing from the example.
Delete the "users" written in the createQueryBuilder method because it is not used in the where method.
2024-01-02 14:26:19 +05:00