Skip to main content

New:

  • Adds new io.display.code method to render source code with syntax highlighting
  • Cells in io.select.table and io.display.table can now contain inline images by returning an object containing an image property from the renderCell method


Did this section clearly explain what you wanted to learn?

New:

  • Adds new io.display.image method as a first-class way to display images (no more needing to fall back to markdown!)
  • Adds optional secondary argument to io.group to customize the continue button label and theme


Did this section clearly explain what you wanted to learn?

Breaking changes:

  • The experimental .use() method for adding action groups has been renamed to .addGroup()

New:


Did this section clearly explain what you wanted to learn?

Breaking changes:

  • io.experimental.date is now io.input.date
  • io.experimental.time is now io.input.time
  • io.experimental.datetime is now io.input.datetime

New:

  • io.input.url is a new method that prompts the user for a URL and returns a JavaScript URL object
  • All input and select I/O methods now accept an optional disabled prop, which disables the input in the UI
  • io.experimental.input.file now accepts an optional generatePresignedUrls() function that can be used to upload files directly to your own S3-compatible cloud storage (example)


Did this section clearly explain what you wanted to learn?

Breaking changes:

New:

  • ctx.action now contains a url property containing the absolute URL to the currently running action
  • io.select.single and io.select.multiple now support numbers, booleans, or Date objects as option labels and values
  • io.search now supports numbers, booleans, or Date objects as result labels

Fixed:

  • Clicking an io.display.link which links to the currently running action will now create a new transaction (including any URL params, if specified)


Did this section clearly explain what you wanted to learn?

New:

  • I/O methods and groups now support custom validation through the .validate() API

Fixed:


Did this section clearly explain what you wanted to learn?

Breaking changes:

  • The undocumented io.experimental.findAndSelectUser IO method has been removed in favor of the more powerful io.search

New:

Fixed:

  • TypeScript will now properly indicate when an IO method call requires a properties argument (for example io.display.table) Thanks to Petr for reporting this bug!


Did this section clearly explain what you wanted to learn?

Breaking changes:

New:

  • Adds an experimental io.experimental.input.file method. This method replaces our previous toUrl method. This new API returns an object with methods that allow you to get a URL that points to the uploaded file or the contents of the file as an object, a buffer, or a string
  • BigInt objects can now be used within io.display.object and in action return values

Especially while APIs are under an experimental flag, we encourage you to leave feedback to help shape Interval's future.

Did this section clearly explain what you wanted to learn?

548 Market St PMB 31323
San Francisco, CA 94104

© 2022

Join our mailing list

Every Friday we send an email with the latest from Interval, including events, product updates, SDK releases, and more.