Skip to main content

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

Unreleased

1.0.6 - 2025-11-13

Added

  • New request-maintenance command to report cell or locker issues requiring maintenance (SD-3560)
    • Supports required fields: machine_id, notes
    • Supports optional fields: reservation_id, cell_id, block_cell_immediately, platform_reference_id
  • New manually-open-door command for manual door access via customer support (SD-3561)
    • Supports required field: reservation_id
    • Supports optional field: reason for audit trail
  • Cell ID support in responses (SD-3558)
    • Updated CellInfo struct to include cell_id field
    • Cell ID automatically displayed in dropoff/pickup command responses

1.0.5 - 2025-11-11

Added

  • New list-ongoing-reservations command for querying all active reservations (SD-3507)
  • Pagination support with configurable page size (default 100, max 1000)
  • Token-based pagination for consistent results
  • --created-after filter for incremental sync
  • Grace period tracking for PICKED_UP reservations
  • Enhanced HTTP client with GETWithQuery method for URL query parameters

Changed

  • Updated actions/checkout from 2 to 5 in GitHub workflows
  • Results from list-ongoing-reservations ordered by creation time (oldest first)

Documentation

  • Added comprehensive usage examples for list-ongoing-reservations command
  • Updated Command Reference Card with new command

1.0.4 - 2025-11-10

Fixed

  • Fixed GitHub Actions Go version mismatch (upgraded to Go 1.24)
  • Applied go fmt formatting to all source files

Changed

  • Updated vendor directory with latest dependencies

1.0.3 - 2025-11-10

Added

  • Automatic request/response dumping on API failures for improved debugging (SD-2908)
  • X-Request-ID header generation and logging for better request tracing (SD-3501)
  • UUID generation for each API request using google/uuid library

Changed

  • Debug information now displays automatically on all 4xx/5xx errors without requiring --trace flag
  • Request IDs are now included in trace output and failure dumps
  • Updated actions/setup-go from 5 to 6
  • Updated github.com/spf13/cobra from 1.9.1 to 1.10.1
  • Updated actions/checkout from 4 to 5

Security

  • API keys remain masked in all debug output including auto-dump scenarios

1.0.2 - 2025-07-15

Fixed

  • Fixed echo command response parsing to match actual API response format (SD-2907)
  • Echo command now correctly displays the API response message field

Added

  • Test coverage for echo command response parsing

1.0.1 - 2025-07-11

Changed

  • Updated softprops/action-gh-release GitHub Action from v1 to v2

1.0.0 - 2025-01-02

Added

  • Initial public release of delivery-cli
  • Core machine operations: get-machine, search-machines
  • Reservation management: create-reservation, get-reservation, cancel-reservation, abandon-pickup
  • Delivery operations: dropoff, pickup
  • Configuration system with env.config.json support
  • Environment variable overrides for configuration
  • Debug features: --trace for HTTP debugging, --dump for curl export
  • JSON-only output format for consistent scripting
  • Cross-platform support (Linux, macOS, Windows)
  • Comprehensive test suite with 95%+ coverage
  • AWS CLI-style command structure
  • Retry logic with exponential backoff
  • Secure API key handling

Security

  • API keys are masked in all output
  • HTTPS enforcement for production endpoints
  • Secure credential storage support

0.2.0 - 2025-01-01

Added

  • Get reservation command (SD-2891)
  • Improved API response parsing for complete JSON data
  • Enhanced error handling and user feedback

Changed

  • Fixed API response parsing to output complete JSON data

0.1.0 - 2024-12-31

Added

  • Initial implementation of core CLI framework
  • Basic command structure using Cobra
  • Configuration management system
  • API client with authentication
  • Basic machine and reservation commands