1 rust-proxmox-api-macro (1.0.8-1) stable; urgency=medium
3 * update to proxmox-schema 3
5 * make #[serde(skip_serializing_if)] without #[serde(default)] an error
7 -- Proxmox Support Team <support@proxmox.com> Fri, 02 Feb 2024 13:44:40 +0100
9 rust-proxmox-api-macro (1.0.7-1) stable; urgency=medium
11 * make serde(skip_serializing_if) without serde(default) for non-Option
14 * split field and variant attribute parsing
16 -- Proxmox Support Team <support@proxmox.com> Wed, 06 Dec 2023 16:02:11 +0100
18 rust-proxmox-api-macro (1.0.6-1) stable; urgency=medium
20 * clippy fix: this (Default) `impl` can be derived
22 * update to syn 2, rework attribute parsing
24 -- Proxmox Support Team <support@proxmox.com> Mon, 02 Oct 2023 09:27:12 +0200
26 rust-proxmox-api-macro (1.0.5-1) bookworm; urgency=medium
28 * support non-idents in serde rename attributes on enum variants
30 -- Proxmox Support Team <support@proxmox.com> Thu, 03 Aug 2023 08:23:42 +0200
32 rust-proxmox-api-macro (1.0.4-1) stable; urgency=medium
34 * support #[default] attribute for types which derive Default
36 * documentation updates
38 -- Proxmox Support Team <support@proxmox.com> Mon, 12 Dec 2022 11:31:34 +0100
40 rust-proxmox-api-macro (1.0.3-1) stable; urgency=medium
42 * allow overriding fiel attributes when deriving an updater
44 -- Proxmox Support Team <support@proxmox.com> Thu, 19 May 2022 12:03:36 +0200
46 rust-proxmox-api-macro (1.0.2-1) stable; urgency=medium
48 * support streaming api handlers
50 -- Proxmox Support Team <support@proxmox.com> Tue, 12 Apr 2022 14:26:46 +0200
52 rust-proxmox-api-macro (1.0.1-1) stable; urgency=medium
54 * stop adding automatically_derived to derived output to please new rustc
56 -- Proxmox Support Team <support@proxmox.com> Tue, 12 Oct 2021 14:49:35 +0200
58 rust-proxmox-api-macro (1.0.0-1) stable; urgency=medium
60 * schema was split out of proxmox into a new proxmox-schema crate
62 -- Proxmox Support Team <support@proxmox.com> Thu, 07 Oct 2021 14:28:14 +0200
64 rust-proxmox-api-macro (0.5.1-1) stable; urgency=medium
66 * allow external `returns` specification on methods, refereincing a
69 -- Proxmox Support Team <support@proxmox.com> Mon, 30 Aug 2021 10:44:21 +0200
71 rust-proxmox-api-macro (0.5.0-1) stable; urgency=medium
73 * for non structs without Updater types and methods, `type: Foo` can now be
76 * Adapt to the changes to Updatable in the proxmox crate
78 * Updaters have no try_build_from or update_from method anymore for now
80 * #[api] types automatically implement the new ApiType trait
82 -- Proxmox Support Team <support@proxmox.com> Tue, 24 Aug 2021 15:22:05 +0200
84 rust-proxmox-api-macro (0.4.0-1) stable; urgency=medium
86 * update proxmox to 0.12.0
88 -- Proxmox Support Team <support@proxmox.com> Tue, 20 Jul 2021 17:09:40 +0200
90 rust-proxmox-api-macro (0.3.4-1) unstable; urgency=medium
92 * fix path in generated Updatable derive entry to not require explicit
95 -- Proxmox Support Team <support@proxmox.com> Wed, 14 Apr 2021 11:59:04 +0200
97 rust-proxmox-api-macro (0.3.3-1) unstable; urgency=medium
99 * updater: take serde renames into account
101 -- Proxmox Support Team <support@proxmox.com> Wed, 24 Feb 2021 09:36:24 +0100
103 rust-proxmox-api-macro (0.3.2-1) unstable; urgency=medium
105 * added Updater derive macros
107 -- Proxmox Support Team <support@proxmox.com> Wed, 10 Feb 2021 10:09:13 +0100
109 rust-proxmox-api-macro (0.3.1-1) unstable; urgency=medium
111 * adapt to ParameterSchema move from router:: to schema::
113 -- Proxmox Support Team <support@proxmox.com> Thu, 14 Jan 2021 15:38:42 +0100
115 rust-proxmox-api-macro (0.3.0-1) unstable; urgency=medium
117 * removed `pub const API_RETURN_SCHEMA_*` generation
118 This could already be accessed via the public `API_METHOD_FOO.returns`.
120 * Note that a previous `schema: API_RETURN_SCHEMA_FOO` must now dereference
121 the schema via: `schema: *API_METHOD_FOO.returns.schema`.
123 -- Proxmox Support Team <support@proxmox.com> Fri, 11 Dec 2020 14:56:02 +0100
125 rust-proxmox-api-macro (0.2.4-1) unstable; urgency=medium
127 * support raw parameter name identifiers (eg. `r#type`)
129 * correctly produce errors when using a `description` with external
130 schema/type references, as those descriptions will never be used. This
131 distinguishes between explicitly set descriptions and doc comments. The
132 latter is still allowed since forbidding those doesn't make any sense as
133 they're part of the crate documentation.
135 * Change a lot of errors to not be "fatal", so they still generate code, to
136 avoid getting additional errors about the method & variable names not
137 existing. This should generally improve error output a lot for the cases
138 where this can actually be done.
140 -- Proxmox Support Team <support@proxmox.com> Wed, 09 Dec 2020 10:40:30 +0100
142 rust-proxmox-api-macro (0.2.3-1) unstable; urgency=medium
144 * api macro: reuse generated default const for "unwrap_or" instead of adding
145 a closure which returned the default value inline. This allows one to
146 define optional params with a default as non-option type in a API handler
147 signature without getting a warning that the const generated for that
148 default is now unused.
150 -- Proxmox Support Team <support@proxmox.com> Sat, 31 Oct 2020 08:38:18 +0100
152 rust-proxmox-api-macro (0.2.2-1) unstable; urgency=medium
154 * api-macro: replace ident hashmap with simple find
156 -- Proxmox Support Team <support@proxmox.com> Sat, 19 Sep 2020 06:29:31 +0200
158 rust-proxmox-api-macro (0.2.1-1) unstable; urgency=medium
160 * api-macro: relax Fieldname rules
162 * api-macro: fix broken binary ident search
164 -- Proxmox Support Team <support@proxmox.com> Thu, 17 Sep 2020 08:25:55 +0200
166 rust-proxmox-api-macro (0.2.0-1) proxmox-rust; urgency=medium
168 * All api-macro generated schema declarations are now values instead of
169 references, usage of them always adds the '&' instead of "sometimes", for
170 consistency. This allows referencing generated schemas (eg.
171 API_RETURN_SCHEMA_FOO) via the `schema:` key inside objects.
173 -- Proxmox Support Team <support@proxmox.com> Fri, 10 Jul 2020 10:50:38 +0200
175 rust-proxmox-api-macro (0.1.9-1) proxmox-rust; urgency=medium
177 * remove some unnecessary parentheses to silence warnings in newer rustc
179 -- Proxmox Support Team <support@proxmox.com> Mon, 18 May 2020 09:16:00 +0200
181 rust-proxmox-api-macro (0.1.8-1) proxmox-rust; urgency=medium
183 * add descriptions to enum variants
185 -- Proxmox Support Team <support@proxmox.com> Wed, 29 Apr 2020 10:45:50 +0200
187 rust-proxmox-api-macro (0.1.7-1) proxmox-rust; urgency=medium
189 * replace failure with anyhow crate
191 * fix error message suggestiong 'permissions' instead of 'permission'
193 -- Proxmox Support Team <support@proxmox.com> Fri, 17 Apr 2020 18:36:03 +0200
195 rust-proxmox-api-macro (0.1.6-1) proxmox-rust; urgency=medium
197 * support reload_timezone option for methods
199 * support 'access' specification for methods
201 * error on unexpected keys
203 * cleanups, more tests
205 -- Proxmox Support Team <support@proxmox.com> Thu, 16 Apr 2020 08:29:31 +0200
207 rust-proxmox-api-macro (0.1.5-1) proxmox-rust; urgency=medium
209 * include default min/max for integer types
211 -- Proxmox Support Team <support@proxmox.com> Thu, 19 Mar 2020 09:55:25 +0100
213 rust-proxmox-api-macro (0.1.4-1) proxmox-rust; urgency=medium
215 * make parameter and return schema of api methods public
217 -- Proxmox Support Team <support@proxmox.com> Thu, 27 Feb 2020 13:09:40 +0100
219 rust-proxmox-api-macro (0.1.3-1) proxmox-rust; urgency=medium
221 * expose parameter and return schema of api methods as
222 - API_RETURN_SCHEMA_<method-name>
223 - API_PARAMETER_SCHEMA_<method-name>
225 -- Proxmox Support Team <support@proxmox.com> Thu, 30 Jan 2020 12:32:37 +0100
227 rust-proxmox-api-macro (0.1.2-1) proxmox-rust; urgency=medium
229 * fix a case were object properties weren't sorted
231 -- Proxmox Support Team <support@proxmox.com> Thu, 23 Jan 2020 13:16:30 +0100
233 rust-proxmox-api-macro (0.1.1-1) proxmox-rust; urgency=medium
235 * switch packaging to debcargo with local crate support
237 -- Proxmox Support Team <support@proxmox.com> Mon, 13 Jan 2020 10:41:01 +0100
239 rust-proxmox-api-macro (0.1.1) proxmox-rust; urgency=medium
241 * cover all the basic struct support in the #[api] macro
243 * support #[serde(rename_all)] on enums and structs
245 -- Proxmox Support Team <support@proxmox.com> Wed, 08 Jan 2020 11:03:31 +0100
247 rust-proxmox-api-macro (0.1.0) proxmox-rust; urgency=medium
251 -- Proxmox Support Team <support@proxmox.com> Tue, 17 Dec 2019 14:47:44 +0100