Skip to content

v0.3.0 - TESTER WANTED - Client & Spec Migration

Pre-release
Pre-release

Choose a tag to compare

@Agash Agash released this 25 Feb 09:54

TESTERS WANTED!

I need some folks with real access to real data to test this for me, I'd appreciate any help and am happy to answer any questions or write simple test scripts

BREAKING CHANGES

this release practically breaks everything from the previous api surface!

Highlights

  • migrated generation to Kiota using the canonical local spec (openapi/goaffpro-canonical.yaml) that was written by me since the official spec shows significant spec/api drift and isn't realiable; I believe this is easier than writing overlays for ever single endpoint. But has to be maintained and checked for new endpoints; please open issues/PR if a new endpoint is wanted
  • wrapper around Kiota client (client.Api.User... / client.Api.Public...)
  • refactored event/observer to emit feed models directly (removed old event payload classes since the new spec references schemas correctly)
  • expanded observer support for payouts/products/transactions in addition to orders/traffic
  • added interactive example app for testing
  • targeted to net9.0 and net10.0, drops net8.0

Added

  • new events:
    • PayoutDetectedEventArgs
    • ProductDetectedEventArgs
    • TransactionDetectedEventArgs

Changed

  • GoAffProClient exposes generated Kiota client via Api.
  • streams/events now propagate generated types (UserOrderFeedItem, UserTrafficFeedItem, etc.).
  • spec includes error response mapping where applicable.

Known Runtime API Instability

as tracked in spec comments:

  • /user/feed/products may timeout/hang.
  • /user/feed/rewards may return 404/non-JSON.
  • /user/feed/transactions may return 500/non-JSON.
  • /user/payouts/pending is tracked as parity endpoint also seen under /sdk/user/*.

Full Changelog: v0.2.1-dev1...v0.3.0-dev2