# Changelog

## [Unreleased]

## [v1.0.4] - 2026-07-22

### Added
- Added authenticated PDF rate-card upload, parsing, preview, and explicit import endpoint.

## [v1.0.3] - 2026-07-16

### Changed
- Release version bump and changelog maintenance.

### Added
- Persisted the Palletline label PDF and returned its filepath with the consignment result.
- Added `ActionLog` entries for Palletline consignment attempts, successes, and failures.

### Added
- Added fuel surcharge and discount rate settings to the Palletline module configuration and runtime params.

## [v1.0.1] - 2026-06-02

### Changed
- Added required dependency on `portalpeople/ngauge-delivery` for shared delivery components.
- Updated shared delivery PSR-4 mapping to `../ngauge-delivery/src/`.

## [v1.0.0] - 2025-05-28

### Added
- Initial release: Palletline pallet network REST API integration for NGauge / Yii2
- `PalletlineClient` component wrapping all documented Palletline REST endpoints
- `ConfigForm` model for managing API credentials and module settings via `params.php`
- `ConsignmentForm` model building the full Palletline JSON Manifest structure
- `ConfigController` with config save, test-connection, and status endpoints
- `ConsignmentController` with create, delete, manifest, tracking, labels, and available-services endpoints
- `ConsignmentJob` for queue-based async consignment submission
- Admin views: configuration form and consignment creation form
- Support for `commit=false` (validation-only) and `commit=true` (live submission) modes
- Support for `Confirm=yes` (auto-confirm to depot) and `Confirm=no` (manual portal review) via `autoConfirm` module property
- Book-in request with conditional required fields
- Handball and tail-lift service options
- Notification sets (SMS and email) with 8 system group event types
- Optional product line items per consignment
- PDF label retrieval by response ID or consignment number
- Available services lookup by route
- Connection test via `availableservices` API call
