All Versions
36
Latest Version
Avg Release Cycle
60 days
Latest Release
2669 days ago

Changelog History
Page 1

  • v2.0.7 Changes

    August 15, 2015
    • ๐Ÿ‘Œ Improved Moped Failover (John Hyman)
  • v2.0.6 Changes

    June 11, 2015
    • โฌ†๏ธ Relaxing BSON dependency to allow for 3.1.0 upgrade.
  • v2.0.5 Changes

    June 04, 2015

    Resolved Issues

    • #351 Fixing retries with authentication. (Wandenberg Peixoto)

    • โฌ†๏ธ Bump BSON dependency to 3.0.4

  • v2.0.4 Changes

    February 20, 2015

    Resolved Issues

    • #345 Writes fail with ConnectionPool::PoolShuttingDownError. (fedenusy, dblock)
  • v2.0.3 Changes

    January 02, 2015

    Resolved Issues

    • #333, #336 Disconnect even when IP address not resolved and fix shutdown pool for node. (durran)
  • v2.0.2 Changes

    November 18, 2014

    Resolved Issues

    • Dont include peers if node already in the list There was a big memory leak, that was including all nodes in the list in every refresh cycle. (Arthur Neves)
  • v2.0.1 Changes

    October 16, 2014

    Resolved Issues

    • #288, #278, #252, #247, #275, #290 Re-apply credentials when connection is lost with the server. (zarqman)

    • mongoid/mongoid#3790 Allow Session pool_timeout option. (Niels Ganser)

    • ๐Ÿ‘ #297 Better retry on authentication. (Jonathan Hyman)

  • v2.0.0 Changes

    June 23, 2014

    API Changes (Backwards Incompatible)

    • ๐Ÿ‘ Moped 2 now only supports MongoDB 2.4.0 and higher.

    • Query.cursor will return a Enumerable instead of a Enumerator. (Arthur Neves)

    • ๐Ÿšš Moped's BSON implementation has been removed in favor of the 10gen bson gem 2.0 and higher. All Moped::BSON references should be changed to just BSON.

    • #190 Connection retries are now logged. (Jan Paul Posma)

    • ๐Ÿ‘ #133 Moped now supports the new read preferences that the core drivers provide. These include:

      • :primary: Will always read from a primary node. (default)
      • :primary_preferred: Attempt a primary first, then secondary if none available.
      • :secondary: Will always read from a secondary node.
      • :secondary_preferred: Attempt a secondary first, then primary if none available.
      • :nearest: Attempt to read from the node with the lowest latency.

      Sample syntax:

      Moped::Session.new([ "127.0.0.1:27017" ], read: :secondary)
      session.with(read: :nearest)[:users].find
      

      The :consistency option is no longer valid and will be ignored.

    • 0๏ธโƒฃ #92 Moped now defaults all writes to propagate (formerly "safe mode") and now has different propagate semantics:

      • { w: -1 }: Don't verify writes and raise no network errors.
      • { w: 0 }: Don't verify writes and raise network errors.
      • { w: 1 }: Verify writes on the primary node. (default)
      • { w: n }: Verify writes on n number of nodes.
      • { w: :majority }: Verify writes on a majority of nodes.

      Sample syntax:

      Moped::Session.new([ "127.0.0.1:27017" ], write: { w: 0 })
      session.with(write: { w: -1 })[:users].insert(document)
      

      The :safe option is no longer valid and will be ignored.

    ๐Ÿ†• New Features

    • #196 Adding method on collection to rename itself (Arthur Neves)

    Resolved Issues

    • #210 Moped no longer attempts to refresh arbiters as they cannot be queried.
  • v2.0.0.rc2

    June 16, 2014
  • v1.5.3

    June 06, 2015