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

[⏳] Enhanced auto typed schema. #12122

Commits on Jul 26, 2022

  1. fix(timestamps): set timestamps on child schema when child schema has…

    … timestamps: true but parent schema does not
    
    Fix Automattic#12119
    vkarpov15 committed Jul 26, 2022
    Configuration menu
    Copy the full SHA
    77f671a View commit details
    Browse the repository at this point in the history
  2. chore: release 6.5.0

    vkarpov15 committed Jul 26, 2022
    3 Configuration menu
    Copy the full SHA
    f5ee642 View commit details
    Browse the repository at this point in the history

Commits on Jul 27, 2022

  1. Merge pull request Automattic#12151 from Automattic/vkarpov15/Automat…

    …ticgh-12119
    
    fix(timestamps): set timestamps on child schema when child schema has timestamps: true but parent schema does not
    vkarpov15 committed Jul 27, 2022
    Configuration menu
    Copy the full SHA
    18d683b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    769aa21 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    af7ef3d View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    63b2209 View commit details
    Browse the repository at this point in the history
  5. Merge pull request Automattic#12162 from hasezoey/jsdocHeaderNewLine

    style: change jsdoc headers to have a consistent empty jsdoc line after
    Uzlopak committed Jul 27, 2022
    Configuration menu
    Copy the full SHA
    7dfe820 View commit details
    Browse the repository at this point in the history
  6. Merge pull request Automattic#12160 from hasezoey/changeSplitToEach

    style(buffer): change ".split" to "utils.each" for defining methods
    Uzlopak committed Jul 27, 2022
    Configuration menu
    Copy the full SHA
    46b629b View commit details
    Browse the repository at this point in the history
  7. Merge pull request Automattic#12161 from ramesh-km/patch-1

    docs(fix): fix the link to next page in schema types page
    Uzlopak committed Jul 27, 2022
    Configuration menu
    Copy the full SHA
    5846eee View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    dc43df7 View commit details
    Browse the repository at this point in the history

Commits on Jul 28, 2022

  1. Update populate.md

    Fix Populating Maps example
    amanfrinati committed Jul 28, 2022
    Configuration menu
    Copy the full SHA
    e5cb559 View commit details
    Browse the repository at this point in the history
  2. Merge pull request Automattic#12166 from amanfrinati/patch-1

    Update populate.md
    Uzlopak committed Jul 28, 2022
    Configuration menu
    Copy the full SHA
    0923e97 View commit details
    Browse the repository at this point in the history
  3. Merge pull request Automattic#12163 from fredkilbourn/patch-1

    Update compatibility.md
    Uzlopak committed Jul 28, 2022
    Configuration menu
    Copy the full SHA
    82dc7b9 View commit details
    Browse the repository at this point in the history

Commits on Aug 1, 2022

  1. perf(types): revert some changes from Automattic#11650 that were caus…

    …ing performance degradation
    
    Re: Automattic#10349
    vkarpov15 committed Aug 1, 2022
    Configuration menu
    Copy the full SHA
    8020515 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d35e2c5 View commit details
    Browse the repository at this point in the history
  3. Merge pull request Automattic#12180 from JosueMolinaMorales/patch-1

    Fix typo `emaill` to `email`
    Uzlopak committed Aug 1, 2022
    Configuration menu
    Copy the full SHA
    ce4a4bf View commit details
    Browse the repository at this point in the history
  4. perf(types): make $assertPopulated() not use this, because `Omit<…

    …this, ...>` causes perf issues
    
    Re: Automattic#10349
    vkarpov15 committed Aug 1, 2022
    Configuration menu
    Copy the full SHA
    77d2c70 View commit details
    Browse the repository at this point in the history
  5. chore(deps-dev): bump eslint from 8.19.0 to 8.21.0

    Bumps [eslint](https://github.com/eslint/eslint) from 8.19.0 to 8.21.0.
    - [Release notes](https://github.com/eslint/eslint/releases)
    - [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
    - [Commits](eslint/eslint@v8.19.0...v8.21.0)
    
    ---
    updated-dependencies:
    - dependency-name: eslint
      dependency-type: direct:development
      update-type: version-update:semver-minor
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    dependabot[bot] committed Aug 1, 2022
    Configuration menu
    Copy the full SHA
    1f25ee5 View commit details
    Browse the repository at this point in the history
  6. chore(deps-dev): bump @typescript-eslint/eslint-plugin

    Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 5.30.3 to 5.32.0.
    - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
    - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md)
    - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v5.32.0/packages/eslint-plugin)
    
    ---
    updated-dependencies:
    - dependency-name: "@typescript-eslint/eslint-plugin"
      dependency-type: direct:development
      update-type: version-update:semver-minor
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    dependabot[bot] committed Aug 1, 2022
    Configuration menu
    Copy the full SHA
    8648a7b View commit details
    Browse the repository at this point in the history
  7. chore(deps-dev): bump highlight.js from 11.5.1 to 11.6.0

    Bumps [highlight.js](https://github.com/highlightjs/highlight.js) from 11.5.1 to 11.6.0.
    - [Release notes](https://github.com/highlightjs/highlight.js/releases)
    - [Changelog](https://github.com/highlightjs/highlight.js/blob/main/CHANGES.md)
    - [Commits](highlightjs/highlight.js@11.5.1...11.6.0)
    
    ---
    updated-dependencies:
    - dependency-name: highlight.js
      dependency-type: direct:development
      update-type: version-update:semver-minor
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    dependabot[bot] committed Aug 1, 2022
    Configuration menu
    Copy the full SHA
    d12b148 View commit details
    Browse the repository at this point in the history
  8. chore(deps-dev): bump webpack from 5.73.0 to 5.74.0

    Bumps [webpack](https://github.com/webpack/webpack) from 5.73.0 to 5.74.0.
    - [Release notes](https://github.com/webpack/webpack/releases)
    - [Commits](webpack/webpack@v5.73.0...v5.74.0)
    
    ---
    updated-dependencies:
    - dependency-name: webpack
      dependency-type: direct:development
      update-type: version-update:semver-minor
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    dependabot[bot] committed Aug 1, 2022
    Configuration menu
    Copy the full SHA
    a245f1c View commit details
    Browse the repository at this point in the history
  9. chore(deps-dev): bump mongodb-memory-server from 8.7.2 to 8.8.0

    Bumps [mongodb-memory-server](https://github.com/nodkz/mongodb-memory-server/tree/HEAD/packages/mongodb-memory-server) from 8.7.2 to 8.8.0.
    - [Release notes](https://github.com/nodkz/mongodb-memory-server/releases)
    - [Changelog](https://github.com/nodkz/mongodb-memory-server/blob/master/CHANGELOG.md)
    - [Commits](https://github.com/nodkz/mongodb-memory-server/commits/v8.8.0/packages/mongodb-memory-server)
    
    ---
    updated-dependencies:
    - dependency-name: mongodb-memory-server
      dependency-type: direct:development
      update-type: version-update:semver-minor
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    dependabot[bot] committed Aug 1, 2022
    Configuration menu
    Copy the full SHA
    6bfe5ef View commit details
    Browse the repository at this point in the history

Commits on Aug 2, 2022

  1. Configuration menu
    Copy the full SHA
    16bec60 View commit details
    Browse the repository at this point in the history
  2. Merge pull request Automattic#12191 from Automattic/dependabot/npm_an…

    …d_yarn/master/webpack-5.74.0
    
    chore(deps-dev): bump webpack from 5.73.0 to 5.74.0
    AbdelrahmanHafez committed Aug 2, 2022
    Configuration menu
    Copy the full SHA
    480a259 View commit details
    Browse the repository at this point in the history
  3. Merge pull request Automattic#12190 from Automattic/dependabot/npm_an…

    …d_yarn/master/highlight.js-11.6.0
    
    chore(deps-dev): bump highlight.js from 11.5.1 to 11.6.0
    AbdelrahmanHafez committed Aug 2, 2022
    Configuration menu
    Copy the full SHA
    d2a9c3a View commit details
    Browse the repository at this point in the history
  4. Merge pull request Automattic#12189 from Automattic/dependabot/npm_an…

    …d_yarn/master/typescript-eslint/eslint-plugin-5.32.0
    
    chore(deps-dev): bump @typescript-eslint/eslint-plugin from 5.30.3 to 5.32.0
    AbdelrahmanHafez committed Aug 2, 2022
    Configuration menu
    Copy the full SHA
    6dfe681 View commit details
    Browse the repository at this point in the history
  5. Merge pull request Automattic#12188 from Automattic/dependabot/npm_an…

    …d_yarn/master/eslint-8.21.0
    
    chore(deps-dev): bump eslint from 8.19.0 to 8.21.0
    AbdelrahmanHafez committed Aug 2, 2022
    Configuration menu
    Copy the full SHA
    1b8149d View commit details
    Browse the repository at this point in the history
  6. Merge pull request Automattic#12192 from Automattic/dependabot/npm_an…

    …d_yarn/master/mongodb-memory-server-8.8.0
    
    chore(deps-dev): bump mongodb-memory-server from 8.7.2 to 8.8.0
    AbdelrahmanHafez committed Aug 2, 2022
    Configuration menu
    Copy the full SHA
    6aa47d3 View commit details
    Browse the repository at this point in the history
  7. chore(deps-dev): bump marked from 4.0.17 to 4.0.18

    Bumps [marked](https://github.com/markedjs/marked) from 4.0.17 to 4.0.18.
    - [Release notes](https://github.com/markedjs/marked/releases)
    - [Changelog](https://github.com/markedjs/marked/blob/master/.releaserc.json)
    - [Commits](markedjs/marked@v4.0.17...v4.0.18)
    
    ---
    updated-dependencies:
    - dependency-name: marked
      dependency-type: direct:development
      update-type: version-update:semver-patch
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    dependabot[bot] committed Aug 2, 2022
    Configuration menu
    Copy the full SHA
    9f0eed1 View commit details
    Browse the repository at this point in the history
  8. chore(deps-dev): bump @typescript-eslint/parser from 5.30.3 to 5.32.0

    Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 5.30.3 to 5.32.0.
    - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
    - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md)
    - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v5.32.0/packages/parser)
    
    ---
    updated-dependencies:
    - dependency-name: "@typescript-eslint/parser"
      dependency-type: direct:development
      update-type: version-update:semver-minor
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    dependabot[bot] committed Aug 2, 2022
    Configuration menu
    Copy the full SHA
    c75da75 View commit details
    Browse the repository at this point in the history
  9. chore(deps-dev): bump @babel/core from 7.18.6 to 7.18.10

    Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core) from 7.18.6 to 7.18.10.
    - [Release notes](https://github.com/babel/babel/releases)
    - [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
    - [Commits](https://github.com/babel/babel/commits/v7.18.10/packages/babel-core)
    
    ---
    updated-dependencies:
    - dependency-name: "@babel/core"
      dependency-type: direct:development
      update-type: version-update:semver-patch
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    dependabot[bot] committed Aug 2, 2022
    Configuration menu
    Copy the full SHA
    175767f View commit details
    Browse the repository at this point in the history
  10. Merge pull request Automattic#12185 from Automattic/dependabot/npm_an…

    …d_yarn/master/marked-4.0.18
    
    chore(deps-dev): bump marked from 4.0.17 to 4.0.18
    AbdelrahmanHafez committed Aug 2, 2022
    Configuration menu
    Copy the full SHA
    9527779 View commit details
    Browse the repository at this point in the history
  11. Merge pull request Automattic#12187 from Automattic/dependabot/npm_an…

    …d_yarn/master/typescript-eslint/parser-5.32.0
    
    chore(deps-dev): bump @typescript-eslint/parser from 5.30.3 to 5.32.0
    AbdelrahmanHafez committed Aug 2, 2022
    Configuration menu
    Copy the full SHA
    413998c View commit details
    Browse the repository at this point in the history
  12. Merge pull request Automattic#12186 from Automattic/dependabot/npm_an…

    …d_yarn/master/babel/core-7.18.10
    
    chore(deps-dev): bump @babel/core from 7.18.6 to 7.18.10
    AbdelrahmanHafez committed Aug 2, 2022
    Configuration menu
    Copy the full SHA
    ba323df View commit details
    Browse the repository at this point in the history
  13. chore(tidelift-alignment): run only in main repository, not in forks

    This is because in forks this workflow would run, but error because of missing secrets
    hasezoey committed Aug 2, 2022
    Configuration menu
    Copy the full SHA
    81f29d3 View commit details
    Browse the repository at this point in the history
  14. Merge pull request Automattic#12197 from hasezoey/disableTideliftOnFork

    chore(tidelift-alignment): run only in main repository, not in forks
    AbdelrahmanHafez committed Aug 2, 2022
    Configuration menu
    Copy the full SHA
    f50181e View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    d459c8f View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    7719569 View commit details
    Browse the repository at this point in the history
  17. fix(types): avoid baffling circular reference when using PopulatedDoc…

    … with a bidirectional reference
    
    Fix Automattic#12136
    Re: 11911
    vkarpov15 committed Aug 2, 2022
    Configuration menu
    Copy the full SHA
    7ed781c View commit details
    Browse the repository at this point in the history

Commits on Aug 3, 2022

  1. Merge pull request Automattic#12193 from Automattic/vkarpov15/Automat…

    …ticgh-12143
    
    fix(model+query): handle populate with lean transform that deletes `_id`
    vkarpov15 committed Aug 3, 2022
    Configuration menu
    Copy the full SHA
    07e36aa View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    25e4580 View commit details
    Browse the repository at this point in the history
  3. Merge pull request Automattic#12200 from hasezoey/updateCompat

    docs(compatibility): change to use a table
    vkarpov15 committed Aug 3, 2022
    Configuration menu
    Copy the full SHA
    547680d View commit details
    Browse the repository at this point in the history
  4. Replace Schema path generic TPathKey with TSchemaOptions to cover the…

    … entire schema optins one generic.
    mohammad0-0ahmad authored and ts-benchmark committed Aug 3, 2022
    Configuration menu
    Copy the full SHA
    139773d View commit details
    Browse the repository at this point in the history
  5. Add extra property to DefaultSchemaOptions and refactor the related t…

    …ests.
    mohammad0-0ahmad authored and ts-benchmark committed Aug 3, 2022
    Configuration menu
    Copy the full SHA
    0b76d27 View commit details
    Browse the repository at this point in the history
  6. Refactor comment line

    mohammad0-0ahmad authored and ts-benchmark committed Aug 3, 2022
    Configuration menu
    Copy the full SHA
    9ad8c6c View commit details
    Browse the repository at this point in the history
  7. Reolve schema type when timestamps option is true.

    mohammad0-0ahmad authored and ts-benchmark committed Aug 3, 2022
    Configuration menu
    Copy the full SHA
    8577fe9 View commit details
    Browse the repository at this point in the history

Commits on Aug 6, 2022

  1. Add new helpers to inferschematype.d.ts file

     Author:    Mohammad Ahmad <kurtular.vadisi@gmail.com>
    ts-benchmark authored and mohammad0-0ahmad committed Aug 6, 2022
    Configuration menu
    Copy the full SHA
    5a35b07 View commit details
    Browse the repository at this point in the history
  2. coverage for __v path depending on schema options.

     Author:    Mohammad Ahmad <kurtular.vadisi@gmail.com>
    ts-benchmark authored and mohammad0-0ahmad committed Aug 6, 2022
    Configuration menu
    Copy the full SHA
    a73c87e View commit details
    Browse the repository at this point in the history
  3. Coverage for id virtual depending on schema options.

    Author:    Mohammad Ahmad <kurtular.vadisi@gmail.com>
    ts-benchmark authored and mohammad0-0ahmad committed Aug 6, 2022
    Configuration menu
    Copy the full SHA
    846a1de View commit details
    Browse the repository at this point in the history
  4. Fix Resolve__v

     Author:    Mohammad Ahmad <kurtular.vadisi@gmail.com>
    ts-benchmark authored and mohammad0-0ahmad committed Aug 6, 2022
    Configuration menu
    Copy the full SHA
    af185d4 View commit details
    Browse the repository at this point in the history
  5. Create and implement Extends to avoid circular ref error.

     Author:    Mohammad Ahmad <kurtular.vadisi@gmail.com>
    ts-benchmark authored and mohammad0-0ahmad committed Aug 6, 2022
    Configuration menu
    Copy the full SHA
    17ec0ad View commit details
    Browse the repository at this point in the history
  6. Apply Resolve_id to resolve the type of _id path using schema options

     Author:    Mohammad Ahmad <kurtular.vadisi@gmail.com>
    ts-benchmark authored and mohammad0-0ahmad committed Aug 6, 2022
    Configuration menu
    Copy the full SHA
    937a491 View commit details
    Browse the repository at this point in the history