Skip to content

Update registry-lib to accept 500-character descriptions - #1433

Open
thomashoneyman wants to merge 1 commit into
masterfrom
fix/registry-description-limit
Open

thomashoneyman wants to merge 1 commit into
masterfrom
fix/registry-description-limit

Conversation

@thomashoneyman

@thomashoneyman thomashoneyman commented Oct 23, 2026 •

Copy link
Copy Markdown
Member

I went to upgrade Try PureScript to use spago only, but it refers to harmonia, and Spago chokes on that package because an entry in its registry index uses a 432-character description and that exceeds the 300-character limit in Spago’s bundled registry-lib. Spago reads all versions before selecting the requested one, so this also affects 0.2.0, even though in the used package version the description is only 286 characters.

The registry now permits descriptions up to 500 characters via purescript/registry-dev#775. We need to bump Spago’s registry-lib dependency to pick up that change. This change updates registry-lib and adapts the description and job-query APIs. It also adds the SPDX license IDs dependency now imported by the library.

The updated library no longer exports loadAndSolve, so Spago now loads the reachable dependency manifests before calling solve.

@thomashoneyman
thomashoneyman requested a review from f-f October 23, 2026 19:35
@thomashoneyman

Copy link
Copy Markdown
Member Author

(After this, it'd be nice to release spago@1.0.6)

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