Skip to content
Dashboard
Open .md fileOpen llms.txtA list of every page, for AI tools

Changelog

Changes to the widget SDK at iris-cdn.playitback.dev/v1. Version 1 gets only changes that keep your code working.

1.8.0

Minor changes

  • Contacts can add emoji from a picker or by typing :shortcodes:.
  • Home rows show unseen replies: a bold title, the newest reply and a count.

1.7.1

Patch changes

  • Calls queued before iris.js loads run again when the loader snippet is older than 1.6.0 or a hand-written stub that queues no Promise. Since 1.6.0 they were dropped, so Iris.init from such a loader never started the widget.

1.7.0

Minor changes

  • Reply preview cards, unseen replies after a reload, an optional sound, and the time zone for reply emails.

1.6.0

Minor changes

  • Add Iris.sendMessage. The loader snippet stubs return Promises.

1.5.0

Minor changes

  • New event Iris.on("close", listener): the listener runs when the contact closes the widget.

Patch changes

  • A reply that an agent deletes now disappears from the widget right away, and from the unread count.
  • A reply that an agent edits now shows its new text in the widget right away.
  • On phones, the message field and the email field use 16 px text, so iOS no longer zooms in when the contact taps them.

1.4.0

Minor changes

  • Contacts can format messages: bold, italic, underline, strikethrough, lists and a separator.

1.3.7

Patch changes

  • The widget tells Iris when the contact sees agent replies: while the chat is open on a conversation in a visible tab. Agents see a seen mark on their replies in the dashboard.

1.3.6

Patch changes

  • Links in messages open in a new tab. A link starts with https://, http:// or www..

1.3.5

Patch changes

  • Contacts can send .xlsx and .docx files, and a CSV file from Windows with Excel installed is no longer refused.

1.3.4

Patch changes

  • The widget header shows only the team name: the “Support team” subtitle is gone. A message that was not sent, a conversation that did not load and the email box now say what to do next.
  • The widget now starts when Iris.identify or Iris.logout runs while the widget is still loading its first session. Before, the widget never appeared in that case, Iris.open() did nothing, and the console showed no warning. Apps that call Iris.identify as soon as their identity token arrives no longer need a delay.

1.3.3

Patch changes

  • Iris.init takes an optional appKey. An app whose page has no web address, such as an Electron app that uses loadFile, passes its workspace’s app key next to appId, and the widget starts there. Copy the key from Settings → Install in the dashboard. Websites need only appId.

1.3.2

Patch changes

  • The dark theme is neutral near-black, like the Intercom Messenger, not navy. The panel, the header, Home and the composer share one background (#14161a), with #2e3032 borders between them. The light theme and the primary colour do not change.

1.3.1

Patch changes

  • Iris.init, Iris.update and Iris.setPageContext check their options with the same schemas that the docs show. A bad option is still dropped with one warning, and the other options still apply. A primary colour longer than 100 characters is now dropped too.

    Every console warning now says what happened and how to fix it, and links to its entry on https://iris-docs.playitback.dev/troubleshooting. Failed requests log a warning with a link too, in place of a raw error.

1.3.0

Minor changes

  • The widget is bigger and sits like the Intercom Messenger: on screens 480px and wider the panel is 400px wide and fills the screen height up to 704px, the launcher is 48px and 20px from the corner, and the launcher stays on top of the open panel.

    Iris.init takes horizontalPadding and verticalPadding (integers 20–200, px) to move the launcher and the panel away from the side and the bottom of the page; they win over the widget settings and phones ignore them. Iris.update({ launcher }) shows or hides the launcher at runtime.

1.2.0

Minor changes

  • Iris.identify now takes { token }: an identity token that your server signs with the identity secret. The { id, hash } form is gone.

1.1.0

Minor changes

  • A contact can attach one file to a message and download files from the team. The attach button sits inside the message box, and pasting a file attaches it too. Images and videos show a preview in the message. The button shows only when the workspace allows files.

1.0.0

Major changes

  • First release on iris-cdn.playitback.dev: the method API (Iris.init, identify, logout, on, open, close, setPageContext), the workspace logo in the header, and no email capture card.