Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixing problem in date parser #7796

Closed
wants to merge 28 commits into from
Closed

Fixing problem in date parser #7796

wants to merge 28 commits into from

Commits on Jun 25, 2021

  1. Fixing problem in date parser

    v1d3rm3 committed Jun 25, 2021
    Configuration menu
    Copy the full SHA
    c517024 View commit details
    Browse the repository at this point in the history

Commits on Feb 12, 2022

  1. Configuration menu
    Copy the full SHA
    92c3e79 View commit details
    Browse the repository at this point in the history
  2. fix: add referencedSchema to PostgresQueryRunner (typeorm#8566)

    * Add referencedSchema to PostgresQueryRunner
    
    * Run tests again
    
    Co-authored-by: איתמר צבי <211736459@idf.il>
    JasonMan34 and איתמר צבי committed Feb 12, 2022
    Configuration menu
    Copy the full SHA
    c490319 View commit details
    Browse the repository at this point in the history
  3. feat: add WITH (lock) clause for MSSQL select with join queries (type…

    …orm#8507)
    
    * fix: add lock clause for MSSQL select with join clause
    
    typeorm didn't supported LOCK clause in SELECT + JOIN query. For example, we cannot buld SQL such as "SELECT * FROM USER U WITH(NOLOCK) INNER JOIN ORDER WITH(NOLOCK) O ON U.ID=O.UserID". This pull request enables LOCK with SELECT + JOIN sql query.
    
    Closes: typeorm#4764
    
    * chore: add test cases
    
    * chore: refactor method name, miscellaneous changes on createTableLockExpression
    icecreamparlor committed Feb 12, 2022
    Configuration menu
    Copy the full SHA
    3284808 View commit details
    Browse the repository at this point in the history
  4. docs: adjust grammatical error (typeorm#8615)

    The following grammatical adjustments are related to the "Avoid relation property initializers" section, found in the relations-faq page;
    1. Adjust the grammatical error found in the following phrase "But if you have initializer" by adding "an" before the word "initializer".
    2. Adjust the grammatical error found in the following phrase "the loaded object will look like as follow" by removing the "like" word and adding an "s" to "follow".
    Salah-Azzouz committed Feb 12, 2022
    Configuration menu
    Copy the full SHA
    49d9e9b View commit details
    Browse the repository at this point in the history
  5. docs: update relations-faq.md typo (typeorm#8614)

    change the line 46 in relations-faq.md:
    "Sometimes you want to have in your object id of the related object without loading it. "
    into this: 
    "Sometimes you want to have, in your object, the id of the related object without loading it. "
    Parsath committed Feb 12, 2022
    Configuration menu
    Copy the full SHA
    24efafa View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    6316e26 View commit details
    Browse the repository at this point in the history
  7. fix: adding/removing @generated() will now generate a migration to ad…

    …d/remove the DEFAULT value (typeorm#8274)
    
    * fix(8273) Adding @generated('uuid') will now generate a migration to add the DEFAULT value
    
    * implemented fix for "increment" generation type;
    implemented fix for generation removal;
    improved tests;
    
    * added test for typeorm#5898
    
    Co-authored-by: AlexMesser
    Ed Mitchell committed Feb 12, 2022
    Configuration menu
    Copy the full SHA
    4208393 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    f224f24 View commit details
    Browse the repository at this point in the history

Commits on Feb 14, 2022

  1. fix: upsert should find unique index created by one-to-one relation (t…

    …ypeorm#8618)
    
    * fix: upsert should find unique index created by one-to-one relation
    
    * fix: do not enforce column constraint exists for upsert
    
    * fix: remove OrmUtils reference and OrmUtils#flatten that is not needed
    
    * fix: leave the db engine to enforce upsert constraints as it sees fit
    joeflateau committed Feb 14, 2022
    Configuration menu
    Copy the full SHA
    c8c00ba View commit details
    Browse the repository at this point in the history
  2. build(deps): bump follow-redirects from 1.14.4 to 1.14.8 (typeorm#8638)

    Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.14.4 to 1.14.8.
    - [Release notes](https://github.com/follow-redirects/follow-redirects/releases)
    - [Commits](follow-redirects/follow-redirects@v1.14.4...v1.14.8)
    
    ---
    updated-dependencies:
    - dependency-name: follow-redirects
      dependency-type: indirect
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] committed Feb 14, 2022
    Configuration menu
    Copy the full SHA
    d6043b7 View commit details
    Browse the repository at this point in the history
  3. build(deps): bump simple-get from 3.1.0 to 3.1.1 (typeorm#8641)

    Bumps [simple-get](https://github.com/feross/simple-get) from 3.1.0 to 3.1.1.
    - [Release notes](https://github.com/feross/simple-get/releases)
    - [Commits](feross/simple-get@v3.1.0...v3.1.1)
    
    ---
    updated-dependencies:
    - dependency-name: simple-get
      dependency-type: indirect
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] committed Feb 14, 2022
    Configuration menu
    Copy the full SHA
    72c9685 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    02400da View commit details
    Browse the repository at this point in the history

Commits on Feb 15, 2022

  1. build(deps): bump node-fetch from 2.6.5 to 2.6.7 (typeorm#8589)

    Bumps [node-fetch](https://github.com/node-fetch/node-fetch) from 2.6.5 to 2.6.7.
    - [Release notes](https://github.com/node-fetch/node-fetch/releases)
    - [Commits](node-fetch/node-fetch@v2.6.5...v2.6.7)
    
    ---
    updated-dependencies:
    - dependency-name: node-fetch
      dependency-type: indirect
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] committed Feb 15, 2022
    Configuration menu
    Copy the full SHA
    c8c032a View commit details
    Browse the repository at this point in the history
  2. fix: replaced custom uuid generator with uuid library (typeorm#8642)

    * added `uuidjs` lib
    
    * package-lock.json
    AlexMesser committed Feb 15, 2022
    Configuration menu
    Copy the full SHA
    8898a71 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    baa5880 View commit details
    Browse the repository at this point in the history
  4. refactor: improve Commands error handling with simplified and reusabl…

    …e PlatformTools method. (typeorm#8595)
    
    * chore: remove @types/dotenv
    
    * style: improve and reuse PlatformTools logging functions
    
    * style: fix eslint errors
    divinrkz committed Feb 15, 2022
    Configuration menu
    Copy the full SHA
    8f35f34 View commit details
    Browse the repository at this point in the history
  5. fix: Lock peer dependencies versions (typeorm#8597)

    * fix: lock peer dependencies versions
    
    * package-lock.json
    Bartmr committed Feb 15, 2022
    Configuration menu
    Copy the full SHA
    600bd4e View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    f7c1f7d View commit details
    Browse the repository at this point in the history
  7. feat: separate update events into update, soft-remove, and recover (t…

    …ypeorm#8403)
    
    Closes: typeorm#8398
    
    BREAKING CHANGE: update listeners and subscriber no longer triggered by soft-remove and recover
    spotykatch committed Feb 15, 2022
    Configuration menu
    Copy the full SHA
    93383bd View commit details
    Browse the repository at this point in the history
  8. revert: migration:show command must exist with zero status code (Fixes

    …typeorm#7349) (typeorm#8185)
    
    * feat: add --quiet option to migration:show command
    
    * adding process.exit(0) back
    
    * Update MigrationShowCommand.ts
    
    Co-authored-by: Umed Khudoiberdiev <pleerock.me@gmail.com>
    Juddling and pleerock committed Feb 15, 2022
    Configuration menu
    Copy the full SHA
    e0adeee View commit details
    Browse the repository at this point in the history
  9. fix: QueryFailedError when tree entity with JoinColumn (typeorm#8443) (

    …typeorm#8447)
    
    * fix: QueryFailedError when tree entity with joinColumns (typeorm#8443)
    
    * test: add test for typeorm#8443
    Yuuki-Sakura committed Feb 15, 2022
    Configuration menu
    Copy the full SHA
    a11c50d View commit details
    Browse the repository at this point in the history

Commits on Feb 16, 2022

  1. fix: improve DeepPartial type (typeorm#8187)

    * test: DeepPartial with generics
    
    * fix: resolve DeepPartial generic not matching valid input
    
    * fix: resolve TS errors due to DeepPartial change
    
    * deep partial type simplification
    
    Co-authored-by: Umed Khudoiberdiev <pleerock.me@gmail.com>
    MatthiasKunnen and pleerock committed Feb 16, 2022
    Configuration menu
    Copy the full SHA
    b93416d View commit details
    Browse the repository at this point in the history
  2. fix: allow special keyword as column name for simple-enum type on sql…

    …ite (typeorm#8645)
    
    * fix: Allow special keyword as column name for simple-enum type on sqlite
    
    * fix: Fix tests
    
    * fix: Fix tests
    metiftikci committed Feb 16, 2022
    Configuration menu
    Copy the full SHA
    93bf96e View commit details
    Browse the repository at this point in the history
  3. fix: materialized path being computed as "undefined1." (typeorm#8526)

    * fix: materialized path being computed as "undefined1."
    
    when tree entities are saved implicitly (through another related entity which hasMany tree-entities and "cascade" set to true) the ORM generates materialized-path strings prefixed with "undefined". Resulting in mpaths like "undefined1.2.3"
    
    * fix: materialized path being computed as "undefined1."
    
    removes it.only
    
    * fix: materialized path being computed as "undefined1."
    
    fixes unit tests
    
    * fix: materialized path being computed as "undefined1."
    
    Try to fix unit tests.
    
    * fixing failing test
    
    * fixing test
    
    * fixing test
    
    * fixing test
    
    * Update materialized-path.ts
    
    * Update materialized-path.ts
    
    Co-authored-by: Matthias Schwebler <m.schwebler@sportradar.com>
    Co-authored-by: Umed Khudoiberdiev <pleerock.me@gmail.com>
    3 people committed Feb 16, 2022
    Configuration menu
    Copy the full SHA
    09f54e0 View commit details
    Browse the repository at this point in the history
  4. fix: make EntityMetadataValidator comply with entitySkipConstructor, …

    …cover with test (typeorm#8445)
    
    Closes typeorm#8444
    
    Co-authored-by: Francesco Salvi <francesco.salvi@bitbull.it>
    francescosalvi and Francesco Salvi committed Feb 16, 2022
    Configuration menu
    Copy the full SHA
    3d6c5da View commit details
    Browse the repository at this point in the history
  5. feat: soft delete recursive cascade (typeorm#8436)

    * feat: soft-delete-recursive-cascade
    
    * fix get entity primary key
    
    * better mapping for get parent ids
    
    * fix use identifier and not entity from subject object
    
    * remove only from test
    
    * fix: replace primary key name to valid name
    
    * fix: test bug
    
    * fix: change returning to work on mssql
    
    * fix: work for oracle
    
    * add comments to subject executor
    
    Co-authored-by: oxeye-yuvalk <oxeye-yuvalk@oxeye.io>
    oxeye-yuvalk and oxeye-yuvalk committed Feb 16, 2022
    Configuration menu
    Copy the full SHA
    d0f32b3 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    dedd33c View commit details
    Browse the repository at this point in the history