libpve-common-perl (9.1.2) trixie; urgency=medium

  * systemd: enter scope: allow specifying 'Before' and 'After' properties

 -- Proxmox Support Team <support@proxmox.com>  Wed, 17 Dec 2025 15:06:13 +0100

libpve-common-perl (9.1.1) trixie; urgency=medium

  * fix #7118: fix bridge port detection when plugging netdev with vlan.

  * iproute2: add helpers for detecting vlan-aware bridges.

 -- Proxmox Support Team <support@proxmox.com>  Wed, 10 Dec 2025 20:24:49 +0100

libpve-common-perl (9.1.0) trixie; urgency=medium

  * CLI usage: never show aliases as required argument.

  * CLI usage and synopsis: re-use optional-flag from target for aliases to
    avoid to potentially generate wrong documentation.

  * CLI usage: rework output for aliased args, make it more concise.

 -- Proxmox Support Team <support@proxmox.com>  Fri, 28 Nov 2025 12:45:11 +0100

libpve-common-perl (9.0.15) trixie; urgency=medium

  * JSON schema: make new expose_credentials flag available for API
    endpoints that want to manual proxy to other nodes without having to
    mark them as protected.

  * rest environment: add getter and setter for credentials to allow accessing
    the exact credentials uses for an API request.

 -- Proxmox Support Team <support@proxmox.com>  Fri, 14 Nov 2025 17:38:52 +0100

libpve-common-perl (9.0.14) trixie; urgency=medium

  * iproute2: add helper for detecting bridge members.

  * iproute2: add helper for querying vlan information.

 -- Proxmox Support Team <support@proxmox.com>  Fri, 14 Nov 2025 01:29:38 +0100

libpve-common-perl (9.0.13) trixie; urgency=medium

  * file: add missing use statement for encode method that caused failure when
    the caller tried to force utf8 output.

  * file: file_copy, file_get_contents: fix fallback values for optional
    parameters in signature.

 -- Proxmox Support Team <support@proxmox.com>  Wed, 05 Nov 2025 13:15:14 +0100

libpve-common-perl (9.0.12) trixie; urgency=medium

  * JSONSchema: correctly parse booleans in the form of a default_key when
    parsing a property string to make the behavior consistent when the same
    key is set explicitly.

  * Split out some specific code from the overly generic PVE::Tools module to
    dedicated perl modules in a backward compatible manner. The new modules
    are:
    - PVE::UPID for (task worker) UPID parsing and task log status helper.
    - PVE::IPRoute2 for thin wrapper around calling the `ip` tool.
    - PVE::File for simple file reading and writing methods.

  * fix #6762: CLI helper: fix copying of property schema to avoid outputting
    a "Can't use an undefined value as a HASH reference" warning.

  * systemd: add notify() helper, which is a pure Perl reimplementation of
    systemd's sd_notify() mechanism.

 -- Proxmox Support Team <support@proxmox.com>  Mon, 03 Nov 2025 11:29:58 +0100

libpve-common-perl (9.0.11) trixie; urgency=medium

  * procfs meminfo: return min/max ZFS ARC size

  * pty: introduce read_line() function.

 -- Proxmox Support Team <support@proxmox.com>  Mon, 22 Sep 2025 20:23:54 +0200

libpve-common-perl (9.0.10) trixie; urgency=medium

  * network interfaces: fall back to legacy PHYSICAL_NIC_RE just to be sure.

  * network parser: interfaces: also set type 'bridge' for empty bridges.

  * prepare fix for #6656: cli handler: generate anchors for all
    (sub-)commands.

 -- Proxmox Support Team <support@proxmox.com>  Fri, 05 Sep 2025 20:48:27 +0200

libpve-common-perl (9.0.9) trixie; urgency=medium

  * schema: support sizes with verbose suffixes {K, M, G, T}iB.

  * use absolute path when reading PSI from sysfs to avoid spurious warnings.

 -- Proxmox Support Team <support@proxmox.com>  Thu, 31 Jul 2025 12:07:14 +0200

libpve-common-perl (9.0.8) trixie; urgency=medium

  * schema: clarify error message for missing property dependency.

  * inotify/interfaces: use ip link for detecting physical interfaces and
    avoid restriction to only recognizing interfaces following a specific
    naming pattern.

 -- Proxmox Support Team <support@proxmox.com>  Tue, 29 Jul 2025 20:17:13 +0200

libpve-common-perl (9.0.7) trixie; urgency=medium

  * interfaces: make parser aware of interface alternative names to avoid
    duplicate entries if the /e/n/i config used an altname while the parser
    still checked for only the primary one.

  * network: add 'if' prefix to the regex heuristic to detect physical network
    interfaces.

 -- Proxmox Support Team <support@proxmox.com>  Wed, 23 Jul 2025 17:01:35 +0200

libpve-common-perl (9.0.6) trixie; urgency=medium

  * tools: dump logfile: fix result type in case the file cannot be opened to
    ensure user can see the error message.

 -- Proxmox Support Team <support@proxmox.com>  Thu, 17 Jul 2025 20:33:08 +0200

libpve-common-perl (9.0.5) trixie; urgency=medium

  * add function to retrieve pressures stall information from a cgroup.

  * fix parsing pressure stall information.

 -- Proxmox Support Team <support@proxmox.com>  Wed, 16 Jul 2025 21:05:03 +0200

libpve-common-perl (9.0.4) trixie; urgency=medium

  * network: add 'nic' prefix to the regex heuristic to detect physical
    network interfaces.

  * network: add helpers to get`ip link` and `ip altname` information.

 -- Proxmox Support Team <support@proxmox.com>  Wed, 16 Jul 2025 16:52:13 +0200

libpve-common-perl (9.0.3) trixie; urgency=medium

  * sysfs tools: make normalize_pci_id helper method public.

 -- Proxmox Support Team <support@proxmox.com>  Thu, 10 Jul 2025 13:20:52 +0200

libpve-common-perl (9.0.2) trixie; urgency=medium

  * network: add helper for checking if a interface is a ovs/linux bridge

 -- Proxmox Support Team <support@proxmox.com>  Thu, 03 Jul 2025 14:32:42 +0200

libpve-common-perl (9.0.1) trixie; urgency=medium

  * schema: parse property string: support skipping keys

  * schema: add helper to convert to JSON boolean

 -- Proxmox Support Team <support@proxmox.com>  Fri, 20 Jun 2025 13:44:19 +0200

libpve-common-perl (9.0.0) trixie; urgency=medium

  * re-build for Debian 13 "Trixie" based releases.

 -- Proxmox Support Team <support@proxmox.com>  Sun, 01 Jun 2025 15:42:06 +0200

libpve-common-perl (8.3.1) bookworm; urgency=medium

  * memory info: use the MemAvailable field from /proc/meminfo to compute used
    memory to fix overestimation of that metric and to better align with what
    modern versions of tools like `free` do.

  * tools: upid decode: do not allow slashes in UPIDs.

 -- Proxmox Support Team <support@proxmox.com>  Mon, 07 Apr 2025 21:29:49 +0200

libpve-common-perl (8.3.0) bookworm; urgency=medium

  * sysfs tools: add 'nvidia' -> 'mdev' workaround to pci_device_info

  * fix #5876: systemd: actively disconnect signals once handled to avoid
    running into dbus default limit of 512 connections.

  * kernel syscall: expose fallocate syscall

 -- Proxmox Support Team <support@proxmox.com>  Wed, 02 Apr 2025 20:00:52 +0200

libpve-common-perl (8.2.9) bookworm; urgency=medium

  * tools: run fork: allow running code in parent after fork

  * tools: download file: add a verification callback to allow the call-site
    to make context-specific assertions about the file content while it was
    not yet copied to the target storage.

 -- Proxmox Support Team <support@proxmox.com>  Mon, 18 Nov 2024 15:44:41 +0100

libpve-common-perl (8.2.8) bookworm; urgency=medium

  * Revert "section config: make subroutine `delete_from_config` private"

  * network: tap plug: add support for bridge port isolation, blocking all
    traffic between ports with the isolation flag while still allowing traffic
    with uplink ports of the bridge.

 -- Proxmox Support Team <support@proxmox.com>  Tue, 12 Nov 2024 17:05:01 +0100

libpve-common-perl (8.2.7) bookworm; urgency=medium

  * fix #5623: OVS: avoid that config options set explicitly to `0` are
    ignored.

  * network config: drop warning for having a `vmbrX` interface that isn't a
    bridge to avoid a cyclic use statement for this unlikely edge-case.

  * sysfs tools: log full error if writing to a control file fails

  * sysfs tools: fix regression on binding to vfio-pci when there are multiple
    devices of the same (vendor-id, model-id) tuple, like with multiple GPUs
    that have the same audio chip by allowing to ignore a "already existing"
    error.

  * network config: check if 'bridge_vids' property is not just an empty
    string.

  * partiually fix #3893: network: add formats for passing a VLAN id or range
    parameter.

  * fix #5454: net: assert names for vlan bridge slave interfaces are valid

  * net: assert validity of names also when creating bridge and veth interfaces

  * REST environment: also log warning messages to syslog

  * pbs client: various code cleanups and refactoring

 -- Proxmox Support Team <support@proxmox.com>  Mon, 11 Nov 2024 20:29:21 +0100

libpve-common-perl (8.2.6) bookworm; urgency=medium

  * sysfs tools: properly catch errors when updating kernel/module parameters
    at runtime.

  * sysfs tools: handle the modern API that the NVIDIAs vGPU provides for
    kernel version 6.8 and newer.

  * sysfs tools: always include mdev and IOMMU group information when
    gathering info about available PCI devices

 -- Proxmox Support Team <support@proxmox.com>  Thu, 24 Oct 2024 18:37:46 +0200

libpve-common-perl (8.2.5) bookworm; urgency=medium

  * explicitly load the PerlIO base module to avoid some odd edge cases where
    perl isn't able to do so automatically.

 -- Proxmox Support Team <support@proxmox.com>  Sat, 19 Oct 2024 16:36:20 +0200

libpve-common-perl (8.2.4) bookworm; urgency=medium

  * file set contents: use syswrite instead of print to avoid chunking write
    into 8 KiB blocks, which can increase the overhead of the write operation
    on the underlying storage.

 -- Proxmox Support Team <support@proxmox.com>  Wed, 16 Oct 2024 19:02:19 +0200

libpve-common-perl (8.2.3) bookworm; urgency=medium

  * schema: adapt description of method's 'download' key and rename it to
    'download_allowed' with an alias to the old name for backward
    compatibility. This only affects our REST API endpoint and gets devs some
    slightly better UX for what setting this flag does.

 -- Proxmox Support Team <support@proxmox.com>  Mon, 23 Sep 2024 10:23:57 +0200

libpve-common-perl (8.2.2) bookworm; urgency=medium

  * tools: fix wrapper for mknod syscall

  * fix #5486: add '%' to list of encoded characters for when percent-encoding
    text to ensure the original value is correctly restored when decoding such
    a percent-encoded string again

  * fix #5529: cgroup: correctly handle changing cpu quota without a quota
    passed

  * cli: use double-hyphen as argument prefix for doc and CLI help output

 -- Proxmox Support Team <support@proxmox.com>  Tue, 30 Jul 2024 21:42:12 +0200

libpve-common-perl (8.2.1) bookworm; urgency=medium

  * interfaces: support stanzas without types/methods, like ifupdown2 supports

 -- Proxmox Support Team <support@proxmox.com>  Tue, 23 Apr 2024 15:42:55 +0200

libpve-common-perl (8.2.0) bookworm; urgency=medium

  * fix #545: interfaces: allow arbitrary bridge names in network config

 -- Proxmox Support Team <support@proxmox.com>  Sun, 21 Apr 2024 11:50:54 +0200

libpve-common-perl (8.1.2) bookworm; urgency=medium

  * remote format: improve documentation of expected API-token format

  * json schema: add format description for pve-storage-id standard option

 -- Proxmox Support Team <support@proxmox.com>  Wed, 17 Apr 2024 21:10:32 +0200

libpve-common-perl (8.1.1) bookworm; urgency=medium

  * fix #5141: network parser: fix accidental RE result re-use and add tests

  * network tests: switch to ifupdown2

  * network parser: iterate deterministically

  * schema: fixup description vs format_description in remote_format

  * add PVE::Systemd::is_unit_active

  * ticket: remove fallback for SHA1-base64 CSRF prevention tokens

  * expose SYS_prctl

 -- Proxmox Support Team <support@proxmox.com>  Wed, 06 Mar 2024 12:03:00 +0100

libpve-common-perl (8.1.0) bookworm; urgency=medium

  * tools: Add mknod syscall

  * tools: Add mount flag constants

  * json schema: implement support for 'oneOf' schema

  * section config: allow (opt-in) full property-isolation for plugins

 -- Proxmox Support Team <support@proxmox.com>  Tue, 21 Nov 2023 13:04:21 +0100

libpve-common-perl (8.0.10) bookworm; urgency=medium

  * pbs client: add 'tar' parameter to file_restore_extract

  * fix #4162: added `Auto-Submitted` header to email body

 -- Proxmox Support Team <support@proxmox.com>  Tue, 07 Nov 2023 08:58:23 +0100

libpve-common-perl (8.0.9) bookworm; urgency=medium

  * section config: fix handling unknown sections with arrays which
    broke the jobs configuration when running 'qm destroy ID --purge'.

  * tools: improve error handling for run with timeout helpers.

  * tools: allow forcing UTF-8 encoding in file set contents helper.

 -- Proxmox Support Team <support@proxmox.com>  Mon, 11 Sep 2023 13:46:15 +0200

libpve-common-perl (8.0.8) bookworm; urgency=medium

  * fix #4849: download file from url: add opt parameter for a decompression
    command

  * ldap: handle errors explicitly to improve user visible error messages

  * section config: allow base properties for 'createSchema' and
    'updateSchema'

 -- Proxmox Support Team <support@proxmox.com>  Fri, 11 Aug 2023 13:25:04 +0200

libpve-common-perl (8.0.7) bookworm; urgency=medium

  * schema: increase pve-config-digest maxLength to 64

 -- Proxmox Support Team <support@proxmox.com>  Mon, 24 Jul 2023 11:55:39 +0200

libpve-common-perl (8.0.6) bookworm; urgency=medium

  * network: cope with non-existing interfaces config when getting local IPs

  * run with timeout: return if timeout happened in list context

 -- Proxmox Support Team <support@proxmox.com>  Sat, 01 Jul 2023 19:24:06 +0200

libpve-common-perl (8.0.5) bookworm; urgency=medium

  * api dump: ignore proxyto_callback code refs

 -- Proxmox Support Team <support@proxmox.com>  Sat, 17 Jun 2023 13:58:23 +0200

libpve-common-perl (8.0.4) bookworm; urgency=medium

  * read firstline helper: only map ENOENT to undef, raise error otherwise

  * ldap: fail authentication if DN is emptyu

  * syslog: map cut-off priority level 'warn' to 'warning' as convenience, we
    use the former in quite some places already.

  * fix #4778: fix recent regression with boolean type check for JSON
    parameters over the API

  * schema: explicitly set min/max for VMID option, which then propagates into
    our API viewer tool, pointing our actual valid range out more prominently
    to users and external developers.

 -- Proxmox Support Team <support@proxmox.com>  Fri, 16 Jun 2023 10:29:19 +0200

libpve-common-perl (8.0.3) bookworm; urgency=medium

  * implement array support for section configs

  * drop support for the '-alist' format

 -- Proxmox Support Team <support@proxmox.com>  Wed, 07 Jun 2023 13:51:34 +0200

libpve-common-perl (8.0.2) bookworm; urgency=medium

  * schema: add support for array parameter in api calls, cli and config

  * schema: improve description of bwlimit parameter

  * remove unused SysFSTools::pci_cleanup_mdev_device

 -- Proxmox Support Team <support@proxmox.com>  Wed, 07 Jun 2023 13:12:18 +0200

libpve-common-perl (8.0.1) bookworm; urgency=medium

  * cli usage: remove extra newlines before descriptions

  * d/control: record dependency on libanyevent-perl

 -- Proxmox Support Team <support@proxmox.com>  Fri, 19 May 2023 14:39:05 +0200

libpve-common-perl (8.0.0) bookworm; urgency=medium

  * re-build for Debian 12 Bookworm based release series

 -- Proxmox Support Team <support@proxmox.com>  Mon, 08 May 2023 15:12:53 +0200

libpve-common-perl (7.4-1) bullseye; urgency=medium

  * REST & CLI handler: minimize scope of no-strict-refs exemption

  * cert: fix invalid CSR version

  * partially fix #1454: meminfo: also return arcsize

  * cgroup: allow one to set the memory.high CGv2 knob too

 -- Proxmox Support Team <support@proxmox.com>  Wed, 26 Apr 2023 12:23:26 +0200

libpve-common-perl (7.3-4) bullseye; urgency=medium

  * fix #4615: REST environment: improve AnyEvent detectíon in child cleanup

 -- Proxmox Support Team <support@proxmox.com>  Mon, 27 Mar 2023 10:36:41 +0200

libpve-common-perl (7.3-3) bullseye; urgency=medium

  * fix #4299: network: check the interface specific sysfs path to detect if
    IPv6 is disabled, as the global one might be available either way

  * certificate: add helper to check if cert and key match

  * API REST environment: postpone worker process collection on SIGCHLD if
    it's likely that the process runs in an AnyEvent loop to avoid a race
    resulting in failure to update the active task list

  * section config: add helper for deleting keys from a entry

  * certificate: actually print openssl errors

 -- Proxmox Support Team <support@proxmox.com>  Thu, 16 Mar 2023 16:35:39 +0100

libpve-common-perl (7.3-2) bullseye; urgency=medium

  * fix #4299: check full path to 'disable_ipv6' file in case ipv6 is disabled
    but the directory for it exists

  * add callback based filtering for dump_logfile and add a stateful variant
    usable for multiple files via handles

 -- Proxmox Support Team <support@proxmox.com>  Fri, 27 Jan 2023 10:28:32 +0100

libpve-common-perl (7.3-1) bullseye; urgency=medium

  * network: fix learning-on check for adding and deleting FDB entries

  * dump logfile: return whole log file if `limit` parameter is `0`

 -- Proxmox Support Team <support@proxmox.com>  Thu, 24 Nov 2022 17:12:56 +0100

libpve-common-perl (7.2-8) bullseye; urgency=medium

  * pbs client: use 25s timeout and add extra-params

  * network: support adding fdb directly in tap_plug

 -- Proxmox Support Team <support@proxmox.com>  Sun, 20 Nov 2022 16:26:19 +0100

libpve-common-perl (7.2-7) bullseye; urgency=medium

  * job registry: avoid injecting the section id unconditionally in
    configs

  * network: tap plug: auto-disable learning if `bridge-disable-mac-
    learning` option is set on the underlying Linux bridge; modern VM/CT
    management stack adds the MAC then manually to the forwarding DB (FDB) on
    start or (migration-)resume.

 -- Proxmox Support Team <support@proxmox.com>  Sun, 13 Nov 2022 15:53:53 +0100

libpve-common-perl (7.2-6) bullseye; urgency=medium

  * section config: optionally support unknown types so that a local plugin
    can edit their own entries without needing to understand all possible
    types in a configuration backed by the section config format.

  * move the scheduled job base config & registry over from pve-manager as
    PVE::Job::Registry for better reuse

 -- Proxmox Support Team <support@proxmox.com>  Sat, 12 Nov 2022 16:04:59 +0100

libpve-common-perl (7.2-5) bullseye; urgency=medium

  * schema: take over 'pve-targetstorage' option

  * cgroup: change cpu shares: drop ignored $cgroupv1_default parameter

 -- Proxmox Support Team <support@proxmox.com>  Mon, 07 Nov 2022 16:05:10 +0100

libpve-common-perl (7.2-4) bullseye; urgency=medium

  * pbs client: drop namespace parameter in backup_fs_tree

  * pbs client: deprecate explicit namespace parameters in favor of requiring
    it to be configured on instantiation

  * pbs client: use the configured namespace as default instead of the root
    namespace where the namespace parameter is optional

  * pbs client: suppress meaningless "data: null" output when removing snapshots

  * pbs client: do not consider deleting a non-existent password an error

  * cgroup: move get_cpuunits helper from qemu-server as clamp_cpu_shares

 -- Proxmox Support Team <support@proxmox.com>  Fri, 04 Nov 2022 14:06:28 +0100

libpve-common-perl (7.2-3) bullseye; urgency=medium

  * proc fs tools: handle proc/stat without guest values

  * sysfs: get name from mediated device types, if any

  * network: improve setting MTU of TAP devices if re-plugged on a different
    bridge or if used with OVS

  * remove PVE::Subscription and friends, replaced by common rust
    implementation

  * cgroup: get mode by checking /sys/fs/cgroup mount point

 -- Proxmox Support Team <support@proxmox.com>  Mon, 19 Sep 2022 11:30:30 +0200

libpve-common-perl (7.2-2) bullseye; urgency=medium

  * tools: use int() on all integer syscall parameters to avoid that
    stringification leads to using the address as argument, fixing among
    other things CT restore with custom id mappings

 -- Proxmox Support Team <support@proxmox.com>  Fri, 20 May 2022 14:01:17 +0200

libpve-common-perl (7.2-1) bullseye; urgency=medium

  * pbs-client: namespace support

 -- Proxmox Support Team <support@proxmox.com>  Thu, 12 May 2022 14:42:37 +0200

libpve-common-perl (7.1-6) bullseye; urgency=medium

  * json schema: allow to export print_property_string

  * formatter: render duration: support autolimiting accurarcy

  * SysFSTools: factor out normalizing the PCI domain

  * REST handler: get property description: escape curly braces for asciidoc

 -- Proxmox Support Team <support@proxmox.com>  Thu, 28 Apr 2022 16:40:34 +0200

libpve-common-perl (7.1-5) bullseye; urgency=medium

  * network: fix default of new bridge learning flag

 -- Proxmox Support Team <support@proxmox.com>  Fri, 18 Mar 2022 10:13:48 +0100

libpve-common-perl (7.1-4) bullseye; urgency=medium

  * REST environment: allow export of log_warn

  * RESTenv: fork worker: fallback to root@pam for task log user-id

  * network: add support for disabling bridge learning on tap|veth|fwln
    ports

  * inotify: add bridge-disable-mac-learning option to bridges.

  * sysfs tools: allow longer pci domains

  * switch to using Proxmox::RS::CalendarEvent

 -- Proxmox Support Team <support@proxmox.com>  Thu, 17 Mar 2022 14:10:58 +0100

libpve-common-perl (7.1-3) bullseye; urgency=medium

  * add 'map_id' helper for ID maps

 -- Proxmox Support Team <support@proxmox.com>  Wed, 09 Feb 2022 18:36:44 +0100

libpve-common-perl (7.1-2) bullseye; urgency=medium

  * calendar event: base on more capable rust implementation via perlmod

  * procfs statistics:
    + initialize all fields to 0
    + subtract guest && guest_nice from user && nice time similar to other
      metric tools like htop or telegraf
    + add irq/softirq/steal to total used cpu
    + use total of all non-idle fields to compute percentage

 -- Proxmox Support Team <support@proxmox.com>  Thu, 13 Jan 2022 17:13:27 +0100

libpve-common-perl (7.0-14) bullseye; urgency=medium

  * schema: rename 'storagepair' format to 'storage-pair'

  * schema: add 'pve-bridge-id' option, format and pair

  * schema: add 'proxmox-remote' format and option

 -- Proxmox Support Team <support@proxmox.com>  Thu, 11 Nov 2021 12:33:48 +0100

libpve-common-perl (7.0-13) bullseye; urgency=medium

  * getxattr: trim the returned buffer to the correct size

  * Ticket: uri-escape colons

 -- Proxmox Support Team <support@proxmox.com>  Wed, 10 Nov 2021 11:50:51 +0100

libpve-common-perl (7.0-12) bullseye; urgency=medium

  * safe_read_from: bump default size limit to 1 MiB to match pmxcfs

  * cgroup: cpu quota: fix resetting period length for v1

  * cgroup v2: io stats: fix parsing disk writes

 -- Proxmox Support Team <support@proxmox.com>  Sun, 07 Nov 2021 21:36:08 +0100

libpve-common-perl (7.0-11) bullseye; urgency=medium

  * tempfile: improve base path selection, use user-specific rundir if
    available, fallback to `/tmp` if that's not the case and the process
    doesn't run under the root UID

  * tools: add set/get xattr methods to expose the syscalls with the same name

 -- Proxmox Support Team <support@proxmox.com>  Tue, 19 Oct 2021 09:35:38 +0200

libpve-common-perl (7.0-10) bullseye; urgency=medium

  * net: get local ip: catch any error from get_reachable_networks

  * inotify: network: detect "allow-auto" as "auto" synonym

  * subscription: switch verification domain over to shop.proxmox.com

  * inotify: network: improve "allow-hotplug" & "auto" interaction by mapping
    the former to the later (for now).

 -- Proxmox Support Team <support@proxmox.com>  Wed, 29 Sep 2021 10:01:09 +0200

libpve-common-perl (7.0-9) bullseye; urgency=medium

  * fix #2368: network: extend infiniband recognition in regex

  * net: ip from host: avoid using an undefined variable in error message

  * net: add helpers to get all reachable networks

 -- Proxmox Support Team <support@proxmox.com>  Sat, 18 Sep 2021 14:51:44 +0200

libpve-common-perl (7.0-6) bullseye; urgency=medium

  * fix #2831: never set bridge_fd to 0 with STP on

  * ProcFSTools: read_proc_stat: add more cpu stats from /proc/stat

 -- Proxmox Support Team <support@proxmox.com>  Fri, 6 Aug 2021 13:52:37 +0200

libpve-common-perl (7.0-5) bullseye; urgency=medium

  * fix #3527: cgroup: drop file buffers from memory usage

 -- Proxmox Support Team <support@proxmox.com>  Wed, 14 Jul 2021 11:50:46 +0200

libpve-common-perl (7.0-4) bullseye; urgency=medium

  * tools: add upid_normalize_status_type helper

  * JSON schema: add pve-task-status-type format

  * fix #3153: INotify: adding comment of interface to inet6 section when this
    is the only section

 -- Proxmox Support Team <support@proxmox.com>  Mon, 28 Jun 2021 14:57:20 +0200

libpve-common-perl (7.0-3) bullseye; urgency=medium

  * SysFSTools: add verbose flag to pci_device_info

  * systemd: allow setting SendSIGKILL and TimeoutStopUSec dbus properties

 -- Proxmox Support Team <support@proxmox.com>  Wed, 23 Jun 2021 12:07:55 +0200

libpve-common-perl (7.0-2) bullseye; urgency=medium

  * inotify: read network interfaces: add vlan-id and vlan-raw-device on dot
    notation vlan interfaces

  * network: is_ip_in_cidr: correctly handle the CIDR being a singleton range
    (e.g. /32 for IPv4)

  * network: add canonical_ip abd unique_ips helper

  * tools: add download_file_from_url, upid_status_is_error and renameat2 helper

 -- Proxmox Support Team <support@proxmox.com>  Thu, 17 Jun 2021 16:41:53 +0200

libpve-common-perl (7.0-1) bullseye; urgency=medium

  * re-build for Debian 11 Bullseye based releases

 -- Proxmox Support Team <support@proxmox.com>  Sun, 09 May 2021 17:29:22 +0200

libpve-common-perl (6.4-3) pve pmg; urgency=medium

  * daemon: explicitly bind to the general wildcard address and fall back to
    the IPv4 one if socket creation fails, as then IPv6 is highly probable
    disabled for the setup

 -- Proxmox Support Team <support@proxmox.com>  Fri, 07 May 2021 16:24:29 +0200

libpve-common-perl (6.4-2) pve pmg; urgency=medium

  * INotify: add support for a loopback like "dummy" interfaces type required
    for bgp with multipath/ecmp to have a unique src ip

  * REST handler: make potentially resource intensive API return validation
    opt-in, enable it only in the CLI handler by default. It was not really
    useful anyway, and most of the time we had false positives due to the
    schema missing some optional property.

 -- Proxmox Support Team <support@proxmox.com>  Mon, 26 Apr 2021 19:34:21 +0200

libpve-common-perl (6.4-1) pve pmg; urgency=medium

  * cli: get options: don't set optional positional params to `undef`

  * JSONSchema: don't cycle-check 'download' responses

  * daemon: create_reusable_socket: listen on IPv6 and IPv4

  * PBS client: add file-restore helper

  * allow workers to log and count warnings, providing the WARNING finish-state
    for tasks which encounered some non-fatal problems

 -- Proxmox Support Team <support@proxmox.com>  Fri, 23 Apr 2021 14:59:51 +0200

libpve-common-perl (6.3-5) pve pmg; urgency=medium

  * network: get_local_ip_from_cidr: filter to only return unique IPs

  * format: fix render_bytes with CLIFormatter

 -- Proxmox Support Team <support@proxmox.com>  Tue, 09 Mar 2021 08:35:04 +0100

libpve-common-perl (6.3-4) pve pmg; urgency=medium

  * sendmail: use more complete email regex and shellquote

  * register email-or-username format

  * fix #3259: always free certificate file after reading it

 -- Proxmox Support Team <support@proxmox.com>  Fri, 19 Feb 2021 15:50:16 +0100

libpve-common-perl (6.3-3) pve pmg; urgency=medium

  * SectionConfig: parse_config: add errors to result

  * extract PVE::Format from PVE::CLIFormatter for reuse

  * add CGroup CPU/IO/Memory pressure stats helpers

 -- Proxmox Support Team <support@proxmox.com>  Mon, 08 Feb 2021 16:09:09 +0100

libpve-common-perl (6.3-2) pve pmg; urgency=medium

  * PBS client: add helper method to get a repository url easier

  * tools: add extract_sensitive_params

 -- Proxmox Support Team <support@proxmox.com>  Thu, 03 Dec 2020 16:53:17 +0100

libpve-common-perl (6.3-1) pve pmg; urgency=medium

  * subscription: use more specific machine repo definition for Proxmox VE and
    Proxmox Mail Gateway, to improve co-installability of all products.

  * network: ignore vlan-id if already specified by "iface.X" notation

 -- Proxmox Support Team <support@proxmox.com>  Fri, 27 Nov 2020 15:30:18 +0100

libpve-common-perl (6.2-6) pve pmg; urgency=medium

  * rest: register method: allow minus in path template parameter names

 -- Proxmox Support Team <support@proxmox.com>  Tue, 17 Nov 2020 16:07:53 +0100

libpve-common-perl (6.2-5) pve pmg; urgency=medium

  * move over CGroup handling code for reuse

  * move over Proxmox Backup Sercer client helper module for reuse

 -- Proxmox Support Team <support@proxmox.com>  Tue, 17 Nov 2020 14:29:13 +0100

libpve-common-perl (6.2-4) pve pmg; urgency=medium

  * fix #3108: properly check IPv6 local address

  * systemd: add helpers for parsing unit files

  * network config parser: allow bond of bond

  * ProcFSTools: add helper methods to read CPU/Memory/IO pressure metrics

 -- Proxmox Support Team <support@proxmox.com>  Thu, 05 Nov 2020 10:55:57 +0100

libpve-common-perl (6.2-3) pve pmg; urgency=medium

  * properly encode CLI tool's output when using YAML output-format via
    YAML::XS

  * fix the behavior of the sync_mountpoint helper and improve its error
    propagation

 -- Proxmox Support Team <support@proxmox.com>  Fri, 18 Sep 2020 17:33:56 +0200

libpve-common-perl (6.2-2) pve pmg; urgency=medium

  * sendmail helper: only send multipart if necessary

  * sendmail helper: allow empty display name in "from" field

  * CLI option parser: allow ommiting optional positional arguemnts, if there's
    no ambiguity about it.

 -- Proxmox Support Team <support@proxmox.com>  Mon, 07 Sep 2020 10:01:03 +0200

libpve-common-perl (6.2-1) pve pmg; urgency=medium

  * file get contents: bump default size limit to 512k to match pmxcfs max file
    size

  * run command helper: improve performance for logging and long lines

  * run command helper: fix matching of \r\n line ending

 -- Proxmox Support Team <support@proxmox.com>  Wed, 19 Aug 2020 12:29:06 +0200

libpve-common-perl (6.1-5) pve pmg; urgency=medium

  * JSONSchema: add format validator support and cleanup check_format

  * sendmail: separate 'mailto' list from the rest of the parameters

 -- Proxmox Support Team <support@proxmox.com>  Tue, 07 Jul 2020 19:26:58 +0200

libpve-common-perl (6.1-4) pve pmg; urgency=medium

  * fix #2374: bridge-ports is assumed to be defined

  * schema: register timezone format and add verification method

  * fix #2796: debian/postinst: check for existing /etc/aliases

 -- Proxmox Support Team <support@proxmox.com>  Fri, 03 Jul 2020 14:16:49 +0200

libpve-common-perl (6.1-3) pve pmg; urgency=medium

  * network: vlan-aware bridge: fix PVID when trunks are defined

  * Add total sum of physical CPU core count to CPU info used by node status
    API call

  * netowrk: always autostart bond slaves interfaces

 -- Proxmox Support Team <support@proxmox.com>  Mon, 08 Jun 2020 17:37:11 +0200

libpve-common-perl (6.1-2) pve pmg; urgency=medium

  * fix adding VLAN trunks to virtual guests NICs

 -- Proxmox Support Team <support@proxmox.com>  Sat, 09 May 2020 21:00:29 +0200

libpve-common-perl (6.1-1) pve pmg; urgency=medium

  * fix #2696: avoid 'undefined value' warning in unkown commands

  * ProcFSTools: fix read_meminfo without KSM

  * network: fix adding vlan tags to bridge

 -- Proxmox Support Team <support@proxmox.com>  Wed, 06 May 2020 12:14:19 +0200

libpve-common-perl (6.0-20) pve pmg; urgency=medium

  * network: replace system() with run_command()

  * acme: split out into new package proxmox-acme-perl

 -- Proxmox Support Team <support@proxmox.com>  Mon, 20 Apr 2020 10:03:53 +0200

libpve-common-perl (6.0-19) pve pmg; urgency=medium

  * cpuset: cgroupv2 support and cleanup/refactor

  * cpuset: allow empty cpusets

  * JSONSchema: add acme-plugin-format

  * JSONSchema: add idmap parser and storagepair format

 -- Proxmox Support Team <support@proxmox.com>  Sat, 04 Apr 2020 19:55:24 +0200

libpve-common-perl (6.0-18) pve pmg; urgency=medium

  * ldap: add optional classes to query_users and use them to filter

  * ldap: optionally save group name by attribute

 -- Proxmox Support Team <support@proxmox.com>  Sat, 21 Mar 2020 16:49:47 +0100

libpve-common-perl (6.0-17) pve pmg; urgency=medium

  * inotify: ensure backwards compatibility on interface read

  * normalize cidr, address and netmask entries.

 -- Proxmox Support Team <support@proxmox.com>  Fri, 13 Mar 2020 12:24:58 +0100

libpve-common-perl (6.0-16) pve pmg; urgency=medium

  * notify: fix compatibility when address and netmask got passed separately on
    write

 -- Proxmox Support Team <support@proxmox.com>  Thu, 12 Mar 2020 16:15:17 +0100

libpve-common-perl (6.0-15) pve pmg; urgency=medium

  * inotify: read interfaces: avoid uninitialized value access

  * RESTHandler getopt_usage: schema properties can be optional

  * add ldap-simple-attr format from Proxmox Mailgateway for reuse

 -- Proxmox Support Team <support@proxmox.com>  Mon, 09 Mar 2020 17:01:42 +0100

libpve-common-perl (6.0-14) pve pmg; urgency=medium

  * INotify: use 'auto' for ovs interfaces with ifupdown2

  * INotify : fix OVSBond and OvsintPort order, and add more tests

 -- Proxmox Support Team <support@proxmox.com>  Sat, 07 Mar 2020 17:51:16 +0100

libpve-common-perl (6.0-13) pve pmg; urgency=medium

  * INotify: fix mtu check and add test

  * INotify : check_bridge : fix bridge-ports with vlan tagged interface

  * zsh-completion: Add missing "options end here flag" to compadd

  * get_ip_from_hostname: check all address we get from getaddrinfo_all for non-local IP

  * INotify: use cidr for address on config change

  * partially fix #2618: increase maximum port for spice to 61999

  * add LDAP Wrapper code from Mailgateway

 -- Proxmox Support Team <support@proxmox.com>  Wed, 04 Mar 2020 15:44:15 +0100

libpve-common-perl (6.0-12) pve pmg; urgency=medium

  * systemd: add un-/escape_unit helpers

  * procfs: add check_kernel_release

 -- Proxmox Support Team <support@proxmox.com>  Fri, 31 Jan 2020 10:32:59 +0100

libpve-common-perl (6.0-11) pve pmg; urgency=medium

  * ACME: use GET-as-POST call for compatibility with new API authorization
    requirements

  * API schema: add 'allowtoken' property

  * INotify network: improve vlan interface parsing

 -- Proxmox Support Team <support@proxmox.com>  Tue, 28 Jan 2020 11:33:21 +0100

libpve-common-perl (6.0-10) pve pmg; urgency=medium

  * INotify: add "bond-primary" and "ovs_mtu" option

  * INotify: allow vlan tagged bridge interface on non-vlanaware bridge

  * INotify: forbid ip address on bridged interface.

  * generate_csr: allow to set CN explicitly

 -- Proxmox Support Team <support@proxmox.com>  Mon, 13 Jan 2020 17:51:58 +0100

libpve-common-perl (6.0-9) pve pmg; urgency=medium

  * add kernel_version helper to ProcFSTools

 -- Proxmox Support Team <support@proxmox.com>  Sat, 23 Nov 2019 16:15:10 +0100

libpve-common-perl (6.0-8) pve pmg; urgency=medium

  * fix Tools::df for big storage usage values

  * ProcFSTools: include ppid in read_proc_pid_stat

  * add new Kernel mount API wrappers and constants

  * ysFSTools: do not assume PCI domain 0000

 -- Proxmox Support Team <support@proxmox.com>  Wed, 20 Nov 2019 18:43:05 +0100

libpve-common-perl (6.0-7) pve pmg; urgency=medium

  * cert: add fingerprint helper

  * JSONSchema: add pve-tag format

 -- Proxmox Support Team <support@proxmox.com>  Fri, 08 Nov 2019 12:48:29 +0100

libpve-common-perl (6.0-6) pve pmg; urgency=medium

  * fix #2433: add new TFA-secret format and support longer secrets

 -- Proxmox Support Team <support@proxmox.com>  Tue, 29 Oct 2019 08:07:29 +0100

libpve-common-perl (6.0-5) pve pmg; urgency=medium

  * fix #2339: Handle multiple blank lines correctly in SectionConfig

  * add postinst hook to fix /etc/aliases whitespace error~

  * network: add uplink-id option

  * network: use 'allow-ovs' instead of 'auto' for OVSBridge to fix race
    with the then generated systemd ifup@.service on startup

  * network: handle autostart setting for OVS interfaces

 -- Proxmox Support Team <support@proxmox.com>  Fri, 20 Sep 2019 16:38:39 +0200

libpve-common-perl (6.0-4) pve pmg; urgency=medium

  * fix #2303: detect IPs of p2p interfaces

  * CLIHandler: consider all valid prefixes again for completion

  * Tools: add fchownat syscall

 -- Proxmox Support Team <support@proxmox.com>  Sat, 17 Aug 2019 11:31:24 +0200

libpve-common-perl (6.0-3) pve pmg; urgency=medium

  * cert: add public key type and size to info and JSON schema

  * include all available CPU flags in read_cpuinfo

  * add array_intersect method

 -- Proxmox Support Team <support@proxmox.com>  Tue, 23 Jul 2019 09:14:58 +0200

# Older entries have been removed from this changelog.
# To read the complete changelog use `apt changelog libpve-common-perl`.
