changelog - check whether releases are relevant
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 48/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- github, nuxt, typescript
Hướng nghiên cứu
Start by tracing how package changelog currently selects and serves releases, then locate the latest release request and its version date. The issue proposes checking GitHub’s latest commit for changelog.md after a release is at least two weeks old, comparing dates, and serving the file when it is newer. Done means relevant changelog content is returned in that case; the issue does not name files or tests, so first identify the existing request path and its coverage.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Describe the feature
Currently package changelog only checks whether releases are being used by a repo. not whether they're still relevant.
my current concept to fix this is as followed:
- when requesting the latest release, check the publish date against the package request version release date
- if the release is at least 2 weeks old, check changelog.md
- if changelog.md is newer (only by date, not time) serve the changelog.md instead.
currently the package I know that switched from releases to changelog.md is vue3-codemirror
What I've currently researched:
- for github you'll need to get the latest commit of a file and then either check last-modified header or
commit.commiter.datefield, the file api does also have the header but isn't accurate and doesn't have and anlastEditedfieldhttps://api.github.com/repos/{owner}/{repo}/commits?path={path_to_file}&page=1&per_page=1- example: https://api.github.com/repos/npmx-dev/npmx.dev/commits?path=README.md&page=1&per_page=1
- docs: https://docs.github.com/en/rest/commits/commits?apiVersion=2026-03-10#list-commits
Additional information
- Would you be willing to help implement this feature?
Final checks
- Read the contribution guide.
- Check existing issues.
- Ngôn ngữ chính
- TypeScript
- Star
- 3.6k
- Fork
- 533
- Merge trung bình
- 4 ngày 1 giờ
- Pull request đã merge (30 ngày)
- 39
Chuẩn bị môi trường
Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của npmx-dev/npmx.dev
-
feat: add option to reset all settings to defaultsCó thể đã có người làm Có pull request liên kết đang mở hoặc đã được merge. Đang mởpending triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
Maintainer thường phản hồi trong vòng 1 ngày
-
a11y front
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 67/100
npmx-dev/npmx.dev#2914 · 3 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
front i18n
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 64/100
npmx-dev/npmx.dev#2831 · 1 reaction ·
Maintainer thường phản hồi trong vòng 1 ngày
-
back stale stale-to-close
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
npmx-dev/npmx.dev#2511 · 4 bình luận · 1 reaction ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của npmx-dev/npmx.dev
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
awesome-dsh-plugin/awesome-dsh-plugin#9184 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
farion1231/cc-switch#8829 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[core-client] Remove unused hand-maintained transport helpers after the definition-table cutoverĐang mởdoc-audit enhancement
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100