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

Update dependency mingo to v6.5.2 #6778

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jan 20, 2025

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
mingo 6.4.15 -> 6.5.2 age adoption passing confidence

Release Notes

kofrasa/mingo (mingo)

v6.5.2

Compare Source

Fixes

  • $slice: handle negative skip values correctly. #​503
  • $setField: modify correct input object when adding new field.
  • $convert: add missing BSON type strings.

v6.5.1

Compare Source

Improvements

  • Export default update function and factory in module index.
  • Improve performance of $bucketAuto by removing excessive hashing.
  • Simplify API for adding operators in Context class.
  • Renamed updateObject(..) to update(..).
  • Remove optimistic string representation on custom type without explicit toString() method.
  • Expression operator $type returns "regexp" instead of "regex" when useStrictMode=false.

Fixes

  • Use MongoDB comparator for $cmp.

v6.5.0

Compare Source

New

  • Added $densify pipeline stage operator.
  • Added $graphLookup pipeline stage operator.
  • Added $dateTrunc expression operator.
  • Support $lookup by array and sub-queries with nested pipeline.
  • Support granularity option in $bucketAuto.
  • Add Olson timezone support for date operators.
  • Expression operator $type uses JS type names when useStrictMode=false or MongoDB type names otherwise.
    • Types in non-strict mode: "undefined","boolean", and "number".
    • Types in strict mode: "missing", "bool", "int", "long", and "double".
  • Renamed AnyVal -> Any and RawObject -> AnyObject.

Fixes

  • Implement $dateDiff to be consistent with MongoDB.
  • Handle null inputs to $objectToArray,$setUnion,$map,$zip, and $filter.
  • Pass parent variables down to nested expressions.
  • Include idKey for $project when no other fields are selected.
  • Removed caching of current timestamp for $$NOW variable in options.
  • Handle date inputs for $subtract operator.
  • Improve input validations for $first, $last, and $ifNull.
  • Update implementation of $min and $max to be consistent with new behaviour in latest MongoDB.

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot force-pushed the renovate/mingo-6.x branch 8 times, most recently from bde41d1 to d311924 Compare January 22, 2025 17:02
@renovate renovate bot force-pushed the renovate/mingo-6.x branch from d311924 to 78ba8e7 Compare January 23, 2025 12:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants