Geocoder v0.9.12 Release Notes

Release Date: 2011-04-06 // about 13 years ago
    • โž• Add support for Mongoid.
    • โž• Add bearing_to/from methods to geocoded objects.
    • ๐Ÿ‘Œ Improve SQLite's distance calculation heuristic.
    • ๐Ÿ›  Fix: Geocoder::Calculations.geographic_center was modifying its argument in-place (reported by github.com/joelmats).
    • ๐Ÿ›  Fix: sort 'near' query results by distance when using SQLite.
    • Clean up input: search for coordinates as a string with space after comma yields zero results from Google. Now we get rid of any such space before sending the query.
    • ๐Ÿ—„ DEPRECATION: Geocoder.near should not take :limit or :offset options.
    • ๐Ÿ—„ DEPRECATION: Change argument format of all methods that take lat/lon as separate arguments. Now you must pass the coordinates as an array [lat,lon], but you may alternatively pass a address string (will look up coordinates) or a geocoded object (or any object that implements a to_coordinates method which returns a [lat,lon] array).