Skip to content

connectapi 0.6.0

Latest
Compare
Choose a tag to compare
@toph-allen toph-allen released this 11 Feb 21:17

New features

  • New get_log() function which lets you get the log for a given job.
    (#341)
  • New get_job_list() function returns a list of jobs for a content item.
    (#341)
  • New token parameter to connect() function allows you to create a Connect
    client with permissions scoped to the content visitor when running on a Connect
    server. (#362)

Enhancements and fixes

  • swap_vanity_urls() can correctly perform a swap involving a content item
    with no vanity URL. (#360)
  • swap_vanity_urls() handles permissions errors gracefully, attempting to roll
    back any changes made. (#360)
  • get_jobs() and get_job_list() return objects contain content_id and
    content_guid fields. These contain the same values as app_id and
    app_guid, which are deprecated and will be removed in a future update.

Newly deprecated

  • get_job() (singular) is now deprecated, its functionality taken care of by
    other functions, including get_log().
  • swap_vanity_url(old, new) has been deprecated and renamed to
    swap_vanity_urls(content_a, content_b).