Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 24 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,30 @@

## Unreleased

## [0.8.0-beta.6] - 2026-07-17

### Changed

- Non-macOS default worker discovery now uses the `dhttp` group, and Linux
DEB/RPM installation hooks ensure that group exists instead of creating the
legacy `pishoo` group. macOS continues to use `_www`.
- `pishoo-common` now follows the current pishoo source version. Linux packages
render it as `0.8.0~beta.6-1`, while pishoo accepts common packages from the
last published `0.5.1-1` through its current package version.

### Fixed

- pishoo identity services without an explicit `access_rules` directive once
again load the identity profile's `db/access.db`; only a genuinely absent
implicit database falls back to an empty policy, while explicit or damaged
databases fail service preparation.

### Components

- `pishoo` v0.8.0-beta.6
- `gateway` v0.8.0-beta.5 (unchanged)
- `pishoo-common` v0.8.0-beta.6 (`0.8.0~beta.6-1` for DEB/RPM)

## [0.8.0-beta.5] - 2026-07-16

### Added
Expand Down
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ identity services load identity profiles through the DHTTP home API.

Use `pishoo -c <file>` only for a standalone config file. Explicit config mode
does not infer a DHTTP home, does not load identity profile `server.conf` files,
and does not enumerate the default `pishoo` group when `workers` and `groups` are
absent.
and does not enumerate the platform default worker group (`dhttp` on non-macOS,
`_www` on macOS) when `workers` and `groups` are absent.

### 启动反向代理

Expand Down
2 changes: 1 addition & 1 deletion pishoo/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
name = "pishoo"
description = "modern, secure, QUIC-powered web/proxy engine"
homepage = "https://www.dhttp.net"
version = "0.8.0-beta.5"
version = "0.8.0-beta.6"
edition = "2024"
license = "Apache-2.0"

Expand Down
19 changes: 18 additions & 1 deletion pishoo/src/config/worker_target.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ pub struct WorkerTarget {
const DEFAULT_GROUPS: &[&str] = &["_www"];

#[cfg(not(target_os = "macos"))]
const DEFAULT_GROUPS: &[&str] = &["pishoo"];
const DEFAULT_GROUPS: &[&str] = &["dhttp"];

#[derive(Debug, Clone, Copy, PartialEq, Eq)]
pub enum WorkerDiscoveryMode {
Expand Down Expand Up @@ -323,3 +323,20 @@ pub fn resolve_worker_targets(
}
Ok(resolved)
}

#[cfg(test)]
mod tests {
use super::DEFAULT_GROUPS;

#[cfg(target_os = "macos")]
#[test]
fn macos_default_worker_group_is_www() {
assert_eq!(DEFAULT_GROUPS, &["_www"]);
}

#[cfg(not(target_os = "macos"))]
#[test]
fn non_macos_default_worker_group_is_dhttp() {
assert_eq!(DEFAULT_GROUPS, &["dhttp"]);
}
}
Loading