Piotr Kuczynski
806ea0a502
Merge branch 'master' into next
...
# Conflicts:
# .github/workflows/commit-validation.yml
# .github/workflows/preview.yml
# .github/workflows/publish-package.yml
# README-zh_CN.md
# README_ko.md
# docs/docs/query-runner.md
# eslint.config.mjs
# package-lock.json
# package.json
# src/commands/InitCommand.ts
# src/driver/sqlserver/MssqlParameter.ts
# test/utils/xfail.ts
2025-11-20 19:16:41 +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
Lucian Mocanu
a7c387bc14
refactor!: replace glob with tinyglobby, remove rimraf ( #11699 )
2025-10-01 09:52:04 +02:00
Lucian Mocanu
7fb6ba7ed9
feat!: drop support for node 16 and 18 ( #11382 )
...
BREAKING CHANGE: TypeORM is now compiled for ECMAScript 2023, meaning old versions of Node.js are no longer supported. The minimum supported version of Node.js is 20.
2025-09-30 18:51:33 +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
Michael Bromley
17a3c52855
chore: Fix release issues ( #11303 )
2025-02-20 14:56:54 +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
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
Gilad S
3a694dd3e9
feat: ESM support ( #8536 )
...
* feat: support importing TypeORM in esm projects
Closes : #6974
Closes : #6941
* bugfix: generate index.mjs directly out of commonjs exports
The new implementation generates ESM exports directly out of the commonjs exports, and provides a default export to maintain compatability with existing `import`s of the commonjs implementation
* feat: support loading ESM entity and connection config files
When TypeORM tries to load an entity file or a connection config file, it will determine what is the appropriate module system to use for the file and then `import` or `require` it as it sees fit.
Closes : #7516
Closes : #7159
* fix: adapt ImportUtils.importOrRequireFile tests to older version of nodejs
* fix: improved importOrRequireFile implementation
* feat: add solution to circular dependency issue in ESM projects
* docs: added FAQ regarding ESM projects
* chore: add `"type": "commonjs"` to package.json
* style
* docs: improve `ts-node` usage examples for CLI commands in ESM projects
* feat: add support for generating an ESM base project
* refactor: renamed `Related` type to `Relation`
* docs: added a section in the Getting Started guide regarding the `Relation` wrapper type in ESM projects
* docs: improved documentation of the `Relation` type
* docs: improved documentation of the `Relation` type
* docs: added ESM support to the list of TypeORM features
2022-01-31 14:25:58 +05:00
Joe Flateau
6929ae3e44
chore: add a script to produce a packed tgz of the module ( #8110 )
...
This makes it easier to install custom builds in local projects
2021-11-06 18:16:49 +05:00
James Ward
b8239d0d72
chore: drop gulp test runner code ( #7879 )
2021-07-09 20:34:14 -04:00
James Ward
180fbd415d
fix: add dummy for FileLogger, ConnectionOptionsReaders, and update gulpfile ( #6763 )
2020-09-26 08:03:30 +05:00
James Ward
c714867d3d
fix: ensure browser builds don't include any non-browser modules ( #6743 )
...
currently we pull in BetterSqlite3Driver, SqliteDriver, and a few other
drivers & files that aren't possible to use in a browser context.
this change adds some more browser compatibility features so
webpack builds targeted at browsers will be able to complete
closes #6739
2020-09-19 13:02:03 +05:00
James Ward
259ad0ee18
chore: use eslint instead of tslint ( #6452 )
2020-07-24 19:45:43 +03:00
Umed Khudoiberdiev
b422c3bfc2
updated deps and fixed commands
2019-03-02 02:49:39 +05:00
zackzachariah
910f0f39d4
Undo the over-zealous autoformatting from VSCode
2019-03-01 00:08:24 +00:00
zackzachariah
96309620bb
Migrate tslint to use built in stylish format
2019-02-28 23:58:48 +00:00
Chris
36b7392a72
- added gulp task to convert dummy classes to typescript on build time
...
- disabled additional mongoDb classes for browser builds
2019-02-14 21:47:12 +01:00
Daniel Lang
3a8bb3b3b2
removed websql and systemjs
...
Support for WebSql and System.js have has been dropped after a
discussion (#1918 ) as they are cannot be fully supported and aren't used
that much
2018-04-12 17:23:00 +02:00
Zotov Dmitry
06c2e46eb0
added test (issue #423 )
2018-02-22 17:16:31 +05:00
Zotov Dmitry
17f3224c58
fixing falling tests;
2018-02-13 17:04:41 +05:00
Zotov Dmitry
d6edc142fd
Merge branch 'next' into schema-builder-refactoring
...
Conflicts:
CHANGELOG.md
docs/entities.md
gulpfile.ts
package-lock.json
src/connection/Connection.ts
src/driver/oracle/OracleDriver.ts
src/driver/postgres/PostgresDriver.ts
src/metadata-args/MetadataArgsStorage.ts
src/metadata/EntityMetadata.ts
src/persistence/SubjectExecutor.ts
src/query-builder/UpdateQueryBuilder.ts
test/functional/sqljs/auto-save.ts
2018-02-08 17:53:06 +05:00
Zotov Dmitry
b8c782e8c3
fixing falling tests;
2018-02-08 17:38:56 +05:00
Umed Khudoiberdiev
8ef1695311
Merge branch 'master' into next
...
* master: (57 commits)
update typescript to 2.7
removing repeat types at postgres and sqlite
Prevent transforms breaking on datetime types (closes #1140 )
fixing repeating column types for mysql / mariadb
loose -> lose
loose -> loss
loose -> lose
Updated the hidden column to reflect the query
version bump
Fix typo in connection-options.md
Fixed typo in mongodb.md
Update support.md
Update support.md
Update roadmap.md
Update decorator-reference.md
Update faq.md
Update sequelize-migration.md
Update example-with-express.md
Update active-record-data-mapper.md
Update using-cli.md
...
# Conflicts:
# CHANGELOG.md
# README.md
# docs/relations.md
# docs/roadmap.md
# docs/tree-entities.md
# package-lock.json
# package.json
# src/query-builder/UpdateQueryBuilder.ts
# test/functional/entity-metadata-validator/basic/entity-metadata-validator.ts
# test/functional/sqljs/auto-save.ts
2018-02-06 12:17:33 +05:00
Daniel Lang
77905b9729
gulpfile: added clear to delete build dir before compile
2018-01-23 21:43:53 +01:00
Umed Khudoiberdiev
8cbf9e075a
fixed gulpfile
2018-01-17 19:28:03 +05:00
Umed Khudoiberdiev
c90963d26d
fixed gulptask
2018-01-17 16:57:21 +05:00
Umed Khudoiberdiev
f1399ee312
fix compiler error
2018-01-17 14:41:08 +05:00
Daniel Lang
fa17752dc5
fix(test-coverage): coverage is back at CI
...
coverage was removed because it prevented failing tests from actually
failing on CI. This is an attempt at adding it back in.
2018-01-11 21:12:59 +01:00
Daniel Lang
25ece465a6
tests(sqljs): fixed tests not failing when mocha fails
2017-12-18 22:50:43 +01:00
Daniel Lang
5c4f407cc8
tests(sqljs): removed error flag
2017-12-18 22:40:11 +01:00
Daniel Lang
79213872e2
tests(sqljs): removed explicit error message
2017-12-18 22:35:23 +01:00
Daniel Lang
7639623d44
tests(sqljs): removed istanbul pipe
2017-12-18 22:28:31 +01:00
Daniel Lang
0dd7251eeb
tests(sqljs): added explicit error code to fail the process
2017-12-18 21:57:23 +01:00
Luchillo
6fa4cb9021
Merge remote-tracking branch 'typeorm/master' into feature/extend-lazy-relation-testing
2017-09-17 13:59:16 -05:00
Daniel Lang
4e541cd0d4
updated browser docs
2017-09-16 20:10:26 +02:00
Luchillo
f625467f42
Add lazy-relation-tests, update to latest master
2017-09-13 13:24:28 -05:00
Umed Khudoiberdiev
f470353bf5
trying to figure out travis ci issues
2017-09-13 22:16:23 +05:00
Umed Khudoiberdiev
3f9b5fc59f
added delay for ci tests
2017-09-13 21:47:11 +05:00
Daniel Lang
a8c336bcb3
made using one package possible
2017-09-12 20:39:51 +02:00
Daniel Lang
5eedfc7649
reverted name change for systemjs
2017-09-12 19:29:19 +02:00
Daniel Lang
2070120770
added missing cli.js to browser package, fixed systemjs version when using "typeorm-browser" as package name
2017-09-12 14:26:59 +02:00
Daniel Lang
e0bf036a22
changed source files to .d.ts in browser build
2017-09-12 11:17:36 +02:00
Daniel Lang
8fe6a72a27
removed bold sql error output, reverted changed in gulpfile
2017-09-08 09:15:15 +02:00
Daniel Lang
50a3f2db1c
fixed systemjs build, removed duplicate import
2017-09-08 00:29:36 +02:00
Daniel Lang
b711c71358
changed chalk, fixed mongodb import, changed browser package structure
2017-09-07 12:47:50 +02:00
Umed Khudoiberdiev
ce32f92d6d
fixes #811
2017-09-04 23:28:09 +05:00
Felipe Sabino
0c330c194b
Avoiding global npm installs
2017-06-30 08:58:41 -03:00
Cameron Spear
24a53a342b
Update the developer docs with more info about creating tests
2017-03-22 16:29:54 -07:00
Zotov Dmitry
abf62fe753
added locking functionality in query builder;
...
fixed issue #312 ;
2017-03-02 18:23:09 +05:00