payload-plugin-newsletter 0.22.0 → 0.24.0
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 +21 -0
- package/dist/client.d.ts +1 -0
- package/dist/collections.cjs +11 -0
- package/dist/collections.cjs.map +1 -1
- package/dist/collections.js +11 -0
- package/dist/collections.js.map +1 -1
- package/dist/server.d.ts +1 -0
- package/dist/server.js +129 -0
- package/dist/types.d.cts +1 -0
- package/dist/types.d.ts +1 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,24 @@
|
|
|
1
|
+
## [0.24.0] - 2025-08-08
|
|
2
|
+
|
|
3
|
+
### Added
|
|
4
|
+
- **Skip welcome email for webhook imports**: Added `importedFromProvider` field to subscribers
|
|
5
|
+
- Set to `true` for all subscribers created via webhook events
|
|
6
|
+
- Allows projects to skip welcome emails for bulk imports from Broadcast
|
|
7
|
+
- Field is read-only in admin UI to prevent accidental changes
|
|
8
|
+
|
|
9
|
+
## [0.23.0] - 2025-08-07
|
|
10
|
+
|
|
11
|
+
### Added
|
|
12
|
+
- **Complete webhook sync for Broadcast subscribers**: Added support for three new webhook events
|
|
13
|
+
- `subscriber.created`: Syncs new subscribers created in Broadcast interface to Payload
|
|
14
|
+
- `subscriber.updated`: Syncs subscriber updates from Broadcast to Payload
|
|
15
|
+
- `subscriber.deleted`: Removes subscribers from Payload when deleted in Broadcast
|
|
16
|
+
- **Bidirectional sync**: Now provides complete two-way synchronization between Broadcast and Payload
|
|
17
|
+
|
|
18
|
+
### Changed
|
|
19
|
+
- Enhanced webhook event handling to support all subscriber lifecycle events
|
|
20
|
+
- Improved logging for better webhook debugging
|
|
21
|
+
|
|
1
22
|
## [0.22.0] - 2025-08-07
|
|
2
23
|
|
|
3
24
|
### Changed
|
package/dist/client.d.ts
CHANGED
package/dist/collections.cjs
CHANGED
|
@@ -2967,6 +2967,17 @@ var createSubscribersCollection = (pluginConfig) => {
|
|
|
2967
2967
|
admin: {
|
|
2968
2968
|
description: "Where the subscriber signed up from"
|
|
2969
2969
|
}
|
|
2970
|
+
},
|
|
2971
|
+
// Import tracking
|
|
2972
|
+
{
|
|
2973
|
+
name: "importedFromProvider",
|
|
2974
|
+
type: "checkbox",
|
|
2975
|
+
defaultValue: false,
|
|
2976
|
+
admin: {
|
|
2977
|
+
description: "Indicates this subscriber was imported from an external provider via webhook",
|
|
2978
|
+
position: "sidebar",
|
|
2979
|
+
readOnly: true
|
|
2980
|
+
}
|
|
2970
2981
|
}
|
|
2971
2982
|
];
|
|
2972
2983
|
if (pluginConfig.features?.utmTracking?.enabled) {
|