Skip to content

docs: add ADR for app API compatibility manifest field - #307

Closed
arbrandes wants to merge 1 commit into
openedx:mainfrom
arbrandes:arbrandes/adr-app-api-compatibility
Closed

docs: add ADR for app API compatibility manifest field#307
arbrandes wants to merge 1 commit into
openedx:mainfrom
arbrandes:arbrandes/adr-app-api-compatibility

Conversation

@arbrandes

@arbrandes arbrandes commented Aug 30, 2026

Copy link
Copy Markdown
Contributor

Description

Proposes moving the app-to-frontend-base compatibility assertion out of npm's peer dependency resolver and into an openedx.apiVersion manifest field that the CLI validates at build time. Today a single app whose peer range excludes the current frontend-base major makes npm install fail for every site that includes it, because one version number governs both the site-facing surface and the API apps import.

Under the proposal, apps loosen their peer range to a lower bound and declare the API version they target separately, so frontend-base can cut a major without waiting on the whole ecosystem to republish. The ADR also records what a frontend-base major means afterwards, and lists the alternatives considered, including a separate API package.

Relates to #308.

LLM usage notice

Built with assistance from Claude.

Records the decision to assert app-to-frontend-base compatibility through an
openedx.apiVersion manifest field validated by the CLI, rather than through npm
peer dependency ranges, so that a single stale app no longer blocks every site
from installing.

Co-Authored-By: Claude <noreply@anthropic.com>
@arbrandes

Copy link
Copy Markdown
Contributor Author

#308 was closed as a non-issue.

@arbrandes arbrandes closed this Aug 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant