# Changelog

All notable changes to the WorkRoot website will be documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

---

## [Unreleased]

### Changed - Domain Migration (2026-03-21)

**Migration from workroot.com to workroot.in**

#### Configuration
- Updated `astro.config.mjs` site property to `https://workroot.in`
- Updated `tsconfig.json` path documentation

#### API Routes
- **Modified** `src/pages/api/sitemap.xml.ts` - Updated sitemap URL generation to use `workroot.in`
- **Verified** `src/pages/api/health.json.ts` - No domain references (domain-agnostic)

#### SEO & Metadata
- **Updated** `src/components/SEO.astro` - Canonical URLs and Open Graph metadata now use `workroot.in`
- **Verified** All layouts properly use SEO component with new domain

#### Content
- **Updated** `src/content/config.ts` - Schema documentation and examples now reference `workroot.in`

#### Documentation
- **Updated** `README.md` - All documentation URLs changed to `workroot.in`
- **Updated** `CONTRIBUTING.md` - Contribution guidelines reference new domain
- **Created** `DOMAIN-MIGRATION-CHECKLIST.md` - Comprehensive deployment checklist
- **Created** `MIGRATION-SUMMARY.md` - Executive summary of migration changes
- **Created** `QUICK-DEPLOY.md` - Quick reference for DevOps deployment
- **Updated** `DEPLOYMENT.md` - Added migration documentation references and updated nginx config

#### Security
- **Audited** Security configurations - Verified no hardcoded domain in security headers
- **Verified** CSP headers properly configured for new domain
- **Verified** CORS settings reviewed and domain-agnostic
- **Verified** Middleware supports new domain
- **Configured** HSTS ready for production HTTPS deployment

#### Testing
- **Passed** Production build verification
- **Passed** All API routes tested and functional
- **Passed** Performance tests completed
- **Passed** Security headers validation
- **Verified** No hardcoded `workroot.com` references in source code

### Migration Impact
- **Breaking**: Old domain URLs will need 301 redirects
- **SEO**: Requires Google Search Console Change of Address
- **SSL**: New SSL certificate required for `workroot.in`
- **DNS**: DNS records must be updated to point to new domain
- **Services**: Third-party integrations must be updated

---

## [1.0.0] - Initial Release

### Added
- Astro SSR application with Node.js adapter
- Server-side rendering with standalone deployment
- Image optimization with Sharp (WebP conversion)
- HTML compression and CSS code splitting
- Manual chunk splitting for better caching
- Lazy loading for images
- Prefetch with viewport strategy
- Health check API endpoint (`/api/health.json`)
- Dynamic sitemap generation (`/api/sitemap.xml`)
- SEO component with Open Graph and Twitter Card support
- Responsive layouts
- Tailwind CSS integration
- Content collections for blog/portfolio
- PM2 and Docker deployment configurations
- Nginx reverse proxy configuration
- Development server with hot reload
- Production build optimization

### Security
- Security headers configured
- CSP (Content Security Policy) implementation
- HSTS support for production
- X-Frame-Options protection
- XSS protection headers

---

## Release Notes Template

### [Version] - YYYY-MM-DD

#### Added
- New features

#### Changed
- Changes in existing functionality

#### Deprecated
- Soon-to-be removed features

#### Removed
- Removed features

#### Fixed
- Bug fixes

#### Security
- Security improvements

---

[Unreleased]: https://github.com/workroot/website/compare/v1.0.0...HEAD
[1.0.0]: https://github.com/workroot/website/releases/tag/v1.0.0
