sor4chi / hono-storage

A storage helper for Hono. Support disk, memory, S3, etc.
MIT License
101 stars 3 forks source link

feat!: type-safe `c.var.files` support #27

Closed sor4chi closed 10 months ago

sor4chi commented 10 months ago

Breaking Changes

Before

storage.fields([
  { name: "images", maxCount: 3 },
  { name: "files" },
])

After

storage.fields({
  images: { type: "multiple", maxCount: 3 },
  files: { type: "multiple" },
})
changeset-bot[bot] commented 10 months ago

⚠️ No Changeset found

Latest commit: dc99f177cfec50b41084141a70b99249e0fb2fd5

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR