Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: mongodb/node-mongodb-native
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 446877d7d021df7f448c6814766649e8fff47548
Choose a base ref
...
head repository: mongodb/node-mongodb-native
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 86ae8136d70327efc6631ba815431c9133d71cbb
Choose a head ref

Commits on Sep 9, 2020

  1. chore: update bl due to CVE

    mbroadst committed Sep 9, 2020
    Copy the full SHA
    2a6faa6 View commit details
  2. fix: allow event loop to process during wait queue processing (#2537)

    * fix: allow event loop to process during wait queue processing
    
    Running `processWaitQueue` on the next tick allows the event loop
    to process while the connection pool is processing large numbers of
    wait queue members. This also uncovered a few issues with timing
    in our tests, and in some cases our top-level API:
      - `commitTransaction` / `abortTransaction` use `maybePromise` now
      - `endSession` must wait for all the machinery behind the scenes to
         check out a connection and write a message before considering its
         job finished
      - internal calls to `kill` a cursor now await the the process of fully
        sending that command, even if they ignore the response
    
    NODE-2803
    mbroadst authored Sep 9, 2020
    Copy the full SHA
    4e03dfa View commit details

Commits on Sep 21, 2020

  1. fix: sets primary read preference for writes

    Uses a primary read preference for write / DDL operations, needed for server selection.
    
    NODE-2784
    Thomas Reggi authored Sep 21, 2020
    Copy the full SHA
    ddcd03d View commit details

Commits on Sep 22, 2020

  1. chore(release): 3.6.2

    mbroadst committed Sep 22, 2020
    Copy the full SHA
    6113b24 View commit details

Commits on Sep 29, 2020

  1. fix: permit waking async interval with unreliable clock

    The logic for waking the AsyncInterruptibleInterval sooner than its
    interval is dependent on an ability to reliably mark the last call
    made to the wrapped function. In environments like AWS Lambda where
    instances can be frozen and later thawed, it's possible for the
    last call to be in a distant past even though the internal timer
    has not completed yet. This change ensures that we immediately
    reschedule in these situations.
    
    NODE-2829
    mbroadst committed Sep 29, 2020
    Copy the full SHA
    e0e11bb View commit details

Commits on Sep 30, 2020

  1. style: Sync tooling configuration from 4.0 branch (#2553)

    Update ESLint and bring in a modified version of our config from 4.0. 
    ESLint manages running and checking prettier formatting. 
    Update mocha and bringing in the config from the 4.0 branch.
    nbbeeken authored Sep 30, 2020
    Copy the full SHA
    6c63471 View commit details

Commits on Oct 1, 2020

  1. test: Update connection-monitoring-and-pooling specs (#2555)

    Update connection-monitoring-and-pooling tests
    ensuring ConnectionCreated proceed ConnectionReady events.
    Add spec sync script.
    
    NODE-2804
    nbbeeken authored Oct 1, 2020
    Copy the full SHA
    b70baf4 View commit details

Commits on Oct 2, 2020

  1. fix: Fix test filters and revert mocha version (#2558)

    Revet mocha upgrade due to nodejs version requirements.
    Correct client_encryption test filter to operate as expected on nodejs v4.
    nbbeeken authored Oct 2, 2020
    Copy the full SHA
    0e5c45a View commit details

Commits on Oct 5, 2020

  1. Copy the full SHA
    967de13 View commit details

Commits on Oct 6, 2020

  1. fix: remove geoNear deprecation

    Thomas Reggi authored Oct 6, 2020
    Copy the full SHA
    4955a52 View commit details

Commits on Oct 12, 2020

  1. fix: use options for readPreference in client

    Thomas Reggi authored Oct 12, 2020
    Copy the full SHA
    6acced0 View commit details
  2. test: add directConnection spec tests

    Thomas Reggi authored Oct 12, 2020
    Copy the full SHA
    efd906a View commit details

Commits on Oct 13, 2020

  1. fix: adds topology discovery for sharded cluster

    Thomas Reggi authored Oct 13, 2020
    Copy the full SHA
    f8fd310 View commit details

Commits on Oct 20, 2020

  1. fix: correctly re-establishes pipe destinations

    Thomas Reggi authored Oct 20, 2020
    Copy the full SHA
    a6e7caf View commit details

Commits on Oct 21, 2020

  1. Copy the full SHA
    79df553 View commit details

Commits on Nov 3, 2020

  1. fix: connection leak if wait queue member cancelled

    A connection could potentially be leaked if a wait queue member was
    cancelled (due to timeout) before execution. In these cases we
    should return the connection back to the list of connections for
    future use or pruning.
    
    NODE-2865
    mbroadst committed Nov 3, 2020
    Copy the full SHA
    cafaa1b View commit details

Commits on Nov 5, 2020

  1. fix: add peerDependenciesMeta to mark optional deps (#2606)

    Some package managers such as yarn or pnpm require strict definitons
    of project dependencies which does not play well with our `require_optional`
    approach to peer optional dependencies. This change utilizes a relatively
    new `peerDependenciesMeta` field to inform these package managers of 
    these optional dependencies.
    
    NODE-2867
    andreialecu authored Nov 5, 2020
    Copy the full SHA
    186090e View commit details

Commits on Nov 6, 2020

  1. Copy the full SHA
    f0cee7a View commit details
  2. fix: move kerberos client setup from prepare to auth (#2608)

    A new KerberosClient should be made for each individual authentication
    attempt, rather than the current approach which creates one and shares
    it for all attempts.
    
    NODE-2859
    emadum authored Nov 6, 2020
    Copy the full SHA
    033b6e7 View commit details
  3. fix: Change socket timeout default to 0 (#2572)

    We make an implicit assumption with our default socket timeout that
    most operations will complete within the current default of 5min. This is
    not the case for services like Atlas Data Lake, which may regularly take
    far longer to complete operations. In general we can't make any
    assumptions about how long an operation will take to complete, and so
    the default socket timeout is now 0 (infinity) unless otherwise indicated.
    
    NODE-2835
    nbbeeken authored Nov 6, 2020
    Copy the full SHA
    89b77ed View commit details
  4. fix: revert use of setImmediate to process.nextTick (#2611)

    A performance regression was identified in switching the connection
    pool to using setImmediate instead of process.nextTick for wait
    queue processing. This patch reverts that change.
    
    NODE-2861
    mbroadst authored Nov 6, 2020
    Copy the full SHA
    c9f9d5e View commit details
  5. fix: correctly assign username to X509 auth command (#2587)

    A typo resulted in a provided username not being properly assigned to the command
    send to the server when using X509 authentication.
    
    NODE-2869
    through-a-haze authored Nov 6, 2020
    Copy the full SHA
    9110a45 View commit details
  6. Copy the full SHA
    308f840 View commit details
  7. chore(release): 3.6.3

    mbroadst committed Nov 6, 2020
    Copy the full SHA
    86ae813 View commit details
Loading