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
