Skip to content

Commit

Permalink
Release axum and axum-extra (#2145)
Browse files Browse the repository at this point in the history
Co-authored-by: Jonas Platte <jplatte+git@posteo.de>
  • Loading branch information
davidpdrsn and jplatte authored Aug 3, 2023
1 parent 68333b2 commit 3b92cd7
Show file tree
Hide file tree
Showing 14 changed files with 24 additions and 16 deletions.
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Contributing to axum

:balloon: Thanks for your help improving the project! We are so happy to have
🎈 Thanks for your help improving the project! We are so happy to have
you!

There are opportunities to contribute to `axum` at any level. It doesn't
Expand Down
2 changes: 1 addition & 1 deletion axum-core/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ with your question.

## Contributing

:balloon: Thanks for your help improving the project! We are so happy to have
🎈 Thanks for your help improving the project! We are so happy to have
you! We have a [contributing guide][contributing] to help you get involved in the
`axum` project.

Expand Down
4 changes: 4 additions & 0 deletions axum-extra/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning].

# Unreleased

- None.

# 0.7.7 (03. August, 2023)

- **added:** `Clone` implementation for `ErasedJson` ([#2142])

[#2142]: https://github.com/tokio-rs/axum/pull/2142
Expand Down
2 changes: 1 addition & 1 deletion axum-extra/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ license = "MIT"
name = "axum-extra"
readme = "README.md"
repository = "https://github.com/tokio-rs/axum"
version = "0.7.6"
version = "0.7.7"

[features]
default = []
Expand Down
2 changes: 1 addition & 1 deletion axum-extra/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ with your question.

## Contributing

:balloon: Thanks for your help improving the project! We are so happy to have
🎈 Thanks for your help improving the project! We are so happy to have
you! We have a [contributing guide][contributing] to help you get involved in the
`axum` project.

Expand Down
2 changes: 1 addition & 1 deletion axum-macros/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ with your question.

## Contributing

:balloon: Thanks for your help improving the project! We are so happy to have
🎈 Thanks for your help improving the project! We are so happy to have
you! We have a [contributing guide][contributing] to help you get involved in the
`axum` project.

Expand Down
4 changes: 2 additions & 2 deletions axum-macros/tests/from_request/pass/state_enum_via.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
use axum::{
extract::{State, FromRef},
extract::{FromRef, State},
routing::get,
Router,
};
Expand Down Expand Up @@ -30,6 +30,6 @@ enum InnerState {}

impl FromRef<AppState> for InnerState {
fn from_ref(_: &AppState) -> Self {
todo!(":shrug:")
todo!("🤷")
}
}
4 changes: 2 additions & 2 deletions axum-macros/tests/from_request/pass/state_enum_via_parts.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
use axum::{
extract::{State, FromRef},
extract::{FromRef, State},
routing::get,
Router,
};
Expand Down Expand Up @@ -31,6 +31,6 @@ enum InnerState {}

impl FromRef<AppState> for InnerState {
fn from_ref(_: &AppState) -> Self {
todo!(":shrug:")
todo!("🤷")
}
}
4 changes: 4 additions & 0 deletions axum/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

# Unreleased

- None.

# 0.6.20 (03. August, 2023)

- **added:** `WebSocketUpgrade::write_buffer_size` and `WebSocketUpgrade::max_write_buffer_size`
- **changed:** Deprecate `WebSocketUpgrade::max_send_queue`
- **change:** Update tokio-tungstenite to 0.20
Expand Down
2 changes: 1 addition & 1 deletion axum/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "axum"
version = "0.6.19"
version = "0.6.20"
categories = ["asynchronous", "network-programming", "web-programming::http-server"]
description = "Web framework that focuses on ergonomics and modularity"
edition = "2021"
Expand Down
2 changes: 1 addition & 1 deletion axum/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ built with `axum`.

## Contributing

:balloon: Thanks for your help improving the project! We are so happy to have
🎈 Thanks for your help improving the project! We are so happy to have
you! We have a [contributing guide][contributing] to help you get involved in the
`axum` project.

Expand Down
4 changes: 2 additions & 2 deletions axum/src/docs/error_handling.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@ in handlers. See those examples:
* [`anyhow-error-response`][anyhow] for generic boxed errors
* [`error-handling-and-dependency-injection`][ehdi] for application-specific detailed errors

[anyhow]:https://github.com/tokio-rs/axum/blob/main/examples/anyhow-error-response/src/main.rs
[ehdi]:https://github.com/tokio-rs/axum/blob/main/examples/error-handling-and-dependency-injection/src/main.rs
[anyhow]: https://github.com/tokio-rs/axum/blob/main/examples/anyhow-error-response/src/main.rs
[ehdi]: https://github.com/tokio-rs/axum/blob/main/examples/error-handling-and-dependency-injection/src/main.rs

This also applies to extractors. If an extractor doesn't match the request the
request will be rejected and a response will be returned without calling your
Expand Down
4 changes: 2 additions & 2 deletions axum/src/handler/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@
//! * [`anyhow-error-response`][anyhow] for generic boxed errors
//! * [`error-handling-and-dependency-injection`][ehdi] for application-specific detailed errors
//!
//! [anyhow]:https://github.com/tokio-rs/axum/blob/main/examples/anyhow-error-response/src/main.rs
//! [ehdi]:https://github.com/tokio-rs/axum/blob/main/examples/error-handling-and-dependency-injection/src/main.rs
//! [anyhow]: https://github.com/tokio-rs/axum/blob/main/examples/anyhow-error-response/src/main.rs
//! [ehdi]: https://github.com/tokio-rs/axum/blob/main/examples/error-handling-and-dependency-injection/src/main.rs
//!
#![doc = include_str!("../docs/debugging_handler_type_errors.md")]

Expand Down
2 changes: 1 addition & 1 deletion axum/src/routing/method_routing.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1375,7 +1375,7 @@ mod tests {
fn buiding_complex_router() {
let app = crate::Router::new().route(
"/",
// use the all the things :bomb:
// use the all the things 💣️
get(ok)
.post(ok)
.route_layer(ValidateRequestHeaderLayer::bearer("password"))
Expand Down

0 comments on commit 3b92cd7

Please sign in to comment.