@elitedcs/ghl-mcp 3.72.1 → 3.72.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,32 @@
1
1
  # Changelog
2
2
 
3
+ ## 3.72.2 — a form you read back can be saved again
4
+
5
+ A subscriber tried to edit one of her forms the documented way: read it with
6
+ `get_form_full`, change one thing, hand it back to `update_form`. It was refused. She
7
+ tried again from an exact copy of the payload. Refused again. Then she found it herself,
8
+ stripped one key by hand, and the identical edit saved first time.
9
+
10
+ She was right. GoHighLevel's form builder writes every custom field with the field's id
11
+ under two spellings, `Id` and `id`, holding the same value. On her form 42 of 58 fields
12
+ carried the pair; standard fields like name and email never do. Sitting in GoHighLevel it
13
+ is harmless. The trouble starts on the way back out, because editing a form means
14
+ repeating the whole document, and a document that says the same id twice per field, once
15
+ capitalised and once not, is asking to be repeated wrongly.
16
+
17
+ **`get_form_full` now returns one of them, and `update_form` accepts either.** A key is
18
+ dropped only when another key beside it means the same thing in a different case and
19
+ holds exactly the same value, so nothing is lost: the value is still there under the
20
+ name that survives. Where two such keys hold *different* values, both are kept, because
21
+ that is real information and picking one would be a guess. Forms built by the intake
22
+ installer are unaffected; they save by a different route and were never part of this.
23
+
24
+ If you have been working around this by hand, you can stop. Proven before release
25
+ against a real form on a live account: saved with both spellings, saved again with one,
26
+ edit kept, every custom field intact.
27
+
28
+ Counts unchanged: 247 tools, 51 modules, free tier 111.
29
+
3
30
  ## 3.72.1 — a client's work stops shipping in the package
4
31
 
5
32
  An audit of the published 3.72.0 tarball found somebody else's proprietary material