Skip to content

v5.0.0

Latest

Choose a tag to compare

@github-actions github-actions released this 29 Nov 23:58
· 15 commits to main since this release
0d1eb6b

Added

  • Add Data Kiosk API support with four schema versions
  • Type-safe parsing for Data Kiosk GraphQL responses
  • Parse SP-API notifications with type-safe data structures
  • Parse SP-API feed schemas with type-safe data structures
  • Parse SP-API report schemas with type-safe data structures
  • Add notification parse tests with fixtures from Amazon docs
  • Add typed response for Peddler::LWA.request
  • Integrate Zeitwerk for autoloading (improves startup time)

Changed

  • All HTTP errors (4xx and 5xx) now raise Peddler::Error exceptions
  • Simplify typed response handling - parse always returns typed responses, use to_h for raw Hash
  • Make Nokogiri a required dependency for S3 error parsing
  • Rename Peddler::Token to Peddler::LWA for clarity and consistency
  • Move API typed parsers from Peddler::Types::* to Peddler::APIs::* namespace

Fixed

  • Fix notification schemas marking optional fields as required
  • Fix Zeitwerk inflection for plural acronyms (URLs, APIs)
  • Fix incorrect type generation for B2B notification objects
  • Patch missing and incorrect data in notification schemas from Amazon's OpenAPI models
  • Separate colliding APIs in external-fulfillment and finances directories

Removed

  • Remove deprecated Response.decorate method (use Response.new instead)
  • Remove obsolete raise_on_server_errors configuration option
  • Remove API#through alias (use API#via instead)
  • Remove deprecated Token::Error class
  • Remove typed helpers (use parse directly)