# Changelog - Care Book Block Ultimate Todas as alterações notáveis neste projeto serão documentadas neste arquivo. O formato é baseado em [Keep a Changelog](https://keepachangelog.com/pt-BR/1.0.0/), e este projeto adere ao [Versionamento Semântico](https://semver.org/lang/pt-BR/). ## [0.1.0] - 2025-09-12 ### Added - ✅ Projeto inicializado com template Descomplicar® v2.0 - ✅ Estrutura base WordPress plugin criada - ✅ Arquitetura CSS-first para controlo KiviCare - ✅ Sistema de hooks/filters para integração - ✅ Custom database table wp_care_booking_restrictions - ✅ WordPress Transients API para caching - ✅ PHPUnit testing framework configurado - ✅ Performance requirements definidos (<5% overhead) - ✅ Security-first approach (nonces, capabilities, sanitization) ### Architecture Decisions - **CSS-first approach**: Inject CSS to hide elements immediately, PHP hooks for data filtering - **WordPress integration**: Use hooks/filters, never modify core or KiviCare files - **Database**: Custom table with proper indexes for scalability - **Caching**: WordPress transients with selective invalidation - **Testing**: RED-GREEN-Refactor cycle enforced ### Tech Stack - PHP 7.4+ + WordPress 5.0+ + KiviCare 3.0.0+ - MySQL 5.7+ with WordPress $wpdb API - WordPress Hooks/Filters + AJAX + Transients API ### Performance Targets - <5% overhead on appointment page loading - <200ms response time for admin AJAX endpoints - <300ms for restriction toggles (includes cache invalidation) - Support thousands of doctors/services with proper indexing --- **Formato**: [Keep a Changelog](https://keepachangelog.com/) **Versionamento**: [Semantic Versioning](https://semver.org/) **Repositório**: https://git.descomplicar.pt/care-book-block-ultimate