Skip to content

chore: migrate to paper downloads api v3#1671

Merged
0utplay merged 1 commit intonightlyfrom
paper-downloads-api-v3
Jun 30, 2025
Merged

chore: migrate to paper downloads api v3#1671
0utplay merged 1 commit intonightlyfrom
paper-downloads-api-v3

Conversation

@derklaro
Copy link
Member

Motivation

Paper recently released a new version of their downloads api and we should migrate to it.

Modification

Migrate all uses of the current v2 api to the new v3 api. This also uses the newly introduced api endpoint to get the latest version directly, instead of sorting the available build numbers. The download url is now extracted from the api response as well.

Result

The new v3 paper downloads api version is used instead of the v2 version.

@derklaro derklaro added this to the 4.0.0-RC13 milestone Jun 28, 2025
@derklaro derklaro requested a review from 0utplay June 28, 2025 07:33
@derklaro derklaro self-assigned this Jun 28, 2025
@derklaro derklaro added v: 4.X This pull should be included in the 4.0 release in: node An issue/pull request releated to the node module code t: improvement The pull request improves existing code labels Jun 28, 2025
@github-actions
Copy link

Test Results

 56 files  ±0   56 suites  ±0   2m 10s ⏱️ -23s
566 tests ±0  566 ✅ ±0  0 💤 ±0  0 ❌ ±0 
931 runs  ±0  931 ✅ ±0  0 💤 ±0  0 ❌ ±0 

Results for commit c606701. ± Comparison against base commit e4d1f49.

@0utplay 0utplay merged commit a7acbfa into nightly Jun 30, 2025
6 checks passed
@0utplay 0utplay deleted the paper-downloads-api-v3 branch June 30, 2025 17:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

in: node An issue/pull request releated to the node module code t: improvement The pull request improves existing code v: 4.X This pull should be included in the 4.0 release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants