Skip to content

v1.1.3

Choose a tag to compare

@fatemefallah fatemefallah released this 09 Nov 11:11
· 5 commits to main since this release

馃殌 Release v1.1.3

馃悰 Bug Fixes
Model Schema Improvements
Product Models

  • Made name field optional in ProductRequestSchema to support partial updates
  • Fixed uninitialized typed property errors for $product_attribute and $variants
  • Corrected null check warnings for non-nullable properties ($status, $preparation_days)
  • Removed redundant default value assignments for better code consistency

Chat Models

  • Added proper Optional wrapper to MessageContent::$links and MessageContent::$files for better null handling
  • Updated getter return types to ?array for optional fields
  • Improved JSON serialization to exclude null optional fields

鈿狅笍 Backward Compatibility
Fully backward-compatible - No changes required in your application code. All existing implementations will continue to work as expected. This release only relaxes validation requirements and improves type accuracy.