Skip to content

Latest commit

 

History

History
129 lines (70 loc) · 4 KB

CHANGELOG.md

File metadata and controls

129 lines (70 loc) · 4 KB

CHANGELOG

2.8.1

2.8.0

  • Performance improvements, especially with the haversine_vector function #65 by jobh

2.7.0

Official support of python 3.10, 3.11 and 3.12

2.6.0

2.5.1

  • Reset type hinting for inverse_haversine

2.5.0

  • [Minor break] Drop support for python 2.7 #42

2.4.1

  • Fix issue with python 2.7 compatibily. See #41

2.4.0

2.3.1

2.3.0

Added

  • Added the comb parameter for haversine_vector (thanks to Fd-3741) #34

2.2.0

Added

  • Added the haversine_vector function (thanks to ccforgy) #26

Changed

2.1.2 - 2019-07-19

Fix typo in documentation

2.1.1 - 2019-05-07

Quick improvement left out at #22 Renamed Units to Unit along the way, to comply with conventions (Breaking if you were on 2.1.0)

See more: #23 — Paolo Lammens

2.1.0 - 2019-05-07

General refactor: use Enum for available units, extract constants #22 — Paolo Lammens

2.0.0 - 2018-11-27

Changed

  • Add a unit parameter accepting different units (miles, meter, feet, etc.)
  • [BREAKING] The miles and nautical_miles parameters have been removed and replaced by the unit parameter. See #20

How to upgrade

If you did not use the miles or nautical_miles, you are good to go, this is non-breaking for you !

If you did use miles or nautical_miles, you just need to do that:

- haversine(lyon, paris, miles=True)
+ haversine(lyon, paris, unit='mi')
- haversine(lyon, paris, nautical_miles=True)
+ haversine(lyon, paris, unit='nmi')

Du to a small change in the formula, the precision for miles aud nautical miles has slighty changed. Example : distance between Lyon, France and Paris, France changed from 243.7125041070121 miles to 243.71250609539814 miles. Same for nautical miles.

1.0.2 - 2018-10-13

slightly better precision #17

1.0.1 - 2018-10-10

fix wrong definition in setup.py

1.0.0 - 2018-10-10

No changes, haversine package has been stable and functional for years now. Time to make a 1.0 version :)

(in fact there is one breaking changes but it concern the 0.5.0 version published just 10 minutes before 1.0 ;). In that case nmiles has been changed to nautical_miles for readability)

0.5.0 - 2018-10-10

Add nautical miles support

0.4.6

Fixed typos in README and docstring

0.4.5

Fixed issue with int instead of float #6

0.4.3 - 0.4.4

  • Remove useless code #5

0.4.2

  • Remove cPython usage: fail on Windows, no real perf gain 5d0ff179