SONize v1.5.1 - Easy Syntax and Efficient Memory Usage
JSONize v1.5.1 - Easy Syntax and Efficient Memory Usage
Release Date: June 28, 2024
What's New:
-
Easy Syntax for Quick Usage:
- Introduced a new easy-to-use syntax for rapid JSON response generation.
- Example:
use JSONize\App\Easy\Response; Response::message("Deleted Successfully");
-
Efficient Memory Usage:
- Added efficient memory usage feature with singleton pattern.
- Example:
use JSONize\App\Efficient\Response; $response = Response::getInstance(); $response->message("Deleted Successfully")->end();
-
Expanded HTTP Status Handling:
- Now supports all 3xx redirect status codes.
-
Improved JSON Response Formatting:
- Enhanced structure for better readability and consistency.
-
New Traits Added:
- Introduced
HasStatus
andMethodCaller
traits for dynamic method calls and enhanced status management.
- Introduced
-
Singleton Implementation:
- Ensured controlled instance creation with the new
Singleton
trait.
- Ensured controlled instance creation with the new
-
Bug Fixes:
- Corrected method naming inconsistencies and fixed HTTP status call issues in
HasStructure
.
- Corrected method naming inconsistencies and fixed HTTP status call issues in
Contributing
Contributions are welcome! Everyone who wants to contribute can add new HTTP status codes to this file: System/Traits/HasStatus.php
. Submit a pull request or open an issue for any problems or suggestions.
Upgrade now to streamline your JSON responses!