Releases: naviqore/public-transit-service
public-transit-service 1.1.0
Overview
Additional logic to handle transfers between parent stops and dependency updates.
New Features
- Additional Transfers generated by a Transfer Generator have lowest priority.
- Child/Parent Transfers are derived on a stop-stop basis in raptor. E.g. if parent stop holds transfers, stop A1 (child) will get all transfers from stop A (parent). See test cases to see all potential cases.
- Explicit Transfers: Even if parent transfers are defined in GTFS, if there is a direct transfer (e.g. A1-A2) is specified in GTFS, transfers derived from (A-A) will be overwritten.
Bug Fixes
- Non Pareto-Optimal Solutions: Resolved an issue where non Pareto-optimal solutions appeared in range raptor. The fix ensures Pareto-optimal solutions by applying filtering in the post-processing step.
What's Changed
- Build(deps-dev): Bump org.mockito:mockito-core from 5.13.0 to 5.14.1 by @dependabot in #130
- Build(deps-dev): Bump org.mockito:mockito-junit-jupiter from 5.13.0 to 5.14.1 by @dependabot in #129
- Build(deps): Bump org.jetbrains:annotations from 24.1.0 to 25.0.0 by @dependabot in #126
- Build(deps-dev): Bump org.junit.jupiter:junit-jupiter from 5.11.0 to 5.11.1 by @dependabot in #125
- Build(deps): Bump org.apache.maven.plugins:maven-surefire-plugin from 3.5.0 to 3.5.1 by @dependabot in #133
- Build(deps-dev): Bump org.junit.jupiter:junit-jupiter from 5.11.1 to 5.11.2 by @dependabot in #132
- Build(deps): Bump org.apache.maven.plugins:maven-failsafe-plugin from 3.5.0 to 3.5.1 by @dependabot in #131
- Build(deps): Bump org.jetbrains:annotations from 25.0.0 to 26.0.1 by @dependabot in #138
- 140 spring boot application is not covered by tests by @munterfi in #141
- 134 api returns empty array when valid trips should exist by @clukas1 in #144
- Build(deps-dev): Bump org.junit.jupiter:junit-jupiter from 5.11.2 to 5.11.3 by @dependabot in #146
- Build(deps-dev): Bump org.mockito:mockito-junit-jupiter from 5.14.1 to 5.14.2 by @dependabot in #143
- Build(deps-dev): Bump org.mockito:mockito-core from 5.14.1 to 5.14.2 by @dependabot in #142
- Build(deps): Bump ch.qos.logback:logback-classic from 1.5.8 to 1.5.12 by @dependabot in #147
- Build(deps): Bump org.apache.commons:commons-csv from 1.11.0 to 1.12.0 by @dependabot in #123
- Build(deps): Bump org.apache.commons:commons-csv from 1.11.0 to 1.12.0 by @dependabot in #151
- Build(deps): Bump org.apache.maven.plugins:maven-surefire-plugin from 3.5.1 to 3.5.2 by @dependabot in #150
- Build(deps): Bump org.apache.maven.plugins:maven-failsafe-plugin from 3.5.1 to 3.5.2 by @dependabot in #149
- Build(deps): Bump org.springframework.boot:spring-boot-starter-parent from 3.3.4 to 3.3.5 by @dependabot in #148
- 145 bug non pareto optimal solution by @clukas1 in #153
- release/v1.1.0 by @munterfi in #152
Full Changelog: v1.0.0...v1.1.0
public-transit-service 1.0.0
We are excited to announce the official release of v1.0.0 of the public transit service and conclude our Master's thesis!
Overview
Bug Fixes
- Headsign Field in Trips: The headsign field in the
trips.txt
is not a mandatory field.
What's Changed
- Build(deps): Bump org.springframework.boot:spring-boot-starter-parent from 3.3.3 to 3.3.4 by @dependabot in #120
- Build(deps): Bump ch.qos.logback:logback-classic from 1.5.7 to 1.5.8 by @dependabot in #115
- FIX: NAV-193 - Set headsign as an optional field by @munterfi in #122
- release/v1.0.0 by @munterfi in #124
Full Changelog: v0.5.1...v1.0.0
public-transit-service 0.5.1
This release introduces performance enhancements of the raptor router and a transition to the MIT license.
Overview
New Features
- Performance Optimization in Raptor Rounds: Improved performance by replacing the HashSet for marked stops with boolean stop mask arrays.
- Sorted Stop Results: Stops are now sorted by name in the
getStops(String like)
API to enhance the user experience. - MIT License: Changed project licensing from GPLv3 to MIT for better alignment with open-source best practices.
Bug Fixes
- Range Raptor Fix: Resolved an issue where Range RAPTOR failed to return routes when no departure was found, ensuring reliable route results.
What's Changed
- FIX: NAV-162 - Ensure range raptor also returns routes when no depart… by @clukas1 in #108
- Build(deps): Bump org.apache.maven.plugins:maven-surefire-plugin from 3.4.0 to 3.5.0 by @dependabot in #111
- Build(deps): Bump org.apache.maven.plugins:maven-failsafe-plugin from 3.4.0 to 3.5.0 by @dependabot in #112
- Build(deps-dev): Bump org.mockito:mockito-core from 5.12.0 to 5.13.0 by @dependabot in #110
- Build(deps-dev): Bump org.mockito:mockito-junit-jupiter from 5.12.0 to 5.13.0 by @dependabot in #109
- Feature/nav 176 adjust licenses to mit by @munterfi in #113
- ENH: NAV-180 - Sort get stops like term according to name by @munterfi in #116
- Feature/nav 181 initialize hashset size of marked stops by @clukas1 in #118
- ORG: v0.5.1 - Bump patch version to 0.5.1 by @munterfi in #119
Full Changelog: v0.5.0...v0.5.1
public-transit-service 0.5.0
This release introduces extended query parameters to support travel mode, accessibility, and bike information in the connection routing service.
Overview
New Features
- Travel Mode: Adds the ability to consider travel mode in connection and isoline requests.
- Accessibility: Allows requests for connections that are accessible.
- Bike Allowed: Incorporates bike information into connection and isoline requests.
- Dependency Updates: Updates Spring and Logback dependencies.
Bug Fixes
- Improved Input Validation: Implements checks to prevent identical coordinates for source and target in connection requests.
What's Changed
- Build(deps): Bump org.apache.maven.plugins:maven-surefire-plugin from 3.3.1 to 3.4.0 by @dependabot in #101
- Build(deps): Bump org.apache.maven.plugins:maven-failsafe-plugin from 3.3.1 to 3.4.0 by @dependabot in #102
- Nav 131 extend query config for raptor by @clukas1 in #100
- Release/v0.5.0 by @munterfi in #106
- Build(deps): Bump org.apache.commons:commons-compress from 1.27.0 to 1.27.1 by @dependabot in #104
- Build(deps): Bump org.springframework.boot:spring-boot-starter-parent from 3.3.2 to 3.3.3 by @dependabot in #105
Full Changelog: v0.4.0...v0.5.0
public-transit-service 0.4.0
This release focuses on enhancing the router's capabilities (multiday and range Raptor), refactoring, and improving the overall user experience with the service.
Overview
New Features
- Multiday Routing Support: The Raptor now supports queries for connections that span multiple days, based on a new
TripMaskProvider
concept. - Range Raptor: The public transit service is now capable of applying Range Raptor searches to obtain the shortest connections.
- Improved Error Handling in REST API: Enhanced the application's error-handling mechanism, particularly by checking for valid parameters and existing stops.
- Service Home and Utility Endpoints: A new homepage is available under the service root (
/
) with information about the version and useful links to metrics, health, and build information. - OpenAPI Support: A Swagger UI and API documentation are now automatically generated and served under the service home.
- GTFS Accessibility Information: Accessibility and bike information are now read into the GTFS schedule, if available.
Bug Fixes
- Docker Deployment: Fixed incorrect environment variable names.
- GTFS Calendar: The conditionally required files
calendars.txt
andcalendar_dates.txt
are now read correctly in all valid combinations.
What's Changed
- Nav 104 simplify reduce return value for iso line rest api endpoint by @clukas1 in #75
- Feature/nav 108 nav 112 add more raptor tests by @clukas1 in #77
- Build(deps): Bump org.apache.maven.plugins:maven-surefire-plugin from 3.3.0 to 3.3.1 by @dependabot in #83
- Build(deps): Bump org.apache.maven.plugins:maven-failsafe-plugin from 3.3.0 to 3.3.1 by @dependabot in #82
- Build(deps-dev): Bump org.assertj:assertj-core from 3.26.0 to 3.26.3 by @dependabot in #81
- Build(deps): Bump org.springframework.boot:spring-boot-starter-parent from 3.3.1 to 3.3.2 by @dependabot in #84
- Nav 126 re improve performance of raptor by @clukas1 in #80
- ENH: NAV-117 - Introduce read and write lock for eviction cache by @munterfi in #86
- Concept/nav 116 range raptor implementation by @clukas1 in #85
- Build(deps): Bump org.apache.commons:commons-compress from 1.26.2 to 1.27.0 by @dependabot in #88
- Build(deps-dev): Bump org.junit.jupiter:junit-jupiter from 5.11.0-M2 to 5.11.0-RC1 by @dependabot in #87
- FIX: NAV-121 - Correct env variable name in docker deployment by @munterfi in #89
- Feature/nav 137 refactor gtfs to raptor converter by @munterfi in #90
- Nav 26 handle conditionally req UI red gtfs files correctly by @clukas1 in #91
- Feature/nav 138 rename stop labels and times to query state by @munterfi in #93
- Feature/nav 139 refactor and rename impl in the service package by @munterfi in #94
- Nav 136 read accessibility information in gtfs by @clukas1 in #92
- Feature/nav 140 utility endpoints health and service info by @munterfi in #96
- Build(deps): Bump ch.qos.logback:logback-classic from 1.5.6 to 1.5.7 by @dependabot in #98
- Release/v0.4.0 by @munterfi in #99
Full Changelog: v0.3.1...v0.4.0
public-transit-service 0.3.1
In release v0.3.0 the version number was not set correctly in the pom.xml therefore the maven publish failed.
What's Changed
Full Changelog: v0.3.0...v0.3.1
public-transit-service 0.3.0
This release introduces a reverse arrival time direction feature, environment variable support for application properties, a unified logging framework, and major refactoring of the RAPTOR algorithm, alongside key bug fixes.
Overview
New Features
- Reverse Arrival Time Direction Implementation:
Implemented a feature for handling reverse arrival time directions, enhancing the flexibility of the routing algorithm. #64 - Application Properties with Environment Variable Support:
Added environment variable support, updated logging dependencies, and centralized constants for better configuration management. #62
(#68) - Unified Logging Framework:
Streamlined the logging system by consolidating to a single framework and configuration. #71
Refactoring and Organizational
- Refactored RAPTOR Algorithm:
Major refactoring of the RAPTOR algorithm to improve its maintainability. [#68]
Bug Fixes
- Edge Case with Same Departure Times:
Fixed an issue where two legs having the same departure times caused incorrect behavior. #63
What's Changed
- FIX: NAV-100 - Fix edge case where two legs have same departure times… by @clukas1 in #63
- Feature/nav 76 application properties spring with environment variables logging dependencies constants etc by @munterfi in #62
- Build(deps): Bump org.apache.maven.plugins:maven-surefire-plugin from 3.2.5 to 3.3.0 by @dependabot in #65
- Build(deps): Bump org.apache.maven.plugins:maven-failsafe-plugin from 3.2.5 to 3.3.0 by @dependabot in #66
- Feature/nav 48 reverse arrival time direction implementation by @clukas1 in #64
- Nav 47 refactor raptor algorithm by @munterfi in #68
- REFACTOR: NAV-114 - Use only one logging framework and configuration by @munterfi in #71
- Build(deps): Bump org.projectlombok:lombok from 1.18.32 to 1.18.34 by @dependabot in #72
- Feature/nav 113 make raptor use unix timestamps instead of seconds of day by @clukas1 in #70
- Release/v0.3.0 by @munterfi in #74
Full Changelog: v0.2.1...v0.3.0
public-transit-service 0.2.1
This patch release addresses an issue with GitHub Actions not being triggered upon release. The following changes have been made:
Bug Fixes
- Trigger Maven Publish: Fixed the maven-publish.yml to trigger upon release creation. (#61)
- Trigger Docker Publish: Fixed the docker-publish.yml to trigger upon release creation. (#61)
What's Changed
Full Changelog: v0.2.0...v0.2.1
public-transit-service 0.2.0
This release includes several enhancements, bug fixes, and optimizations that improve the functionality and performance of the service.
Overview
Major Enhancements
- Raptor Cache Implementation: Introduced a caching mechanism to prevent rebuilding Raptor for identical date queries. (#52)
- Enhanced Raptor Results: Added trip IDs and other details to Raptor results. (#51)
- Parent-Stop Mapping: Created a map for parent stops to their respective stops, raising warnings for non-existing parent stops. (#50)
Tests and Documentation
- Integration Tests: Added integration tests for the REST controller. (#55)
- Additional Tests: Enhanced tests for overlapping and self-intersecting routes. (#53)
Bug Fixes
- Transfer Handling in Raptor: Fixed issues with handling two consecutive walk transfers. (#60)
- Prevention of Raptor Crashing: Addressed crashes when encountering invalid parent/sibling stops. (#49)
Refactoring and Organizational
- Spatial Index Movement: Moved the spatial index from GTFS to the service layer. (#39)
- Docker Publish Actions: Fixed and optimized Docker publish actions. (#36, #37)
- Publish Actions Trigger: Adjusted publish actions to only trigger on tag pushes. (#38)
- Log4j Updates: Updated
log4j-api
andlog4j-core
from 3.0.0-beta1 to 3.0.0-beta2. (#57, #58)
What's Changed
- Feature/nav 16 setup spring with rest by @clukas1 in #20
- ORG: NAV-63 - Automatically update dependencies by @munterfi in #22
- REFACTOR: NAV-52 - Remove redundancy in public transit service interface by @munterfi in #21
- ENH: NAV-52 - First throw at defining interfaces for a public transport interface. by @clukas1 in #19
- Build(deps): Bump org.apache.logging.log4j:log4j-api from 3.0.0-beta1 to 3.0.0-beta2 by @dependabot in #27
- Build(deps): Bump org.apache.logging.log4j:log4j-core from 3.0.0-beta1 to 3.0.0-beta2 by @dependabot in #26
- Build(deps): Bump org.apache.commons:commons-compress from 1.26.1 to 1.26.2 by @dependabot in #23
- Build(deps-dev): Bump org.mockito:mockito-core from 5.11.0 to 5.12.0 by @dependabot in #25
- Build(deps-dev): Bump org.assertj:assertj-core from 3.25.3 to 3.26.0 by @dependabot in #24
- Build(deps): Bump org.apache.maven.plugins:maven-surefire-plugin from 3.0.0-M5 to 3.2.5 by @dependabot in #31
- Build(deps): Bump org.apache.maven.plugins:maven-failsafe-plugin from 3.0.0-M5 to 3.2.5 by @dependabot in #29
- Build(deps): Bump org.apache.commons:commons-csv from 1.10.0 to 1.11.0 by @dependabot in #28
- Build(deps-dev): Bump org.junit.jupiter:junit-jupiter from 5.11.0-M1 to 5.11.0-M2 by @dependabot in #30
- Feature/nav 72 docker by @munterfi in #33
- Nav 84 allow querying connections from location or stop id in rest api by @clukas1 in #35
- Feature/nav 72 fix docker publish action by @munterfi in #36
- ORG: NAV-72 - Fix docker publish action, second try by @munterfi in #37
- ORG: NAV-22 - Only trigger publish actions on push of tags by @munterfi in #38
- REFACTOR: NAV-81 - Move spatial index from GTFS to service by @munterfi in #39
- Nav 86 suffix trie by @munterfi in #42
- Review/nav 87 include refactorings from nav 83 review by @clukas1 in #47
- Nav 90 create parent stop to stops map in gtfs and raise warning when parent stop does not exist by @munterfi in #48
- FIX: NAV-90 - Prevent raptor crashing when invalid parent/sibling sto… by @clukas1 in #49
- bugfix/NAV-90-create-parent-stop-to-stops-map-in-gtfs-and-raise-warning-when-parent-stop-does-not-exist by @munterfi in #50
- Feature/nav 64 enrich raptor results inside of raptor to include trips ids etc by @munterfi in #51
- Feature/nav 91 create raptor cache to prevent building raptor everytime for same date queries by @munterfi in #52
- NAV-49 (Raptor Tests), NAV-40 (Transfers), NAV-59 (Query Config) by @clukas1 in #56
- Test/nav 77 integration test for rest controller by @clukas1 in #55
- Minor version bump v0.2.0 by @munterfi in #59
- Nav 95 raptor not handling two walk transfers in sequence correctly by @clukas1 in #60
New Contributors
- @dependabot made their first contribution in #27
Full Changelog: v0.1.0...v0.2.0