Airplane lets you transform scripts, APIs, and SQL queries into tasks and UIs for your team in minutes. If you have feature requests you'd like to see in future changelogs, reply and let us know!
Since our last changelog, we've rolled out sleep API, API support for idempotency keys, and prompt callbacks.
Tasks that sleep
You can now pause task execution for minutes, hours, days, or weeks using the sleep API. Our new sleep feature is currently in beta for TypeScript + JavaScript, with support for Python coming soon! Check out the sleep API docs for more information.
API support for idempotency key
The Airplane API supports idempotency which allows clients to safely retry requests without the risk of duplicating operations. To do so, clients must send an Idempotency-Key
header with their API requests. The Airplane SDKs will automatically include this header when retrying API requests, making tasks more fault tolerant. Check out the idempotency docs for more information.
Prompt callbacks
The JavaScript SDK now allows you to create background prompts. When combined with the Submit Prompt API endpoint, you can start a prompt in a task and programmatically complete it from outside of Airplane's runtime. Check out our background prompts docs to get started!
Improvements and fixes
- Windows support for built-ins in Studio. We added Windows support for Airplane built-ins in Studio. Windows users can now develop SQL and REST tasks locally and use built-ins in JavaScript or Python tasks. Upgrade your CLI to the most recent version to get started.
- FileInput improvements. We added a button-style variant to FileInput that allows users to select and upload files. We're constantly adding new components to our Views component library: Components.
- Improved file support in JavaScript tasks. The JavaScript SDK now includes a helper for working with and fetching file parameters:
new AirplaneFile(params.your_file)
. Check out the file docs for more details.