import { Badge } from "@/components/ui/badge"; import { Bug, Calendar, Sparkles, Wrench, Zap } from "lucide-react"; import { Metadata } from "next"; import Link from "next/link"; import { ReactNode } from "react"; interface ReleaseNote { version: string; date: string; type: 'major' | 'minor' | 'patch'; changes: { category: 'feature' | 'improvement' | 'bugfix' | 'breaking'; description: string | ReactNode; }[]; } const releaseNotes: ReleaseNote[] = [ { version: "v1.1.0", date: "28 January 2026", type: "minor", changes: [ { category: 'breaking', description:
Fixing Critical Security Vulnerability (React2Shell Security CVE-2025-55182) in React Server Components. Please see this React blog and this Next.js bulletin to learn more about these vulnerabilities (December 3, 2025).
}, { category: 'breaking', description:
Fixing two additional vulnerabilities (Denial of Service CVE-2025-55184 and Source Code Exposure CVE-2025-55183) in React Server Components. Please see this React blog and this Next.js bulletin to learn more about these vulnerabilities (December 11, 2025).
}, { category: "improvement", description: "Upgraded Next.js from v13.5.6 to v16.0.10" }, { category: "improvement", description: "Upgraded React and ReactDOM from v18.2.0 to v19.2.3" }, { category: "improvement", description: "Replaced native img tags with LazyLoad Image component and added lazy loading for avatars" }, { category: "bugfix", description: "Fixed spamming \"Failed to fetch geolocation\" alerts when presence using mobile devices" }, { category: "feature", description: "Added progress bar indicator when route change in employee routes" }, { category: 'feature', description:
Added hats team page
}, { category: 'feature', description:
Added release notes page
}, ] }, { version: "v1.0.2", date: "13 May 2024", type: "minor", changes: [ { category: "feature", description: "Disabled time selection before check-in time in auto checkout adjustment" }, { category: "feature", description: "Added camera switch for mobile view" }, { category: "improvement", description: "Updated homepage UI responsiveness for mobile view" }, { category: "feature", description: "Open Google Maps to show presence location in attendance history" }, { category: "bugfix", description: "Fixed issues in manual attendance" }, { category: "improvement", description: "Improved donut chart responsiveness on the homepage for mobile view" }, { category: "feature", description: "Added progress bar indicator when route change in admin panel" }, ] }, { version: "v1.0.1", date: "19 November 2023", type: "minor", changes: [ { category: "feature", description: "Added detailed employee attendance list when clicking an attendance status on the donut chart" }, { category: "feature", description: "Added \"I'm Here\" feature when users are present as WFS or WFO" }, { category: "feature", description: "Employee performance detail page" }, { category: "feature", description: "Calendar page" }, { category: "feature", description: "Employee attendance distribution menu in the admin panel" }, ] }, { version: "v1.0.0", date: "15 September 2023", type: "major", changes: [ { category: "feature", description: "First release of the HIS Attendance Task System (H.A.T.s)" }, { category: "feature", description: "Employee landing page with working hours, tasks, and attendance information" }, { category: "feature", description: "Employee attendance history page" }, { category: "feature", description: "Employee task management page" }, { category: "feature", description: "Employee profile page" }, { category: "feature", description: "Leave request feature" }, { category: "feature", description: "Permission and sick leave request feature" }, { category: "feature", description: "Admin panel menu" }, { category: "feature", description: "Admin panel dashboard page" }, { category: "feature", description: "Company, area, department, and employee management" }, { category: "feature", description: "Attendance device and device type management" }, { category: "feature", description: "Workday off management, global parameters, and audit trail" }, { category: "feature", description: "Employee attendance reports, leave reports, sick leave reports, and attendance summary reports" }, { category: "feature", description: "Manual attendance, attendance reports and approvals for non-WFO employees, and reports and approvals for employees who did not check out" }, { category: "feature", description: "Information management for master status, working status, user roles, employee positions, and employee types" }, ] }, ]; export const metadata: Metadata = { title: "Release Notes - HIS Attendance Task System (H.A.T.s)", } export default async function ReleaseNotesPage() { const getCategoryIcon = (category: string) => { switch (category) { case 'feature': return ; case 'improvement': return ; case 'bugfix': return ; case 'breaking': return ; default: return ; } }; const getCategoryLabel = (category: string) => { switch (category) { case 'feature': return 'New Feature'; case 'improvement': return 'Enhancement'; case 'bugfix': return 'Bug Fix'; case 'breaking': return 'Breaking Change'; default: return category; } }; const getVersionBadge = (type: string) => { switch (type) { case 'major': return Major; case 'minor': return Minor; case 'patch': return Patch; default: return null; } } return ( <>

Release Notes

Release Notes / Application Update History for HIS Attendance Task System (H.A.T.s)

{/* Content */}
{releaseNotes.map((release, index) => (
{/* Timeline dot */}
{/* Version header */}

{release.version}

{getVersionBadge(release.type)}
{release.date}
{/* Changes */}
{release.changes.map((change, changeIndex) => (
{getCategoryIcon(change.category)}
{getCategoryLabel(change.category)}
{change.description}
))}
))}
{/* Footer */}

Have suggestions or found a bug? Please contact our support team.

); }