Skip to content
Snippets Groups Projects
CHANGELOG.rdoc 3.81 KiB
Newer Older
Alex Reisner's avatar
Alex Reisner committed
= Changelog

Per-release changes to Geocoder.

Alex Reisner's avatar
Alex Reisner committed
== 0.9.9 (2011 Mar 9)

* Add support for IP address geocoding via FreeGeoIp.net.
* Add support for Yahoo PlaceFinder geocoding API.
* Add support for custom geocoder data handling by passing a block to geocoded_by or reverse_geocoded_by.
* Add <tt>Rack::Request#location</tt> method for geocoding user's IP address.
* Change gem name to geocoder (no more rails-geocoder).
* Gem now works outside of Rails.
* DEPRECATION: +fetch_coordinates+ no longer takes an argument.
* DEPRECATION: +fetch_address+ no longer takes an argument.
* DEPRECATION: Geocoder.search now returns a single result instead of an array.
* DEPRECATION: <tt>fetch_coordinates!</tt> has been superceded by +geocode+ (then save your object manually).
* DEPRECATION: <tt>fetch_address!</tt> has been superceded by +reverse_geocode+ (then save your object manually).
* Fix: don't die when trying to get coordinates with a nil address (github.com/zmack).

Alex Reisner's avatar
Alex Reisner committed
== 0.9.8 (2011 Feb 8)

* Include geocode:all Rake task in gem (was missing!).
* Add Geocoder.search for access to Google's full response.
* Add ability to configure Google connection timeout.
* Emit warnings on Google connection problems and errors.
* Refactor: insert Geocoder into ActiveRecord via Railtie.

Alex Reisner's avatar
Alex Reisner committed
== 0.9.7 (2011 Feb 1)

* Add reverse geocoding (+reverse_geocoded_by+).
Alex Reisner's avatar
Alex Reisner committed
* Prevent exception (uninitialized constant Geocoder::Net) when net/http not already required (github.com/sleepycat).
Alex Reisner's avatar
Alex Reisner committed
* Refactor: split monolithic Geocoder module into several smaller ones.

Alex Reisner's avatar
Alex Reisner committed
== 0.9.6 (2011 Jan 19)

* Fix incompatibility with will_paginate gem.
Alex Reisner's avatar
Alex Reisner committed
* Include table names in GROUP BY clause of nearby scope to avoid ambiguity in joins (github.com/matchu).
Alex Reisner's avatar
Alex Reisner committed
== 0.9.5 (2010 Oct 15)
* Fix broken PostgreSQL compatibility (now 100% compatible).
* Switch from Google's XML to JSON geocoding API.
* Separate Rails 2 and Rails 3-compatible branches.
* Don't allow :conditions hash in 'options' argument to 'nearbys' method (was deprecated in 0.9.3).
Alex Reisner's avatar
Alex Reisner committed
== 0.9.4 (2010 Aug 2)

* Google Maps API key no longer required (uses geocoder v3).

Alex Reisner's avatar
Alex Reisner committed
== 0.9.3 (2010 Aug 2)

* Fix incompatibility with Rails 3 RC 1.
* Deprecate 'options' argument to 'nearbys' method.
* Allow inclusion of 'nearbys' in Arel method chains.

Alex Reisner's avatar
Alex Reisner committed
== 0.9.2 (2010 Jun 3)

Alex Reisner's avatar
Alex Reisner committed
* Fix LIMIT clause bug in PostgreSQL (reported by github.com/kenzie).
Alex Reisner's avatar
Alex Reisner committed
== 0.9.1 (2010 May 4)

* Use scope instead of named_scope in Rails 3.

== 0.9.0 (2010 Apr 2)

Alex Reisner's avatar
Alex Reisner committed
* Fix bug in PostgreSQL support (caused "PGError: ERROR:  column "distance" does not exist"), reported by github.com/developish.
== 0.8.9 (2010 Feb 11)

* Add Rails 3 compatibility.
* Avoid querying Google when query would be an empty string.

== 0.8.8 (2009 Dec 7)

* Automatically select a less accurate but compatible distance algorithm when SQLite database detected (fixes SQLite incompatibility).

== 0.8.7 (2009 Nov 4)

* Added Geocoder.geographic_center method.
* Replaced _get_coordinates class method with read_coordinates instance method.

== 0.8.6 (2009 Oct 27)

* The fetch_coordinates method now assigns coordinates to attributes (behaves like fetch_coordinates! used to) and fetch_coordinates! both assigns and saves the attributes.
* Added geocode:all rake task.

Alex Reisner's avatar
Alex Reisner committed
== 0.8.5 (2009 Oct 26)

* Avoid calling deprecated method from within Geocoder itself.

== 0.8.4 (2009 Oct 23)

* Deprecate <tt>find_near</tt> class method in favor of +near+ named scope.

== 0.8.3 (2009 Oct 23)

* Update Google URL query string parameter to reflect recent changes in Google's API.

== 0.8.2 (2009 Oct 12)

* Allow a model's geocoder search string method to be something other than an ActiveRecord attribute.
* Clean up documentation.

Alex Reisner's avatar
Alex Reisner committed
== 0.8.1 (2009 Oct 8)

* Extract XML-fetching code from Geocoder.search and place in Geocoder._fetch_xml (for ease of mocking).
* Add tests for coordinate-fetching instance methods.

== 0.8.0 (2009 Oct 1)

First release.