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

editoast: bump axum from 0.7.9 to 0.8.1 in /editoast #10252

Merged
merged 1 commit into from
Jan 10, 2025

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jan 6, 2025

Bumps axum from 0.7.9 to 0.8.1.

Release notes

Sourced from axum's releases.

axum-extra - v0.8.0

  • breaking: Update to prost 0.12. Used for the Protobuf extractor (#2224)

#2224: tokio-rs/axum#2224

axum v0.8.0

since rc.1

  • breaking: axum::extract::ws::Message now uses Bytes in place of Vec<u8>, and a new Utf8Bytes type in place of String, for its variants (#3078)
  • breaking: Remove OptionalFromRequestParts impl for Query (#3088)
  • changed: Upgraded tokio-tungstenite to 0.26 (#3078)
  • changed: Query/Form: Use serde_path_to_error to report fields that failed to parse (#3081)

full changelog

Note: there are further relevant changes in axum-core's changelog

  • breaking: Upgrade matchit to 0.8, changing the path parameter syntax from /:single and /*many to /{single} and /{*many}; the old syntax produces a panic to avoid silent change in behavior (#2645)
  • breaking: Require Sync for all handlers and services added to Router and MethodRouter (#2473)
  • breaking: The tuple and tuple_struct Path extractor deserializers now check that the number of parameters matches the tuple length exactly (#2931)
  • breaking: Move Host extractor to axum-extra (#2956)
  • breaking: Remove WebSocket::close. Users should explicitly send close messages themselves. (#2974)
  • breaking: Make serve generic over the listener and IO types (#2941)
  • breaking: Remove Serve::tcp_nodelay and WithGracefulShutdown::tcp_nodelay. See serve::ListenerExt for an API that let you set arbitrary TCP stream properties. (#2941)
  • breaking: Option<Path<T>> no longer swallows all error conditions, instead rejecting the request in many cases; see its documentation for details (#2475)
  • breaking: axum::extract::ws::Message now uses Bytes in place of Vec<u8>, and a new Utf8Bytes type in place of String, for its variants (#3078)
  • fixed: Skip SSE incompatible chars of serde_json::RawValue in Event::json_data (#2992)
  • fixed: Don't panic when array type is used for path segment (#3039)
  • fixed: Avoid setting content-length before middleware. This allows middleware to add bodies to requests without needing to manually set content-length (#2897)
  • change: Update minimum rust version to 1.75 (#2943)
  • changed: Upgraded tokio-tungstenite to 0.26 (#3078)
  • changed: Query/Form: Use serde_path_to_error to report fields that failed to parse (#3081)
  • added: Add method_not_allowed_fallback to set a fallback when a path matches but there is no handler for the given HTTP method (#2903)
  • added: Add NoContent as a self-described shortcut for StatusCode::NO_CONTENT (#2978)
  • added: Add support for WebSockets over HTTP/2. They can be enabled by changing get(ws_endpoint) handlers to any(ws_endpoint) (#2894)
  • added: Add MethodFilter::CONNECT, routing::connect[_service] and MethodRouter::connect[_service] (#2961)
  • added: Extend FailedToDeserializePathParams::kind enum with (ErrorKind::DeserializeError). This new variant captures both key, value, and message from named path parameters parse errors, instead of only deserialization error message in ErrorKind::Message. (#2720)

#2475: tokio-rs/axum#2475 #2897: tokio-rs/axum#2897 #2903: tokio-rs/axum#2903

... (truncated)

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

@dependabot dependabot bot requested a review from a team as a code owner January 6, 2025 15:46
@dependabot dependabot bot added area:editoast Work on Editoast Service dependencies Pull requests that update a dependency file labels Jan 6, 2025
@dependabot dependabot bot force-pushed the dependabot/cargo/editoast/axum-0.8.1 branch 2 times, most recently from 3c3f50f to ea68f73 Compare January 7, 2025 10:26
@woshilapin woshilapin force-pushed the dependabot/cargo/editoast/axum-0.8.1 branch 2 times, most recently from 6210297 to 1822e98 Compare January 9, 2025 15:08
@woshilapin woshilapin requested a review from leovalais January 9, 2025 15:15
Bumps [axum](https://github.com/tokio-rs/axum) from 0.7.9 to 0.8.1.
- [Release notes](https://github.com/tokio-rs/axum/releases)
- [Changelog](https://github.com/tokio-rs/axum/blob/main/CHANGELOG.md)
- [Commits](https://github.com/tokio-rs/axum/commits)

---
updated-dependencies:
- dependency-name: axum
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@woshilapin woshilapin force-pushed the dependabot/cargo/editoast/axum-0.8.1 branch from 1822e98 to 684698d Compare January 9, 2025 15:29
@codecov-commenter
Copy link

codecov-commenter commented Jan 9, 2025

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 81.61%. Comparing base (5cc4921) to head (684698d).
Report is 72 commits behind head on dev.

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@            Coverage Diff             @@
##              dev   #10252      +/-   ##
==========================================
+ Coverage   81.45%   81.61%   +0.15%     
==========================================
  Files        1058     1063       +5     
  Lines      104286   105416    +1130     
  Branches      722      722              
==========================================
+ Hits        84945    86033    +1088     
- Misses      19300    19342      +42     
  Partials       41       41              
Flag Coverage Δ
editoast 73.62% <ø> (-0.02%) ⬇️
front 89.33% <ø> (+0.15%) ⬆️
gateway 2.18% <ø> (ø)
osrdyne 3.28% <ø> (ø)
railjson_generator 87.50% <ø> (ø)
tests 87.05% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Contributor

@flomonster flomonster left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@woshilapin woshilapin added this pull request to the merge queue Jan 10, 2025
Merged via the queue into dev with commit 86129e0 Jan 10, 2025
27 checks passed
@woshilapin woshilapin deleted the dependabot/cargo/editoast/axum-0.8.1 branch January 10, 2025 16:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:editoast Work on Editoast Service dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants