Graphhopper v0.5 Release Notes

Release Date: 2015-08-12 // over 8 years ago
    • ๐Ÿ‘€ Several names have changed see #466, #467, #468
    • โšก๏ธ GraphHopper.optimize removed use postProcessing instead
    • method GraphHopper.getGraph() changed to getGraphHopperStorage()
    • the interface GraphStorage does no longer extend from the Graph interface. Use GraphHopperStorage (which implements the Graph interface via the base graph) or only Graph instead
    • now it is necessary to call baseGraph/chGraph.freeze in order to use the chGraph (to simply determine when an edgeId is a shortcut)
    • LevelGraphStorage is now a GraphHopperStorage with an additional ch graph (CHGraphImpl)
    • GraphHopperStorage implements now the Graph interface and delegates all necessary methods to the underlying base graph. To do routing you call getGraph(CHGraph.class or Graph.class) where the parameter Graph.class returns the base graph and the behaviour is identical to GraphHopperStorage itself
    • renamed LevelGraph* to CHGraph*
    • ๐Ÿ“‡ renamed NoGraphExtension to NoOpExtension
    • โœ‚ removed visitedNodes method in GraphHopper replaced with per response information: response.getHints().getLong(" visited_nodes.sum", 0)
    • โž• added ability to store hints in GHResponse which will be forwarded to the json too
    • ๐Ÿ’ฅ breaking change in HTTP API: error JSON format changed to be message:"" instead of within info.errors, see updated api documentation
    • ๐Ÿ—„ made GHResponse.getMillis, Path.getMillis, GPXEntry.getMillis deprecated, use getTime instead
    • ๐Ÿ—„ in AbstractFlagEncoder, parse*() and getStr() are now deprecated, use properties.get* instead