payload-plugin-newsletter 0.17.0 → 0.17.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/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,11 @@
|
|
|
1
|
+
## [0.17.1] - 2025-07-29
|
|
2
|
+
|
|
3
|
+
### Fixed
|
|
4
|
+
- **Email Preview Endpoint Path** - Fixed incorrect path for broadcast preview endpoint
|
|
5
|
+
- Removed extra `/api` prefix from preview endpoint path
|
|
6
|
+
- Preview endpoint now correctly registers at `/{collectionSlug}/preview`
|
|
7
|
+
- Fixes 404 error when accessing email preview from the admin UI
|
|
8
|
+
|
|
1
9
|
## [0.17.0] - 2025-07-29
|
|
2
10
|
|
|
3
11
|
### Added
|
package/dist/index.cjs
CHANGED
|
@@ -3532,7 +3532,7 @@ var createTestBroadcastEndpoint = (config, collectionSlug) => {
|
|
|
3532
3532
|
// src/endpoints/broadcasts/preview.ts
|
|
3533
3533
|
var createBroadcastPreviewEndpoint = (config, collectionSlug) => {
|
|
3534
3534
|
return {
|
|
3535
|
-
path:
|
|
3535
|
+
path: `/${collectionSlug}/preview`,
|
|
3536
3536
|
method: "post",
|
|
3537
3537
|
handler: async (req) => {
|
|
3538
3538
|
try {
|