Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BREAKING: Implement more of the R2 API #627

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from

Commits on Aug 21, 2024

  1. feature: add Conditional (onlyIf) support to PutOptionsBuilder

    This commit adds missing `Conditional` operations to the
    R2 `PutOptionsBuilder`. This is a breaking change, because after
    this change, an R2 put may return `None`.
    fisherdarling committed Aug 21, 2024
    Configuration menu
    Copy the full SHA
    f815ddc View commit details
    Browse the repository at this point in the history
  2. feature: implement undocumented R2 startAfter API

    This adds the `startAfter` list option which is implemented,
    however undocumented. This is equivalent to the `marker` field
    in the s3 api.
    fisherdarling committed Aug 21, 2024
    Configuration menu
    Copy the full SHA
    c4944c0 View commit details
    Browse the repository at this point in the history