chore: merge upstream TypeORM v3.20 and retain Spanner support#22
Merged
chore: merge upstream TypeORM v3.20 and retain Spanner support#22
Conversation
Co-authored-by: sinkhaha <1468709606@qq.com>
Fix implementation of materialized hints in common table expressions Previous behavior did not account for NOT MATERIALIZED hints, also placed materialized hints in wrong place (before "AS") Co-authored-by: Adrian Parry <adrian.parry@reign.cl>
* fix view+schema broken for oracle * apply prettier * fixed missing schema in loadViews(); added test (with .only) * removed .only Co-authored-by: James Jurach <James.Jurach@apiture.com> Co-authored-by: Alex Messer <dmzt08@gmail.com>
…ckroachdb (typeorm#9128) * feature: adds support for enum type (fixes typeorm#9068) * temporarily ran package to test on different repo * playing around - bumped version * Revert "playing around - bumped version" This reverts commit 7df4adb. * Revert "temporarily ran package to test on different repo" This reverts commit 48f394e. * feat: add support for geometry data type * feature: properly hydrate enum array values * feature: adds support for geography and geometry for cockroachdb * bugfix: fixes issue with primary generated columns being invalid column type (fixes typeorm#8532) * Revert "bugfix: fixes issue with primary generated columns being invalid column type (fixes typeorm#8532)" This reverts commit e00cdb0. * bugfix: type casts to string when using ANY * feature: cast geometry/geography to geojson * feature: added references to srid * bugfix: prevent error if trying to close already closed connection * feature: added cockrachodb as part of postgres family * feature: ensures support for spatial columns for cockroachdb * feature: adds support for UPSERT for CockroachDB (fixes typeorm#9199) * minor: added TODO; unsure how to achieve this * feature: adds support for time travelling queries for cockroachdb * bugfix: only run time travel query on SELECT statements * refactor: changed UsertType from 'upsert' to 'primary-key' since this is more logical * feature: added posibility to set timeTravelQuery to false, instead of the parameter function; help for disabling time travel queries during tests * feature: allow timeTravelQueries in find* queries * bugfix: when using timetravel queries with joinAttributes it now prevents error 'AS OF SYSTEM TIME must be in top level' error * lint * minor fix * fixed failing test * implemented ENUM type; added tests; * fixed failing tests * fixed failing test * fixed spatial types synchronization; implemented spatial indices; added tests for spatial columns; * refactored Time Travel Query functionality; removed TTQ from find options; added tests for TTQ; * added docs for Time Travel Queries * minor changes * added GeoJSON types; other minor fixes; * updated docs * updated docs Co-authored-by: Dmitry Zotov <dmzt08@gmail.com>
* fix: remove extension when importing file * removed unnecessary .js extension in imports --------- Co-authored-by: Dmitry Zotov <dmzt08@gmail.com>
* test: update multiple nested embedded entities Closes: typeorm#1200 * test: update multiple nested embedded entities - fix for ORA-00972 - shorter names Closes: typeorm#1200 * test: correct test name for issue 1200 Closes: typeorm#1200
…9731) * 9023-2 Fix cache overriding option * 9023-2 Fix format
) Bumps [http-cache-semantics](https://github.com/kornelski/http-cache-semantics) from 4.1.0 to 4.1.1. - [Release notes](https://github.com/kornelski/http-cache-semantics/releases) - [Commits](kornelski/http-cache-semantics@v4.1.0...v4.1.1) --- updated-dependencies: - dependency-name: http-cache-semantics dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
docs: Fix grammar (verbal agreement) error in the first paragraph.
…ypeorm#9677) * test: one migration for PrimaryColumn and JoinColumn in pg * fix: stop postgres from creating unique on PrimaryColumn with JoinColumn
…orm#9716) * fix: resolve issue with "simple-enum" in sqlite Closes: typeorm#9715 * trying to re-trigger CircleCI tests --------- Co-authored-by: Dmitry Zotov <dmzt08@gmail.com>
Closes: typeorm#9690 Co-authored-by: Dmitry Zotov <dmzt08@gmail.com>
* feat: naming strategy for legacy Oracle This feature is LegacyOracleNamingStrategy which can be used to handle Oracle error ORA-00972. * feat: naming strategy for legacy Oracle This feature is LegacyOracleNamingStrategy which can be used to handle Oracle error ORA-00972.
* feature: add find operator json contains * add test --------- Co-authored-by: Игорь Сары <isary@MacBook-Pro-Igor.local> Co-authored-by: dzvyagin <dzvyagin@team.amocrm.com>
- remove cli.entitiesDir description - remove cli.subscribersDir description - remove cli from Data Source Options example - extend migration:run examples with -- -d path-to-datasource-config - extend migration:revert examples with -- -d path-to-datasource-config - extend migration:show examples with -- -d path-to-datasource-config - extend migration:create examples with path-to-migrations-dir/migrationName Co-authored-by: Stefan <stefi@sprintingsoftware.com>
…cter (typeorm#9685) * fix: get enum default value * chore: format
* fix: add support for mongodb driver v4 This new fix allow support to mongodb driver v4 Closes: typeorm#7907 * fix: add support for mongodb driver v4 This new fix allow support to mongodb driver v4 Closes: typeorm#7907 --------- Co-authored-by: Matheus Melo Antiquera <matheusantiquera@finchsolucoes.com.br>
Remove the suggestion of github issues as a place for questions about using TypeORM, and instead point people towards stack overflow and discord for questions about using TypeORM.
21941bf to
83813bb
Compare
edomora97
approved these changes
Dec 19, 2024
Member
edomora97
left a comment
There was a problem hiding this comment.
This PR is freezing my Chrome :crasd:
Do you have any idea why this fork exists?
Author
Yeah, I know, it freezes mine too 😂
The changes that were made (and that we are keeping with this PR, while updating to the latest version) are:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
This pull request updates our fork of the
typeorm/typeormrepository from version 3.16 to the latest release, 3.20.The changes include:
This update ensures compatibility with the latest TypeORM features and bug fixes while maintaining our Spanner-specific functionality.
Expected impact
By updating to the latest version of typeorm, we are also updating internal dependencies, thus unlocking the possibility to update StreamYard pnpm to the latest version.
Before merge