Releases: interval/interval-node
Releases · interval/interval-node
v0.25.0
Breaking changes
- The experimental
.use()
method for adding action groups has been renamed to.addGroup()
New
- Added a method for dynamically adding actions
- Added a method for dynamically removing actions
- Menus containing links to other actions or external URLs can now be added to rows in io.select.table and io.display.table with the new
rowMenuItems
prop
v0.24.0
Breaking changes
io.experimental.date
is nowio.input.date
io.experimental.time
is nowio.input.time
io.experimental.datetime
is nowio.input.datetime
New
- io.input.url is a new component 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)
v0.23.0
Breaking changes:
- The href properties in io.display.link, io.display.table and io.select.table have been renamed to url
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)
v0.22.0
New:
- I/O methods and groups now support custom validation through the .validate() API
Fixed:
- The SDK now detects and warns if calls to io.select.single or io.select.multiple include a defaultValue that is not also included within the provided options array
v0.21.0
Breaking changes:
- The undocumented
io.experimental.findAndSelectUser
IO method has been
removed in favor of the more powerful io.search
New:
- IO methods can now be conditionally marked as optional by providing a boolean
value tooptional()
- Action names and descriptions can now be defined in code
- Strings can be used as
options
directly in
io.select.single and io.select.multiple - Table
columns
definitions can now be arrays of string property names, allowing a subset of columns to be displayed without needing to use the more verbose column definitions syntax in
io.display.table and io.select.table
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!
v0.20.0
Full changelog: https://interval.com/changelog/0.20.0
Breaking changes
- The
io.experimental.upload.toUrl
IO method has been replaced with io.experimental.input.file
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