Skip to content

chore: fetch all paper downloads from api#1684

Merged
derklaro merged 1 commit intonightlyfrom
always-use-paper-api
Jul 5, 2025
Merged

chore: fetch all paper downloads from api#1684
derklaro merged 1 commit intonightlyfrom
always-use-paper-api

Conversation

@derklaro
Copy link
Member

@derklaro derklaro commented Jul 4, 2025

Motivation

Currently the download urls of old paper versions are hardcoded in the versions.json file, which shouldn't be done. As the paper api v3 update announcement states: [...] and we advise against doing so, as the format may change.

Modification

Always request the download url for a version from the paper downloads api instead of hardcoding them.

Result

Download urls of old paper versions are resolved from the paper api instead of being hardcoded, as recommended in the update announcement.

@derklaro derklaro added this to the 4.0.0-RC14 milestone Jul 4, 2025
@derklaro derklaro requested a review from 0utplay July 4, 2025 21:13
@derklaro derklaro self-assigned this Jul 4, 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 Jul 4, 2025
@github-actions
Copy link

github-actions bot commented Jul 4, 2025

Test Results

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

Results for commit 981f9fb. ± Comparison against base commit ce44537.

@derklaro derklaro merged commit a358f99 into nightly Jul 5, 2025
6 checks passed
@derklaro derklaro deleted the always-use-paper-api branch July 5, 2025 17:56
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