Skip to content

Releases: basalam/php-sdk

v1.1.5

13 Dec 12:19

Choose a tag to compare

🚀 Release v1.1.5 - Parcel Management Enhancement

✨ New Features

Enhanced parcel management capabilities for vendors with action-oriented methods to control order fulfillment workflow.

New Methods:

  • setOrderParcelPreparation() - Mark vendor parcels as in preparation stage
  • setOrderParcelPosted() - Mark vendor parcels as posted/shipped with tracking information

⚠️ Backward Compatibility

Fully backward-compatible - No changes to existing functionality. All new methods are additions to the Order Processing service and do not affect existing operations. Your application code will continue to work without
any modifications.

v1.1.3

09 Nov 11:11

Choose a tag to compare

🚀 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.

v1.1.2

03 Nov 17:56

Choose a tag to compare

🚀 Release v1.1.2 - Chat & Shelve Enhancements

Overview

This release brings powerful new features to the Basalam PHP SDK, including comprehensive chat management capabilities and a complete shelve (product collection) management system.

✨ What's New

Chat Service Enhancements

We've expanded the Chat Service with 5 new methods for advanced message and chat management:

New Methods

  • editMessage()
  • deleteMessage()
  • deleteChats()
  • forwardMessage()
  • getUnseenChatCount()

Core Service - Shelve Management

Introducing a complete shelve (product collection) management system to organize and showcase products:
New Methods

  • createShelve()
  • updateShelve()
  • deleteShelve()
  • getShelveProducts()
  • updateShelveProducts()
  • deleteShelveProduct()

🔄 Breaking Changes
None - This release is fully backward compatible.

v1.1.1

21 Oct 12:16

Choose a tag to compare

Release v1.1.1 - API Gateway Migration

🚀 Major Changes
This release represents a significant architectural improvement in the Basalam PHP SDK. All API endpoints have been migrated from individual microservices to Basalam API Gateway.

🔄 What's Changed

  • API Gateway Migration
    All services now use a unified base URL with standardized RESTful endpoints.

  • Deprecated wallet refund endpoints removed

    • createExpenseFromCredit()
    • createRefund()
    • canRollbackRefund()
    • rollbackRefund()

📖 Migration Guide
No code changes required for most users! The SDK handles all endpoint routing internally. Your existing code will continue to work without modifications.

[!WARNING] Exception: If you were using the deprecated wallet refund methods, please migrate to the new refund API (contact Basalam support for details).

v1.0.2

23 Sep 17:20

Choose a tag to compare

feat: add docs link to composer