]>
Commit | Line | Data |
---|---|---|
1f377da0 WB |
1 | rust-proxmox-api-macro (1.0.7-1) stable; urgency=medium |
2 | ||
3 | * make serde(skip_serializing_if) without serde(default) for non-Option | |
4 | types an error | |
5 | ||
6 | * split field and variant attribute parsing | |
7 | ||
8 | -- Proxmox Support Team <support@proxmox.com> Wed, 06 Dec 2023 16:02:11 +0100 | |
9 | ||
04e2d0e5 FG |
10 | rust-proxmox-api-macro (1.0.6-1) stable; urgency=medium |
11 | ||
12 | * clippy fix: this (Default) `impl` can be derived | |
13 | ||
14 | * update to syn 2, rework attribute parsing | |
15 | ||
16 | -- Proxmox Support Team <support@proxmox.com> Mon, 02 Oct 2023 09:27:12 +0200 | |
17 | ||
34a79cdd WB |
18 | rust-proxmox-api-macro (1.0.5-1) bookworm; urgency=medium |
19 | ||
20 | * support non-idents in serde rename attributes on enum variants | |
21 | ||
22 | -- Proxmox Support Team <support@proxmox.com> Thu, 03 Aug 2023 08:23:42 +0200 | |
23 | ||
7bc85c05 WB |
24 | rust-proxmox-api-macro (1.0.4-1) stable; urgency=medium |
25 | ||
26 | * support #[default] attribute for types which derive Default | |
27 | ||
28 | * documentation updates | |
29 | ||
30 | -- Proxmox Support Team <support@proxmox.com> Mon, 12 Dec 2022 11:31:34 +0100 | |
31 | ||
b49f3554 WB |
32 | rust-proxmox-api-macro (1.0.3-1) stable; urgency=medium |
33 | ||
34 | * allow overriding fiel attributes when deriving an updater | |
35 | ||
36 | -- Proxmox Support Team <support@proxmox.com> Thu, 19 May 2022 12:03:36 +0200 | |
37 | ||
bcf6abaa WB |
38 | rust-proxmox-api-macro (1.0.2-1) stable; urgency=medium |
39 | ||
40 | * support streaming api handlers | |
41 | ||
42 | -- Proxmox Support Team <support@proxmox.com> Tue, 12 Apr 2022 14:26:46 +0200 | |
43 | ||
d1829219 WB |
44 | rust-proxmox-api-macro (1.0.1-1) stable; urgency=medium |
45 | ||
46 | * stop adding automatically_derived to derived output to please new rustc | |
47 | ||
48 | -- Proxmox Support Team <support@proxmox.com> Tue, 12 Oct 2021 14:49:35 +0200 | |
49 | ||
41f3fdfe WB |
50 | rust-proxmox-api-macro (1.0.0-1) stable; urgency=medium |
51 | ||
52 | * schema was split out of proxmox into a new proxmox-schema crate | |
53 | ||
54 | -- Proxmox Support Team <support@proxmox.com> Thu, 07 Oct 2021 14:28:14 +0200 | |
55 | ||
cb96de1c WB |
56 | rust-proxmox-api-macro (0.5.1-1) stable; urgency=medium |
57 | ||
58 | * allow external `returns` specification on methods, refereincing a | |
59 | `ReturnType`. | |
60 | ||
61 | -- Proxmox Support Team <support@proxmox.com> Mon, 30 Aug 2021 10:44:21 +0200 | |
62 | ||
0f2caafc WB |
63 | rust-proxmox-api-macro (0.5.0-1) stable; urgency=medium |
64 | ||
65 | * for non structs without Updater types and methods, `type: Foo` can now be | |
66 | omitted for api types | |
67 | ||
68 | * Adapt to the changes to Updatable in the proxmox crate | |
69 | ||
70 | * Updaters have no try_build_from or update_from method anymore for now | |
71 | ||
72 | * #[api] types automatically implement the new ApiType trait | |
73 | ||
74 | -- Proxmox Support Team <support@proxmox.com> Tue, 24 Aug 2021 15:22:05 +0200 | |
75 | ||
c75e7060 TL |
76 | rust-proxmox-api-macro (0.4.0-1) stable; urgency=medium |
77 | ||
78 | * update proxmox to 0.12.0 | |
79 | ||
80 | -- Proxmox Support Team <support@proxmox.com> Tue, 20 Jul 2021 17:09:40 +0200 | |
81 | ||
6729d411 WB |
82 | rust-proxmox-api-macro (0.3.4-1) unstable; urgency=medium |
83 | ||
84 | * fix path in generated Updatable derive entry to not require explicit | |
85 | imports of the trait | |
86 | ||
87 | -- Proxmox Support Team <support@proxmox.com> Wed, 14 Apr 2021 11:59:04 +0200 | |
88 | ||
1f6a2a66 WB |
89 | rust-proxmox-api-macro (0.3.3-1) unstable; urgency=medium |
90 | ||
91 | * updater: take serde renames into account | |
92 | ||
93 | -- Proxmox Support Team <support@proxmox.com> Wed, 24 Feb 2021 09:36:24 +0100 | |
94 | ||
4e375ba9 WB |
95 | rust-proxmox-api-macro (0.3.2-1) unstable; urgency=medium |
96 | ||
97 | * added Updater derive macros | |
98 | ||
99 | -- Proxmox Support Team <support@proxmox.com> Wed, 10 Feb 2021 10:09:13 +0100 | |
100 | ||
586d9494 FG |
101 | rust-proxmox-api-macro (0.3.1-1) unstable; urgency=medium |
102 | ||
103 | * adapt to ParameterSchema move from router:: to schema:: | |
104 | ||
105 | -- Proxmox Support Team <support@proxmox.com> Thu, 14 Jan 2021 15:38:42 +0100 | |
106 | ||
04417d1d | 107 | rust-proxmox-api-macro (0.3.0-1) unstable; urgency=medium |
bc0355e5 WB |
108 | |
109 | * removed `pub const API_RETURN_SCHEMA_*` generation | |
110 | This could already be accessed via the public `API_METHOD_FOO.returns`. | |
111 | ||
112 | * Note that a previous `schema: API_RETURN_SCHEMA_FOO` must now dereference | |
113 | the schema via: `schema: *API_METHOD_FOO.returns.schema`. | |
114 | ||
115 | -- Proxmox Support Team <support@proxmox.com> Fri, 11 Dec 2020 14:56:02 +0100 | |
116 | ||
8cc4c167 WB |
117 | rust-proxmox-api-macro (0.2.4-1) unstable; urgency=medium |
118 | ||
119 | * support raw parameter name identifiers (eg. `r#type`) | |
120 | ||
121 | * correctly produce errors when using a `description` with external | |
122 | schema/type references, as those descriptions will never be used. This | |
123 | distinguishes between explicitly set descriptions and doc comments. The | |
124 | latter is still allowed since forbidding those doesn't make any sense as | |
125 | they're part of the crate documentation. | |
126 | ||
127 | * Change a lot of errors to not be "fatal", so they still generate code, to | |
128 | avoid getting additional errors about the method & variable names not | |
129 | existing. This should generally improve error output a lot for the cases | |
130 | where this can actually be done. | |
131 | ||
132 | -- Proxmox Support Team <support@proxmox.com> Wed, 09 Dec 2020 10:40:30 +0100 | |
133 | ||
0c816fe3 TL |
134 | rust-proxmox-api-macro (0.2.3-1) unstable; urgency=medium |
135 | ||
136 | * api macro: reuse generated default const for "unwrap_or" instead of adding | |
137 | a closure which returned the default value inline. This allows one to | |
138 | define optional params with a default as non-option type in a API handler | |
139 | signature without getting a warning that the const generated for that | |
140 | default is now unused. | |
141 | ||
142 | -- Proxmox Support Team <support@proxmox.com> Sat, 31 Oct 2020 08:38:18 +0100 | |
143 | ||
2702a2a7 DM |
144 | rust-proxmox-api-macro (0.2.2-1) unstable; urgency=medium |
145 | ||
146 | * api-macro: replace ident hashmap with simple find | |
147 | ||
148 | -- Proxmox Support Team <support@proxmox.com> Sat, 19 Sep 2020 06:29:31 +0200 | |
149 | ||
2fb7f4a3 DM |
150 | rust-proxmox-api-macro (0.2.1-1) unstable; urgency=medium |
151 | ||
152 | * api-macro: relax Fieldname rules | |
153 | ||
154 | * api-macro: fix broken binary ident search | |
155 | ||
156 | -- Proxmox Support Team <support@proxmox.com> Thu, 17 Sep 2020 08:25:55 +0200 | |
157 | ||
2904b622 WB |
158 | rust-proxmox-api-macro (0.2.0-1) proxmox-rust; urgency=medium |
159 | ||
160 | * All api-macro generated schema declarations are now values instead of | |
161 | references, usage of them always adds the '&' instead of "sometimes", for | |
162 | consistency. This allows referencing generated schemas (eg. | |
163 | API_RETURN_SCHEMA_FOO) via the `schema:` key inside objects. | |
164 | ||
165 | -- Proxmox Support Team <support@proxmox.com> Fri, 10 Jul 2020 10:50:38 +0200 | |
166 | ||
fa25b17c WB |
167 | rust-proxmox-api-macro (0.1.9-1) proxmox-rust; urgency=medium |
168 | ||
169 | * remove some unnecessary parentheses to silence warnings in newer rustc | |
170 | ||
171 | -- Proxmox Support Team <support@proxmox.com> Mon, 18 May 2020 09:16:00 +0200 | |
172 | ||
c329cedb WB |
173 | rust-proxmox-api-macro (0.1.8-1) proxmox-rust; urgency=medium |
174 | ||
175 | * add descriptions to enum variants | |
176 | ||
177 | -- Proxmox Support Team <support@proxmox.com> Wed, 29 Apr 2020 10:45:50 +0200 | |
178 | ||
95403224 WB |
179 | rust-proxmox-api-macro (0.1.7-1) proxmox-rust; urgency=medium |
180 | ||
181 | * replace failure with anyhow crate | |
182 | ||
183 | * fix error message suggestiong 'permissions' instead of 'permission' | |
184 | ||
185 | -- Proxmox Support Team <support@proxmox.com> Fri, 17 Apr 2020 18:36:03 +0200 | |
186 | ||
b07d5925 DM |
187 | rust-proxmox-api-macro (0.1.6-1) proxmox-rust; urgency=medium |
188 | ||
189 | * support reload_timezone option for methods | |
190 | ||
191 | * support 'access' specification for methods | |
192 | ||
193 | * error on unexpected keys | |
194 | ||
195 | * cleanups, more tests | |
196 | ||
197 | -- Proxmox Support Team <support@proxmox.com> Thu, 16 Apr 2020 08:29:31 +0200 | |
198 | ||
2065bcb1 WB |
199 | rust-proxmox-api-macro (0.1.5-1) proxmox-rust; urgency=medium |
200 | ||
201 | * include default min/max for integer types | |
202 | ||
203 | -- Proxmox Support Team <support@proxmox.com> Thu, 19 Mar 2020 09:55:25 +0100 | |
204 | ||
d7be7df8 WB |
205 | rust-proxmox-api-macro (0.1.4-1) proxmox-rust; urgency=medium |
206 | ||
207 | * make parameter and return schema of api methods public | |
208 | ||
209 | -- Proxmox Support Team <support@proxmox.com> Thu, 27 Feb 2020 13:09:40 +0100 | |
210 | ||
db741bfb WB |
211 | rust-proxmox-api-macro (0.1.3-1) proxmox-rust; urgency=medium |
212 | ||
213 | * expose parameter and return schema of api methods as | |
214 | - API_RETURN_SCHEMA_<method-name> | |
215 | - API_PARAMETER_SCHEMA_<method-name> | |
216 | ||
217 | -- Proxmox Support Team <support@proxmox.com> Thu, 30 Jan 2020 12:32:37 +0100 | |
218 | ||
a5373a96 WB |
219 | rust-proxmox-api-macro (0.1.2-1) proxmox-rust; urgency=medium |
220 | ||
221 | * fix a case were object properties weren't sorted | |
222 | ||
223 | -- Proxmox Support Team <support@proxmox.com> Thu, 23 Jan 2020 13:16:30 +0100 | |
224 | ||
a94de245 FG |
225 | rust-proxmox-api-macro (0.1.1-1) proxmox-rust; urgency=medium |
226 | ||
227 | * switch packaging to debcargo with local crate support | |
228 | ||
229 | -- Proxmox Support Team <support@proxmox.com> Mon, 13 Jan 2020 10:41:01 +0100 | |
230 | ||
66d9d43c WB |
231 | rust-proxmox-api-macro (0.1.1) proxmox-rust; urgency=medium |
232 | ||
233 | * cover all the basic struct support in the #[api] macro | |
234 | ||
235 | * support #[serde(rename_all)] on enums and structs | |
236 | ||
237 | -- Proxmox Support Team <support@proxmox.com> Wed, 08 Jan 2020 11:03:31 +0100 | |
238 | ||
8840877c FG |
239 | rust-proxmox-api-macro (0.1.0) proxmox-rust; urgency=medium |
240 | ||
241 | * Initial packaging. | |
242 | ||
243 | -- Proxmox Support Team <support@proxmox.com> Tue, 17 Dec 2019 14:47:44 +0100 |