diff --git a/proxmox-notify/Cargo.toml b/proxmox-notify/Cargo.toml index 5c700ca8..46801378 100644 --- a/proxmox-notify/Cargo.toml +++ b/proxmox-notify/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "proxmox-notify" description = "implementation of notification base and plugins" -version = "0.5.1" +version = "0.5.2" authors.workspace = true edition.workspace = true diff --git a/proxmox-notify/debian/changelog b/proxmox-notify/debian/changelog index 65bcd8a0..87d81475 100644 --- a/proxmox-notify/debian/changelog +++ b/proxmox-notify/debian/changelog @@ -1,3 +1,17 @@ +rust-proxmox-notify (0.5.2-1) bookworm; urgency=medium + + * switch from `log` to `tracing` + + * update to proxmox-schema 4 and use builder pattern for `ObjectSchema` + + * switch sendmail endpoint to use `proxmox-sendmail` crate + + * use forward implementation from `proxmox-sendmail` crate + + * fix indentation in webhook documentation + + -- Proxmox Support Team Wed, 15 Jan 2025 12:10:06 +0100 + rust-proxmox-notify (0.5.1-1) bookworm; urgency=medium * sendmail: various cleanups and refactoring diff --git a/proxmox-notify/debian/control b/proxmox-notify/debian/control index d4b6fcd1..b8dea7ca 100644 --- a/proxmox-notify/debian/control +++ b/proxmox-notify/debian/control @@ -12,27 +12,28 @@ Build-Depends: debhelper-compat (= 13), librust-handlebars-3+default-dev , librust-http-0.2+default-dev , librust-lettre-0.11+default-dev (>= 0.11.1-~~) , - librust-log-0.4+default-dev (>= 0.4.17-~~) , librust-openssl-0.10+default-dev , librust-percent-encoding-2+default-dev (>= 2.1-~~) , librust-proxmox-http-0.9+client-sync-dev (>= 0.9.4-~~) , librust-proxmox-http-0.9+default-dev (>= 0.9.4-~~) , librust-proxmox-http-error-0.1+default-dev , librust-proxmox-human-byte-0.1+default-dev , - librust-proxmox-schema-3+api-macro-dev (>= 3.1.2-~~) , - librust-proxmox-schema-3+api-types-dev (>= 3.1.2-~~) , - librust-proxmox-schema-3+default-dev (>= 3.1.2-~~) , + librust-proxmox-schema-4+api-macro-dev , + librust-proxmox-schema-4+api-types-dev , + librust-proxmox-schema-4+default-dev , librust-proxmox-section-config-2+default-dev (>= 2.1.0-~~) , + librust-proxmox-sendmail-0.1+default-dev , librust-proxmox-serde-0.1+default-dev (>= 0.1.1-~~) , librust-proxmox-serde-0.1+serde-json-dev (>= 0.1.1-~~) , - librust-proxmox-sys-0.6+default-dev , + librust-proxmox-sys-0.6+default-dev (>= 0.6.5-~~) , librust-proxmox-time-2+default-dev , librust-proxmox-uuid-1+default-dev (>= 1.0.1-~~) , librust-proxmox-uuid-1+serde-dev (>= 1.0.1-~~) , librust-regex-1+default-dev (>= 1.5-~~) , librust-serde-1+default-dev , librust-serde-1+derive-dev , - librust-serde-json-1+default-dev + librust-serde-json-1+default-dev , + librust-tracing-0.1+default-dev Maintainer: Proxmox Support Team Standards-Version: 4.7.0 Vcs-Git: git://git.proxmox.com/git/proxmox.git @@ -49,13 +50,12 @@ Depends: librust-anyhow-1+default-dev, librust-const-format-0.2+default-dev, librust-handlebars-3+default-dev, - librust-log-0.4+default-dev (>= 0.4.17-~~), librust-openssl-0.10+default-dev, librust-proxmox-http-error-0.1+default-dev, librust-proxmox-human-byte-0.1+default-dev, - librust-proxmox-schema-3+api-macro-dev (>= 3.1.2-~~), - librust-proxmox-schema-3+api-types-dev (>= 3.1.2-~~), - librust-proxmox-schema-3+default-dev (>= 3.1.2-~~), + librust-proxmox-schema-4+api-macro-dev, + librust-proxmox-schema-4+api-types-dev, + librust-proxmox-schema-4+default-dev, librust-proxmox-section-config-2+default-dev (>= 2.1.0-~~), librust-proxmox-serde-0.1+default-dev (>= 0.1.1-~~), librust-proxmox-serde-0.1+serde-json-dev (>= 0.1.1-~~), @@ -65,7 +65,8 @@ Depends: librust-regex-1+default-dev (>= 1.5-~~), librust-serde-1+default-dev, librust-serde-1+derive-dev, - librust-serde-json-1+default-dev + librust-serde-json-1+default-dev, + librust-tracing-0.1+default-dev Recommends: librust-proxmox-notify+default-dev (= ${binary:Version}) Suggests: @@ -78,7 +79,7 @@ Suggests: Provides: librust-proxmox-notify-0-dev (= ${binary:Version}), librust-proxmox-notify-0.5-dev (= ${binary:Version}), - librust-proxmox-notify-0.5.1-dev (= ${binary:Version}) + librust-proxmox-notify-0.5.2-dev (= ${binary:Version}) Description: Notification base and plugins - Rust source code Source code for Debianized Rust crate "proxmox-notify" @@ -95,7 +96,7 @@ Depends: Provides: librust-proxmox-notify-0+default-dev (= ${binary:Version}), librust-proxmox-notify-0.5+default-dev (= ${binary:Version}), - librust-proxmox-notify-0.5.1+default-dev (= ${binary:Version}) + librust-proxmox-notify-0.5.2+default-dev (= ${binary:Version}) Description: Notification base and plugins - feature "default" This metapackage enables feature "default" for the Rust proxmox-notify crate, by pulling in any additional dependencies needed by that feature. @@ -111,7 +112,7 @@ Depends: Provides: librust-proxmox-notify-0+gotify-dev (= ${binary:Version}), librust-proxmox-notify-0.5+gotify-dev (= ${binary:Version}), - librust-proxmox-notify-0.5.1+gotify-dev (= ${binary:Version}) + librust-proxmox-notify-0.5.2+gotify-dev (= ${binary:Version}) Description: Notification base and plugins - feature "gotify" This metapackage enables feature "gotify" for the Rust proxmox-notify crate, by pulling in any additional dependencies needed by that feature. @@ -123,11 +124,12 @@ Depends: ${misc:Depends}, librust-proxmox-notify-dev (= ${binary:Version}), librust-mail-parser-0.8+default-dev (>= 0.8.2-~~), - librust-proxmox-sys-0.6+default-dev + librust-proxmox-sendmail-0.1+mail-forwarder-dev, + librust-proxmox-sys-0.6+default-dev (>= 0.6.5-~~) Provides: librust-proxmox-notify-0+mail-forwarder-dev (= ${binary:Version}), librust-proxmox-notify-0.5+mail-forwarder-dev (= ${binary:Version}), - librust-proxmox-notify-0.5.1+mail-forwarder-dev (= ${binary:Version}) + librust-proxmox-notify-0.5.2+mail-forwarder-dev (= ${binary:Version}) Description: Notification base and plugins - feature "mail-forwarder" This metapackage enables feature "mail-forwarder" for the Rust proxmox-notify crate, by pulling in any additional dependencies needed by that feature. @@ -138,15 +140,15 @@ Multi-Arch: same Depends: ${misc:Depends}, librust-proxmox-notify-dev (= ${binary:Version}), - librust-proxmox-sys-0.6+default-dev + librust-proxmox-sys-0.6+default-dev (>= 0.6.5-~~) Provides: librust-proxmox-notify+pve-context-dev (= ${binary:Version}), librust-proxmox-notify-0+pbs-context-dev (= ${binary:Version}), librust-proxmox-notify-0+pve-context-dev (= ${binary:Version}), librust-proxmox-notify-0.5+pbs-context-dev (= ${binary:Version}), librust-proxmox-notify-0.5+pve-context-dev (= ${binary:Version}), - librust-proxmox-notify-0.5.1+pbs-context-dev (= ${binary:Version}), - librust-proxmox-notify-0.5.1+pve-context-dev (= ${binary:Version}) + librust-proxmox-notify-0.5.2+pbs-context-dev (= ${binary:Version}), + librust-proxmox-notify-0.5.2+pve-context-dev (= ${binary:Version}) Description: Notification base and plugins - feature "pbs-context" and 1 more This metapackage enables feature "pbs-context" for the Rust proxmox-notify crate, by pulling in any additional dependencies needed by that feature. @@ -160,11 +162,12 @@ Depends: ${misc:Depends}, librust-proxmox-notify-dev (= ${binary:Version}), librust-base64-0.13+default-dev, - librust-proxmox-sys-0.6+default-dev + librust-proxmox-sendmail-0.1+default-dev, + librust-proxmox-sys-0.6+default-dev (>= 0.6.5-~~) Provides: librust-proxmox-notify-0+sendmail-dev (= ${binary:Version}), librust-proxmox-notify-0.5+sendmail-dev (= ${binary:Version}), - librust-proxmox-notify-0.5.1+sendmail-dev (= ${binary:Version}) + librust-proxmox-notify-0.5.2+sendmail-dev (= ${binary:Version}) Description: Notification base and plugins - feature "sendmail" This metapackage enables feature "sendmail" for the Rust proxmox-notify crate, by pulling in any additional dependencies needed by that feature. @@ -179,7 +182,7 @@ Depends: Provides: librust-proxmox-notify-0+smtp-dev (= ${binary:Version}), librust-proxmox-notify-0.5+smtp-dev (= ${binary:Version}), - librust-proxmox-notify-0.5.1+smtp-dev (= ${binary:Version}) + librust-proxmox-notify-0.5.2+smtp-dev (= ${binary:Version}) Description: Notification base and plugins - feature "smtp" This metapackage enables feature "smtp" for the Rust proxmox-notify crate, by pulling in any additional dependencies needed by that feature. @@ -198,7 +201,7 @@ Depends: Provides: librust-proxmox-notify-0+webhook-dev (= ${binary:Version}), librust-proxmox-notify-0.5+webhook-dev (= ${binary:Version}), - librust-proxmox-notify-0.5.1+webhook-dev (= ${binary:Version}) + librust-proxmox-notify-0.5.2+webhook-dev (= ${binary:Version}) Description: Notification base and plugins - feature "webhook" This metapackage enables feature "webhook" for the Rust proxmox-notify crate, by pulling in any additional dependencies needed by that feature.