84 lines
2.7 KiB
Markdown
84 lines
2.7 KiB
Markdown
# Changelog
|
|
|
|
## v1.0.0 - Production Ready Release
|
|
|
|
### ✨ New Features
|
|
- **Production API Server**: Express.js server with TypeScript
|
|
- **Security**: Input validation, rate limiting, CORS protection
|
|
- **Monitoring**: Health checks, structured logging, error tracking
|
|
- **Docker Support**: Complete containerization with docker-compose
|
|
- **Documentation**: Comprehensive API and deployment guides
|
|
|
|
### 🛡️ Security Improvements
|
|
- Input validation with Zod schemas
|
|
- Rate limiting (configurable, default 10/15min)
|
|
- Security headers (Helmet.js)
|
|
- Privacy-protected logging (email/IP masking)
|
|
- Environment variable management
|
|
- CORS restrictions
|
|
|
|
### 📊 Monitoring & Logging
|
|
- Structured JSON logging
|
|
- Health check endpoint (`/health`)
|
|
- Request/response logging
|
|
- Error tracking with correlation IDs
|
|
- Performance metrics
|
|
|
|
### 🏗️ Architecture Changes
|
|
- Clean separation of frontend (template designer) and backend (API)
|
|
- TypeScript throughout
|
|
- Configuration management
|
|
- Service layer architecture
|
|
- Comprehensive error handling
|
|
|
|
### 📚 Documentation Cleanup
|
|
- **Consolidated**: Reduced from 7 docs to 4 focused guides
|
|
- **Organized**: Moved all docs to `/docs` folder
|
|
- **Comprehensive**: Complete API reference with examples
|
|
- **Practical**: Step-by-step deployment instructions
|
|
|
|
### 🔧 Developer Experience
|
|
- Hot reload development servers
|
|
- Type checking scripts
|
|
- Linting and validation
|
|
- Docker development environment
|
|
- Clear npm scripts
|
|
|
|
### 📁 File Structure Changes
|
|
```
|
|
Before: After:
|
|
├── README.md ├── README.md (clean, focused)
|
|
├── ARCHITECTURE_GUIDE.md ├── docs/
|
|
├── RESEND_INTEGRATION.md │ ├── README.md
|
|
├── SIMPLE_INTEGRATION_EXAMPLE │ ├── API.md
|
|
├── PRODUCTION_DEPLOYMENT.md │ ├── DEPLOYMENT.md
|
|
├── PRODUCTION_READY_SUMMARY │ ├── PRODUCTION_DEPLOYMENT.md
|
|
├── SECURITY_IMPROVEMENTS.md │ └── SECURITY.md
|
|
├── backend-example.js ├── server.ts (production server)
|
|
└── ... └── ...
|
|
```
|
|
|
|
### 🚀 Deployment Options
|
|
- **Docker**: `docker-compose up -d`
|
|
- **Node.js**: `npm start`
|
|
- **Cloud**: Vercel, Railway, Heroku ready
|
|
|
|
### Breaking Changes
|
|
- Removed development-only backend example
|
|
- Consolidated documentation (old links may break)
|
|
- Environment variables now required for production
|
|
|
|
### Migration Guide
|
|
1. Copy `.env.example` to `.env`
|
|
2. Add your Resend API key and domain
|
|
3. Use `npm run server:dev` instead of old backend example
|
|
4. Update documentation links to `/docs` folder
|
|
|
|
---
|
|
|
|
## Previous Versions
|
|
|
|
### v0.1.0 - Initial Release
|
|
- Basic React template designer
|
|
- Sample email templates
|
|
- Development-only features |