Skip to content

Commit

Permalink
v0.4.2
Browse files Browse the repository at this point in the history
  • Loading branch information
ches committed Nov 3, 2015
1 parent 8bfc643 commit 0eefd9e
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 11 deletions.
14 changes: 13 additions & 1 deletion CHANGES.rdoc
Original file line number Diff line number Diff line change
@@ -1,13 +1,25 @@
== CHANGE LOG

=== dev
=== 0.4.2 / November 3, 2015

{full commit log}[https://github.com/skinandbones/rack-gridfs/compare/v0.4.1...v0.4.2]

It's been awhile, eh? No compatibility with new <tt>mongo</tt> 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 <tt>mongo</tt> driver versions.

==== Features

- Eliminate need for <tt>:require</tt> option in Gemfile (Konstantin Shabanov)
- Add <tt>fs_name</tt> option as supported by the Mongo driver
({max-power}[https://github.com/max-power])

==== Bug Fixes

- Prevent bson 2.x being allowed to resolve dependency constraints, where some
historical versions of the <tt>mongo</tt> gem used a ">= 1.x" constraint spec.
See {#14}[https://github.com/skinandbones/rack-gridfs/issues/14] for instance.

=== 0.4.1 / June 26, 2011

Expand Down
27 changes: 18 additions & 9 deletions README.rdoc
Original file line number Diff line number Diff line change
Expand Up @@ -17,17 +17,26 @@ handle routing another way.
== Ruby Version and Mongo Driver Compatibility Notes

The library hasn't been updated for some time and is in the process of being
brought up to modern standards on the `master` branch. It probably does not yet
work with current versions of the `mongo` and `bson` gems (patches welcome if
you need it faster than we can deliver it). Support for Ruby 1.8 is almost
certainly already dropped on master—it was supported up to gem release/git tag
v0.4.1.

If for some reason you need support for ancient versions of the `mongo` driver
brought up to modern standards on the +master+ branch. It does not yet work
with 2.x versions of the +mongo+ driver gem, which means that you will not be
able to use it together with Mongoid 5.x (patches welcome if you need it faster
than we can deliver it). Since Mongoid 3.x and 4.x use the +moped+ gem instead
of +mongo+, though, you may be able to use the current rack-gridfs release in
apps still using one of these older Mongoid versions. rack-gridfs should
support the latest 1.x +mongo+ releases, {which support MongoDB 3.0}[https://docs.mongodb.org/ecosystem/drivers/driver-compatibility-reference/#reference-compatibility-mongodb-ruby].

Support for Ruby 1.8 is no longer being tested and will be dropped in the next
version that supports +mongo+ 2.x (the driver itself officially drops 1.8
support). It was supported up to rack-gridfs gem release/git tag v0.4.2.

If for some reason you need support for ancient versions of the +mongo+ driver
prior to v1.2, these were supported in rack-gridfs 0.3.0 and below. 0.4.x
supports `mongo` 1.2(.x?) which made substantial changes to the earlier GridFS
supports +mongo+ 1.2+ which made substantial changes to the earlier GridFS
API.

If your head is spinning, {this official blog post}[https://www.mongodb.com/blog/post/announcing-ruby-driver-20-rewrite]
gives a good breakdown of driver version history and the future.

== Installation

gem install rack-gridfs
Expand Down Expand Up @@ -166,7 +175,7 @@ a Ruby project:
$ bundle exec rake test

Note that the test suite expects that you have MongoDB running locally on the
default port and will use a database called `test`.
default port and will use a database called +test+.

== Copyright

Expand Down
2 changes: 1 addition & 1 deletion lib/rack/gridfs/version.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
module Rack
class GridFS
VERSION = "0.4.1"
VERSION = "0.4.2"
end
end

0 comments on commit 0eefd9e

Please sign in to comment.