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

feat(NODE-5590): deprecate GridFS fields #3905

Merged
merged 2 commits into from
Oct 31, 2023

Conversation

alenakhineika
Copy link
Contributor

@alenakhineika alenakhineika commented Oct 30, 2023

Description

Deprecate unused GridFS fields.

What is changing?

Deprecates contentType and aliases options.

Is there new documentation needed for these changes?

None

What is the motivation for this change?

NODE-5590

Release Highlight

GridFS fields deprecated

The GridFS contentType and aliases options are deprecated. According to the GridFS spec, applications wishing to store contentType and aliases should add a corresponding field to the metadata document instead.

Double check the following

  • Ran npm run check:lint script
  • Self-review completed using the steps outlined here
  • PR title follows the correct format: type(NODE-xxxx)[!]: description
    • Example: feat(NODE-1234)!: rewriting everything in coffeescript
  • Changes are covered by tests
  • New TODOs have a related JIRA ticket

@alenakhineika alenakhineika marked this pull request as ready for review October 30, 2023 17:22
@W-A-James W-A-James self-assigned this Oct 31, 2023
src/gridfs/download.ts Outdated Show resolved Hide resolved
src/gridfs/download.ts Outdated Show resolved Hide resolved
@W-A-James W-A-James added the Primary Review In Review with primary reviewer, not yet ready for team's eyes label Oct 31, 2023
@W-A-James W-A-James added Team Review Needs review from team and removed Primary Review In Review with primary reviewer, not yet ready for team's eyes labels Oct 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants