Skip to content

Latest commit

 

History

History
75 lines (52 loc) · 2.7 KB

CHANGES.md

File metadata and controls

75 lines (52 loc) · 2.7 KB

CHANGE LOG

0.4.3 / November 4, 2015

Same as v0.4.2, but v0.4.2 gem yanked because of faulty gemspec file (grumble).

0.4.2 / November 3, 2015

full commit log

It's been awhile, eh? No compatibility with new mongo 2.x releases yet, we'll look to bring that in an 0.5 or 1.0 release. This is primarily a bug fix release for users affected by incompatible bson 2.x being allowed by some historical mongo driver versions.

Features

Bug Fixes

  • Prevent bson 2.x being allowed to resolve dependency constraints, where some historical versions of the mongo gem used a ">= 1.x" constraint spec. See #14 for instance.

0.4.1 / June 26, 2011

full commit log

Bug Fixes

  • URL-decode before filename lookup so that non-ASCII filenames are handled correctly (Konstantin Shabanov)

0.4.0 / May 12, 2011

Major refactoring and loads of new features! Thanks to Ben Marini for his substantial contributions to this release.

full commit log

Features

  • Allow configuration of MongoDB authentication (Steve Sloan)
  • Allow option to look up objects by GridFS filename instead of ObjectId (SHIBATA Hiroshi)
  • Return iterable GridIO object instead of file contents, so Rack can stream in chunks (Ches Martin)
  • Rack::GridFS::Endpoint: support for mounting as a Rack endpoint in addition to middleware (Ben Marini)
  • Cache headers: set Last-Modified and Etag so that Rack::ConditionalGet sends 304s. expires option to set Cache-Control (Alexander Gräfe & Ben Marini)
  • mime-types dependency so GridFS lib can determine content types (Ben Marini)
  • You can now pass a Mongo::DB instance instead of discrete database configuration parameters. Connections are retried so we take advantage of a ReplSetConnection in high-availability architectures (Ben Marini)

Bug Fixes

  • BSON::ObjectID renamed to ObjectId, and other changes supporting current versions of Mongo libraries