Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upstream merge 2024-03-13 #206

Merged
merged 102 commits into from
Mar 18, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
102 commits
Select commit Hold shift + click to select a range
6d5be57
Add ISO date times to GraphQL API
leonardehrenfried Aug 8, 2023
67cf67e
Add scalar
leonardehrenfried Aug 8, 2023
5835324
Implement start/end for Itinerary
leonardehrenfried Aug 8, 2023
8a966c2
Use correct times for leg
leonardehrenfried Aug 8, 2023
ed766e6
Add iso time to Place
leonardehrenfried Aug 8, 2023
cb938be
Introduce consolidated times for legs
leonardehrenfried Aug 8, 2023
6e620e7
Update deprecation notice
leonardehrenfried Aug 8, 2023
d1a123a
Add ISO times to stop time
leonardehrenfried Aug 8, 2023
d5f4926
Rename LegTime to LegTimes
leonardehrenfried Nov 6, 2023
2b21e8f
Move deprecated methods to bottom
leonardehrenfried Nov 6, 2023
e12ecfb
Rename LegTime to LegTimes
leonardehrenfried Nov 7, 2023
644dbcb
Remove changes to StopTime
leonardehrenfried Nov 7, 2023
f69ca28
Rename to OffsetDateTime
leonardehrenfried Nov 7, 2023
f2e394f
Regenerate types, move deprecated fields to the bottom
leonardehrenfried Jan 6, 2024
dc7521e
Add tests for Duration
leonardehrenfried Jan 6, 2024
d319e5b
Add nullability check
leonardehrenfried Jan 6, 2024
67895be
Add documentation for OffsetDateTime
leonardehrenfried Feb 5, 2024
4f757da
Add test for intermediate places
leonardehrenfried Feb 5, 2024
980d620
Add test cases
leonardehrenfried Feb 5, 2024
dcaa04a
Add example for OffsetDateTime
leonardehrenfried Feb 5, 2024
691bdd4
Put realtime information into separate object
leonardehrenfried Feb 9, 2024
ce002b8
Fix combined leg
leonardehrenfried Feb 9, 2024
afb53e1
Fix tutorial docs
leonardehrenfried Feb 9, 2024
4197aed
Set transit delay
leonardehrenfried Feb 11, 2024
a534dd3
Use 'estimated' instead of 'realTime'
leonardehrenfried Feb 12, 2024
01b04e0
Use LegTimes for intermediate stops
leonardehrenfried Feb 12, 2024
b836c3b
Apply review feedback
leonardehrenfried Feb 13, 2024
bf7dc55
Implement OffsetDateTimeParser
leonardehrenfried Feb 14, 2024
049d023
Merge remote-tracking branch 'upstream/dev-2.x' into iso-datetime
leonardehrenfried Feb 15, 2024
6cb475c
Revert to 'LegTime'
leonardehrenfried Feb 19, 2024
2130da9
Rename fields
leonardehrenfried Feb 19, 2024
8b37735
Improve scalars
leonardehrenfried Feb 19, 2024
070be65
Merge remote-tracking branch 'upstream/dev-2.x' into iso-datetime
leonardehrenfried Feb 19, 2024
4d295da
Throw exception in scalar again
leonardehrenfried Feb 19, 2024
92c7acd
Switch order of arrival, departure
leonardehrenfried Feb 20, 2024
39f06dc
Add documentation
leonardehrenfried Feb 20, 2024
b4707ed
Add test for leg times
leonardehrenfried Feb 20, 2024
54c21a5
Fix flex leg and spelling
leonardehrenfried Feb 20, 2024
fb60056
Remove invisible characters when parsing feed ids
leonardehrenfried Feb 23, 2024
d99373d
Apply suggestions from code review
leonardehrenfried Feb 27, 2024
47d28f1
Update deprecation notices
leonardehrenfried Feb 27, 2024
337b100
Add newline
leonardehrenfried Feb 27, 2024
340ca13
Update documentation
leonardehrenfried Feb 27, 2024
a6f1b88
Prevent feed id from being used twice
leonardehrenfried Feb 29, 2024
df0d65b
Always put minus as the first sign of a serialized negative duration
leonardehrenfried Mar 1, 2024
38f4c06
Merge remote-tracking branch 'upstream/dev-2.x' into iso-datetime
leonardehrenfried Mar 1, 2024
f723c25
Revert conversion to record
leonardehrenfried Mar 3, 2024
91989e2
Extract mapper for StopArrivals
leonardehrenfried Mar 3, 2024
84083b6
Separate tests several classes
leonardehrenfried Mar 3, 2024
10fac09
Make parser return throw an exception
leonardehrenfried Mar 3, 2024
009eb99
Remove arrival/departure in example
leonardehrenfried Mar 4, 2024
38f7dfa
Update docs
leonardehrenfried Mar 4, 2024
5bf60ef
Migrate from VariableSource to MethodSource
leonardehrenfried Mar 1, 2024
2bd2026
Add validation
leonardehrenfried Mar 4, 2024
a9406dc
Add import
leonardehrenfried Mar 4, 2024
964a3f7
Use uppercase for constants
leonardehrenfried Mar 4, 2024
f3a1858
Merge remote-tracking branch 'upstream/dev-2.x' into iso-datetime
leonardehrenfried Mar 4, 2024
993bdb1
Add user agent to OTP HTTP client
leonardehrenfried Mar 4, 2024
6c956b8
Remove version number
leonardehrenfried Mar 5, 2024
2f763e9
Rename constant
leonardehrenfried Mar 5, 2024
4cdd8be
Update logback-classic only once a month [ci skip]
leonardehrenfried Mar 5, 2024
5e0b927
chore(deps): update micrometer.version to v1.12.3
renovate[bot] Mar 7, 2024
04e0493
Merge pull request #5723 from leonardehrenfried/remove-variable-source
leonardehrenfried Mar 7, 2024
b40204e
Merge pull request #5714 from ibi-group/duplicate-feed-id
leonardehrenfried Mar 7, 2024
b9aa5b1
fix: Access without time-penalty is removed when access with exits.
t2gran Mar 7, 2024
c82b91e
Revert "fix: Access without time-penalty is removed when access with …
t2gran Mar 7, 2024
87b2108
fix: Access without time-penalty is removed when access with exits.
t2gran Mar 7, 2024
58ba141
Merge pull request #5730 from opentripplanner/renovate/micrometer.ver…
leonardehrenfried Mar 7, 2024
3934161
fix(deps): update dependency org.glassfish.jaxb:jaxb-runtime to v4.0.5
renovate[bot] Mar 7, 2024
e961b07
Merge remote-tracking branch 'upstream/dev-2.x' into remove-invisible…
leonardehrenfried Mar 7, 2024
70f6fe4
Don't update Azure dependency [ci skip]
leonardehrenfried Mar 7, 2024
a58862d
Fix formatting
leonardehrenfried Mar 7, 2024
961f499
fix(deps): update dependency com.google.cloud:libraries-bom to v26.34.0
renovate[bot] Mar 7, 2024
806a13c
Merge pull request #5734 from opentripplanner/renovate/jaxb-runtime.v…
leonardehrenfried Mar 8, 2024
d51048f
Merge pull request #5735 from entur/fix_time_penalty_filter_bug
t2gran Mar 8, 2024
f47cfac
fix(deps): update dependency ch.poole:openinghoursparser to v0.28.2
renovate[bot] Mar 9, 2024
0532203
Merge pull request #5736 from opentripplanner/renovate/com.google.clo…
leonardehrenfried Mar 11, 2024
3a7c610
fix(deps): update jackson.version to v2.16.2
renovate[bot] Mar 11, 2024
747246e
Fix two bugs in the WorldEnvelope
t2gran Mar 8, 2024
0bd241c
chore(deps): update debug ui dependencies (non-major)
renovate[bot] Mar 12, 2024
21790e8
Merge pull request #5703 from ibi-group/remove-invisible-chars
leonardehrenfried Mar 12, 2024
9590e5d
Merge pull request #5740 from opentripplanner/renovate/jackson.version
leonardehrenfried Mar 12, 2024
51a381e
Merge pull request #5724 from leonardehrenfried/user-agent
leonardehrenfried Mar 12, 2024
2189550
Merge pull request #5739 from opentripplanner/renovate/ch.poole-openi…
leonardehrenfried Mar 12, 2024
f10bc04
Merge pull request #5731 from leonardehrenfried/fix-envelope
leonardehrenfried Mar 12, 2024
69377e4
Add changelog entry for #5731 [ci skip]
Mar 12, 2024
48a9248
Merge pull request #5729 from opentripplanner/renovate/debug-ui-depen…
leonardehrenfried Mar 12, 2024
b456b44
Upgrade debug client to version 2024/03/2024-03-12T18:23
Mar 12, 2024
94512da
chore(deps): update dependency io.github.git-commit-id:git-commit-id-…
renovate[bot] Mar 13, 2024
800c758
chore(deps): update dependency org.apache.commons:commons-compress to…
renovate[bot] Mar 13, 2024
ea159d5
Update actions version [ci skip]
leonardehrenfried Mar 13, 2024
b57e529
Update documentation for 2.5.0 release
leonardehrenfried Mar 13, 2024
6596982
Update MASTER_BRANCH_VERSION
leonardehrenfried Mar 13, 2024
fc4a429
Fix documentation output
leonardehrenfried Mar 13, 2024
b301ea7
Prepare release 2.5.0
leonardehrenfried Mar 13, 2024
e7872c1
Switch order of release tasks
leonardehrenfried Mar 13, 2024
3796cfd
Prepare next development iteration 2.6.0-SNAPSHOT
leonardehrenfried Mar 13, 2024
8c78db1
Update release checklist [ci skip]
leonardehrenfried Mar 13, 2024
370191e
Merge pull request #5660 from leonardehrenfried/iso-datetime
leonardehrenfried Mar 13, 2024
17a3691
Add changelog entry for #5660 [ci skip]
Mar 13, 2024
60aeb8c
Remove extra quote [ci skip]
leonardehrenfried Mar 13, 2024
0faa711
Merge remote-tracking branch 'upstream/dev-2.x' into upstream-merge-2…
leonardehrenfried Mar 13, 2024
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
4 changes: 2 additions & 2 deletions .github/workflows/cibuild.yml
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ jobs:
# on windows there are frequent failures caused by page files being too small
# https://github.com/actions/virtual-environments/issues/785
- name: Configure Windows Pagefile
uses: al-cheb/configure-pagefile-action@v1.3
uses: al-cheb/configure-pagefile-action@v1.4
- name: Run tests
run: mvn --batch-mode test -P prettierSkip

Expand All @@ -130,7 +130,7 @@ jobs:
LOCAL_BRANCH: local-pages
REMOTE_BRANCH: main
TOKEN: ${{ secrets.CHANGELOG_TOKEN }}
MASTER_BRANCH_VERSION: 2.4.0
MASTER_BRANCH_VERSION: 2.5.0

steps:

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ GTFS and OpenStreetMap). It applies real-time updates and alerts with immediate
clients, finding itineraries that account for disruptions and service changes.

Note that this branch contains **OpenTripPlanner 2**, the second major version of OTP, which has
been under development since 2018. The latest version of OTP is v2.4.0, released in September 2023.
been under development since 2018. The latest version of OTP is v2.5.0, released in March 2024.

If you do not want to use this version, please switch to the final 1.x release
tag `v1.5.0` or the `dev-1.x` branch.
Expand Down
999 changes: 606 additions & 393 deletions client-next/package-lock.json

Large diffs are not rendered by default.

48 changes: 24 additions & 24 deletions client-next/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,38 +18,38 @@
},
"dependencies": {
"@googlemaps/polyline-codec": "1.0.28",
"bootstrap": "5.3.1",
"bootstrap": "5.3.3",
"graphql": "16.8.1",
"graphql-request": "6.1.0",
"maplibre-gl": "4.0.1",
"maplibre-gl": "4.1.0",
"react": "18.2.0",
"react-bootstrap": "2.8.0",
"react-bootstrap": "2.10.1",
"react-dom": "18.2.0",
"react-map-gl": "7.1.5"
"react-map-gl": "7.1.7"
},
"devDependencies": {
"@graphql-codegen/cli": "5.0.0",
"@graphql-codegen/client-preset": "4.1.0",
"@graphql-codegen/introspection": "4.0.0",
"@parcel/watcher": "2.3.0",
"@testing-library/react": "14.1.2",
"@types/react": "18.2.21",
"@types/react-dom": "18.2.7",
"@typescript-eslint/eslint-plugin": "7.1.0",
"@typescript-eslint/parser": "7.1.0",
"@vitejs/plugin-react": "4.0.4",
"@vitest/coverage-v8": "1.1.3",
"eslint": "8.56.0",
"eslint-config-prettier": "9.0.0",
"eslint-plugin-import": "2.28.1",
"eslint-plugin-jsx-a11y": "6.7.1",
"eslint-plugin-react": "7.33.2",
"@graphql-codegen/cli": "5.0.2",
"@graphql-codegen/client-preset": "4.2.4",
"@graphql-codegen/introspection": "4.0.3",
"@parcel/watcher": "2.4.1",
"@testing-library/react": "14.2.1",
"@types/react": "18.2.65",
"@types/react-dom": "18.2.21",
"@typescript-eslint/eslint-plugin": "7.2.0",
"@typescript-eslint/parser": "7.2.0",
"@vitejs/plugin-react": "4.2.1",
"@vitest/coverage-v8": "1.3.1",
"eslint": "8.57.0",
"eslint-config-prettier": "9.1.0",
"eslint-plugin-import": "2.29.1",
"eslint-plugin-jsx-a11y": "6.8.0",
"eslint-plugin-react": "7.34.0",
"eslint-plugin-react-hooks": "4.6.0",
"eslint-plugin-react-refresh": "0.4.3",
"eslint-plugin-react-refresh": "0.4.5",
"jsdom": "24.0.0",
"prettier": "3.0.3",
"typescript": "5.2.2",
"prettier": "3.2.5",
"typescript": "5.4.2",
"vite": "4.5.2",
"vitest": "1.1.3"
"vitest": "1.3.1"
}
}
4 changes: 2 additions & 2 deletions doc-templates/Configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ text inserted is valid JSON (starts with `{` and ends with `}`).
Variable substitution is performed on configuration file after the include file directive; Hence
variable substitution is also performed on the text in the injected file.

Here is an example including variable substitution, assuming version 2.4.0 of OTP:
Here is an example including variable substitution, assuming version 2.5.0 of OTP:

```JSON
// build-config.json
Expand All @@ -170,7 +170,7 @@ The result will look like this:
{
"transitFeeds": [
{
"source": "netex-v2.4.0.obj"
"source": "netex-v2.5.0.obj"
}
]
}
Expand Down
16 changes: 8 additions & 8 deletions docs/Basic-Tutorial.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ JAR containing all other libraries needed for OTP to work, and is available from
repository. You will be able to go
to [the OTP directory at Maven Central](https://repo1.maven.org/maven2/org/opentripplanner/otp/),
navigate to
the [directory of releases](https://repo1.maven.org/maven2/org/opentripplanner/otp/2.4.0/),
the [directory of releases](https://repo1.maven.org/maven2/org/opentripplanner/otp/2.5.0/),
and download
the [file with `shaded.jar` suffix](https://repo1.maven.org/maven2/org/opentripplanner/otp/2.4.0/otp-2.4.0-shaded.jar)
the [file with `shaded.jar` suffix](https://repo1.maven.org/maven2/org/opentripplanner/otp/2.5.0/otp-2.5.0-shaded.jar)
.

You may also want to get your own copy of the OTP source code
Expand Down Expand Up @@ -129,7 +129,7 @@ below and in other tutorials.
The simplest way to use OTP is to build a graph in a single step and start a server immediately,
without saving it to disk. The command to do so is:

$ java -Xmx2G -jar otp-2.4.0-shaded.jar --build --serve /home/username/otp
$ java -Xmx2G -jar otp-2.5.0-shaded.jar --build --serve /home/username/otp

where `/home/username/otp` should be the directory where you put your configuration and input files.

Expand All @@ -154,13 +154,13 @@ build a graph from street and transit data then save it to a file using the `--b
command line parameters together. If for example your current working directory (`.`) contains the
input files and the OTP JAR file, you can use this command:

$ java -Xmx2G -jar otp-2.4.0-shaded.jar --build --save .
$ java -Xmx2G -jar otp-2.5.0-shaded.jar --build --save .

This will produce a file called `graph.obj` in the same directory as the inputs. The server can then
be started later using the `--load` parameter, and will read this file instead of building the graph
from scratch:

$ java -Xmx2G -jar otp-2.4.0-shaded.jar --load .
$ java -Xmx2G -jar otp-2.5.0-shaded.jar --load .

Another reason to perform these two phases separately is that the building process loads the entire
GTFS and OSM data sets into memory, so can require significantly more memory than just running a
Expand All @@ -177,16 +177,16 @@ graph once, and then layer transit data on top of the streets to make the final
Again assuming the input files and OTP JAR file are in the current working directory, you can build
a street graph with OSM and elevation data only (ignoring transit input files) with this command:

$ java -Xmx2G -jar otp-2.4.0-shaded.jar --buildStreet .
$ java -Xmx2G -jar otp-2.5.0-shaded.jar --buildStreet .

Then, to build a graph layering transit data on top of the saved street graph (built using the
previous command):

$ java -Xmx2G -jar otp-2.4.0-shaded.jar --loadStreet --save .
$ java -Xmx2G -jar otp-2.5.0-shaded.jar --loadStreet --save .

Finally, the server can be started using the `--load` parameter:

$ java -Xmx2G -jar otp-2.4.0-shaded.jar --load .
$ java -Xmx2G -jar otp-2.5.0-shaded.jar --load .

## Command Line Switches

Expand Down
Loading
Loading