Uploaded image for project: 'Node.js Driver'
  1. Node.js Driver
  2. NODE-1430

Evaluate how we handle deprecation notices

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Native
    • Labels:
      None

      Since we will be continuously deprecating out-of-date features as we drop support for server versions, we should look in a unifying approach as to how we emit deprecation notices.

      Some things to consider:

      • util.deprecate is available in all versions of Node that we support, and has some nifty features. It only works by wrapping a function, so we need to figure out how to incorporate this in to other deprecation notices
      • Should this be integrated with options-management NODE-1256?
      • Should we be logging to log files for deprecation warnings as well?

            Assignee:
            sophie.saskin@mongodb.com Sophie Saskin
            Reporter:
            daniel.aprahamian@mongodb.com Daniel Aprahamian (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: