ca6ca904ad
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
252 lines
8.4 KiB
Plaintext
252 lines
8.4 KiB
Plaintext
rust-proxmox-api-macro (1.0.8-1) stable; urgency=medium
|
|
|
|
* update to proxmox-schema 3
|
|
|
|
* make #[serde(skip_serializing_if)] without #[serde(default)] an error
|
|
|
|
-- Proxmox Support Team <support@proxmox.com> Fri, 02 Feb 2024 13:44:40 +0100
|
|
|
|
rust-proxmox-api-macro (1.0.7-1) stable; urgency=medium
|
|
|
|
* make serde(skip_serializing_if) without serde(default) for non-Option
|
|
types an error
|
|
|
|
* split field and variant attribute parsing
|
|
|
|
-- Proxmox Support Team <support@proxmox.com> Wed, 06 Dec 2023 16:02:11 +0100
|
|
|
|
rust-proxmox-api-macro (1.0.6-1) stable; urgency=medium
|
|
|
|
* clippy fix: this (Default) `impl` can be derived
|
|
|
|
* update to syn 2, rework attribute parsing
|
|
|
|
-- Proxmox Support Team <support@proxmox.com> Mon, 02 Oct 2023 09:27:12 +0200
|
|
|
|
rust-proxmox-api-macro (1.0.5-1) bookworm; urgency=medium
|
|
|
|
* support non-idents in serde rename attributes on enum variants
|
|
|
|
-- Proxmox Support Team <support@proxmox.com> Thu, 03 Aug 2023 08:23:42 +0200
|
|
|
|
rust-proxmox-api-macro (1.0.4-1) stable; urgency=medium
|
|
|
|
* support #[default] attribute for types which derive Default
|
|
|
|
* documentation updates
|
|
|
|
-- Proxmox Support Team <support@proxmox.com> Mon, 12 Dec 2022 11:31:34 +0100
|
|
|
|
rust-proxmox-api-macro (1.0.3-1) stable; urgency=medium
|
|
|
|
* allow overriding fiel attributes when deriving an updater
|
|
|
|
-- Proxmox Support Team <support@proxmox.com> Thu, 19 May 2022 12:03:36 +0200
|
|
|
|
rust-proxmox-api-macro (1.0.2-1) stable; urgency=medium
|
|
|
|
* support streaming api handlers
|
|
|
|
-- Proxmox Support Team <support@proxmox.com> Tue, 12 Apr 2022 14:26:46 +0200
|
|
|
|
rust-proxmox-api-macro (1.0.1-1) stable; urgency=medium
|
|
|
|
* stop adding automatically_derived to derived output to please new rustc
|
|
|
|
-- Proxmox Support Team <support@proxmox.com> Tue, 12 Oct 2021 14:49:35 +0200
|
|
|
|
rust-proxmox-api-macro (1.0.0-1) stable; urgency=medium
|
|
|
|
* schema was split out of proxmox into a new proxmox-schema crate
|
|
|
|
-- Proxmox Support Team <support@proxmox.com> Thu, 07 Oct 2021 14:28:14 +0200
|
|
|
|
rust-proxmox-api-macro (0.5.1-1) stable; urgency=medium
|
|
|
|
* allow external `returns` specification on methods, refereincing a
|
|
`ReturnType`.
|
|
|
|
-- Proxmox Support Team <support@proxmox.com> Mon, 30 Aug 2021 10:44:21 +0200
|
|
|
|
rust-proxmox-api-macro (0.5.0-1) stable; urgency=medium
|
|
|
|
* for non structs without Updater types and methods, `type: Foo` can now be
|
|
omitted for api types
|
|
|
|
* Adapt to the changes to Updatable in the proxmox crate
|
|
|
|
* Updaters have no try_build_from or update_from method anymore for now
|
|
|
|
* #[api] types automatically implement the new ApiType trait
|
|
|
|
-- Proxmox Support Team <support@proxmox.com> Tue, 24 Aug 2021 15:22:05 +0200
|
|
|
|
rust-proxmox-api-macro (0.4.0-1) stable; urgency=medium
|
|
|
|
* update proxmox to 0.12.0
|
|
|
|
-- Proxmox Support Team <support@proxmox.com> Tue, 20 Jul 2021 17:09:40 +0200
|
|
|
|
rust-proxmox-api-macro (0.3.4-1) unstable; urgency=medium
|
|
|
|
* fix path in generated Updatable derive entry to not require explicit
|
|
imports of the trait
|
|
|
|
-- Proxmox Support Team <support@proxmox.com> Wed, 14 Apr 2021 11:59:04 +0200
|
|
|
|
rust-proxmox-api-macro (0.3.3-1) unstable; urgency=medium
|
|
|
|
* updater: take serde renames into account
|
|
|
|
-- Proxmox Support Team <support@proxmox.com> Wed, 24 Feb 2021 09:36:24 +0100
|
|
|
|
rust-proxmox-api-macro (0.3.2-1) unstable; urgency=medium
|
|
|
|
* added Updater derive macros
|
|
|
|
-- Proxmox Support Team <support@proxmox.com> Wed, 10 Feb 2021 10:09:13 +0100
|
|
|
|
rust-proxmox-api-macro (0.3.1-1) unstable; urgency=medium
|
|
|
|
* adapt to ParameterSchema move from router:: to schema::
|
|
|
|
-- Proxmox Support Team <support@proxmox.com> Thu, 14 Jan 2021 15:38:42 +0100
|
|
|
|
rust-proxmox-api-macro (0.3.0-1) unstable; urgency=medium
|
|
|
|
* removed `pub const API_RETURN_SCHEMA_*` generation
|
|
This could already be accessed via the public `API_METHOD_FOO.returns`.
|
|
|
|
* Note that a previous `schema: API_RETURN_SCHEMA_FOO` must now dereference
|
|
the schema via: `schema: *API_METHOD_FOO.returns.schema`.
|
|
|
|
-- Proxmox Support Team <support@proxmox.com> Fri, 11 Dec 2020 14:56:02 +0100
|
|
|
|
rust-proxmox-api-macro (0.2.4-1) unstable; urgency=medium
|
|
|
|
* support raw parameter name identifiers (eg. `r#type`)
|
|
|
|
* correctly produce errors when using a `description` with external
|
|
schema/type references, as those descriptions will never be used. This
|
|
distinguishes between explicitly set descriptions and doc comments. The
|
|
latter is still allowed since forbidding those doesn't make any sense as
|
|
they're part of the crate documentation.
|
|
|
|
* Change a lot of errors to not be "fatal", so they still generate code, to
|
|
avoid getting additional errors about the method & variable names not
|
|
existing. This should generally improve error output a lot for the cases
|
|
where this can actually be done.
|
|
|
|
-- Proxmox Support Team <support@proxmox.com> Wed, 09 Dec 2020 10:40:30 +0100
|
|
|
|
rust-proxmox-api-macro (0.2.3-1) unstable; urgency=medium
|
|
|
|
* api macro: reuse generated default const for "unwrap_or" instead of adding
|
|
a closure which returned the default value inline. This allows one to
|
|
define optional params with a default as non-option type in a API handler
|
|
signature without getting a warning that the const generated for that
|
|
default is now unused.
|
|
|
|
-- Proxmox Support Team <support@proxmox.com> Sat, 31 Oct 2020 08:38:18 +0100
|
|
|
|
rust-proxmox-api-macro (0.2.2-1) unstable; urgency=medium
|
|
|
|
* api-macro: replace ident hashmap with simple find
|
|
|
|
-- Proxmox Support Team <support@proxmox.com> Sat, 19 Sep 2020 06:29:31 +0200
|
|
|
|
rust-proxmox-api-macro (0.2.1-1) unstable; urgency=medium
|
|
|
|
* api-macro: relax Fieldname rules
|
|
|
|
* api-macro: fix broken binary ident search
|
|
|
|
-- Proxmox Support Team <support@proxmox.com> Thu, 17 Sep 2020 08:25:55 +0200
|
|
|
|
rust-proxmox-api-macro (0.2.0-1) proxmox-rust; urgency=medium
|
|
|
|
* All api-macro generated schema declarations are now values instead of
|
|
references, usage of them always adds the '&' instead of "sometimes", for
|
|
consistency. This allows referencing generated schemas (eg.
|
|
API_RETURN_SCHEMA_FOO) via the `schema:` key inside objects.
|
|
|
|
-- Proxmox Support Team <support@proxmox.com> Fri, 10 Jul 2020 10:50:38 +0200
|
|
|
|
rust-proxmox-api-macro (0.1.9-1) proxmox-rust; urgency=medium
|
|
|
|
* remove some unnecessary parentheses to silence warnings in newer rustc
|
|
|
|
-- Proxmox Support Team <support@proxmox.com> Mon, 18 May 2020 09:16:00 +0200
|
|
|
|
rust-proxmox-api-macro (0.1.8-1) proxmox-rust; urgency=medium
|
|
|
|
* add descriptions to enum variants
|
|
|
|
-- Proxmox Support Team <support@proxmox.com> Wed, 29 Apr 2020 10:45:50 +0200
|
|
|
|
rust-proxmox-api-macro (0.1.7-1) proxmox-rust; urgency=medium
|
|
|
|
* replace failure with anyhow crate
|
|
|
|
* fix error message suggestiong 'permissions' instead of 'permission'
|
|
|
|
-- Proxmox Support Team <support@proxmox.com> Fri, 17 Apr 2020 18:36:03 +0200
|
|
|
|
rust-proxmox-api-macro (0.1.6-1) proxmox-rust; urgency=medium
|
|
|
|
* support reload_timezone option for methods
|
|
|
|
* support 'access' specification for methods
|
|
|
|
* error on unexpected keys
|
|
|
|
* cleanups, more tests
|
|
|
|
-- Proxmox Support Team <support@proxmox.com> Thu, 16 Apr 2020 08:29:31 +0200
|
|
|
|
rust-proxmox-api-macro (0.1.5-1) proxmox-rust; urgency=medium
|
|
|
|
* include default min/max for integer types
|
|
|
|
-- Proxmox Support Team <support@proxmox.com> Thu, 19 Mar 2020 09:55:25 +0100
|
|
|
|
rust-proxmox-api-macro (0.1.4-1) proxmox-rust; urgency=medium
|
|
|
|
* make parameter and return schema of api methods public
|
|
|
|
-- Proxmox Support Team <support@proxmox.com> Thu, 27 Feb 2020 13:09:40 +0100
|
|
|
|
rust-proxmox-api-macro (0.1.3-1) proxmox-rust; urgency=medium
|
|
|
|
* expose parameter and return schema of api methods as
|
|
- API_RETURN_SCHEMA_<method-name>
|
|
- API_PARAMETER_SCHEMA_<method-name>
|
|
|
|
-- Proxmox Support Team <support@proxmox.com> Thu, 30 Jan 2020 12:32:37 +0100
|
|
|
|
rust-proxmox-api-macro (0.1.2-1) proxmox-rust; urgency=medium
|
|
|
|
* fix a case were object properties weren't sorted
|
|
|
|
-- Proxmox Support Team <support@proxmox.com> Thu, 23 Jan 2020 13:16:30 +0100
|
|
|
|
rust-proxmox-api-macro (0.1.1-1) proxmox-rust; urgency=medium
|
|
|
|
* switch packaging to debcargo with local crate support
|
|
|
|
-- Proxmox Support Team <support@proxmox.com> Mon, 13 Jan 2020 10:41:01 +0100
|
|
|
|
rust-proxmox-api-macro (0.1.1) proxmox-rust; urgency=medium
|
|
|
|
* cover all the basic struct support in the #[api] macro
|
|
|
|
* support #[serde(rename_all)] on enums and structs
|
|
|
|
-- Proxmox Support Team <support@proxmox.com> Wed, 08 Jan 2020 11:03:31 +0100
|
|
|
|
rust-proxmox-api-macro (0.1.0) proxmox-rust; urgency=medium
|
|
|
|
* Initial packaging.
|
|
|
|
-- Proxmox Support Team <support@proxmox.com> Tue, 17 Dec 2019 14:47:44 +0100
|