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

fix: exclude prereleases from latest release api #1026

Merged
merged 3 commits into from
Nov 28, 2024

Conversation

Steffen911
Copy link
Contributor

@Steffen911 Steffen911 commented Nov 28, 2024

Important

Exclude prereleases from getLatestReleases in latest-releases.ts and handle empty arrays with flatMap.

  • Behavior:
    • Modify getLatestReleases in latest-releases.ts to exclude prereleases using find.
    • Return an empty array if no non-prerelease is found.
  • Misc:
    • Change map to flatMap in getLatestReleases to handle empty arrays.

This description was created by Ellipsis for 333c3de. It will automatically update as commits are pushed.

Copy link

vercel bot commented Nov 28, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
langfuse-docs ✅ Ready (Inspect) Visit Preview Nov 28, 2024 11:52am

@dosubot dosubot bot added the size:S This PR changes 10-29 lines, ignoring generated files. label Nov 28, 2024
@dosubot dosubot bot added size:XS This PR changes 0-9 lines, ignoring generated files. and removed size:S This PR changes 10-29 lines, ignoring generated files. labels Nov 28, 2024
@Steffen911 Steffen911 added this pull request to the merge queue Nov 28, 2024
Merged via the queue into main with commit c578907 Nov 28, 2024
8 checks passed
@Steffen911 Steffen911 deleted the steffen/exclude-prereleases-from-api branch November 28, 2024 11:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
size:XS This PR changes 0-9 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant