Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-12556

Deprecation status of GridFS options contentType and aliases

    • Type: Icon: Task Task
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • Server_Docs_20231030
    • Affects Version/s: None
    • Component/s: manual
    • Labels:
      None
    • 0.1

      Description

      See:
      https://mongo-db.slack.com/archives/C0KT5MWSH/p1553100673685800
      https://mongo-db.slack.com/archives/C0KT5MWSH/p1553100695686400

      From the driver perspective, the contentType and alias fields have been deprecated since 2015 in favor of the metadata field (GridFS Spec). These fields are not mentioned as deprecated in the docs for GridFS. Is there another mechanism for using contentType or aliases that has not deprecated these fields (like the shell or mongofiles)? If not, can we change the documentation to mark these fields as deprecated?

      Thanks,
      Dan

      Scope of changes

      • mark contentType and aliases as deprecated
      • Advise users to use metadata for storing that information
      • mark md5 as deprecated
      • Advise users to create their own file digest/hash and add it to metadata

      Impact to Other Docs

      MVP (Work and Date)

      Resources (Scope or Design Docs, Invision, etc.)

            Assignee:
            ravind.kumar Ravind Kumar (Inactive)
            Reporter:
            daniel.aprahamian@mongodb.com Daniel Aprahamian (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:
              5 years, 5 weeks, 1 day ago