Skip to content

v0.30.0

Compare
Choose a tag to compare
@mattt mattt released this 22 May 21:08
· 27 commits to main since this release
3db8800

The notable change in this release is support for Replicate's new (write-only) files API. By default, each binary input is uploaded and replaced with a URL to the created file. Before the inputs are sent to the model to be run, Replicate's API rewrites the URL to make the file downloadable.

From the perspective of the caller, the out-of-the-box experience is the same: You pass a file handle or blog as an input, and that's it — everything just works. And with the files API, things work much better for larger files, whose data URI encoding can cause write timeouts and other problems.

What's Changed

  • docs: document validateWebhook by @zeke in #259
  • document Node.js 18 requirement by @zeke in #260
  • add a Pull Request template by @zeke in #263
  • Add support for files API endpoints by @mattt in #184

Full Changelog: v0.29.4...v0.30.0