Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: replicate/replicate-javascript
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v0.32.1
Choose a base ref
...
head repository: replicate/replicate-javascript
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v0.33.0
Choose a head ref
  • 6 commits
  • 7 files changed
  • 2 contributors

Commits on Sep 12, 2024

  1. Add new FileOutput type to stream.js

    This takes a url and creates a `ReadableStream` that has two additional
    methods `url()` and `blob()` for easily working with remote URLs or
    base64 encoded data.
    aron committed Sep 12, 2024
    Configuration menu
    Copy the full SHA
    181c512 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    19d606d View commit details
    Browse the repository at this point in the history
  3. Return FileOutput from run() function

    This is currently behind the `useFileOutput` flag provided to the
    Replicate constructor. This allows us to test the feature before rolling
    it out more widely.
    
    When enabled any URLs or data-uris will be converted into a FileOutput
    type. This is essentially a `ReadableStream` that has two additional
    methods `url()` to return the underlying URL and `blob()` which will
    return a `Blob()` object with the file data loaded into memory.
    
    The intention here is to make it easier to work with file outputs and
    allows us to optimize the delivery of file assets to the client in
    future iterations.
    aron committed Sep 12, 2024
    Configuration menu
    Copy the full SHA
    0e609c4 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    3380bbe View commit details
    Browse the repository at this point in the history
  5. Replace use of ?? with ||

    mattt authored and aron committed Sep 12, 2024
    Configuration menu
    Copy the full SHA
    445f2ab View commit details
    Browse the repository at this point in the history

Commits on Sep 16, 2024

  1. 0.33.0

    mattt committed Sep 16, 2024
    Configuration menu
    Copy the full SHA
    eb9adfd View commit details
    Browse the repository at this point in the history
Loading