Repository navigation
Releases: olexin-pro/data-transfer-object
Releases · olexin-pro/data-transfer-object
Release list
v0.2.2
v0.2.1: fix: add support for custom DTO stub generation with error handling
- Implemented logic to load a custom DTO stub file and handle the case where the file does not exist, throwing a `FileNotFoundException`. - Introduced a default stub content method to provide a fallback structure for DTO classes.
v0.2.0
feat: Enhance AbstractDTO with Castable interface and update DTOCast …
v0.1.4: feat: update convert methods to allow null returns
- Changed return types of convert methods in ArrayConverter, CollectionConverter, FloatConverter, and IntConverter to nullable types. - Added null checks to return null when input is null or blank, enhancing the flexibility of the converters.
v0.1.3
fix: update namespaces in DTOProvider and MakeDTOCommand for consiste…
v0.1.2: feat: add DataTransferObject provider to composer.json
- Updated the providers list in composer.json to include "Ol3x1n\\DataTransferObject\\DTOProvider".
v0.1.1
feat: add MakeDTOCommand to DTOProvider for command registration
v0.1.0
- Adds a new make:dto Artisan command to easily generate Data Transfer Object classes from a customizable stub.
- Refactors ConverterResolver to cache converter instances, improving performance by reusing objects instead of creating new ones on each call.
- Bumps the required PHP version to ^8.3.
v0.0.2
feat: Update README.md
v0.0.1
docs: Update README.md