Skip to content

Release v1.2.0

Latest

Choose a tag to compare

@robin-chauhan1 robin-chauhan1 released this 27 Jun 11:00
· 9 commits to develop since this release
4a170c6

Release Notes

Version: 1.2.0
Release Date: June 27, 2024

  • Implemented status updates for P2H2P shipments to include 'In-Transit' and 'At-Destination-Hub' statuses.
  • Modified status update process: Images are no longer required for the 'In-Transit' and 'At-Destination-Hub' statuses.
  • Backend enhancement: Removed the cron job responsible for automatically adding 'In-Transit' and 'At-Destination-Hub' statuses. This functionality is now handled exclusively on the frontend, aligning with the new status update process.
  • Implemented middleware for validating incoming request payloads for both 'init' and 'confirm' requests:
  • Init Request Validation: Validates fulfillment and payment information in the payload. If either is missing or incorrect, it returns a 400 error with an appropriate error message to the seller.
  • Confirm Request Validation: Validates fulfillment, payment, quote, billing item, and linked order information in the payload. If any key is missing or doesn't match the expected format, it returns a 400 error with a detailed error message to the seller.
  • These improvements aim to enhance the clarity and specificity of the middleware's functionality and error handling.
  • Timestamp Fix: Resolved issues with categories.time.timestamp for Standard Delivery and Immediate Delivery in the on_search payload.
  • Category ID Issue: Fixed the category_id issue in the items array in the on_search payload.
  • GPS Location Fix: Corrected GPS location in the on_init payload within the end object.
  • On_Confirm: Fixed Created at issue
  • Payment Object Fix: Updated the payment object to adhere to the API contract.
  • Fulfillment Tags Fix: Fixed the tags array in fulfillment for Ready to Ship.
  • P2H2P Flow Fix: Fixed the P2H2P flow and corrected the calculation of distance.
  • Tracking Enabled: Enabled tracking for all calls and disabled it after order is delivered or cancelled.
  • Payment Collected By Fix: Corrected collected_by in the payment object.
  • Location Object Reversal: Reversed the location object in the case of RTO when the request has been canceled
  • Resolved issues related to reverse geocoding mismatches in start and end locations.
  • Clarified requirements for tracking enablement in hyperlocal (Immediate Delivery) scenarios.
  • Location Object Added: Added a location object in the end section of the on_init payload.
  • Fulfillment Tags Update: Added fulfillment tags indicating URL enabled after Order-picked-up in the on_status call.
  • Conditional Tags in on_track Call: Added tags in the on_track call, which change conditionally for P2P and P2H2P.
  • Precancel State Tags: Added precancel state tags to indicate fulfillment state and updated timestamp.
  • On_Confirm Call: Calculated the time for Range on the Basis of TAT and Duration
  • On_Track Call: Tags has been added, handled P2H2P case,