payload-plugin-newsletter 0.13.0 → 0.13.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 +25 -0
- package/CLAUDE.md +1 -1
- package/dist/components.cjs +3 -3
- package/dist/components.cjs.map +1 -1
- package/dist/components.js +3 -3
- package/dist/components.js.map +1 -1
- package/dist/index.cjs +65 -22
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +65 -22
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,28 @@
|
|
|
1
|
+
## [0.13.2] - 2025-07-21
|
|
2
|
+
|
|
3
|
+
### Fixed
|
|
4
|
+
- Fixed `useAsTitle` configuration error in Broadcasts collection
|
|
5
|
+
- Moved `subject` field to top level as Payload v3 doesn't support nested field references in `useAsTitle`
|
|
6
|
+
- Updated all component references from `contentSection.subject` to `subject`
|
|
7
|
+
- Maintained split-screen layout with subject field appearing above the content sections
|
|
8
|
+
|
|
9
|
+
### Breaking Changes
|
|
10
|
+
- The `subject` field location has changed in the data structure:
|
|
11
|
+
- Old: `broadcast.contentSection.subject`
|
|
12
|
+
- New: `broadcast.subject`
|
|
13
|
+
- If you have existing broadcasts, you may need to migrate the subject field data
|
|
14
|
+
|
|
15
|
+
## [0.13.1] - 2025-07-21
|
|
16
|
+
|
|
17
|
+
### Fixed
|
|
18
|
+
- Fixed Broadcast API subscriber update method to match API documentation
|
|
19
|
+
- Added comprehensive debug logging for email service initialization and subscriber sync
|
|
20
|
+
- Improved error handling in subscriber hooks to surface sync issues
|
|
21
|
+
|
|
22
|
+
### Added
|
|
23
|
+
- Debug logging for troubleshooting subscriber sync with email providers
|
|
24
|
+
- Better error messages when email service configuration fails
|
|
25
|
+
|
|
1
26
|
## [0.13.0] - 2025-07-21
|
|
2
27
|
|
|
3
28
|
### Changed
|
package/CLAUDE.md
CHANGED
|
@@ -72,7 +72,7 @@ Use these resources for understanding patterns and best practices:
|
|
|
72
72
|
|
|
73
73
|
1. **Plugin Documentation**:
|
|
74
74
|
- Check `docs/` directory for comprehensive plugin documentation
|
|
75
|
-
- `docs/references/broadcast-docs
|
|
75
|
+
- `docs/references/broadcast-api-docs.md` - Complete Broadcast API reference (sendbroadcast.net)
|
|
76
76
|
- `docs/guides/email-providers.md` - Email provider setup and comparison
|
|
77
77
|
- `docs/development/context7-setup.md` - How to set up context7 MCP for current docs
|
|
78
78
|
- `docs/architecture/` - Plugin architecture and design decisions
|
package/dist/components.cjs
CHANGED
|
@@ -1447,7 +1447,7 @@ var EmailPreviewField = () => {
|
|
|
1447
1447
|
const [validationSummary, setValidationSummary] = (0, import_react6.useState)("");
|
|
1448
1448
|
const fields = (0, import_ui.useFormFields)(([fields2]) => ({
|
|
1449
1449
|
content: fields2["contentSection.content"],
|
|
1450
|
-
subject: fields2["
|
|
1450
|
+
subject: fields2["subject"],
|
|
1451
1451
|
preheader: fields2["contentSection.preheader"],
|
|
1452
1452
|
channel: fields2.channel
|
|
1453
1453
|
}));
|
|
@@ -1588,7 +1588,7 @@ var BroadcastEditor = (props) => {
|
|
|
1588
1588
|
const [isValid, setIsValid] = (0, import_react7.useState)(true);
|
|
1589
1589
|
const [validationSummary, setValidationSummary] = (0, import_react7.useState)("");
|
|
1590
1590
|
const fields = (0, import_ui2.useFormFields)(([fields2]) => ({
|
|
1591
|
-
subject: fields2["
|
|
1591
|
+
subject: fields2["subject"],
|
|
1592
1592
|
preheader: fields2["contentSection.preheader"]
|
|
1593
1593
|
}));
|
|
1594
1594
|
const handleValidation = (0, import_react7.useCallback)((result) => {
|
|
@@ -2031,7 +2031,7 @@ var BroadcastInlinePreview = () => {
|
|
|
2031
2031
|
const [previewData, setPreviewData] = (0, import_react9.useState)(null);
|
|
2032
2032
|
const [error, setError] = (0, import_react9.useState)(null);
|
|
2033
2033
|
const fields = (0, import_ui3.useFormFields)(([fields2]) => ({
|
|
2034
|
-
subject: fields2["
|
|
2034
|
+
subject: fields2["subject"]?.value,
|
|
2035
2035
|
preheader: fields2["contentSection.preheader"]?.value,
|
|
2036
2036
|
content: fields2["contentSection.content"]?.value
|
|
2037
2037
|
}));
|