mirror of
https://github.com/poem-web/poem.git
synced 2026-01-25 04:18:25 +00:00
poem 3.1.10
poem-openapi: 5.1.14 poem-mcpserver: 0.2.2 poem-grpc: 0.5.5
This commit is contained in:
30
.github/workflows/code-coverage.yml
vendored
30
.github/workflows/code-coverage.yml
vendored
@@ -7,7 +7,10 @@ on:
|
||||
|
||||
jobs:
|
||||
cover:
|
||||
runs-on: ubuntu-22.04
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
image: xd009642/tarpaulin:develop-nightly
|
||||
options: --security-opt seccomp=unconfined
|
||||
services:
|
||||
redis:
|
||||
image: redis:5.0.7
|
||||
@@ -18,23 +21,16 @@ jobs:
|
||||
- uses: actions/checkout@v3
|
||||
- name: Install Protoc
|
||||
uses: arduino/setup-protoc@v1
|
||||
- name: Install Stable Toolchain
|
||||
uses: dtolnay/rust-toolchain@stable
|
||||
with:
|
||||
toolchain: 1.85.0
|
||||
components: rustfmt
|
||||
- name: Cache Rust
|
||||
uses: Swatinem/rust-cache@v2
|
||||
- name: Run cargo-tarpaulin
|
||||
uses: actions-rs/tarpaulin@v0.1
|
||||
with:
|
||||
version: "0.18.0"
|
||||
- name: Install Redis
|
||||
run: |
|
||||
apt-get update
|
||||
apt-get install -y redis-server
|
||||
redis-server --daemonize yes
|
||||
redis-cli ping
|
||||
- name: Generate code coverage
|
||||
run: |
|
||||
cargo +nightly tarpaulin --verbose --all-features --workspace --timeout 120 --out xml
|
||||
- name: Upload To codecov.io
|
||||
uses: codecov/codecov-action@v3
|
||||
with:
|
||||
token: ${{secrets.CODECOV_TOKEN}}
|
||||
- name: Archive Code Coverage Results
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: code-coverage-report
|
||||
path: cobertura.xml
|
||||
|
||||
10
Cargo.toml
10
Cargo.toml
@@ -22,11 +22,11 @@ repository = "https://github.com/poem-web/poem"
|
||||
rust-version = "1.85"
|
||||
|
||||
[workspace.dependencies]
|
||||
poem = { path = "poem", version = "3.1.9", default-features = false }
|
||||
poem-derive = { path = "poem-derive", version = "3.1.9" }
|
||||
poem-openapi-derive = { path = "poem-openapi-derive", version = "5.1.13" }
|
||||
poem-grpc-build = { path = "poem-grpc-build", version = "0.5.4" }
|
||||
poem-mcpserver-macros = { path = "poem-mcpserver-macros", version = "0.2.1" }
|
||||
poem = { path = "poem", version = "3.1.10", default-features = false }
|
||||
poem-derive = { path = "poem-derive", version = "3.1.10" }
|
||||
poem-openapi-derive = { path = "poem-openapi-derive", version = "5.1.14" }
|
||||
poem-grpc-build = { path = "poem-grpc-build", version = "0.5.5" }
|
||||
poem-mcpserver-macros = { path = "poem-mcpserver-macros", version = "0.2.2" }
|
||||
|
||||
proc-macro-crate = "3.0.0"
|
||||
proc-macro2 = "1.0.29"
|
||||
|
||||
@@ -31,10 +31,12 @@
|
||||
This repo contains the following main components:
|
||||
|
||||
| Crate | Description | Documentation | ChangeLog |
|
||||
|-------------------------------------------------------------------------------------------------------------|----------------------|------------------------------------|------------------------------------------|
|
||||
|-------------------------------------------------------------------------------------------------------------------|------------------------------------|--------------------------------------|--------------------------------------------|
|
||||
| **poem** [](https://crates.io/crates/poem) | Poem Web | [(README)](poem/README.md) | [(CHANGELOG)](poem/CHANGELOG.md) |
|
||||
| **poem-lambda** [](https://crates.io/crates/poem-lambda) | Poem for AWS Lambda | [(README)](poem-lambda/README.md) | [(CHANGELOG)](poem-lambda/CHANGELOG.md) |
|
||||
| **poem-openapi** [](https://crates.io/crates/poem-openapi) | OpenAPI for Poem Web | [(README)](poem-openapi/README.md) | [(CHANGELOG)](poem-openapi/CHANGELOG.md) |
|
||||
| **poem-grpc** [](https://crates.io/crates/poem-grpc) | GRPC support for Poem | [(README)](poem-grpc/README.md) | [(CHANGELOG)](poem-grpc/CHANGELOG.md) |
|
||||
| **poem-mcpserver** [](https://crates.io/crates/poem-mcpserver) | MCP Server implementation for Poem | [(README)](poem-mcpserver/README.md) | [(CHANGELOG)](poem-mcpserver/CHANGELOG.md) |
|
||||
|
||||
***
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "poem-derive"
|
||||
version = "3.1.9"
|
||||
version = "3.1.10"
|
||||
authors.workspace = true
|
||||
edition.workspace = true
|
||||
license.workspace = true
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "poem-grpc-build"
|
||||
version = "0.5.4"
|
||||
version = "0.5.5"
|
||||
authors.workspace = true
|
||||
edition.workspace = true
|
||||
license.workspace = true
|
||||
|
||||
@@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file.
|
||||
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
||||
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
||||
|
||||
# [0.5.5] 2025-05-03
|
||||
|
||||
- poem-grpc-build: add more methods to config [#1025](https://github.com/poem-web/poem/pull/1025)
|
||||
|
||||
# [0.5.4] 2025-03-24
|
||||
|
||||
- Update MSRV to `1.85.0`
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "poem-grpc"
|
||||
version = "0.5.4"
|
||||
version = "0.5.5"
|
||||
authors.workspace = true
|
||||
edition.workspace = true
|
||||
license.workspace = true
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "poem-mcpserver-macros"
|
||||
version = "0.2.1"
|
||||
version = "0.2.2"
|
||||
authors.workspace = true
|
||||
edition.workspace = true
|
||||
license.workspace = true
|
||||
|
||||
9
poem-mcpserver/CHANGELOG.md
Normal file
9
poem-mcpserver/CHANGELOG.md
Normal file
@@ -0,0 +1,9 @@
|
||||
# Changelog
|
||||
All notable changes to this project will be documented in this file.
|
||||
|
||||
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
||||
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
||||
|
||||
#[0.2.2] 2025-05-03
|
||||
|
||||
- add with_server_info builder method [#1015](https://github.com/poem-web/poem/pull/1015)
|
||||
@@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "poem-mcpserver"
|
||||
version = "0.2.1"
|
||||
version = "0.2.2"
|
||||
authors.workspace = true
|
||||
edition.workspace = true
|
||||
license.workspace = true
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "poem-openapi-derive"
|
||||
version = "5.1.13"
|
||||
version = "5.1.14"
|
||||
authors.workspace = true
|
||||
edition.workspace = true
|
||||
license.workspace = true
|
||||
|
||||
@@ -4,6 +4,13 @@ All notable changes to this project will be documented in this file.
|
||||
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
||||
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
||||
|
||||
#[5.1.14] 2025-05-03
|
||||
|
||||
- add scalar ui support [#1019](https://github.com/poem-web/poem/pull/1019)
|
||||
- support `Duration` and `Timestamp` from `prost_wkt_types` [#1016](https://github.com/poem-web/poem/pull/1016)
|
||||
- Object fields deprecation [#1026](https://github.com/poem-web/poem/pull/1026)
|
||||
- add support for server variables [#962](https://github.com/poem-web/poem/pull/962)
|
||||
|
||||
#[5.1.12] 2025-03-30
|
||||
|
||||
- the `Binary` type no longer requires `content-type` to be `application/octet-stream`.
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "poem-openapi"
|
||||
version = "5.1.13"
|
||||
version = "5.1.14"
|
||||
authors.workspace = true
|
||||
edition.workspace = true
|
||||
license.workspace = true
|
||||
|
||||
@@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file.
|
||||
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
||||
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
||||
|
||||
# [3.1.10] 2025-05-03
|
||||
|
||||
- rustls: populate default provider [#1021](https://github.com/poem-web/poem/pull/1021)
|
||||
|
||||
# [3.1.9] 2025-04-13
|
||||
|
||||
- add `CookieJar::get_ignore_ascii_case` method.
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "poem"
|
||||
version = "3.1.9"
|
||||
version = "3.1.10"
|
||||
authors.workspace = true
|
||||
edition.workspace = true
|
||||
license.workspace = true
|
||||
|
||||
Reference in New Issue
Block a user