Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

github.com/typeorm/typeorm

ORM for TypeScript and JavaScript. Supports MySQL, PostgreSQL, MariaDB, SQLite, MS SQL Server, Oracle, SAP Hana, WebSQL databases. Works in NodeJS, Browser, Ionic, Cordova and Electron platforms.
https://github.com/typeorm/typeorm

fix: use ObjectLiteral in UpdateEvent rather than `Entity` (#7910)

78fbc14b3ee915ce035cb1546c92142eab6a899e authored over 3 years ago
fix: use correct query for cross-database mssql identity check (#7911)

COLUMNPROPERTY only works in the same database so this query was
always incorrect. instead, us...

7869fb143c2b3ec019507a79e80eb2e29c270338 authored over 3 years ago
fix: entity object undefined in `afterUpdate` subscriber (#7724)

d25304d9e319157c6b8999932fb9144a67bd84cf authored over 3 years ago
feat: make parameter to getTables optional (#7901)

this allows you to call `getTables()` and fetch all of the tables
in a specific context

ba866026ec7d0ce44f68f9b585bc094c82e32dcd authored over 3 years ago
refactor: create a lock class for fifo query execution locks (#7891)

this refactors both SAPQueryRunner & SQLServerQueryRunner to use
a new QueryLock class which cl...

4327d62f2713744e2a3b40970449f10252af9e97 authored over 3 years ago
docs: fix invalid comment at snakeCase method (#7895)

fix regex example at comment to matching with actual one, and remove invalid example link.

d80f070328bdcb19ff674064ed9ff38fd1eb1d1a authored over 3 years ago
fix: actually return a working ReadStream from SQL Server query runner (#7893)

the sql server query runner wasn't actually returning a ReadStream as expected
and there were n...

e80985fabbafcb4f5409d72840c3902e1619b8a6 authored over 3 years ago
feat: set `enableArithAbort` for SQLServerDriver (#7894)

this prevents the deprecation message & also prevents us from
disabling `ARTITHABORT` which is ...

1f64da2c49b21b678a0f2faf0805dbeb763b0f4a authored over 3 years ago
fix: regression when making `join` conditions `undefined`-able (#7892)

b0c1cc6d6820e93bc7b986d4f18db4020195e170 authored over 3 years ago
chore: remove `only` from test for issue 7882

d8509162c72b1711c359bf02e198806d9e480959 authored over 3 years ago
fix: condition is optional in SelectQueryBuilder joins (#7888)

the condition seems to have been accidentally marked as required when
it's actually optional in...

2deaa0e948d7b797c0e4d3ccbc3c9c2f0f253caf authored over 3 years ago
fix: drop SAP statement after `prepare` per Hana client docs (#7748)

each statement takes up a pool so if you query frequently you can
exhaust that pool of statemen...

8ca05b11db3ba083c7395cca09a4aa98c70e3d8f authored over 3 years ago
fix: prevent modification of the FindOptions.relations (#7887)

because of how we modify it as part of a recursive function
we were erasing the `relations` arr...

a2fcad6ef963c3e444765d6a7b4fa1e0e89a72e6 authored over 3 years ago
fix: only pass `data` from SaveOptions during that query (#7886)

this resets the `data` passed from `SaveOptions` to `QueryRunner`
once the persistence operatio...

1de2e13cfe442af99c2cf017f48127e1de3a08d9 authored over 3 years ago
feat: use char(36) for uuid representation in mysql (#7853)

063aafa34408dd9b1ed3802bb43be6f772523277 authored over 3 years ago
fix: return correct DeleteResult and UpdateResult for mongo (#7884)

this updates the mongo entity manager to return the correct
values for both UpdateResult and De...

7a646a212815e6b9c2dda752442075624f9f552d authored over 3 years ago
chore: remove duplicate ioredis from peer dependencies (#7885)

d31c2fd074832e5ef84f49a29813ccd8163423b3 authored over 3 years ago
fix: eager relation respects children relations (#5685)

e7e887a582cce66bd21044472f4a5288894650c9 authored over 3 years ago
fix: handle snake case of ABcD which should become a_bc_d (#7883)

this also simplifies the regular expressions

eb680f99b74c335556d23016264fcf1ea6ce1d6f authored over 3 years ago
refactor: move query generation code in `orUpdate` into getQuery (#7880)

this also updates the API for `orUpdate` to simplify it

a1c6bb0092b63fa808d9f836936238a7977a8027 authored over 3 years ago
feat: add capacitor driver options for encryption & version (#7868)

a2bd94b146738a2aa637f52011c1fd5e92ed38e1 authored over 3 years ago
fix: allow for string id in mongo.findByIds call (#7838)

4b45ae1e8174cf438f9fca92c635957513bff8f8 authored over 3 years ago
chore: drop gulp test runner code (#7879)

b8239d0d727c633420ae963feabe8e99588671d5 authored over 3 years ago
fix: craft oracle connectString as a descriptor with SID (#7878)

this allows us to more explicitly pass the SID correctly as the SID

b05d0936ddabae179a42c9c0f67779a6bec3d5b1 authored over 3 years ago
fix: capacitor does not correctly set journal mode (#7873)

5f20eb791a3c51410d6759548ec11c9a919659ff authored over 3 years ago
docs: fix comment on tabletype to remove invalid types (#7876)

d449454d2a2a56ba7daedf706849c044d3d2b7e9 authored over 3 years ago
fix: drop pool.autostart from mssql options because it's unused (#7877)

0d21a4d07ec275a295df6f78b85c4814c027258a authored over 3 years ago
feat: add `retryWrites` to allowed mongo `extra` options (#7869)

dcdaacacaf122c7579d31a700e93c5357a9e0a16 authored over 3 years ago
refactor: use maxQueryExecutionTime from driver options (#7872)

229c4eb09c7dc473ff4428668fee6bf7415d4fd5 authored over 3 years ago
fix: `entity` to be `Partial<Entity>` | `undefined` in `UpdateEvent` (#7783)

f033045dd6d1dac4f6f7e528997a2c5f8892d763 authored over 3 years ago
refactor: Move `tablePath` calculation out of the `EntityMetadata` class (#7856)

8436fdb7e849e003b0a7e5c385c1d9dae1f16a75 authored over 3 years ago
style: fix reduction variable names in `EntityMetadataBuilder` (#7871)

37e139ff79c1b5ff5b6098cdba2276f0f446d8f3 authored over 3 years ago
fix: enable returning additional columns with MSSQL (#7864)

e1db48d8391728455744c91ea7976a334300f77d authored over 3 years ago
refactor: encapsulate query-result logic in query runner (#7753)

moves the driver-specific code and encapsulated it within each driver's
`QueryRunner`, exportin...

8937fd209ef6bb9fd9f44e81a3678c62bf34ce8d authored over 3 years ago
fix: typing so SelectQueryBuilder.getRawOne may return undefined (#7863)

fixes #7449

36e5a0cf09a25dfe98ffa130f35005a8eacc4155 authored over 3 years ago
refactor: use a `Map` for ConnectionManager to improve lookups (#7839)

50306cfb90883452c494fa14a226d796fd9c2fb2 authored over 3 years ago
feat: make postgres extensions install optional (#7725)

There are cases wherein the credentials given to the service are READONLY. In these cases, insta...

92b96a550512bb218e1c6691e2f5908007d0b6e6 authored over 3 years ago
fix: use fully qualified and escaped table names for oracle (#7857)

this allows commands like the QueryRunner.clear() for oracle to
operate when a schema has been ...

2b90725a080c7ea9140464a68c8c8c9475fd73f9 authored over 3 years ago
feat: use column length from driver when creating columns (#7858)

b107ad95164627b6e959b4e476eb82f3dded972c authored over 3 years ago
refactor: represent wheres internally as conditions (#7854)

this updates the way `QueryBuilder` works to only build the expression
strings when we are actu...

e922f353d34c604238c19d3fa4abc1fdad549e11 authored over 3 years ago
refactor: move the sqljs autosave hook into the queryrunner (#7855)

the autosave callback should always be called & shouldn't be peppered
throughout our codebase

88fb4419150127ee096b58eaccf1aa464ebea982 authored over 3 years ago
refactor: stricter types for Column defaults (#7773)

this makes the column default type match the actual types
possible for use instead of just `any...

dffd12515c8366b3c33f9c0e2a99c9d60281017b authored over 3 years ago
feat: add writeConcern option as a possible `extras` for mongodb (#7801)

90894c7fd39c5237ddb26690082ca4c2443b2fd4 authored over 3 years ago
refactor: pass `outFormat` to oracle as part of execute (#7834)

7b7c4fc8ab97e3f632fdb6cbaff560630064dbd0 authored over 3 years ago
refactor: only merge simple objects in `ORMUtils.mergeDeep` (#7774)

The mergeDeep functionality was causing issues where it would
try to merge objects that were no...

08f9a1cc80ab0c8387b216a0063d0639dd4f06c9 authored over 3 years ago
refactor: use brackets & object literal to do where-in-ids (#7832)

Fixes #4732

e55cf050a1d4811b442aceadadde1754aa86765d authored over 3 years ago
fix: better support of relation-based properties in where clauses (#7805)

3221c50d878505b1b8435b07451ec94cd8d04fce authored over 3 years ago
refactor: use traditional parameters for where-clause creation (#7821)

use standard parameters instead of native parameters for generation and
where-clause & other qu...

9119879d7b432604bf9fab2eecc87a49e797fed8 authored over 3 years ago
fix: find operation in MongoDB do not include nullable values from documents (#7820)

Find operation should add all nullable values from documents if they exist

Closes: #7760

98c13cf710de83783bc5b5576a64327b26d26262 authored over 3 years ago
docs: example used invalid parameter (#7819)

the example had a parameter but wrapped it in quotes for some
reason. this removes the quotes

e2a5939bfb9af870cf371469371cc29ec6f2f055 authored over 3 years ago
refactor: use TypeORMError instead of base Error (#7799)

this means you can catch any TypeORM issues by catching the
TypeORM error type

c88e75b27d8fbd47ba46476a212e86281828b853 authored over 3 years ago
fix: handle postgres default when tableColumn.default is not string (#7816)

there was an edge case where the tableColumn.default was not a string
and thus caused a TypeErr...

0463855223100028e62f7cb2e84319770f54449e authored over 3 years ago
refactor: drop unused RelationIdLoader (#7817)

`RelationIdLoader` was on the Connection but was not used anywhere

87788bbaf948314801f33da0e0b98377a09555ce authored over 3 years ago
refactor: set database variable within driver contructor (#7742)

instead of the connection setting the database name from outside
the driver we instead set the ...

46dff4698c31325077559e342016ba13c2256bb9 authored over 3 years ago
style: stop importing from the index (#7800)

also create a ts file for the "globally scoped" functions that
previously lived in the index file

e78957fb3da6c7c91f134f21f089a732802f55c3 authored over 3 years ago
fix: delete operation in MongoDB impact all matched documents (#7811)

Delete operation should remove all matched documents, but now it removes the first found documen...

0fbae53bdd83f5da94ac8a468e1506c2852eed02 authored over 3 years ago
refactor: clean up parent query builder & Brackets in `where` (#7807)

* refactor: move parentQueryBuilder into queryBuilder

* refactor: allow use of `setParameter`...

db2f05d1b25b77a10f5fb56ab49e0b10a253d3ef authored over 3 years ago
fix: prevent transactions in the Cordova driver (#7771)

the cordova driver silently ignores all attempts to begin
or commit transactions. this leads t...

fc4133cf621874c616bf7643c79112b9f68a1e09 authored over 3 years ago
fix: prevent reuse of broken connections in postgres pool (#7792)

this updates the error handler we have on the postgres connection
object to release back with a...

5cf368a23fa78b9e97dd12b54616f17b8431ffee authored over 3 years ago
docs: add `entitySkipConstructor` to ConnectionOptions documentation

2adfe36627507ab5e01bc4bc7f6b4ec839a2352c authored over 3 years ago
feat: add connection option `entitySkipConstructor`

this adds the option for bypassing the constructor when deserializing
the Entities. note that t...

f43d56110fd41c23d80e32021adf4ade7648ce97 authored over 3 years ago
docs: remove `many-to-`one` reference from the `many-to-many` documentation (#7806)

9bbdb019463e9924f32bf9c30a6be28de33314f2 authored over 3 years ago
feat: add ObjectLiteral typing to andWhere / orWhere (#7786)

525381d91e15d1d9b9dd7bd36beaac35646ee3b0 authored over 3 years ago
chore: drop node v10 and add v14 to the circleci tests (#7804)

node v10 EOL was 2021-04-30 and is no longer supported
as an LTS release. as such, we're going...

473d26b5efddd1a5eae6d88b0ffb8f7f83c1660f authored over 3 years ago
fix: update operation in MongoDB impact all matched documents (#7803)

mongo update operation should update all matched documents, but now it updates the first found d...

052014cdba844b1a7867f46606045a494cffc907 authored over 3 years ago
chore: bump cli-highlight package to 2.1.11 (#7798)

this bumps our cli-highlight package so we no longer
get deprecation warnings during normal use

416cde486ba494e120891fff74dd46d651356feb authored over 3 years ago
refactor: create base error and simplify error creation (#6909)

fixes #3479

137bec73f4a8d7c9c569492c670a2f0e501663d1 authored over 3 years ago
fix: Capacitor driver PRAGMA requests failing on Android (#7728)

* - fix: PRAGMA needs to be run through the `query` method, since it returns data
- added WAL j...

9620a26c4eeb34baddce3a841ffd686d82cd87af authored over 3 years ago
docs: fix brokens cascade links in one-to-one and many-to-one (#7781)

* docs: fix cascade link in one-to-one
* docs: fix broken cascade link in many-to-one

f4f1453dcdf30b84343992344f15ad4f255bc8be authored over 3 years ago
chore: Add peer dependencies (#7768)

Adds peer dependencies for drivers & marks them as optional

9300710097f1f0343defc3f86becb1b2a05d32d4 authored over 3 years ago
docs: Remove note in TreeEntity documentation about #2032 (#7777)

Removes the note which links to the closed issue https://github.com/typeorm/typeorm/issues/2032,...

ef39d12198034fdacc5f918d8ff10b57f7a705d3 authored over 3 years ago
test: cockroachdb performance in tests settings (#7772)

3d2833d90558a3bb69ec987183b5ccb610657fb4 authored over 3 years ago
fix: Do not add NULL/NOT NULL for stored columns (#7708)

closes: #7698

3c33e9f54541a12b0d0fd37177c6afebf7a5349f authored over 3 years ago
feat: support absolute path in migration:generate (#7720)

b690c270cd2e9886329e520cab5ee31eaeae77a4 authored over 3 years ago
chore: use cockroachdb v21 in tests (#7764)

449bad5ae48726c7064fd7eddb2b04ae03873337 authored over 3 years ago
test: Remove "properly loads config from yaml" as an exclusive test run (#7761)

2356a459beec551f8737b02949b10d31d1fc345c authored over 3 years ago
chore(deps): bump postcss from 7.0.35 to 7.0.36 (#7759)

Bumps [postcss](https://github.com/postcss/postcss) from 7.0.35 to 7.0.36.
- [Release notes](ht...

003d611f1fa39401a5715385d40e26e0bd186982 authored over 3 years ago
test: update test to not use `Promise.all` in some cases (#7746)

single-connection databases can get out of order which breaks
the insert return code

7a0f7733f2cf704d60548a6b15d1fa2977a9e401 authored over 3 years ago
fix: correctly load yml in ConnectionOptionsYmlReader (#7743)

this uses the correct `load` function instead of `loadAll`

57f9254499ef07500f5e59df20e778ee0f27b9aa authored over 3 years ago
version bump

7d614e9c83a8219552890a17c07cc967a26813f2 authored over 3 years ago
docs: update separating-entity-definition.md (#7715)

ff28aad27958ef7763a305982f70caeb611f2448 authored over 3 years ago
fix: restored `buildColumnAlias` for backward compatibility (#7706)

36ceefa710c0994e054c8e267a1fb1bdf4b25c39 authored over 3 years ago
version bump

834918256b4cc841a33c3b7f8a115f480d57e6cf authored over 3 years ago
fix: do a deep comparison to see if the default value has changed for `json` types in Postgres (#7650)

* test: add test for postgres json default bug

* fix: postgres: perform a deep comparison to ...

a471c1b689848e7cd9203dcef5edd192019ea456 authored over 3 years ago
fix: correctly strip type conversion in postgres for default values (#7681)

* fix: correctly strip type conversion in postgres for default values

Use better regex to rem...

069b8b6888c389d93ff44ca6ed964fb5913d9840 authored over 3 years ago
fix: STI types on children in joins (#3160)

* Use most specific matching relation type

This allows using a single table for multiple enti...

60a6c5d9607e06bfb2ff842d733ff90ce8b279ea authored over 3 years ago
fix: use most specific matching relation type (#2967)

This allows using a single table for multiple entities without using a
type column. Some setups...

ee3c00a686f1296bbe3bc3d0b7e1bd29333b358f authored over 3 years ago
fix: call listeners for array embeddeds in MongoDB (#4260)

* fix call listeners for array embeddeds

* fix tests

* fix tests

Co-authored-by: AlexMe...

2dc355b50179a18fe690924797f5c69f2fe23c1f authored over 3 years ago
fix: use `host` if `hostReplicaSet` is not provided in MongoDriver (#7559)

Co-authored-by: mosman <[email protected]>

9b6d7bc4189f7741f0f823d65fc5c8ba4fbc2d94 authored over 3 years ago
docs: updated link to cascades page (#7688)

545a4436ccd2fc361161d70609f4022d87e86b75 authored over 3 years ago
feat: add support for specifying `ioredis` cache with a URL (#7689)

According to the ioredis documentation, a URL may be passed in the 'port' parameter.
This d...

e017f9b4683e12feb485b878ab002c42c1d63ffb authored over 3 years ago
feat: added Capacitor driver (#7695)

* added new driver for Capacitor

* updated CHANGELOG.md

0f7a7783984c680350dd7560f47b78733a3ff3c5 authored over 3 years ago
fix: remove `enableExtension` for slave connections in Postgres (#7693)

I just removed `PostgresDriver.enableExtension` on slave connections.

close #7691

620aac9e0f2c089f78c7a055b2fb844a475a7eb5 authored over 3 years ago
docs: fix entity used in example (#7674)

Fix code example for loading relational entities.

283413d8460208c68b0362afc2cbf7ebf8e35cc7 authored over 3 years ago
fixed failing test

63e699df98c35535dd98ea4d5c83b9c7fa6643eb authored over 3 years ago
fixed failing tests

ed7b78f35864fa11ea7c4c54ae7493123fba7feb authored over 3 years ago
fixed failing test

375e9d526c016244e24856b09121e5e075e9a75c authored over 3 years ago
fix: pass `ManyToMany` `onUpdate` option to foreign key metadata (#5714)

Closes: #4980

198d2c50acab9d0d748194506970415866247da4 authored over 3 years ago
feat: add `set` datatype support for aurora-data-api (#7665)

* adds support for type set to data-api

* adds support for type set to data-api

* fix spacing

b6c18366c3fe294f864ab4cd97c0bfc91e9d1f9d authored over 3 years ago
minor fix;

b9cc9c90595fe77826970fb427079ff7124b84a1 authored over 3 years ago