mirror of https://github.com/fafhrd91/actix-web
Compare commits
4 Commits
d97f897f4e
...
a9d55253cc
| Author | SHA1 | Date |
|---|---|---|
|
|
a9d55253cc | |
|
|
e1da110e92 | |
|
|
a7c5366503 | |
|
|
270bbf1906 |
|
|
@ -0,0 +1,49 @@
|
|||
name: Semver
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
types: [labeled]
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.ref }}-${{ github.event.label.name }}
|
||||
cancel-in-progress: true
|
||||
|
||||
jobs:
|
||||
check-semver-patch:
|
||||
name: Check semver (patch)
|
||||
runs-on: ubuntu-latest
|
||||
if: github.event.label.name == 'B-semver-patch'
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- name: Check semver (patch)
|
||||
uses: obi1kenobi/cargo-semver-checks-action@v2.1
|
||||
with:
|
||||
release-type: patch
|
||||
|
||||
check-semver-minor:
|
||||
name: Check semver (minor)
|
||||
runs-on: ubuntu-latest
|
||||
if: github.event.label.name == 'B-semver-minor'
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- name: Check semver (minor)
|
||||
uses: obi1kenobi/cargo-semver-checks-action@v2.1
|
||||
with:
|
||||
release-type: minor
|
||||
|
||||
check-semver-major:
|
||||
name: Check semver (major)
|
||||
runs-on: ubuntu-latest
|
||||
if: github.event.label.name == 'B-semver-major'
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- name: Check semver (major)
|
||||
uses: obi1kenobi/cargo-semver-checks-action@v2.1
|
||||
with:
|
||||
release-type: major
|
||||
|
|
@ -5,6 +5,7 @@
|
|||
- `actix_web::response::builder::HttpResponseBuilder::streaming()` now sets `Content-Type` to `application/octet-stream` if `Content-Type` does not exist.
|
||||
- `actix_web::response::builder::HttpResponseBuilder::streaming()` now calls `actix_web::response::builder::HttpResponseBuilder::no_chunking()` if `Content-Length` is set by user.
|
||||
- Add `ws` crate feature (on-by-default) which forwards to `actix-http` and guards some of its `ResponseError` impls.
|
||||
- Add public export for `EitherExtractError` in `error` module.
|
||||
|
||||
## 4.11.0
|
||||
|
||||
|
|
|
|||
|
|
@ -21,6 +21,7 @@ mod response_error;
|
|||
|
||||
pub(crate) use self::macros::{downcast_dyn, downcast_get_type_id};
|
||||
pub use self::{error::Error, internal::*, response_error::ResponseError};
|
||||
pub use crate::types::EitherExtractError;
|
||||
|
||||
/// A convenience [`Result`](std::result::Result) for Actix Web operations.
|
||||
///
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@ mod query;
|
|||
mod readlines;
|
||||
|
||||
pub use self::{
|
||||
either::Either,
|
||||
either::{Either, EitherExtractError},
|
||||
form::{Form, FormConfig, UrlEncoded},
|
||||
header::Header,
|
||||
html::Html,
|
||||
|
|
|
|||
Loading…
Reference in New Issue