v8.0.0
What's Changed
Breaking Changes
- Openrouteservice can now be configured by a much cleaner YAML configuration and/or entirely by environment variables.
We provide a configuration migration tool to convert old JSON config to new YAML config. - New docker and docker compose setup. Please use the new docker compose file from the assets section below to run v8.0.0 in docker.
See the project's README for a quick or the backend documentation for a detailed explanation.
New Features
- feat(swagger): Springfox to openapi migration by @MichaelsJP in #1380
- feat: configuration using YAML files by @takb in #1506
- feat: make log location configurable via env var by @takb in #1531
- feat(docker): Fix the docker-compose setup by @MichaelsJP in #1555
- feat: add snapping endpoint by @sfendrich in #1524
- feat: add x-ors-version extension to OpenAPI info by @TheGreatRefrigerator in #1558
- feat: vitepress-docs by @TheGreatRefrigerator in #1617
- feat: add dataaccess routing profile configuration parameter by @rtroilo in #1638
- feat: Norwegian language support by @olagrasli in #1645
- feat: log stats on traffic data matching by @aoles in #1647
- feat: logging configuration by @takb in #1623
- feat: mmap configuration by @takb in #1650
- feat(config): Add workflow for the automatic config conversion by @MichaelsJP in #1656
- feat: config cleanup finalize by @takb in #1657
- feat: option to build war or fatJar by @jhaeu in #1507
- feat: inform about quota reset in FAQ by @koebi in #1705
- feat(docker): Introduce reworked docker setup with jar by @MichaelsJP in #1670
- feat(docs): custom 404 page by @koebi in #1750
- feat: add config migration tool info by @TheGreatRefrigerator in #1754
Fixes
- fix(cve): Upgrade kafka_2.13 from 3.4.0 to 3.5.0 by @MichaelsJP in #1475
- fix(cve): Remove maven-gpg-plugin and maven-shared-utils by @MichaelsJP in #1476
- fix(cve): Upgrade spring-boot from 2.7.10 to 2.7.12 by @MichaelsJP in #1477
- fix(cve): Upgrade org.geotools.gt-epsg-hsql to version 29.1. by @MichaelsJP in #1480
- fix: clean up and remove unnecessary code by @sfendrich in #1481
- fix: re-introduce edge metrics cache by @aoles in #1484
- fix: openapi playground parsing by @TheGreatRefrigerator in #1487
- fix(cve): Upgrade apache-curator to version 5.5.0 and snappy-java to 1.1.10.1 by @MichaelsJP in #1497
- fix: various low prio problems by @TheGreatRefrigerator in #1489
- fix(gtfs): use GH v4.8.2 to resolve issue with old jts-core version by @takb in #1501
- fix: make ORS exit more gracefully on invalid configuration. by @takb in #1510
- fix: remove elevation smoother by @sfendrich in #1511
- fix(fastisochrones): Fix the max visited nodes break for fast-isochrones by @MichaelsJP in #1539
- fix(HeatStressWeighting): adjust equation to avoid large detours by @redfrexx in #1543
- fix: bug in condition at TrafficEdgeFilter.java by @TheGreatRefrigerator in #1547
- fix: fix link to docker-compose.yml by @MrKrisKrisu in #1550
- fix: change SRID in query for backwards compatibility by @takb in #1552
- fix: default location for transitional JSON configuration file by @takb in #1554
- fix(pom): Fix broken jacoco version by @MichaelsJP in #1565
- fix(isochrones): use correct edge filter for snapping by @aoles in #1566
- fix(fastisochrones): use correct edge filter fast-isochrones snapping by @MichaelsJP in #1572
- fix: suppress empty legs property in routing JSON responses by @takb in #1584
- fix: include transfers and fare properties only in PT responses by @takb in #1586
- fix: upgrade springframework to version 3.6.1 by @sfendrich in #1632
- fix: in1-java-orgmozilla-1314295 by @sfendrich in #1639
- fix(config): Adjust the conversion script by @MichaelsJP in #1660
- fix(dockerfile): Repair the docker setup so it can use the yml config properly by @MichaelsJP in #1663
- fix: no config loading if test profile is active by @takb in #1666
- fix: env params logging by @takb in #1676
- fix: set correct working directory for maven by @sfendrich in #1678
- fix(isochrones): avoid speed reduction on ways tagged with
access=destination
by @aoles in #1682 - fix: only run action if config changed by @koebi in #1687
- fix: update links to docs in code by @koebi in #1690
- fix(exception): Fix the exception output of RoutingProfileManager by @MichaelsJP in #1691
- fix(logging): Repair the logging backend by @MichaelsJP in #1695
- fix: resolve HOME by @jhaeu in #1692
- fix(logging): Enhance logging for here matching progress by @MichaelsJP in #1694
- fix(isochrones): correct and unify edge splitting by @aoles in #1708
- fix(config): Resolve absolute paths for the config by @MichaelsJP in #1745
- fix: correctly resolve access to ways tagged with
hgv=delivery
by @aoles in #1748
Other Changes
- ci: add graph building workflow by @TheGreatRefrigerator in #1468
- refactor: build modularization by @takb in #1439
- docs(readme): update GH version by @aoles in #1471
- chore: #1456 redo GitHub templates by @TheGreatRefrigerator in #1465
- chore: Add security issue template by @TheGreatRefrigerator in #1478
- chore: remove ORSKafkaConsumer and related code by @takb in #1482
- chore(matrix): Clean-up path metrics extractor for matrix Dijkstra by @aoles in #1483
- refactor: configuration improvements phase 1 by @takb in #1488
- style(editorconfig): Introduce a basic editorconfig by @MichaelsJP in #1493
- ci: RPM packaging by @takb in #1490
- ci: disable rpm build on pull by @takb in #1502
- refactor: move logic from Request classes to new service layer by @jhaeu in #1503
- refactor: 1348 upgrade to spring boot 3x by @TheGreatRefrigerator in #1504
- perf(isochrones): Increase edge splitting threshold by @aoles in #1508
- style: code formatting & cleanup by @takb in #1509
- build: enable mvn spring-boot:run by @takb in #1512
- refactor: move loosly related members out of RoutingProfile by @sfendrich in #1521
- chore: update maven repository by @joker234 in #1536
- test: re-enable test coverage measurement by @sfendrich in #1548
- refactor(java:S1192): Refactor String literals should not be duplicated java:S1192 by @MichaelsJP in #1557
- refactor(snap): Refactor parameters for clarity by @MichaelsJP in #1559
- build(deps): bump org.json:json from 20230227 to 20231013 by @dependabot in #1567
- build(deps): bump org.json:json from 20230227 to 20231013 by @MichaelsJP in #1569
- docs: add recommended setup method by @MichaelsJP in #1585
- docs: Update Badges in README.md by @joker234 in #1590
- build: Release 7.1.1 by @takb in #1604
- build: bump vite from 5.0.0 to 5.0.5 by @dependabot in #1622
- refactor(Data Access): Remove unused methods by @rtroilo in #1643
- refactor: move APIEnums into api module by @sfendrich in #1640
- build(deps-dev): bump vite from 5.0.5 to 5.0.12 by @dependabot in #1652
- perf(isochrones): improve isochrones performance by @rtroilo in #1607
- ci: suppress spring logging during unittests by @takb in #1668
- refactor: remove logging configuration by @takb in #1679
- refactor: resolved code issues from docs overhaul by @TheGreatRefrigerator in #1683
- docs: documentation overhaul by @takb in #1651
- ci: release artifacts by @takb in #1669
- ci(docker-nightly): move to separate build/publish from test by @TheGreatRefrigerator in #1689
- build(maven): Fix the docker-build pipeline by @MichaelsJP in #1693
- build(deps): bump org.postgresql:postgresql from 42.6.0 to 42.7.2 by @dependabot in #1696
- build(deps): Cleanup maven dependencies by @sfendrich in #1698
- perf(fastisochrones): apply modifications from regular isochrones by @aoles in #1658
- refactor(isochrones): introduce DRYness to isochrone map builders by @aoles in #1699
- docs: add FAQ for barrier and CH by @koebi in #1703
- docs: re-structure and update docu for run-instance by @jhaeu in #1688
- ci: add workflow for semver latest tags sync by @jhaeu in #1706
- test: Add integration tests for maven and jar deployments by @jhaeu in #1702
- docs: fix dead links by @TheGreatRefrigerator in #1712
- test: Add war deployment integration test by @MichaelsJP in #1707
- test: fix flaky jar mvn integration tests by @jhaeu in #1718
- ci: add ors-config to release artifacts by @jhaeu in #1709
- docs: add missing encoder options to documentation by @jhaeu in #1752
- test: add config tests for json config by @jhaeu in #1749
- docs: rewrite docu for docker setup by @jhaeu in #1746
- ci(docker-build-and-test): add elevation_cache volume by @TheGreatRefrigerator in #1757
New Contributors
- @MrKrisKrisu made their first contribution in #1550
- @olagrasli made their first contribution in #1645
Full Changelog: v7.1.1...v8.0.0