Skip to content

support 2026-07 version#15

Open
1415003719 wants to merge 1 commit into
2026-07from
generate/2026-07
Open

support 2026-07 version#15
1415003719 wants to merge 1 commit into
2026-07from
generate/2026-07

Conversation

@1415003719

Copy link
Copy Markdown
Contributor

Summary

Regenerate the SDK for API version 2026-07 (15.0.0) with AfterShip/sdk-generator from OAS production/2026-07.

Changes vs 14.0.0 (2026-01)

All changes match the 2026-07 migration guide — no breaking type renames:

  • Base URL → /tracking/2026-07/, gem version → 15.0.0
  • New models: tracking_shipment_dimensions, tracking_multi_piece_info (+pieces/type), tracking_proof_of_delivery, tracking_shipment_direction (also on create/update requests), tracking_return_shipment, tracking_forward_shipment
  • New fields: checkpoint.hash, customers[].id
  • New delivery sub-statuses need no code change (subtag is a plain string)

Verification

  • ruby -c on all files pass; rubocop --autocorrect applied
  • All 16 OAS operations exercised against the live API with a test org key: full tracking write lifecycle (create → get → update → mark-completed → retrack → delete), couriers, courier-connections, EDD; all responses and business errors deserialized into SDK types (AftershipAPI::ApiError with meta_code populated), no parse failures
  • New-field round-trip verified: shipment_direction and customers[].id written and read back successfully; test data cleaned up

🤖 Generated with Claude Code

Generated with AfterShip/sdk-generator from OAS production/2026-07.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants