Skip to content

feat: changelog - formatted links, more git providers & copy markdown#2983

Draft
WilcoSp wants to merge 274 commits into
npmx-dev:mainfrom
WilcoSp:changelog/format-link+git-providers+copy-markdown
Draft

feat: changelog - formatted links, more git providers & copy markdown#2983
WilcoSp wants to merge 274 commits into
npmx-dev:mainfrom
WilcoSp:changelog/format-link+git-providers+copy-markdown

Conversation

@WilcoSp

@WilcoSp WilcoSp commented Jul 1, 2026

Copy link
Copy Markdown
Contributor

preview

🔗 Linked issue

🧭 Context

  • Adding support for more git providers
  • Adding formatting for issues, pr/mr, commits, accounts and compare from plaintext to formatted link and unformatted link to a formatted link
  • adds button to copy the markdown from

📚 Description

  • Before only github was supported, in this pr also other git providers will be added and are included with the other 2 additions
    added providers:
    • Codeberg & Forgejo
    • Gitlab
    • tangled (does current have both issue & pr as #, will in the future change due to tangled not having shorthands yet)
      (the following aren't required for this pr, just nice to have and are here if review takes long)
    • bitbucket
    • Gitea
    • Radicle
    • Sourcehut
    • Gitee

Adding support to format links to the git providers:

  • convert unformatted links for issues, pr/mr, commit & compare to a formatted link
  • convert plaintext issues, pr/mr, account & commit to formatted links to the git providers

Added button to allow copying the raw markdown

  • copy from release
  • copy from changelog.md

I did only use AI for some of the regular expressions

this pr continued from #2717 which continued from the pr before, that's why there are so many commits

WilcoSp and others added 30 commits February 20, 2026 22:31
…gelog info endpoint will return ChangelogMarkdownInfo instead of ChangelogReleaseInfo
…ded to changelog markdown rendering

added scroll margin to the changes page
now showing the date as of when the release was made
fixed icon for changelog button at package page
changed the view_on_npm to view_on with {site}
added cache keys to the markdown & releases endpoints
@vercel

vercel Bot commented Jul 1, 2026

Copy link
Copy Markdown
Contributor

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
npmx.dev Ready Ready Preview, Comment Jul 3, 2026 8:25pm
2 Skipped Deployments
Project Deployment Actions Updated (UTC)
docs.npmx.dev Ignored Ignored Preview Jul 3, 2026 8:25pm
npmx-lunaria Ignored Ignored Jul 3, 2026 8:25pm

Request Review

@coderabbitai

coderabbitai Bot commented Jul 1, 2026

Copy link
Copy Markdown
Contributor

Important

Review skipped

Draft detected.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: 244a360f-fcdd-4abd-a46a-74dcd8f6f144

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@github-actions

github-actions Bot commented Jul 1, 2026

Copy link
Copy Markdown

Lunaria Status Overview

🌕 This pull request will trigger status changes.

Learn more

By default, every PR changing files present in the Lunaria configuration's files property will be considered and trigger status changes accordingly.

You can change this by adding one of the keywords present in the ignoreKeywords property in your Lunaria configuration file in the PR's title (ignoring all files) or by including a tracker directive in the merged commit's description.

Tracked Files

File Note
i18n/locales/nl.json Localization changed, will be marked as complete.
Warnings reference
Icon Description
🔄️ The source for this localization has been updated since the creation of this pull request, make sure all changes in the source have been applied.

@codecov

codecov Bot commented Jul 1, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 68.08511% with 15 lines in your changes missing coverage. Please review.
✅ All tests successful. No failed tests found.

Files with missing lines Patch % Lines
server/utils/changelog/markdown.ts 76.47% 5 Missing and 3 partials ⚠️
server/utils/changelog/mdRepoInfo.ts 25.00% 6 Missing ⚠️
server/utils/mdKit.ts 80.00% 0 Missing and 1 partial ⚠️

📢 Thoughts on this report? Let us know!

@WilcoSp WilcoSp mentioned this pull request Jul 2, 2026
15 tasks
@ghostdevv

Copy link
Copy Markdown
Member

If there's an easy way to split this PR up don't forget to 😄

@WilcoSp

WilcoSp commented Jul 6, 2026

Copy link
Copy Markdown
Contributor Author

I already had planned that support for bitbucket to gitee to be optional for this pr, it's more here in case review takes long.

the copy markdown button I do want to implement in this pr because it does need some of the code in this pr and I want this pr to be the last that continues from the previous pr branch instead of main.

other features I had planned at #501 for this pr (buttons at version menu & timeline) will be their own PRs as they don't depend on this pr.
also unrelated fixes I also don't plan to have in this pr.

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