Releases: skinandbones/rack-gridfs
Releases · skinandbones/rack-gridfs
v0.4.3
v0.4.2
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
- Eliminate need for
:require
option inGemfile
Konstantin Shabanov - Add
fs_name
option as supported by the Mongo driver max-power
Bug Fixes
- Prevent
bson
2.x being allowed to resolve dependency constraints, where some historical versions of themongo
gem used a ">= 1.x" constraint spec. See #14 for instance.
v0.4.1
Bug Fixes
- URL-decode before filename lookup so that non-ASCII filenames are handled correctly Konstantin Shabanov
v0.4.0
Major refactoring and loads of new features! Thanks to Ben Marini for his substantial contributions to this release.
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
andEtag
so thatRack::ConditionalGet
sends 304s.expires
option to setCache-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 aReplSetConnection
in high-availability architectures (Ben Marini)
Bug Fixes
BSON::ObjectID
renamed toObjectId
, and other changes supporting current versions of Mongo libraries