rust-proxmox-rest-server (1.0.6-1) trixie; urgency=medium

  * self-signed fallback cert: fix sign order and error handling. While this
    was not used by our actual products, it's still not ideal to have broken
    cert-creation code around, might be copied without noticing.

  * tls acceptor builder: avoid some unwraps and improve error message for
    better developer experience.

  * avoid panic on some non-conform requests with missing the path.

 -- Proxmox Support Team <support@proxmox.com>  Mon, 23 Mar 2026 23:56:36 +0100

rust-proxmox-rest-server (1.0.5-1) trixie; urgency=medium

  * correctly return "401 unauthorized" over generic "400 bad request" in
    relevant code paths again.

  * only default to getting real client IP from RFC 7239 "Forwarded" header in
    non-public RPC environment.

  * support configuration of real peer-ip header and allowed source IP or
    networks.

 -- Proxmox Support Team <support@proxmox.com>  Mon, 16 Feb 2026 19:00:20 +0100

rust-proxmox-rest-server (1.0.4-1) trixie; urgency=medium

  * unify returned error message for authentication failure.

 -- Proxmox Support Team <support@proxmox.com>  Thu, 29 Jan 2026 11:23:58 +0100

rust-proxmox-rest-server (1.0.3-1) trixie; urgency=medium

  * fix #5946: worker task log: detect task status on multi-line message.

  * propagate rate-limit tags from authenticated users to shared rate-limiter
    stream.

  * switch the rate limiter with newly factored out implementation.

 -- Proxmox Support Team <support@proxmox.com>  Fri, 21 Nov 2025 19:17:53 +0100

rust-proxmox-rest-server (1.0.2-1) trixie; urgency=medium

  * update schema to 5.0.0

 -- Proxmox Support Team <support@proxmox.com>  Thu, 04 Sep 2025 10:36:33 +0200

rust-proxmox-rest-server (1.0.1-1) trixie; urgency=medium

  * tell client to remove authentication cookies via http header on
    unauthorized request.

 -- Proxmox Support Team <support@proxmox.com>  Fri, 25 Jul 2025 17:17:59 +0200

rust-proxmox-rest-server (1.0.0-2) trixie; urgency=medium

  * update to hyper/http 1.0

 -- Proxmox Support Team <support@proxmox.com>  Thu, 22 May 2025 15:39:28 +0200

rust-proxmox-rest-server (1.0.0-1) trixie; urgency=medium

  * re-build for Debian Trixie based releases.

  * small compatibility changes for newer proxmox-sys and nix dependencies.

 -- Proxmox Support Team <support@proxmox.com>  Thu, 22 May 2025 07:16:45 +0200

rust-proxmox-rest-server (0.8.9-1) bookworm; urgency=medium

  * increase maximal request body size from 64 kiB to 512 kiB, similar to a
    recent change for our perl based projects.

 -- Proxmox Support Team <support@proxmox.com>  Tue, 08 Apr 2025 16:17:03 +0200

rust-proxmox-rest-server (0.8.8-1) bookworm; urgency=medium

  * worker task: include context in state error message

  * bypass log filters when writing worker task result messages

  * fix private intra doc links

  * clippy lint fixups

  * preparations for edition 2024

 -- Proxmox Support Team <support@proxmox.com>  Thu, 20 Mar 2025 14:44:07 +0100

rust-proxmox-rest-server (0.8.7-1) bookworm; urgency=medium

  * support new `AsyncHttpBodyParameters` from proxmox-router

  * improve panic errors with formatted strings

 -- Proxmox Support Team <support@proxmox.com>  Tue, 04 Mar 2025 15:04:29 +0100

rust-proxmox-rest-server (0.8.6-1) bookworm; urgency=medium

  * rebuild with proxmox-schema 4.0

 -- Proxmox Support Team <support@proxmox.com>  Wed, 15 Jan 2025 12:34:10 +0100

rust-proxmox-rest-server (0.8.5-1) bookworm; urgency=medium

  * update proxmox-http-client to 0.9.4

  * handle failure in worker task setup correctly to avoid a reference count
    issue with active workers that can keep an old API daemon alive on reload,
    e.g. on package upgrade.

  * close race window when updating worker task count

  * increase task index lock timeout to 15s to handle overloaded systems
    better while still not waiting overly long.

 -- Proxmox Support Team <support@proxmox.com>  Mon, 02 Dec 2024 18:11:47 +0100

rust-proxmox-rest-server (0.8.4-1) bookworm; urgency=medium

  * add custom handlebars escape fn and skip escaping the '=' character. This
    is required to support base64 encoded values.

 -- Proxmox Support Team <support@proxmox.com>  Mon, 25 Nov 2024 17:14:25 +0100

rust-proxmox-rest-server (0.8.3-1) bookworm; urgency=medium

  * connection: drop logging peek-length, which was only used for debugging

 -- Proxmox Support Team <support@proxmox.com>  Fri, 15 Nov 2024 10:31:14 +0100

rust-proxmox-rest-server (0.8.2-1) bookworm; urgency=medium

  * fix #5868: rest-server: handshake detection: avoid infinite loop on
    connections abort

 -- Proxmox Support Team <support@proxmox.com>  Thu, 14 Nov 2024 14:34:09 +0100

rust-proxmox-rest-server (0.8.1-1) bookworm; urgency=medium

  * honor passed cipher suite & list in TlsAcceptorBuilder

  * provide better error messages in case key or certificate files are
    inaccessible

 -- Proxmox Support Team <support@proxmox.com>  Fri, 08 Nov 2024 12:02:10 +0100

rust-proxmox-rest-server (0.8.0-1) bookworm; urgency=medium

  * rename old "streaming" api to "serializing" (as it was not truly
    streaming)

  * add actual streaming API handler support

  * utilize the compressor's "flush window" support, so compressed streaming
    calls don't buffer for too long

 -- Proxmox Support Team <support@proxmox.com>  Wed, 04 Sep 2024 15:33:33 +0200

rust-proxmox-rest-server (0.7.1-1) bookworm; urgency=medium

  * replace lazy_static with std's LazyLock and drop the dependency

  * replace once_cell with std equivalents

  * drop unused dependency on proxmox-systemd

  * some documentation and clippy fixes

  * update example codes to work with the new 'daemon' crate

 -- Proxmox Support Team <support@proxmox.com>  Wed, 14 Aug 2024 11:32:31 +0200

rust-proxmox-rest-server (0.7.0-1) bookworm; urgency=medium

  * removed the 'daemon' module
    - the systemd notify functionality is in proxmox-systemd
    - the reloadable-server-daemon creation in proxmox-daemon's server module

  * moved the command socket code to proxmox-daemon

 -- Proxmox Support Team <support@proxmox.com>  Wed, 24 Jul 2024 14:24:14 +0200

rust-proxmox-rest-server (0.6.0-1) bookworm; urgency=medium

  * switch to WorkerTaskContext from new proxmox-worker-task crate

  * switch to tracing infrastructure from new proxmox-log crate

  * drop FileLogger implementation

  * upgrade proxmox-sys to 6.0

 -- Proxmox Support Team <support@proxmox.com>  Thu, 11 Jul 2024 15:10:25 +0200

rust-proxmox-rest-server (0.5.4-1) bookworm; urgency=medium

  * fix #5105: improve TLS handshake detection

  * connection: log peer addresses on error

 -- Proxmox Support Team <support@proxmox.com>  Wed, 10 Jul 2024 12:40:35 +0200

rust-proxmox-rest-server (0.5.3-1) bookworm; urgency=medium

  * upgrade proxmox-time to 2.0

  * clippy fixes

 -- Proxmox Support Team <support@proxmox.com>  Thu, 20 Jun 2024 14:05:39 +0200

rust-proxmox-rest-server (0.5.2-1) bookworm; urgency=medium

  * support unix sockets in create_daemon

  * support configuring the privileged connection

  * build with proxmox-schema 3

 -- Proxmox Support Team <support@proxmox.com>  Fri, 02 Feb 2024 13:58:01 +0100

rust-proxmox-rest-server (0.5.1-1) bookworm; urgency=medium

  * do not use formatter for auth errors, instead, return HTTP 401

  * include the http "status" code field in extjs formatter

 -- Proxmox Support Team <support@proxmox.com>  Tue, 28 Nov 2023 11:32:17 +0100

rust-proxmox-rest-server (0.5.0-1) bookworm; urgency=medium

  * refactor AcceptBuilder to provide support for optional TLS to allow adding
    a Redirector to redirect HTTP to HTTPS on the same port

  * accept empty body as valid parameters

  * factor out task-log directory and creation

  * better document task-log archive rotation

  * various clippy and code complexity cleanups

 -- Proxmox Support Team <support@proxmox.com>  Mon, 27 Nov 2023 14:33:12 +0100

rust-proxmox-rest-server (0.4.2-1) bookworm; urgency=medium

  * remove full static file path from error messages

  * update to proxomx-schema 2.0

  * update to proxomx-router 2.0

 -- Proxmox Support Team <support@proxmox.com>  Mon, 24 Jul 2023 10:52:16 +0200

rust-proxmox-rest-server (0.4.1-1) bookworm; urgency=medium

  * rest: remove full static file path from error messages to avoid triggering
    some simple security scanners misinterpreting this as an actual (file
    serving) HTTP server leaking their web root directory.

 -- Proxmox Support Team <support@proxmox.com>  Tue, 27 Jun 2023 12:43:42 +0200

rust-proxmox-rest-server (0.4.0-1) bookworm; urgency=medium

  * update proxmox-sys dependency to 0.5.0

  * rebuild for Debian 12 bookworm release series

 -- Proxmox Support Team <support@proxmox.com>  Tue, 23 May 2023 11:59:15 +0200

rust-proxmox-rest-server (0.3.0-1) stable; urgency=medium

  * make socketpair private

  * add PeerAddr trait for connection building

  * make handle_request a method of ApiConfig

  * make handlebars an optional feature

  * turn ApiConfig into a builder

  * drop Router from ApiConfig

  * drop ServerAdapter trait in favor of separate ApiConfig builder methods

  * add rate-limited-stream feature

  * add TlsAcceptorBuilder to build `SslAcceptor` instances

  * add AcceptBuilder to build `hyper::server::accept::Accept` instances

  * TlsAcceptorBuilder can build self-signed certificates if none are provided

 -- Proxmox Support Team <support@proxmox.com>  Mon, 30 Jan 2023 11:29:28 +0100

rust-proxmox-rest-server (0.2.2-1) stable; urgency=medium

  * add handle_worker

 -- Proxmox Support Team <support@proxmox.com>  Fri, 10 Feb 2023 10:33:51 +0100

rust-proxmox-rest-server (0.2.1-1) stable; urgency=medium

  * update to OwnedFd

  * move common metadata to workspace

  * use workspace dependencies

  * update nix to 0.26

 -- Proxmox Support Team <support@proxmox.com>  Thu, 05 Jan 2023 12:14:24 +0100

rust-proxmox-rest-server (0.2.0-1) stable; urgency=medium

  * initial split out of proxmox-backup workspace

 -- Proxmox Support Team <support@proxmox.com>  Tue, 11 Oct 2022 14:16:40 +0200
