Skip to content

v0.1.1

Choose a tag to compare

@lmdanavanem lmdanavanem released this 18 Jun 17:41
· 22 commits to main since this release
Immutable release. Only release title and notes can be modified.

Patch release fixing endpoint routing and SSR.

Fixed

  • Moved the public endpoints from /comments/* to /comments-api/* so they no longer collide with the comments collection's REST namespace in Payload 3.x (previously GET /comments/tree hit the collection /:id handler and POST /comments/submit returned 404). Component fetch URLs and the REST API docs were updated to match.
  • Guarded the browser fingerprint on window so the component no longer crashes during server-side rendering on runtimes that define a global navigator.

Full changelog: https://github.com/navanem/navanem_payload_comments/blob/main/CHANGELOG.md