import { Badge } from "@/components/ui/badge"; import { Separator } from "@/components/ui/separator"; import { CHANGELOG } from "@/lib/changelog"; export function ChangelogList() { return (
{CHANGELOG.map((entry, i) => (
v{entry.version} {entry.date}
{entry.notes &&

{entry.notes}

} {entry.added && entry.added.length > 0 && (

Added

    {entry.added.map((line, j) =>
  • {line}
  • )}
)} {entry.fixed && entry.fixed.length > 0 && (

Fixed

    {entry.fixed.map((line, j) =>
  • {line}
  • )}
)} {entry.security && entry.security.length > 0 && (

Security

    {entry.security.map((line, j) =>
  • {line}
  • )}
)} {i < CHANGELOG.length - 1 && }
))}
); }