|
| 1 | +# Changelog |
| 2 | + |
| 3 | +All notable changes to this project will be documented in this file. |
| 4 | + |
| 5 | +The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), |
| 6 | +and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). |
| 7 | + |
| 8 | +## [0.1.0] - 2025-07-07 |
| 9 | + |
| 10 | +### Added |
| 11 | +- Initial release of Ray.InputQuery |
| 12 | +- Core `InputQuery` class for transforming flat HTTP data into structured PHP objects |
| 13 | +- `#[Input]` attribute for marking query-sourced parameters |
| 14 | +- `#[InputFile]` attribute for file upload handling |
| 15 | +- Automatic prefix-based nesting (e.g., `assigneeId`, `assigneeName` → `UserInput` object) |
| 16 | +- Type-safe scalar conversion leveraging PHP's type system |
| 17 | +- Full dependency injection integration with Ray.Di |
| 18 | +- Support for arrays and ArrayObject collections |
| 19 | +- Optional file upload functionality with `FileUploadFactory` |
| 20 | +- `NullUploadFactory` for projects without file upload requirements |
| 21 | +- Comprehensive documentation and examples |
| 22 | +- 100% test coverage |
| 23 | +- Framework integration guide for Laravel, Symfony, CakePHP, Yii, BEAR.Sunday, and Slim |
| 24 | +- Demo applications including CSV processing and file upload examples |
| 25 | + |
| 26 | +### Features |
| 27 | +- **Declarative Input Handling**: Use attributes to define input structure |
| 28 | +- **Automatic Type Conversion**: Converts string inputs to appropriate PHP types |
| 29 | +- **Nested Object Support**: Automatically creates nested objects from flat data |
| 30 | +- **DI Integration**: Seamlessly integrates with dependency injection containers |
| 31 | +- **File Upload Support**: Optional integration with koriym/file-upload package |
| 32 | +- **Framework Agnostic**: Works with any PHP framework or standalone |
| 33 | + |
| 34 | +### Requirements |
| 35 | +- PHP 8.1 or higher |
| 36 | +- ray/di ^2.18 |
| 37 | +- symfony/polyfill-php83 ^1.28 |
| 38 | +- koriym/file-upload ^0.2.0 (optional, for file upload support) |
| 39 | + |
| 40 | +[0.1.0]: https://github.com/ray-di/Ray.InputQuery/releases/tag/0.1.0 |
0 commit comments