Version 0.3.9
Pre-release
Pre-release
What's Changed
Features 🎉
Core
- Pathfinding: filter out paths with repeated tracks during exploration by @eckter in #9971
- Etcs: use the braking curves in the simulation by @eckter in #9941
- Sim: add speed limit anticipation back by @eckter in #10143
- Stdcm
- core, editoast: Rename rolling stock to physics consist by @woshilapin in #9665
Editoast
- Consist and towed rolling stocks
- Operational points weight
- Add field weight to op by @younesschrifi in #9775
- Add weight field to operational points path_properties by @Akctarus in #10275
- Search
- Fix accents support in
x-remote-user-name
by @leovalais in #9986 - Follow-up: Fix accents support in
x-remote-user-name
by @leovalais in #10013
- Fix accents support in
- Tracing
- Setup tracing with opentelemetry for
TestApp
by @hamz2a in #10122 - Reduce logging level to trace for some verbose events by @leovalais in #9950
- Use 'const' syntax from 'tracing' for opentelemetry semantic convention by @woshilapin in #10110
- Add tracing for ping operations by @woshilapin in #10129
- 'AxumOtelLayer' act as 'INFO' level by @woshilapin in #10113
- Log stdcm requests by @hamz2a in #9873
- Setup tracing with opentelemetry for
- Add indexes to infr_layer_operational_point by @leovalais in #10142
- Improve tests for projection by @woshilapin in #10137
- Rename
Unauthenticated
toUnauthorized
,Unauthorized
toForbidden
by @hamz2a in #10191 - Better sql query to split a track section by @sim51 in #10030
- Add configurable authorization to
TestAppBuilder
by @hamz2a in #10197 - Add ERTMS-ETCS brake params and signaling to rolling-stock model by @bougue-pe in #10147
- Setup snapshot testing for editoast_derive using insta by @leovalais in #9938
- Increase default healthcheck timeout by @flomonster in #10026
Front
-
Common
-
Operational Studies
- Nge saving node's positions by @sim51 in #9105
- Display timetable in macro mode, add styles for macro container by @RomainValls in #9792
- Edit timetable trains in macro mode by @RomainValls in #9816
- Improve import view by @clarani in #10139
- Handle stops in viriato imports by @RomainValls in #9725
- Change imported train schedules number of step color by @RomainValls in #9916
- Display path steps even if the simulation failed by @clarani in #9962
- Add waypoint menu in manchette by @SharglutDev in #9398
- Change time tolerance from 1s to 2s by @axrolld in #10141
-
STDCM
- Filter TowedRollingStocks to include only allowed values by @achrafmohye in #10227
- Consist form validation by @Wadjetz in #9574
- Prefill consist max speed from tag by @Wadjetz in #10039
- Use consists parameters to train simulation request by @Wadjetz in #9660
- Only allow CI/CH within the DPY-MAS axis in LMR when the user have railway_undertaker role by @kmer2016 in #10112
- Clean up and enhance simulation report sheet by @achrafmohye in #10001
- Update simulation progress button design by @SharglutDev in #9786
- Remove high speed rolling stock from freight rolling stocks list by @axrolld in #10018
- Reduce grid margins from 35s to 15s by @SarahBellaha in #9984
- Add lmr help module by @Math-R in #9983
- Linked path search adjustments by @SarahBellaha in #9953
- Linked train search improvements by @SarahBellaha in #9571
- Linked path enhancement by @SarahBellaha in #9567
- Cancel fetch request when user cancels simulation in lmr by @RomainValls in #9948
- Animate new intermediate op in stdcm by @SharglutDev in #10024
- Remove map feature from simulation report sheet by @achrafmohye in #10237
- Match the width and spacing of the results table to the mockup by @theocrsb in #9904
- Remove "DSDM" from the download simulation sheet message by @achrafmohye in #10155
- Ensure stdcm form and simulations clear on page refresh by @achrafmohye in #9922
- Add a second button for new request with prefill form by @Caracol3 in #10130
- Small renamings by @Caracol3 in #9880
Code refactoring ♻️
Editoast
- Unused dependency toml_edit by @Tristramg in #10216
Front
- Move useSimulationResults in SimulationResults by @clarani in #9885
- Set default tolerances in the store by @clarani in #9977
- Stop putting path step IDs in SuggestedOP.opId by @emersion in #9967
- Drop StdcmResultsOperationalPointsList type by @emersion in #9955
- Add ManageTrainSchedule context and remove Pathfinding's reducer by @clarani in #9924
- Separate StdcmPathStep and PathStep types by @clarani in #9129
- Stop hardcoding navbar height in scenario by @emersion in #10089
- Display simulation results only if a train is selected or get data is ready by @clarani in #10035
- Replace casts with assertions by @emersion in #10087
- Use Date instead of string in OsrdConfState.startTime by @emersion in #9954
- Drop StdcmResultsOperationalPoint.departureTime by @emersion in #10158
- Refacto before selecting a PR by @theocrsb in #10157
- Drop SuggestedOP.departure by @emersion in #10166
- Drop ViaStopDurationSelector by @clarani in #10195
- Clean selectors by @clarani in #10202
- Create train settings reducer by @clarani in #10194
- Remove PathStep casts by @emersion in #10167
- Move grid margins props from commonConf to stdcmConf reducer by @clarani in #10203
- Move allWaypoints to ManageTrainScheduleContextType by @emersion in #10169
- Drop TimesStopsRow.isWaypoint by @emersion in #10170
- Drop unused package overrides by @emersion in #10226
- Drop unused STDCM-related fields in PathStep by @emersion in #10231
- Refacto stdcm op schedule by @clarani in #10192
Bug fixes 🐛
Editoast
- Fix projection endpoint by @flomonster in #9956
- Fix stdcm environment date type by @SarahBellaha in #9985
- Fix operational point search performance issues by @leovalais in #10172
Front
-
Common
-
Operational Studies
- Allow user to delete project image and fix style by @clarani in #10220
- Fix speedspacechart resize behavior by @Yohh in #9958
- Fix manchette scroll overflow by @Wadjetz in #10090
- Fix simulation results width on wide screen by @Yohh in #9960
- Fix margin around scenario simulation results scrollbar by @emersion in #9869
- Fix constraint distribution state in simulation settings by @RomainValls in #9932
- Use the absolute value in useOutputData for lateness by @clarani in #10094
- Fix margin computation in output table by @RomainValls in #10095
- Fix power restrictions reset when editing a train by @clarani in #10134
- Setting power restrictions don't remove pathSteps by @clarani in #10032
- Fix typo in classname by @RomainValls in #10096
-
STDCM
- Fix invalid op time by @SharglutDev in #10277
- Fix max speed prefill by @Wadjetz in #9973
- Revert tolerances! in StdcmOrigin and StdcmDestination by @clarani in #10019
- Display selected simulation's inputs by @clarani in #10020
- Fix stop time hours display + fix stop time center by @EthanPERRUZZA in #10125
- Display rs name instead of rs reference in StdcmReportSheet by @clarani in #10224
- Fix train selection in the anterior or posterior train list by @theocrsb in #10154
- Reset state when hitting "new query" button by @clarani in #10223
- Disable get the simulation button when infra is not loaded by @theocrsb in #10241
- Display duration time only for requested pathsteps by @SarahBellaha in #10264
- Fix adding intermediate points hides the result table and result map by @kmer2016 in #10266
- Center text on stdcm error by @sim51 in #10272
- Fix "rolling stock" spelling in English translations by @emersion in #10284
- Display correct ch code after linked train selection by @SarahBellaha in #10235
- Fix some issues in consist errors tooltips by @SharglutDev in #10287
- Display the application date in the chosen language by @SarahBellaha in #10265
- Fix cards display by @SarahBellaha in #10291
- Fix scroll in result table by @RomainValls in #10274
- Initialize the new version of the Map. by @kmer2016 in #10280
- Avoid unecessary path finding call by @sim51 in #10288
- New query should clear the hour field by @sim51 in #10286
Bump dependencies
Core
- bump com.google.guava:guava from 33.3.0-jre to 33.4.0-jre in /core by @dependabot in #10119
Editoast
- bump clap from 4.5.21 to 4.5.23 in /editoast by @dependabot in #9991
- bump redis from 0.27.5 to 0.27.6 in /editoast by @dependabot in #9990
- bump thiserror from 2.0.3 to 2.0.6 in /editoast by @dependabot in #9992
- bump chrono from 0.4.38 to 0.4.39 in /editoast by @dependabot in #9998
- bump tokio-util from 0.7.12 to 0.7.13 in /editoast by @dependabot in #9997
- bump diesel from 2.2.5 to 2.2.6 in /editoast by @dependabot in #9993
- bump tokio from 1.41.1 to 1.42.0 in /editoast by @dependabot in #9994
- bump anyhow from 1.0.93 to 1.0.94 in /editoast by @dependabot in #9995
- bump pathfinding from 4.11.0 to 4.12.0 in /editoast by @dependabot in #10043
- bump tracing-subscriber from 0.3.18 to 0.3.19 in /editoast by @dependabot in #9996
- bump serde from 1.0.215 to 1.0.216 in /editoast by @dependabot in #10040
- bump thiserror from 2.0.6 to 2.0.7 in /editoast by @dependabot in #10097
- bump colored from 2.1.0 to 2.2.0 in /editoast by @dependabot in #10098
- bump axum-test from 16.4.0 to 16.4.1 in /editoast by @dependabot in #10099
- bump tower from 0.5.1 to 0.5.2 in /editoast by @dependabot in #10041
- bump the opentelemetry group in /editoast with 2 updates by @dependabot in #9917
- bump osm4routing to avoid two compilations of protobuf by @Tristramg in #10160
- bump anyhow from 1.0.94 to 1.0.95 in /editoast by @dependabot in #10174
- bump inventory from 0.3.15 to 0.3.16 in /editoast by @dependabot in #10175
- bump ordered-float from 4.5.0 to 4.6.0 in /editoast by @dependabot in #10176
- bump thiserror from 2.0.7 to 2.0.9 in /editoast by @dependabot in #10177
- bump serde_json from 1.0.133 to 1.0.134 in /editoast by @dependabot in #10178
- bump syn from 2.0.90 to 2.0.91 in /editoast by @dependabot in #10179
- bump pathfinding from 4.12.0 to 4.13.0 in /editoast by @dependabot in #10208
- bump syn from 2.0.91 to 2.0.93 in /editoast by @dependabot in #10209
- bump serde from 1.0.216 to 1.0.217 in /editoast by @dependabot in #10210
- bump async-trait from 0.1.83 to 0.1.84 in /editoast by @dependabot in #10246
- bump insta from 1.41.1 to 1.42.0 in /editoast by @dependabot in #10253
- bump prettyplease from 0.2.25 to 0.2.27 in /editoast by @dependabot in #10248
- bump syn from 2.0.93 to 2.0.95 in /editoast by @dependabot in #10251
- bump tempfile from 3.14.0 to 3.15.0 in /editoast by @dependabot in #10245
Front
- bump @types/node from 22.7.5 to 22.10.2 in /front by @dependabot in #10067
- bump i18next-fs-backend from 2.3.2 to 2.6.0 in /front by @dependabot in #10070
- bump @testing-library/jest-dom from 6.5.0 to 6.6.3 in /front by @dependabot in #10071
- bump i18next from 23.15.2 to 24.1.0 in /front by @dependabot in #10074
- bump vite-tsconfig-paths from 5.0.1 to 5.1.4 in /front by @dependabot in #10057
- bump react-select from 5.8.1 to 5.9.0 in /front by @dependabot in #10055
- bump glob from 10.4.5 to 11.0.0 in /front by @dependabot in #10076
- bump openapi-typescript-codegen from 0.27.0 to 0.29.0 in /front by @dependabot in #10064
- bump the patch group in /front with 12 updates by @dependabot in #10046
- bump react-router-dom from 6.26.2 to 7.0.2 in /front by @dependabot in #10061
- bump tslib from 2.7.0 to 2.8.1 in /front by @dependabot in #10050
- bump react-icons from 5.3.0 to 5.4.0 in /front by @dependabot in #10068
- bump eslint-plugin-import from 2.30.0 to 2.31.0 in /front by @dependabot in #10063
- bump prettier from 3.3.3 to 3.4.2 in /front by @dependabot in #10058
- bump react-i18next from 14.1.3 to 15.2.0 in /front by @dependabot in #10072
- bump vite-plugin-static-copy from 1.0.6 to 2.2.0 in /front by @dependabot in #10073
- bump happy-dom from 13.10.1 to 15.11.7 in /front by @dependabot in #9944
- bump @ag-media/react-pdf-table from 1.0.1 to 2.0.0 in /front by @dependabot in #10049
- bump @reduxjs/toolkit from 2.2.8 to 2.5.0 in /front by @dependabot in #10066
- bump @testing-library/react from 14.3.1 to 16.1.0 in /front by @dependabot in #10048
- bump vite-plugin-checker from 0.6.4 to 0.8.0 in /front by @dependabot in #10077
- bump the vitest group in /front with 2 updates by @dependabot in #10045
- bump uuid from 10.0.0 to 11.0.3 in /front by @dependabot in #10060
- bump react-redux from 9.1.2 to 9.2.0 in /front by @dependabot in #10053
- bump @react-pdf/renderer from 3.4.5 to 4.1.5 in /front by @dependabot in #10047
- bump sass from 1.79.4 to 1.83.0 in /front by @dependabot in #10075
- bump the rjsf group in /front with 3 updates by @dependabot in #10100
- bump import-meta-env by @emersion in #10085
- bump vite from 5.4.11 to 6.0.3 in /front by @dependabot in #10102
- bump i18next from 24.1.0 to 24.2.0 in /front by @dependabot in #10181
- bump react-router-dom from 7.0.2 to 7.1.1 in /front by @dependabot in #10183
- bump typescript 5.7 by @SharglutDev in #10228
- bump the patch group across 1 directory with 14 updates by @dependabot in #10255
- bump the patch group in /front with 3 updates by @dependabot in #10258
- bump i18next-parser from 9.0.2 to 9.1.0 in /front by @dependabot in #10263
- bump the turf group in /front with 22 updates by @dependabot in #10257
- bump react-i18next from 15.2.0 to 15.4.0 in /front by @dependabot in #10259
- bump @types/chroma-js from 2.4.5 to 3.1.0 in /front by @dependabot in #10260
- bump happy-dom from 15.11.7 to 16.3.0 in /front by @dependabot in #10262
- bump nanoid from 3.3.7 to 3.3.8 in /front by @dependabot in #10003
- upgrade turf to v7 by @emersion in #10108
- update typescript-eslint by @SharglutDev in #10084
- bump ui from 0.0.55 to 0.0.56 by @achrafmohye in #9968
- bump osrd-ui 0.0.59 by @SharglutDev in #10233
- bump ui-core to 0.0.61 by @clarani in #10293
Gateway
- bump serde from 1.0.216 to 1.0.217 in /gateway by @dependabot in #10211
- bump phf from 0.11.2 to 0.11.3 in /gateway by @dependabot in #10278
- bump serde_json from 1.0.133 to 1.0.135 in /gateway by @dependabot in #10279
- bump serde from 1.0.215 to 1.0.216 in /gateway by @dependabot in #10023
Python - osrd_schemas & railjson_generator
- build(deps-dev): bump jinja2 from 3.1.3 to 3.1.5 in /python/railjson_generator by @dependabot in #10187
- build(deps-dev): bump jinja2 from 3.1.3 to 3.1.5 in /python/osrd_schemas by @dependabot in #10186
Tests
Front
- Deactivate marker check for e2e tests by @Maymanaf in #10078
- Revert "front: deactivate marker check for e2e tests" by @emersion in #10082
- Add speed space chart e2e test by @Maymanaf in #9829
- Add more checks for stdcm e2e test by @Maymanaf in #10109
- Add towed rolling stock e2e test by @Maymanaf in #10025
- Fix missing await statements for asynchronous calls by @Maymanaf in #10242
Others
- Add reuse badge by @flomonster in #10005
- osrd_schemas & railjson_generator
- CI
- Script: docker: remove docker images of the tested PR when cleaning by @bougue-pe in #9952
- github
Full Changelog: v0.3.7...v0.3.9