Commit a466c5d
committed
docs: extend attributeCollection invariant to Adobe CF 2023 and 2025
Reviewer A round 1 on #2755 caught a real correctness gap: develop's
`Global.cfc::$header()` comment explicitly says "Adobe CF 2023+ rejects
the raw arguments scope" — the `+` is load-bearing — and #2750 patched
all 13 wrappers precisely because the restriction extends past 2023.
The docs as previously written named only "Adobe CF 2023", giving a
developer reading invariant #10 no signal to guard their code on
Adobe CF 2025.
Updates:
- CLAUDE.md invariant #10: "Adobe CF 2023" → "Adobe CF 2023 and 2025"
throughout (opener, throw clause, "require the plain struct" clause).
- .ai/wheels/cross-engine-compatibility.md: section heading is
"(Adobe CF 2023/2025)"; intro and Why paragraph name both engines;
WRONG block comment says "crashes Adobe CF 2023 and 2025".
- RIGHT example in the .ai/ doc now mirrors the WRONG block by showing
both invocation forms working once `local.args` is a plain struct
(cfheader interpolated form + cfimage direct form), with a brief
comment explaining why both are safe at that point — addresses
Reviewer A's non-blocking nit that the original RIGHT example showed
only the string-interpolated form while $image() uses the direct form.
Engine matrix is unchanged otherwise: Lucee 6/7 + BoxLang +
Adobe 2018/2021 still accept; Adobe 2023/2025 reject.
Signed-off-by: Peter Amiri <peter@alurium.com>1 parent 3691aa1 commit a466c5d
2 files changed
Lines changed: 9 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
233 | 233 | | |
234 | 234 | | |
235 | 235 | | |
236 | | - | |
| 236 | + | |
237 | 237 | | |
238 | | - | |
| 238 | + | |
239 | 239 | | |
240 | 240 | | |
241 | | - | |
| 241 | + | |
242 | 242 | | |
243 | 243 | | |
244 | 244 | | |
245 | | - | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
246 | 248 | | |
247 | 249 | | |
248 | 250 | | |
249 | 251 | | |
250 | 252 | | |
| 253 | + | |
251 | 254 | | |
252 | 255 | | |
253 | | - | |
| 256 | + | |
254 | 257 | | |
255 | 258 | | |
256 | 259 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
49 | | - | |
| 49 | + | |
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
| |||
0 commit comments