Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

支持 range 接口查询版本 #134

Closed
1 task
fengmk2 opened this issue Jan 30, 2022 · 4 comments · Fixed by #495
Closed
1 task

支持 range 接口查询版本 #134

fengmk2 opened this issue Jan 30, 2022 · 4 comments · Fixed by #495
Assignees
Labels
bug Something isn't working enhancement New feature or request no-issue-activity

Comments

@fengmk2
Copy link
Member

fengmk2 commented Jan 30, 2022

  • 对外需要跟 npm registry 沟通,看看是否可以提供新的接口,走分页。
  • 对内,查询 db 走分页

image

Todos

  • 支持 semver range 查询
@fengmk2 fengmk2 added bug Something isn't working enhancement New feature or request labels Jan 30, 2022
@fengmk2 fengmk2 added this to the v1.0.0 milestone Jan 30, 2022
@fengmk2 fengmk2 self-assigned this Jan 30, 2022
@fengmk2
Copy link
Member Author

fengmk2 commented Jan 30, 2022

需要去 npm 提交一个 rfc https://github.com/npm/rfcs

@github-actions
Copy link

Stale issue message

@fengmk2
Copy link
Member Author

fengmk2 commented Apr 1, 2022

keep it

@fengmk2
Copy link
Member Author

fengmk2 commented May 23, 2023

#452 (comment) 支持 semver range 查询可以解决这个问题。
@killagu 的 SQL 算法优化。

@fengmk2 fengmk2 changed the title 一次性查询所有版本性能有问题 支持 range 接口查询版本 May 30, 2023
@fengmk2 fengmk2 removed this from the v1.x milestone May 30, 2023
@fengmk2 fengmk2 linked a pull request Jun 6, 2023 that will close this issue
@fengmk2 fengmk2 reopened this Dec 27, 2023
@fengmk2 fengmk2 closed this as completed Jun 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request no-issue-activity
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants