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

fix(deps): update rust crate axum to 0.7.3 #29

Merged
merged 6 commits into from
Jan 1, 2024
Merged

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Dec 26, 2023

Mend Renovate

This PR contains the following updates:

Package Type Update Change
axum dependencies minor 0.6.20 -> 0.7.3

Release Notes

tokio-rs/axum (axum)

v0.7.3: axum - v0.7.3

Compare Source

  • added: Body implements From<()> now (#​2411)
  • change: Update version of multer used internally for multipart (#​2433)
  • change: Update tokio-tungstenite to 0.21 (#​2435)
  • added: Enable tracing feature by default (#​2460)
  • added: Support graceful shutdown on serve (#​2398)
  • added: RouterIntoService implements Clone (#​2456)

v0.7.2: axum - v0.7.2

Compare Source

  • added: Add axum::body::to_bytes (#​2373)
  • fixed: Gracefully handle accept errors in serve (#​2400)

v0.7.1: axum - v0.7.1

Compare Source

  • fix: Fix readme.

v0.7.0: axum - v0.7.0

Compare Source

  • breaking: Update public dependencies. axum now requires
  • breaking: axum now requires tower-http 0.5
  • breaking: Remove deprecated WebSocketUpgrade::max_send_queue
  • breaking: The following types/traits are no longer generic over the request body
    (i.e. the B type param has been removed) (#​1751 and #​1789):
    • FromRequestParts
    • FromRequest
    • HandlerService
    • HandlerWithoutStateExt
    • Handler
    • LayeredFuture
    • Layered
    • MethodRouter
    • Next
    • RequestExt
    • RouteFuture
    • Route
    • Router
  • breaking: axum no longer re-exports hyper::Body as that type is removed
    in hyper 1.0. Instead axum has its own body type at axum::body::Body (#​1751)
  • breaking: extract::BodyStream has been removed as body::Body
    implements Stream and FromRequest directly (#​1751)
  • breaking: Change sse::Event::json_data to use axum_core::Error as its error type (#​1762)
  • breaking: Rename DefaultOnFailedUpdgrade to DefaultOnFailedUpgrade (#​1664)
  • breaking: Rename OnFailedUpdgrade to OnFailedUpgrade (#​1664)
  • breaking: TypedHeader has been move to axum-extra (#​1850)
  • breaking: Removed re-exports of Empty and Full. Use
    axum::body::Body::empty and axum::body::Body::from respectively (#​1789)
  • breaking: The response returned by IntoResponse::into_response must use
    axum::body::Body as the body type. axum::response::Response does this
    (#​1789)
  • breaking: Removed the BoxBody type alias and its box_body
    constructor. Use axum::body::Body::new instead (#​1789)
  • breaking: Remove RawBody extractor. axum::body::Body implements FromRequest directly (#​1789)
  • breaking: The following types from http-body no longer implement IntoResponse:
    • Full, use Body::from instead
    • Empty, use Body::empty instead
    • BoxBody, use Body::new instead
    • UnsyncBoxBody, use Body::new instead
    • MapData, use Body::new instead
    • MapErr, use Body::new instead
  • added: Add axum::extract::Request type alias where the body is axum::body::Body (#​1789)
  • added: Add Router::as_service and Router::into_service to workaround
    type inference issues when calling ServiceExt methods on a Router (#​1835)
  • breaking: Removed axum::Server as it was removed in hyper 1.0. Instead
    use axum::serve(listener, service) or hyper/hyper-util for more configuration options (#​1868)
  • breaking: Only inherit fallbacks for routers nested with Router::nest.
    Routers nested with Router::nest_service will no longer inherit fallbacks (#​1956)
  • fixed: Don't remove the Sec-WebSocket-Key header in WebSocketUpgrade (#​1972)
  • added: Add axum::extract::Query::try_from_uri (#​2058)
  • added: Implement IntoResponse for Box<str> and Box<[u8]> ([#​2035])
  • breaking: Simplify MethodFilter. It no longer uses bitflags (#​2073)
  • fixed: Fix bugs around merging routers with nested fallbacks (#​2096)
  • fixed: Fix .source() of composite rejections (#​2030)
  • fixed: Allow unreachable code in #[debug_handler] (#​2014)
  • change: axum's MSRV is now 1.66 (#​1882)
  • added: Implement IntoResponse for (R,) where R: IntoResponse (#​2143)
  • changed: For SSE, add space between field and value for compatibility (#​2149)
  • added: Add NestedPath extractor (#​1924)
  • added: Add handle_error function to existing ServiceExt trait (#​2235)
  • breaking: impl<T> IntoResponse(Parts) for Extension<T> now requires
    T: Clone, as that is required by the http crate (#​1882)
  • added: Add axum::Json::from_bytes (#​2244)
  • added: Implement FromRequestParts for http::request::Parts (#​2328)
  • added: Implement FromRequestParts for http::Extensions (#​2328)
  • fixed: Clearly document applying DefaultBodyLimit to individual routes (#​2157)

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot added the A-dependencies Area: Pull requests that update a dependency file label Dec 26, 2023
@renovate renovate bot force-pushed the renovate/axum-0.x branch 4 times, most recently from 93e1e01 to 3149460 Compare December 27, 2023 05:12
@renovate renovate bot changed the title fix(deps): update rust crate axum to 0.7.2 fix(deps): update rust crate axum to 0.7.3 Dec 29, 2023
@simonsan
Copy link
Contributor

simonsan commented Jan 1, 2024

hyper got rid of server in v1.0 and so did axum.

From changelog:

breaking: Removed axum::Server as it was removed in hyper 1.0. Instead
use axum::serve(listener, service) or hyper/hyper-util for more configuration options (tokio-rs/axum/#1868)

@simonsan simonsan added this pull request to the merge queue Jan 1, 2024
Copy link
Contributor Author

renovate bot commented Jan 1, 2024

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.

You can manually request rebase by checking the rebase/retry box above.

Warning: custom changes will be lost.

Merged via the queue into main with commit 8f8cbe8 Jan 1, 2024
39 checks passed
@simonsan simonsan deleted the renovate/axum-0.x branch January 1, 2024 14:25
@rustic-release-plz rustic-release-plz bot mentioned this pull request Nov 9, 2024
github-merge-queue bot pushed a commit that referenced this pull request Nov 9, 2024
## 🤖 New release
* `rustic_scheduler`: 0.1.0 -> 0.1.1 (✓ API compatible changes)

<details><summary><i><b>Changelog</b></i></summary><p>

<blockquote>

##
[0.1.1](v0.1.0...v0.1.1)
- 2024-11-09

### Fixed

- *(docs)* update readme
- *(docs)* update readme
- *(deps)* build sha2-asm on windows-gnu
- *(deps)* build sha2-asm on windows-gnu
- *(deps)* explicitly pull in sha2 asm extensions for non-windows
targets
- *(deps)* update rust crate chrono to v0.4.38
([#46](#46))
- *(deps)* update rust crate axum to v0.7.6
([#45](#45))
- *(deps)* update rust crate anyhow to v1.0.89
([#44](#44))
- typo in readme
([#37](#37))
- *(deps)* update rust crate serde_derive to 1.0.194
([#33](#33))
- *(deps)* update rust crate tungstenite to 0.21
([#34](#34))
- *(deps)* update rust crate axum to 0.7.3
([#29](#29))
- *(deps)* update rust crate url to 2.5
([#28](#28))
- *(deps)* update rust crate serde_derive to 1.0.193
([#27](#27))
- *(ci)* remove unmaintained `actions-rs` ci actions
- *(deps)* update rust crate toml to 0.8.8
([#25](#25))
- *(deps)* update rust crate serde_derive to 1.0.192
([#24](#24))
- *(deps)* update rust crate clap_derive to 4.4.7
([#23](#23))
- Remove redundant clone()
- *(deps)* update rust crate chrono to 0.4.31
([#16](#16))
- *(deps)* update rust crate toml to 0.8.0
([#12](#12))
- cloning
- build and clippy lints

### Other

- don't build on netbsd again, still fails due to `cannot find
-lexecinfo`
- update readme
- *(deps)* update deps
([#60](#60))
- try fix build problems
([#58](#58))
- *(deps)* update actions
([#59](#59))
- use runners according to available images and target triple
([#57](#57))
- update dprint config
([#56](#56))
- add triage label to new issues only if no label has been set when
creating it
([#55](#55))
- *(deps)* lock file maintenance rust dependencies
([#54](#54))
- ignore CHANGELOG.md in dprint formatting
- Update renovate.json
- use release-plz
- *(deps)* upgrade deps
- *(deps)* lockfile maintenance
- update deny.toml
- update deny.toml
- Revert "chore(deps): lock file maintenance"
([#49](#49))
- *(deps)* lock file maintenance
([#48](#48))
- *(deps)* update embarkstudios/cargo-deny-action action to v2
([#47](#47))
- *(deps)* update taiki-e/install-action digest to 18ab6bd
([#43](#43))
- *(deps)* update swatinem/rust-cache digest to 23bce25
([#42](#42))
- *(deps)* update obi1kenobi/cargo-semver-checks-action digest to
7272cc2 ([#41](#41))
- *(deps)* update embarkstudios/cargo-deny-action digest to 3f4a782
([#40](#40))
- *(deps)* update actions/download-artifact digest to fa0a91b
([#39](#39))
- *(deps)* update actions/checkout digest to 692973e
([#38](#38))
- *(deps)* lock file maintenance
([#35](#35))
- break old ci jobs when new commits are pushed so we don't fill up the
queue
- add project-cache-key for better caching in ci
- *(deps)* update taiki-e/install-action digest to 56ab793
([#32](#32))
- *(deps)* update taiki-e/install-action digest to a9ad291
([#31](#31))
- *(deps)* update actions/download-artifact action to v4
([#30](#30))
- dprint fmt
- automerge lockfile maintenance
- activate automerge for github action digest update
- activate automerge for github action digest update
- *(fmt)* upgrade dprint config
- *(deps)* update taiki-e/install-action digest to d211c4b
([#26](#26))
- netbsd nightly builds fail due to missing execinfo, so we don't build
on it for now
- update rustsec/audit-check
- update taiki-e/install-action
- update dtolnay/rust-toolchain
- Run actions that need secrets.GITHUB_TOKEN only on rustic-rs org
- lockfile maintenance
- *(deps)* update embarkstudios/cargo-deny-action digest to 1e59595
([#22](#22))
- *(deps)* update taiki-e/install-action digest to 4d85042
([#21](#21))
- *(deps)* update actions/checkout digest to b4ffde6
([#20](#20))
- add results to ci
- update dprint plugins
- compile dependencies with optimizations in dev mode
- Add client/ site for client statistics
([#19](#19))
- Update README.md
- *(readme)* remove note about rustic_core not being published
- add x86_64-pc-windows-gnu target
- *(deps)* upgrade deps
- dprint fmt
- update cross ci
- *(cargo)* remove special os-dependent linker/compiler settings
- *(manifest)* use rustic_core from crates.io
- sign binaries using rsign2 as well
- add contributing
- fix list indent
- rewrite contributing remark
- relink to new image location
- *(deps)* update dependencies
- *(deps)* update actions/checkout action to v4
([#18](#18))
- *(deps)* pin dependencies
([#17](#17))
- fmt
- add cargo deny
- *(deps)* update taiki-e/install-action digest to de0d48b
([#15](#15))
- add merge queue checks
- *(deps)* update actions/checkout action to v4
([#13](#13))
- *(deps)* update taiki-e/install-action action to v2
([#14](#14))
- *(deps)* update swatinem/rust-cache digest to a95ba19
([#11](#11))
- *(deps)* pin dependencies
([#10](#10))
- run workflow on renovate branches
- update changelog
- run release checks also on release subbranches
- add triaging of issues
- run git-cliff with latest tag during release
- add dev tooling
- add changelog generation
- fix woggly github action comparison
- use bash substring comparison to determine package name from branch
- set right package
- fix github refs
- decrease build times on windows
- fix workflow name for create-binary-artifact action, and check
breaking changes package dependent
- *(changelog)* add generated changelog
- add release CD
- fix comment being wrongly attributed
- update ci to reflect changes and optimizations from rustic_server
- remove lint from ci workflow and keep it separate, replace underscore
in workflow file
- add comment about shallow clone
- declutter and reorganize
- add signature and shallow clones to nightly
- update header
- add link to nightly downloads in documentation
- *(readme)* add link to binaries and badge
- nightly builds
- refactor to library and client + server binaries
- fmt
- fix binary builds
- *(readme)* rewrite comment for rustic_core, uses git dependency now
- *(deps)* use workspace dependency on git repo
- add rustic to artifact build
- pull in rustic manually for now
- *(deps)* update dependencies
- add licenses, fix manifest
- fmt
- add ci
- Update rustic_scheduler.toml
- Update rustic_scheduler.toml
- initial commit

### Bug Fixes

- Build and clippy lints
- Cloning

### Documentation

- Add licenses, fix manifest
- Rewrite comment for rustic_core, uses git dependency now
- Add link to binaries and badge
- Add link to nightly downloads in documentation
- Add generated changelog

### Miscellaneous Tasks

- Add ci
- Pull in rustic manually for now
- Add rustic to artifact build
- Fix binary builds
- Nightly builds
- Update header
- Add signature and shallow clones to nightly
- Declutter and reorganize
- Add comment about shallow clone
- Remove lint from ci workflow and keep it separate, replace underscore
in
  workflow file
- Update ci to reflect changes and optimizations from rustic_server
- Fix comment being wrongly attributed
- Add release CD
- Fix workflow name for create-binary-artifact action, and check
breaking
  changes package dependent
- Decrease build times on windows
- Fix github refs
- Set right package
- Use bash substring comparison to determine package name from branch
- Fix woggly github action comparison
- Add changelog generation
- Add dev tooling
- Run git-cliff with latest tag during release
- Add triaging of issues
- Run release checks also on release subbranches

### Refactor

- Refactor to library and client + server binaries

<!-- generated by git-cliff -->
</blockquote>


</p></details>

---
This PR was generated with
[release-plz](https://github.com/MarcoIeni/release-plz/).

Co-authored-by: rustic-release-plz[bot] <182542030+rustic-release-plz[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-dependencies Area: Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant