Skip to content

Commit 424dcf6

Browse files
committed
chore: atualizar changelog e descrição do projeto para a versão 1.2.0 com melhorias de qualidade e legibilidade
1 parent fdc5854 commit 424dcf6

File tree

3 files changed

+25
-4
lines changed

3 files changed

+25
-4
lines changed

CHANGELOG.md

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ All notable changes to the PivotPHP Framework will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8-
## [1.2.0] - 2025-01-16 - Simplicity Edition
8+
## [1.2.0] - 2025-07-21 - Simplicity Edition (Simplicidade sobre Otimização Prematura)
99

1010
### Added
1111
- **ApiDocumentationMiddleware** - Automatic OpenAPI/Swagger documentation generation
@@ -15,6 +15,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1515
- **Example Application** - `api_documentation_example.php` demonstrating features
1616
- **Legacy Namespace** - New `src/Legacy/` namespace for complex implementations
1717
- **Simplified Core Classes** - Clean, maintainable implementations as defaults
18+
- **Enhanced Code Readability** - Improved formatting and readability across test files
19+
- **Better Error Messages** - Enhanced test failure messages with more descriptive output
20+
- **Environment-Aware Testing** - Improved test skipping logic for different environments
1821

1922
### Changed
2023
- **Architecture Simplification** - Simple classes promoted to core defaults following "Simplicidade sobre Otimização Prematura"
@@ -23,6 +26,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
2326
- **Core Classes** - `PerformanceMode`, `LoadShedder`, `MemoryManager`, `PoolManager`, etc. are now simple implementations
2427
- **Documentation Focus** - Emphasis on automatic documentation generation as key differentiator
2528
- **Middleware Organization** - `ApiDocumentationMiddleware` properly organized under `src/Middleware/Http/`
29+
- **Code Formatting** - Standardized code formatting for better maintainability
30+
- **Test Messages** - Improved clarity of test assertions and error messages
31+
- **Function Parameters** - Simplified unused parameters in test route closures using `$_` convention
32+
- **Line Length Management** - Improved code readability by managing long lines appropriately
2633

2734
### Deprecated
2835
- **Complex Classes** - `HighPerformanceMode`, `ExtensionManager`, `OpenApiExporter`, `SerializationCache` moved to `src/Legacy/` namespace
@@ -34,6 +41,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
3441
- **Middleware Organization** - Proper namespace structure for HTTP middleware
3542
- **JsonBufferPool Compatibility** - Fixed test compatibility issues with renamed classes
3643
- **Alias System** - Resolved autoloader conflicts during class transitions
44+
- **IDE Diagnostics** - Resolved all unused variable warnings and undefined type issues
45+
- **Code Style Compliance** - Enhanced PSR-12 compliance across test files
46+
- **Test Reliability** - Improved test stability in various environments
47+
- **Long Line Formatting** - Better handling of long strings and complex assertions
3748

3849
### Backward Compatibility
3950
- **100% Compatible** - All existing code continues to work via automatic aliases
@@ -46,6 +57,15 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
4657
- **Maintained Performance** - All v1.1.4 performance improvements preserved
4758
- **Object Pool Reuse** - 100% request pool reuse, 99.9% response pool reuse maintained
4859
- **Framework Throughput** - 44,092 ops/sec maintained with simplified architecture
60+
- **Cleaner Code Execution** - No performance impact from code quality improvements
61+
62+
### Quality Improvements
63+
- **Zero IDE Warnings** - All IDE diagnostics issues resolved across the entire codebase
64+
- **Enhanced Test Coverage** - Better test environment detection and handling
65+
- **Cleaner Codebase** - Removed unnecessary whitespace and improved formatting
66+
- **Maintainable Tests** - More readable test code with descriptive error messages
67+
- **PSR-12 Compliance** - Enhanced code style compliance throughout the project
68+
- **Developer Experience** - Improved code readability and maintainability
4969

5070
## [1.1.4] - 2025-07-15
5171

CLAUDE.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -417,13 +417,14 @@ $stats = JsonBufferPool::getStatistics();
417417
## Current Version Status
418418

419419
- **Current Version**: 1.2.0 (Simplicity Edition - Simplicidade sobre Otimização Prematura)
420+
- **Release Date**: 2025-07-21 (Quality & Maintainability Release)
420421
- **Previous Versions**: 1.1.4 (Developer Experience), 1.1.3 (Performance Breakthrough), 1.1.2 (Consolidation), 1.1.1 (JSON Optimization), 1.1.0 (High-Performance)
421422
- **Tests Status**: 684 CI tests + 131 integration tests (100% success rate), architectural simplification
422423
- **Performance**: +116% framework improvement (20,400 → 44,092 ops/sec), 100% object pool reuse
423-
- **Code Quality**: PHPStan Level 9, PSR-12 100% compliant, zero violations
424+
- **Code Quality**: PHPStan Level 9, PSR-12 100% compliant, **zero IDE warnings**, enhanced readability
424425
- **Architecture**: Simple classes as core defaults, Legacy namespace for complex classes, automatic OpenAPI/Swagger documentation
425426
- **Compatibility**: 100% backward compatible via automatic aliases
426-
- **Key Features**: ApiDocumentationMiddleware for automatic OpenAPI/Swagger generation, simplified core classes
427+
- **Key Features**: ApiDocumentationMiddleware for automatic OpenAPI/Swagger generation, simplified core classes, enhanced developer experience
427428

428429
### Key Development Scripts
429430
```bash

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "pivotphp/core",
3-
"description": "PivotPHP Core v1.1.3-dev - High-performance microframework with revolutionary JSON optimization (161K/17K/1.7K ops/sec), PSR-7 hybrid support, and Express.js-inspired API",
3+
"description": "PivotPHP Core v1.2.0 - Simplified high-performance microframework with automatic OpenAPI/Swagger documentation, PSR-7 hybrid support, and Express.js-inspired API",
44
"type": "library",
55
"keywords": [
66
"php",

0 commit comments

Comments
 (0)