@samva/markup 0.13.0 → 0.13.1
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 +8 -0
- package/generated/reference.md +0 -8
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,11 @@
|
|
|
1
|
+
## @samva/markup@0.13.1
|
|
2
|
+
|
|
3
|
+
### The authoring reference omits channel-only upgrade recipes
|
|
4
|
+
|
|
5
|
+
`generated/reference.md` lists upgrade recipes only for diagnostics that apply to every template,
|
|
6
|
+
matching its diagnostics table and `contract.json`. The `whatsapp-template-name` recipe stays in the
|
|
7
|
+
diagnostic codes, where an agent migrating a WhatsApp template reads it.
|
|
8
|
+
|
|
1
9
|
## @samva/markup@0.13.0
|
|
2
10
|
|
|
3
11
|
### Meta's WhatsApp template name comes from the template's handle
|
package/generated/reference.md
CHANGED
|
@@ -352,14 +352,6 @@ Replace every import from "@samva/markup/email/components" with "@samva/markup/e
|
|
|
352
352
|
|
|
353
353
|
Compile each entry and render every declared fixture to confirm the output is unchanged. Resolve errors before requesting one saved version for the whole project, approved by the user; do not publish.
|
|
354
354
|
|
|
355
|
-
### `whatsapp-template-name`
|
|
356
|
-
|
|
357
|
-
Remove the `name` attribute from every <WhatsApp> element in the project, templates and partials alike. Samva registers each WhatsApp template with Meta under its handle, with hyphens as underscores, so the attribute has no replacement. Change nothing else.
|
|
358
|
-
|
|
359
|
-
If an authored name differs from the name the handle produces and the template is already registered with Meta under it, tell the user: keeping that Meta name means renaming the template's handle, which you do not do yourself.
|
|
360
|
-
|
|
361
|
-
Compile each entry and render every declared fixture to confirm the WhatsApp output is otherwise unchanged. Resolve errors before requesting one saved version for the whole project, approved by the user; do not publish.
|
|
362
|
-
|
|
363
355
|
## Quality bar
|
|
364
356
|
|
|
365
357
|
- Run the check until it reports no errors, then render every fixture.
|