Skip to content

Version packages - #24

Merged
linusnorton merged 1 commit into
masterfrom
changeset-release/master
Sep 14, 2026
Merged

linusnorton merged 1 commit into
masterfrom
changeset-release/master

Conversation

@github-actions

Copy link
Copy Markdown
Contributor

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to master, this PR will be updated.

Releases

connection-scan-algorithm@3.0.1

Patch Changes

  • 28cd827: Return the journey the scan made. A journey could change trains at a station where another trip
    happened to arrive first, with less than the station's interchange time, when the passenger had
    really boarded that trip at an earlier call. The arrival times were right, the legs were not.

    The scan now records the connection each trip is boarded from, and the connection index holds that
    connection for each station rather than the last connection into it, so each entry is one leg. A trip
    that can be boarded at more than one call is boarded where the passenger has taken the fewest legs to
    reach, then at the latest call, so a passenger is not taken past a call of the trip only to ride back
    through it. Reaching a station at the same time in fewer legs now replaces how it was reached, and
    the footpaths from it are walked again. Where the trip before still passes a later call of the next
    one in time to change there, the journey changes there. ScanResults.setConnection has to follow
    isReachable for the same connection, as the scan does.

@linusnorton
linusnorton merged commit c141a7f into master Sep 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant