File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11{
22 "name" : " canvas-apps" ,
3- "version" : " 1.0.6 " ,
3+ "version" : " 1.0.7 " ,
44 "description" : " Build Power Apps Canvas Apps using the Canvas Authoring MCP server." ,
55 "author" : {
66 "name" : " Microsoft" ,
Original file line number Diff line number Diff line change @@ -213,4 +213,26 @@ another at runtime.
213213**Fix:** Remove the `Width` property. PA computes it from `FillPortions`
214214against the parent's available space.
215215
216- ---
216+ ---
217+
218+ # # Check 9 — CONTROL-VERSION-SUFFIX (`Control:` value contains `@version`)
219+
220+ **Problem:** Power Apps YAML sometimes emits control type names with a version
221+ suffix, e.g. `Control : Text@2.0.0` or `Control: Button@1.1`. The versioned form
222+ is not valid in hand-authored `.pa.yaml` files and causes compilation errors or
223+ unexpected behaviour when the targeted runtime differs.
224+
225+ **Detect:** For every `Control:` property in the YAML, check whether the value
226+ contains an `@` character (e.g. `Control : Text@2.0.0`).
227+
228+ **Fix:** Strip the `@…` suffix and keep only the bare control name:
229+
230+ ` ` ` yaml
231+ # Before:
232+ Control: Text@2.0.0
233+ # After:
234+ Control: Text
235+ ` ` `
236+
237+ **Exception:** None. Control type names must never carry a version suffix in
238+ ` .pa.yaml` source files.
You can’t perform that action at this time.
0 commit comments