Releases: replicate/replicate-javascript
Releases · replicate/replicate-javascript
v0.32.1
v0.32.0
v0.31.1
What's Changed
- Re-raise 4xx responses from server when uploading files by @aron in #284
- Document alternate interface to
validateWebhook()by @aron in #285 - Document 100MiB file upload limit by @mattt in #287
- Add integration test for Deno by @mattt in #281
- Fix Deno integration test by @mattt in #282
- Document supported platforms by @mattt in #280
- Run integration tests with
replicate/canarymodel by @mattt in #283
Full Changelog: v0.31.0...v0.31.1
v0.31.0
v0.30.2
v0.30.1
v0.30.0
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
validateWebhookby @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