Version 0.2.13
Pre-release
Pre-release
What's Changed
Features 🎉
- Train schedule V2:
- Add editoast
--no-cache
option by @flomonster in #7419 - Replace MinPerKm with MinPer100Km by @younesschrifi in #7435
- Adapt frontend STDCM by @clarani in #7437
- Add electrical profiles to response by @eckter in #7465
- Display timetablev2 by @SharglutDev in #7399
- Adapt fuzzer by @eckter in #7324
- Adapt frontend conflicts by @Akctarus in #7533
- Add table to handle trains times and margins by @Uriel-Sautron in #7427
- Initialize stdcm by @kmer2016 in #7414
- Adapt simulation results by @SharglutDev in #7485
- Add field
scheduled_points_honored
to the simulatio… by @flomonster in #7710 - Add constraint distribution switch in operational studies by @theocrsb in #7765
- Add stops in stdcm simulation report sheet v2 by @Akctarus in #7629
- Add download button for exporting selected train schedules in json format by @theocrsb in #7809
- Refacto stops table by @anisometropie in #7834
- Add editoast
- Update README:
- Nix development environment:
- Add some useful nix dev dependencies by @woshilapin in #7560
- Update nix using fenix and split flake by @ElysaSrc in #7615
- Add nix 'rust-analyzer' by @woshilapin in #7657
- Handle mph speed limit for osm to railjson by @flomonster in #7443
- Improve core stdcm heuristic using actual remaining distance by @eckter in #7417
- STDCM add work schedules by @eckter in #7343
- Adapt route calculation by @flomonster in #7475
- Spacing requirements handle several zones before first signal by @eckter in #7480
- Simulation report sheet change style and add link to simulation map by @Akctarus in #7462
- Add split track section by @sim51 in #7438
- Add utils to TestApp and tracing setup for unit tests by @leovalais in #7511
- Adapt route and switch selection in speed limit edition by @anisometropie in #7307
- Adapt stdcm simulation report sheet to new endpoint by @Akctarus in #7456
- Add support arrival on stop signal for conflict detection by @bougue-pe in #7322
- Add core debugging tools to export geo data by @eckter in #7561
- Update frontend readme to describe how update dependencies by @kmer2016 in #7584
- Switch to valkey by @emersion in #7515
- Add proud 🏳️🌈 logo in frontend by @emersion in #7699
- Add infra editor autofix for operational points parts by @flomonster in #7571
- Add gateway
acr_values
for MFA by @younesschrifi in #7817 - Add suggestions using existing list of tags by @theocrsb in #7838
- Add stdcm arrival time parameters by @eckter in #7827
- Add vias in stdcm frontend by @SarahBellaha in #7818
Code refactoring ♻️
- Bump dependencies in multiple PR
- Split editoast in crates:
- Move sql requests from
/voltages
tomodelsv2::infra
by @hamz2a in #7431 - Move sql request from
/speed_limit_tags
tomodelsv2::infra
by @hamz2a in #7434 - Move sql request from
views::infra
tomodelsv2::infra
by @hamz2a in #7448 - Move sql requests from
views::rolling_stock
tomodelsv2::rolling_stock
by @hamz2a in #7470 - Move
get_objects
fromviews::infra
tomodelsv2::infra
by @hamz2a in #7505 - Use ModelV2 List in study listing endpoint and new pagination system by @leovalais in #7479
- Use ModelV2 List in infra listing endpoint by @leovalais in #7541
- Use ModelV2 List in scenario listing endpoint by @leovalais in #7545
- Use ModelV2 list in timetable listing endpoint by @leovalais in #7542
- Create
editoast_models
and move model v2 database tools by @Wadjetz in #7864
- Move sql requests from
- Generate editoast openapi with utoipa (Done 🎉)
- Add openapi annotations for some /infra/{id} endpoints by @leovalais in #7442
- More openapi annotations for /infra endpoints by @leovalais in #7551
- Add openapi annotation to edition endpoint by @leovalais in #7553
- Add last openapi annotations by @leovalais in #7677
- Bye bye
openapi_legacy.yaml
🥳🥳 by @leovalais in #7686
- Rework editoast tests utils #6980:
- Refactor projects tests by @Wadjetz in #7508
- Refactor
views::infra::attached
tests by @hamz2a in #7518 - Refactor study tests by @Wadjetz in #7528
- Refactor infra tests by @hamz2a in #7557, #7626, #7635, #7648, #7705 and #7839
- Refactor rollings stocks, livery, electrical profiles tests by @Wadjetz in #7580
- Refactor timetable v2 tests by @Wadjetz in #7647
- Refactor scenario V2 tests by @Wadjetz in #7668
- Refactor train schedule v2 tests by @Wadjetz in #7748
- Refactor work schedules, scenario tests by @Wadjetz in #7780
- Refactor tests for layer and use app.fetch in some tests by @Wadjetz in #7814
- Replace gradients with curves by @younesschrifi in #7447
- Merge core request simulation schedule items with same path offset by @Erashin in #7449
- Account for departure time when checking for conflicts by @eckter in #7469
- Editoast pagination overhaul for ModelV2 list by @leovalais in #7397
- Remove schematic from core, editoast and frontend by @Khoyo in #7356
- Add database connection pool tools by @Wadjetz in #7281
- Remove sentry from core by @Khoyo in #7483
- Remove sentry from editoast by @woshilapin in #7573
- Remove sentry from frontend by @woshilapin in #7574
- Sort schedule points in core response by @eckter in #7544
- Use tracing's pretty formatter for editoast logs by @leovalais in #7548
- Choose arrivalAt/departureFrom in envelope interpolation by @bougue-pe in #7609
- Rename FromRjs files and classes introduced during infra load refactor by @bougue-pe in #7771
- Refactor generated OpenAPI, fix parent models invalidation by @emersion in #7659
- Add core unit tests for arrival on stop signal for train schedule by @bougue-pe in #7704
- Handle TODO introduced while refactoring infra load by @bougue-pe in #7792
- Minor STDCM improvements by @eckter in #7807
- Reduce path requirement to compute spacing resource uses by @eckter in #7808
- Make
max_run_time
optional in editoast and core, computed if missing by @eckter in #7751 - Remove stdcm list of heuristics + related simplifications by @eckter in #7858
- Add telemetry on redis calls for editoast by @woshilapin in #7905
- Improve STDCM heuristic by using lookahead data by @eckter in #7844
- Refacto e2e tests creating and modifying a rolling stock by @Maymanaf in #7772
- Rename variable from French to English by @turnerian2004 in #7893
- Set editoast tokio flavor multi-thread by @flomonster in #7924
- Specify versions for all editoast dependencies by @woshilapin in #7926
- Adding quotes around commit title in log's checker by @sim51 in #7900
Bug fixes 🐛
- Remove failing test by @eckter in #7428
- Increase core precision when summing time deltas in envelope parts by @eckter in #7432
- Fix op search when no ch code in front by @Akctarus in #7429
- Add core error detail when using a route that has no exit signal by @eckter in #7380
- Avoid horizontal scroll on editor panel by @sim51 in #7444
- Bugfixes identified by fuzzer for tsv2 by @eckter in #7430
- Remove editoast payloads from DB telemetry by @woshilapin in #7450
- Downgrade reqwest to mitigate timeout issues by @multun in #7466
- Fix v2
path_with_repeated_tracks
bug which ignored track direction by @Erashin in #7474 - Add transaction and infra edition endpoint by @sim51 in #7451
- Set editoast
serde_qs
to non strict for simulation summary endpoint by @flomonster in #7501 - Fix space time chart in stdcm view by @clarani in #7507
- Fix track length field on editor by @sim51 in #7510
- Ignore OP parts on missing tracks in core by @eckter in #7519
- Ignore multiple routes on same chunk bug when getting speed limits in core by @Erashin in #7531
- Avoid core crash when coasting envelope doesn't intersect by @eckter in #7529
- Ignore impossible allowance constraints in core by @eckter in #7520
- Do not panic on empty list of train requirements in core by @woshilapin in #7506
- Ignore more impossible allowance constraints in core by @eckter in #7543
- Ignore work schedules with unknown tracks in core by @eckter in #7547
- Fix CI PRs from forks by @multun in #7549
- Clamp positions when getting max speed in envelope range by @eckter in #7550
- Use artifacts instead of registry for forks by @emersion in #7558
- Fix Python 3.12 support by @shenriotpro in #7562
- Prevent STDCM stops at every PR by @eckter in #7570
- Include path items positions in the response by @eckter in #7572
- Change pathfinding track offsets from m to mm by @eckter in #7596
- Fix frontend crash when hitting the user settings by @clarani in #7610
- Fix simulations still displayed if no train in timetable by @SharglutDev in #7591
- Fix wrong electrification display by @louisgreiner in #7616
- Increase core precision of envelope times from ms to us by @eckter in #7620
- Fix STDCM "time per distance" unit when parsing request by @eckter in #7622
- Ignore uncommon error when forward coasting doesn't intersect in core by @eckter in #7628
- Fix warped map display by @SarahBellaha in #7631
- Fix nix mold wrapping by @ElysaSrc in #7633
- Fix signaling, actually call checkSignal by @Khoyo in #7608
- Fix import train invalid names v2 by @RomainValls in #7636
- Fix stdcmv2 ui by @SarahBellaha in #7627
- Avoid a NaN in allowance ratio in core by @eckter in #7640
- Fix wrong origin via position on path by @SharglutDev in #7630
- Fix stdcm vias by @Akctarus in #7614
- Fix the timetable stops counter by @SarahBellaha in #7634
- Fix rolling stock text filter not updated on reset by @emersion in #7606
- Fix text wrapping in speed space chart settings by @emersion in #7607
- Fix missing translation in manage vias modal title by @emersion in #7599
- Fix color of minus buttons in manage vias modal by @emersion in #7600
- Disable onStopSignal checkbox when there is no stop by @SarahBellaha in #7645
- Prevent user from deleting an op or a neutral section by @clarani in #7662
- Fix rolling stock comfort by @clarani in #7672
- Fix format time on arrival time column by @Uriel-Sautron in #7623
- Fix invalid train not displayed without refreshing the page by @SharglutDev in #7665
- Fix clippy warning and fix cargo-chef version by @flomonster in #7721
- Fix stdcm departure time on sheet by @Akctarus in #7667
- Fix
search_signal
INSERT trigger by @emersion in #7641 - Fix core pathfinding with waypoints in wrong order by @eckter in #7761
- Ignore overlapping scheduled points in core by @eckter in #7747
- Compute mareco constant speed parts correctly by @axrolld in #7768
- Use default value for missing signal side in editoast by @emersion in #7720
- Fix front default signal side value in editor by @emersion in #7713
- Fix port as string for podman by @guenhter in #7767
- Fix port as string for podman by @woshilapin in #7902
- Fix power restriction selector when rs does not handle electrification mode by @clarani in #7656
- Fix crash on plaintext HTTP error response by @emersion in #7791
- Fix pointer behaviour on charts with tsv2 by @clarani in #7723
- Fix negative budget in project and study by @theocrsb in #7770
- Prevents path from taking the same track section twice by @flomonster in #7799
- Fix infinite scrolling in editor error list modal by @emersion in #7793
- Fix docker SIGTERM not received by editoast by @emersion in #7800
- Speed up infra deletion by @flomonster in #7784
- Fix project study scenario last update by @Wadjetz in #7846
- Ignore zero-length margin ranges by @eckter in #7847
- Fix docker compose front health check by @flomonster in #7848
- Use nodes in stdcm priority queue and replace weight in core by clear comparison by @Erashin in #7830
- Fix shift train in space time chart by @flomonster in #7857
- Update security rel in release information by @bloussou in #7828
- Minor stdcm cleanup + bugfix by @eckter in #7869
- Fix gateway amr by @ElysaSrc in #7852
- Fix buttons display adding wrap by @theocrsb in #7882
- Fix infra clone handle search tables by @flomonster in #7853
- Fix reword french add waypoints by @flomonster in #7885
- Fix trains not stopping at the end of path by @SharglutDev in #7880
- Make stdcm map less laggy by @SarahBellaha in #7718
- Fix large uri for batch retrieve train schedules by @flomonster in #7881
- Fix curves update by @SarahBellaha in #7895
- Fix map reference when no infra (or not existing) is selected by @sim51 in #7897
- Fix speed restrictions and electrifications regressions by @anisometropie in #7722
- Add error when stdcm requests don't end with a stop by @eckter in #7919
- Avoid useless query on editor for switch types and infra by @sim51 in #7904
- Fix first number of the position field cannot be cleared by @theocrsb in #7879
- Keep common value on switch when changing switch types by @sim51 in #7922
- If current infra is the one we delete, change the store by @sim51 in #7925
- Fix display of error summary by @sim51 in #7512
- Avoid x scroll on map search by @sim51 in #7899
- Use noreferrer for external license links by @emersion in #7874
- Fix chart pointers and train details by @emersion in #7923
- Display simulation results in stdcm debug v2 by @clarani in #7632
- Fix via modal display by @SarahBellaha in #7910
- Fix "invalid Date" errors by @emersion in #7896
- Fix all typos about past tense of split by @woshilapin in #7936
- Fix editoast batch simulation reducing DB queries by @flomonster in #7931
- Skip work schedules on track chunks with no routes by @Erashin in #7933
- Fix speed limit tags filter in timetable by @SharglutDev in #7491
- Fix core simulation response electrical profiles by @Erashin in #7513 and #7530
- Fix input into 'Offset' by @woshilapin in #7532
- Fix GET interaction after a drag and drop (ts v2) by @clarani in #7673
- Fix problem for export and import json by @theocrsb in #7829
- Fix times and stops table by @SharglutDev in #7775
- Fix wrong stop displayed in driver train schedules by @SharglutDev in #7877
New Contributors
- @theocrsb made their first contribution in #7765
- @guenhter made their first contribution in #7767
- @Maymanaf made their first contribution in #7772
- @turnerian2004 made their first contribution in #7893
Full Changelog: v0.2.12...v0.2.13