Skip to content

Commit 4f9131c

Browse files
committed
chore: version 0.13.1
1 parent 9800578 commit 4f9131c

File tree

24 files changed

+170
-106
lines changed

24 files changed

+170
-106
lines changed

CHANGELOG.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,31 @@
11
# Changelog
22

3+
## [0.13.1](https://github.com/vicanso/pingap/compare/v0.13.0..v0.13.1) - 2026-03-19
4+
5+
### ⛰️ Features
6+
7+
- Add support for toml to hcl conversion - ([94dcc7d](https://github.com/vicanso/pingap/commit/94dcc7d8448df74b8e66efd4f24b3d14639518a1))
8+
- Support custom status code in redirect plugin - ([d871b78](https://github.com/vicanso/pingap/commit/d871b7810135d66bb28f4c216ca6cdc0360dc659))
9+
- Support hcl configuration files ([#15](https://github.com/orhun/git-cliff/issues/15)) - ([30b5bdc](https://github.com/vicanso/pingap/commit/30b5bdc50204e782a3b989a4d04589c9c5606909))
10+
11+
### 🐛 Bug Fixes
12+
13+
- Include file path in error message when log file generation fails ([#163](https://github.com/orhun/git-cliff/issues/163)) - ([59ce01e](https://github.com/vicanso/pingap/commit/59ce01e532a9740974d49995abdda721480edd07))
14+
- Cargo machete ignore hcl-rs - ([66a3a8d](https://github.com/vicanso/pingap/commit/66a3a8d23bbc34aad6ee09deb217d1477d2a3634))
15+
- Cargo machete ignore hcl-rs - ([f3a7da9](https://github.com/vicanso/pingap/commit/f3a7da9a4a1b038faaf2dc36e317041982955ee3))
16+
- Fix covert bool from query string - ([6fd2501](https://github.com/vicanso/pingap/commit/6fd2501088f7cb082bebc57866c245271c89b670))
17+
- Fix fmt - ([21216a7](https://github.com/vicanso/pingap/commit/21216a7ba1b591402db1304c41ee1b9b5c928273))
18+
19+
### 🚜 Refactor
20+
21+
- Use Docker events for service discovery instead of polling ([#175](https://github.com/orhun/git-cliff/issues/175)) - ([9800578](https://github.com/vicanso/pingap/commit/98005782d6c5e69442b94818f4141a6d1dd1ca89))
22+
- Restrict upstream configuration to disallow broadcast addresses ([#169](https://github.com/orhun/git-cliff/issues/169)) - ([dce4f80](https://github.com/vicanso/pingap/commit/dce4f80b8e8efa34a4e8574c4512ee968aa2f7cb))
23+
- Improve error message for missing read permissions ([#168](https://github.com/orhun/git-cliff/issues/168)) - ([ca902c0](https://github.com/vicanso/pingap/commit/ca902c058b71f2517430944da47dbaae3e993c4c))
24+
25+
### ⚙️ Miscellaneous Tasks
26+
27+
- Update dependencies - ([90920a0](https://github.com/vicanso/pingap/commit/90920a0344ec96b2a0a83f2bebe24e33d7aab7fd))
28+
329
## [0.13.0](https://github.com/vicanso/pingap/compare/v0.12.8..v0.13.0) - 2026-02-22
430

531
### ⛰️ Features

Cargo.lock

Lines changed: 20 additions & 20 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "pingap"
3-
version = "0.13.0"
3+
version = "0.13.1"
44
authors = ["Tree Xie <tree.xie@outlook.com>"]
55
edition = "2024"
66
categories = ["network-programming", "web-programming::http-server"]
@@ -45,23 +45,23 @@ humantime = { workspace = true }
4545
humantime-serde = { workspace = true }
4646
nanoid = { workspace = true }
4747
nix = { version = "0.30.1", features = ["signal"] }
48-
pingap-acme = { version = "0.13.0", path = "pingap-acme" }
49-
pingap-cache = { version = "0.13.0", path = "pingap-cache" }
50-
pingap-certificate = { version = "0.13.0", path = "pingap-certificate" }
51-
pingap-config = { version = "0.13.0", path = "pingap-config" }
52-
pingap-core = { version = "0.13.0", path = "pingap-core" }
53-
pingap-imageoptim = { version = "0.13.0", path = "pingap-imageoptim", optional = true }
54-
pingap-location = { version = "0.13.0", path = "pingap-location" }
55-
pingap-logger = { version = "0.13.0", path = "pingap-logger" }
56-
pingap-otel = { version = "0.13.0", path = "pingap-otel", optional = true }
57-
pingap-performance = { version = "0.13.0", path = "pingap-performance" }
58-
pingap-plugin = { version = "0.13.0", path = "pingap-plugin" }
59-
pingap-proxy = { version = "0.13.0", path = "pingap-proxy" }
60-
pingap-pyroscope = { version = "0.13.0", path = "pingap-pyroscope", optional = true }
61-
pingap-sentry = { version = "0.13.0", path = "pingap-sentry", optional = true }
62-
pingap-upstream = { version = "0.13.0", path = "pingap-upstream" }
63-
pingap-util = { version = "0.13.0", path = "pingap-util" }
64-
pingap-webhook = { version = "0.13.0", path = "pingap-webhook" }
48+
pingap-acme = { version = "0.13.1", path = "pingap-acme" }
49+
pingap-cache = { version = "0.13.1", path = "pingap-cache" }
50+
pingap-certificate = { version = "0.13.1", path = "pingap-certificate" }
51+
pingap-config = { version = "0.13.1", path = "pingap-config" }
52+
pingap-core = { version = "0.13.1", path = "pingap-core" }
53+
pingap-imageoptim = { version = "0.13.1", path = "pingap-imageoptim", optional = true }
54+
pingap-location = { version = "0.13.1", path = "pingap-location" }
55+
pingap-logger = { version = "0.13.1", path = "pingap-logger" }
56+
pingap-otel = { version = "0.13.1", path = "pingap-otel", optional = true }
57+
pingap-performance = { version = "0.13.1", path = "pingap-performance" }
58+
pingap-plugin = { version = "0.13.1", path = "pingap-plugin" }
59+
pingap-proxy = { version = "0.13.1", path = "pingap-proxy" }
60+
pingap-pyroscope = { version = "0.13.1", path = "pingap-pyroscope", optional = true }
61+
pingap-sentry = { version = "0.13.1", path = "pingap-sentry", optional = true }
62+
pingap-upstream = { version = "0.13.1", path = "pingap-upstream" }
63+
pingap-util = { version = "0.13.1", path = "pingap-util" }
64+
pingap-webhook = { version = "0.13.1", path = "pingap-webhook" }
6565
pingora = { workspace = true }
6666
regex = { workspace = true }
6767
rust-embed = { version = "8.7.2", features = [

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,4 +81,4 @@ hooks:
8181
cp hooks/* .git/hooks/
8282

8383
version:
84-
git cliff --unreleased --tag v0.13.0 --prepend CHANGELOG.md
84+
git cliff --unreleased --tag v0.13.1 --prepend CHANGELOG.md

README.md

Lines changed: 45 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -122,17 +122,55 @@ make build-web
122122

123123
## 📝 Configuration
124124

125+
```hcl
126+
server "test" {
127+
addr = "127.0.0.1:6118"
128+
129+
location "github-api" {
130+
path = "/api"
131+
proxy_set_headers = ["Host:api.github.com"]
132+
rewrite = "^/api/(?<path>.+)$ /$1"
133+
134+
upstream "api" {
135+
addrs = ["api.github.com:443"]
136+
discovery = "dns"
137+
sni = "api.github.com"
138+
}
139+
}
140+
141+
location "static" {
142+
plugin "staticServe" {
143+
category = "directory"
144+
path = "~/Downloads"
145+
step = "request"
146+
}
147+
}
148+
}
149+
```
150+
125151
```toml
126-
[upstreams.charts]
127-
addrs = ["127.0.0.1:5000"]
152+
[upstreams.api]
153+
addrs = ["api.github.com:443"]
154+
discovery = "dns"
155+
sni = "api.github.com"
156+
157+
[plugins.staticServe]
158+
category = "directory"
159+
path = "~/Downloads"
160+
step = "request"
161+
162+
[locations.github-api]
163+
upstream = "api"
164+
path = "/api"
165+
proxy_set_headers = ["Host:api.github.com"]
166+
rewrite = "^/api/(?<path>.+)$ /$1"
128167

129-
[locations.lo]
130-
upstream = "charts"
131-
path = "/"
168+
[locations.static]
169+
plugins = ["staticServe"]
132170

133171
[servers.test]
134-
addr = "0.0.0.0:6188"
135-
locations = ["lo"]
172+
addr = "127.0.0.1:6118"
173+
locations = ["github-api", "static"]
136174
```
137175

138176
You can find the relevant instructions here: [https://pingap.io/pingap-en/docs/config](https://pingap.io/pingap-en/docs/config).

pingap-acme/Cargo.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "pingap-acme"
3-
version = "0.13.0"
3+
version = "0.13.1"
44
edition = "2024"
55
authors = ["Tree Xie <tree.xie@outlook.com>"]
66
license = "Apache-2.0"
@@ -23,9 +23,9 @@ hickory-resolver = { workspace = true }
2323
hmac = { workspace = true }
2424
instant-acme = { workspace = true }
2525
nanoid = { workspace = true }
26-
pingap-certificate = { version = "0.13.0", path = "../pingap-certificate" }
27-
pingap-config = { version = "0.13.0", path = "../pingap-config" }
28-
pingap-core = { version = "0.13.0", path = "../pingap-core" }
26+
pingap-certificate = { version = "0.13.1", path = "../pingap-certificate" }
27+
pingap-config = { version = "0.13.1", path = "../pingap-config" }
28+
pingap-core = { version = "0.13.1", path = "../pingap-core" }
2929
pingora = { workspace = true }
3030
reqwest = { workspace = true }
3131
rustls = { workspace = true }

pingap-cache/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "pingap-cache"
3-
version = "0.13.0"
3+
version = "0.13.1"
44
edition = "2024"
55
authors = ["Tree Xie <tree.xie@outlook.com>"]
66
license = "Apache-2.0"
@@ -26,7 +26,7 @@ dirs = { workspace = true }
2626
http = { workspace = true }
2727
humantime-serde = { workspace = true }
2828
path-absolutize = { workspace = true }
29-
pingap-core = { version = "0.13.0", path = "../pingap-core" }
29+
pingap-core = { version = "0.13.1", path = "../pingap-core" }
3030
pingora = { workspace = true }
3131
prometheus = { workspace = true, optional = true }
3232
scopeguard = { workspace = true }

pingap-certificate/Cargo.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "pingap-certificate"
3-
version = "0.13.0"
3+
version = "0.13.1"
44
edition = "2024"
55
authors = ["Tree Xie <tree.xie@outlook.com>"]
66
license = "Apache-2.0"
@@ -17,9 +17,9 @@ path = "src/lib.rs"
1717
ahash = { workspace = true }
1818
arc-swap = { workspace = true }
1919
async-trait = { workspace = true }
20-
pingap-config = { version = "0.13.0", path = "../pingap-config" }
21-
pingap-core = { version = "0.13.0", path = "../pingap-core" }
22-
pingap-util = { version = "0.13.0", path = "../pingap-util" }
20+
pingap-config = { version = "0.13.1", path = "../pingap-config" }
21+
pingap-core = { version = "0.13.1", path = "../pingap-core" }
22+
pingap-util = { version = "0.13.1", path = "../pingap-util" }
2323
pingora = { workspace = true }
2424
rcgen = { workspace = true }
2525
regex = { workspace = true }

0 commit comments

Comments
 (0)