Changelog
Release history for Complaintr. Track new features, improvements, and bug fixes across versions.
Docker Health Checks & Auth Client Fix
Hardened Docker deployments with health checks and improved entrypoint reliability. Fixed an auth client issue where the base URL was incorrectly determined.
Fixed
- Update authClient to dynamically set baseURL based on window location for correct API routing in production
- Correct import statement in Next.js type definitions
Added
- Add health check API endpoint at /api/health for container orchestration
- Add multi-stage Dockerfile for the web application with standalone output
- Add entrypoint script with database migration and push support
Improved
- Add health checks to Dockerfiles and streamline entrypoint script with detailed logging
- Install curl and wget in Dockerfiles for runtime debugging
- Allow database push failure without stopping the entrypoint script for development environments
- Remove frozen lockfile flag from Docker builds to support workspace protocol resolution
Admin Dashboard & Google Auth
Introduced a full admin dashboard for platform management, Google OAuth authentication, and UI polish across the application.
Added
- Implement admin dashboard with views for complaints, applications, and user management
- Add loading skeletons to admin dashboard components for improved perceived performance
- Integrate Google OAuth as a sign-in provider alongside existing email/password auth
- Add BrandName component for consistent branding across login and sidebar
Fixed
- Improve theme class and style handling in RootLayout to prevent flash of unstyled content
Improved
- Simplify application existence check by removing redundant userId condition
Dark Mode & Application Editing
Delivered full dark mode support with a theme toggle and the ability to edit registered applications.
Added
- Implement three-way theme toggle (light, dark, system) with localStorage and cookie persistence
- Add full dark mode support with extensive CSS custom property definitions
- Implement PATCH endpoint for updating application name
- Add EditAppButton component to the dashboard for inline application editing
- Add initial database migration for all schema tables (account, application, complaint, session, user, verification)
Improved
- Replace Shield icon with logo image across components and update favicon
- Enhance application creation tests with conflict handling and proper response validation
Security Hardening & Documentation
Improved security on API endpoints, strengthened password validation, and updated documentation.
Fixed
- Enhance password strength validation and provide user feedback on the login page
- Add authentication and ownership verification to complaint PATCH endpoint
- Add standalone output to Next.js configuration for production builds
- Reference bun.lock instead of bun.lockb in Dockerfiles
Improved
- Refactor kill-port script to improve PID retrieval and handling on Windows
- Update sign out flow to properly redirect and refresh the router
Project Rename & UX Simplification
Renamed the project from 'compliantr' to 'complaintr' across the entire codebase and simplified the home page redirect logic.
Fixed
- Correct spelling of 'compliantr' to 'complaintr' throughout documentation, tests, and UI
Improved
- Simplify HomePage component by removing unnecessary UI and implementing session-based redirection (authenticated users go to dashboard, guests to login)
- Update dev scripts for improved port management and development experience
Theme Initialization & Tooling
Simplified theme initialization logic and cleaned up tooling dependencies.
Improved
- Simplify theme initialization in ThemeProvider to reduce client-side flicker
- Remove next-themes dependency in favor of custom theme provider implementation
Fixed
- Update test script to run lint before tests for consistent CI behavior
Component Cleanup & Hook Optimization
Removed unused components and optimized client-side hooks for better performance.
Improved
- Remove unused Separator component and adjust sidebar color variables for cleaner code
- Optimize useIsMobile hook initial state setup to avoid hydration mismatches
Fixed
- Update test task dependencies to include linting step
Component Restructuring
Restructured dropdown menu components for better organization and maintainability.
Improved
- Restructure DropdownMenu components into a cleaner, more maintainable file organization
- Add dev:kill script to terminate processes on port 3000 for development convenience
Documentation & Templates
Established project governance with issue templates, PR templates, CODEOWNERS, and contributor guidelines.
Added
- Add CODEOWNERS file to define code review responsibilities
- Add bug report and assignment issue templates for standardized issue creation
- Add CI linting step to ensure code quality on every push
Improved
- Update CONTRIBUTING.md with branch synchronization guidelines
- Standardize scope descriptions across all issue templates
- Update AGENTS.md with critical files section and agent guidelines for GitHub Issues and PRs
- Require all content (issues, PRs, release notes, comments) to be written in English
Complaint Metadata, Rate Limiting & Pagination
Enhanced the complaint system with metadata support, rate limiting, input validation, and paginated views.
Added
- Add updatedAt field to complaint schema for tracking modification timestamps
- Add optional metadata JSONB field to complaint submissions for structured agent context
- Implement rate limiting on complaint submission endpoint (10 requests per minute)
- Add pagination to dashboard complaint and application listing views
- Add favicon and metadata icon configuration for brand presence in browser tabs
Fixed
- Validate appName, title, description, and sourceAgent length constraints on complaint submission
- Update complaint status handling to include updatedAt timestamp on status changes
appName Transition
Transitioned the complaint API from internal application IDs to user-friendly application names, with case-insensitive lookup for better usability.
Added
- MCP report_complaint tool now references applications by name (appName) instead of internal ID
Fixed
- Case-insensitive application name lookup so 'My App' and 'my app' resolve to the same application
Improved
- Updated all tests, API routes, and TypeScript interfaces to use appName throughout the complaint pipeline
Initial Release
The first release of Complaintr: an AI Agent Compatibility Feedback Platform that lets developers register applications and receive structured complaints when AI agents encounter bugs or unexpected behavior.
Added
- Public landing page with dashboard redirection for authenticated users
- User authentication via Better Auth with email/password and social provider support
- Application registration with API key generation and management dashboard
- Complaint submission API for MCP server integration
- MCP server implementation with report_complaint tool over stdio transport
- Admin dashboard for platform-wide complaint and application management
- PostgreSQL database with Drizzle ORM for schema management and migrations
- CI workflow with automated testing against PostgreSQL service container
- Docker Compose configuration for full-stack development environment
- Comprehensive test suite covering API endpoints, database schemas, and authentication flows
