Skip to content
This repository has been archived by the owner on Aug 2, 2022. It is now read-only.

Delete the deprecation distance service #233

Merged
merged 1 commit into from
May 8, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 7 additions & 3 deletions CHANGES
Original file line number Diff line number Diff line change
@@ -1,9 +1,13 @@
Changes
=======

Next
----
- Added support for Directions v5.
0.16.0 (2018-05-07)
-------------------
- Added support for Directions v5 (#203).
- The Mapbox Distance API is no more and the distance module has been deleted
(#232). Users must use the DirectionsMatrix introduced in 0.15.
- Project documentation is now on Read the Docs:
https://mapbox-mapbox.readthedocs-hosted.com/en/latest/.

0.15.1 (2018-01-16)
-------------------
Expand Down
8 changes: 0 additions & 8 deletions docs/api/mapbox.services.rst
Original file line number Diff line number Diff line change
Expand Up @@ -36,14 +36,6 @@ mapbox.services.directions module
:undoc-members:
:show-inheritance:

mapbox.services.distance module
-------------------------------

.. automodule:: mapbox.services.distance
:members:
:undoc-members:
:show-inheritance:

mapbox.services.geocoding module
--------------------------------

Expand Down
90 changes: 0 additions & 90 deletions docs/distance.md

This file was deleted.

2 changes: 0 additions & 2 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ Services
- GeoJSON & Polyline formatting
- Instructions as text or HTML

- **Distance V1** **DEPRECATED**
- **Geocoding V5** `examples <./docs/geocoding.md#geocoding>`__, `website <https://www.mapbox.com/api-documentation/?language=Python#geocoding>`__

- Forward (place names ⇢ longitude, latitude)
Expand Down Expand Up @@ -106,7 +105,6 @@ Documentation
static.md
uploads.md
analytics.md
distance.md
mapmatching.md
static_style.md
api/mapbox.rst
Expand Down
2 changes: 1 addition & 1 deletion docs/matrix.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# DirectionsMatrix
# Directions Matrix

The `DirectionsMatrix` class from the `mapbox.services.matrix` module provides
access to the Mapbox Matrix API V1. You can also import it directly from the
Expand Down
3 changes: 1 addition & 2 deletions mapbox/__init__.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
# mapbox
__version__ = "0.15.1"
__version__ = "0.16.0"

from .services.datasets import Datasets
from .services.directions import Directions
from .services.distance import Distance
from .services.geocoding import (
Geocoder, InvalidCountryCodeError, InvalidPlaceTypeError)
from .services.mapmatching import MapMatcher
Expand Down
28 changes: 0 additions & 28 deletions mapbox/services/distance.py

This file was deleted.

65 changes: 0 additions & 65 deletions tests/test_distances.py

This file was deleted.