Skip to content

P4 — API & routes: contributes.routes (D25–D28)#108

Merged
aqib-rx merged 10 commits into
feat/plugin-platformfrom
feat/plugin-p4-api-routes
Jun 18, 2026
Merged

P4 — API & routes: contributes.routes (D25–D28)#108
aqib-rx merged 10 commits into
feat/plugin-platformfrom
feat/plugin-p4-api-routes

Conversation

@aqib-rx

@aqib-rx aqib-rx commented Jun 18, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • contributes.routes — plugin HTTP endpoints namespaced under /api/plugins/<name> (D25), handlers receive (req, ctx) (D26).
  • Secure-by-default: auth + RBAC via requiredPermission, public: true opt-out; inherits CORS/rate-limit/headers (D28).
  • Typed, ordered route-level middleware chain (D27).
  • @experimental SDK exports; form-builder dogfoods an export route (R4).

Notes

  • T11 (wire the dead collection endpoints field) trimmed + documented as a follow-up.

Test plan

  • Unit: 405 failed / 32 files = exact documented baseline (zero new) + 24 new route tests passing.
  • Integration: same 3 pre-existing/environmental failures; new route auth-matrix + boot tests pass.
  • check-types + build green across nextly, @nextlyhq/plugin-sdk, @nextlyhq/plugin-form-builder; form-builder 18/18.

@github-actions github-actions Bot added scope: core nextly scope: plugin @nextlyhq/plugin-* packages labels Jun 18, 2026
@github-actions

Copy link
Copy Markdown
Contributor

PR title fails Conventional Commits check

No release type found in pull request title "P4 — API & routes: contributes.routes (D25–D28)". Add a prefix to indicate what kind of release this pull request corresponds to. For reference, see https://www.conventionalcommits.org/

Available types:
 - feat
 - fix
 - docs
 - style
 - refactor
 - perf
 - test
 - build
 - ci
 - chore
 - revert

Examples of valid titles:

  • feat(admin): add role manager dialog
  • fix(adapter-postgres): handle connection pool exhaustion
  • chore(deps): bump zod to 4.2.0

@aqib-rx aqib-rx merged commit 37776c6 into feat/plugin-platform Jun 18, 2026
1 of 3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

scope: core nextly scope: plugin @nextlyhq/plugin-* packages

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant