Skip to content

v3.0.0

Choose a tag to compare

@seambot seambot released this 23 Jul 15:23
· 126 commits to main since this release
v3.0.0
6789cdd

Features

  • Fully migrate SDK codegen to use blueprint (#448) (4dc65fd)

BREAKING CHANGES

  • The parameter order of two get methods changed so the
    primary resource ID is now the first parameter. Positional callers must
    be updated — the old first argument is otherwise silently sent as the
    wrong parameter:
  • $seam->events->get(): $event_id is now first (was $device_id).
  • $seam->acs->users->get(): $acs_user_id is now first (was $acs_system_id).
  • ActionAttempt->result is now a typed
    ActionAttemptResult|null instead of raw decoded JSON. Typed result
    fields (e.g. acs_credential_on_encoder) are still available as
    properties; fields that define no type in the spec (result->access_code,
    result->noise_threshold) are no longer present.
  • Resource object constructor parameters are now ordered
    alphabetically and uniformly nullable. Only affects code constructing
    resource objects positionally; objects returned by the SDK are
    unaffected.