Skip to content

canvasXpress: fix autoupdate target (git:// β†’ https://) - #2198

Closed
neuhausi wants to merge 1 commit into
cdnjs:masterfrom
neuhausi:patch-1
Closed

neuhausi wants to merge 1 commit into
cdnjs:masterfrom
neuhausi:patch-1

Conversation

@neuhausi

@neuhausi neuhausi commented Sep 2, 2026

Copy link
Copy Markdown

The autoupdate.target uses the git:// protocol, which GitHub permanently disabled in 2022. As a result the auto-updater can no longer clone the repo and the library has been frozen at 24.8.1 while upstream is at 67.5. This one-line change switches the target to https://; tags and the fileMap path are already correct, so the updater should backfill the missing versions on the next run.

The autoupdate.target uses the git:// protocol, which GitHub permanently disabled in 2022. As a result the auto-updater can no longer clone the repo and the library has been frozen at 24.8.1 while upstream is at 67.5. This one-line change switches the target to https://; tags and the fileMap path are already correct, so the updater should backfill the missing versions on the next run.
@MattIPv4

MattIPv4 commented Sep 3, 2026

Copy link
Copy Markdown
Member

As I explained in #2189 (comment), we do not use the target directly, we parse it. Your library is being updated on cdnjs just fine... https://cdnjs.com/libraries/canvasXpress/67.0 is the most recent version (from 9 hours ago) we have, and I imagine the bot will pick up newer ones in due course.

@MattIPv4 MattIPv4 closed this Sep 3, 2026
@neuhausi

neuhausi commented Sep 3, 2026

Copy link
Copy Markdown
Author

Please accept my PR.

Here is what I get when I go to https://cdnjs.com/libraries?search=canvasxpress -> It show 24.8.1

Untitled

Also in my GitHub badge:

Untitled

@MattIPv4

MattIPv4 commented Sep 3, 2026

Copy link
Copy Markdown
Member

Your PR will not change anything.

24.8.1 shows as the latest version because when sorted by semver, it is the latest version.

Your recent versions are not 3-part semver, and so sort as older versions.

@neuhausi

neuhausi commented Sep 3, 2026

Copy link
Copy Markdown
Author

Ooops. Thank you

@neuhausi

neuhausi commented Sep 4, 2026

Copy link
Copy Markdown
Author

Thanks for the semver explanation, that makes sense. We've since retagged the recent releases in proper 3-part semver β€” 67.6.0, 67.7.0, and 67.8.0 are now on GitHub (and have been for a few days).

However, cdnjs still hasn't imported any of them β€” the latest version it shows is 67.5.zenodo, and the badge is still resolving to 24.8.1. It also skipped the 67.5 and 67.6 tags from the same batch. So it looks like autoupdate hasn't run (or has stalled) for canvasXpress since 67.5.zenodo.

Could you trigger a manual re-import for the package? Once 67.8.0 lands it should sort correctly as the latest. Thanks!

@neuhausi

neuhausi commented Sep 4, 2026

Copy link
Copy Markdown
Author

Thank you so much. It works now

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.

2 participants