Skip to content

Releases: sor4chi/hono-storage

@hono-storage/[email protected]

30 Oct 15:35
59c9ea9
Compare
Choose a tag to compare

Patch Changes

@hono-storage/[email protected]

30 Oct 15:35
59c9ea9
Compare
Choose a tag to compare

Patch Changes

@hono-storage/[email protected]

30 Oct 15:35
59c9ea9
Compare
Choose a tag to compare

Patch Changes

  • #36 17d6090 Thanks @sor4chi! - Fix: collectly handle storage when one file posted to multiple middleware

  • 0d257d4 Thanks @sor4chi! - Breaking Changes: change the way to define multiple middleware option for scalability

    // Before
    storage.multiple("field", 3); // max 3 files options
    
    // After
    storage.multiple("filed", { maxCount: 3 }); // max 3 files options

@hono-storage/[email protected]

29 Oct 07:12
bfe8d81
Compare
Choose a tag to compare

Patch Changes

@hono-storage/[email protected]

29 Oct 07:12
bfe8d81
Compare
Choose a tag to compare

Patch Changes

@hono-storage/[email protected]

29 Oct 07:12
bfe8d81
Compare
Choose a tag to compare

Patch Changes

@hono-storage/[email protected]

29 Oct 07:12
bfe8d81
Compare
Choose a tag to compare

Patch Changes

  • #33 acf1f0d Thanks @sor4chi! - c.var.files became type-safe

    app.post("/single", storage.single("image"), (c) => {
      const image = c.var.files.image; // string | File | undefined
    });
    
    app.post("/multiple", storage.multiple("images"), (c) => {
      const images = c.var.files.images; // (string | File)[]
    });
  • #30 6da696f Thanks @sor4chi! - Breaking Change: Rename storage.array to storage.multiple.

@hono-storage/[email protected]

28 Oct 16:44
24b20df
Compare
Choose a tag to compare

Patch Changes

@hono-storage/[email protected]

28 Oct 16:44
24b20df
Compare
Choose a tag to compare

Patch Changes

@hono-storage/[email protected]

28 Oct 16:44
24b20df
Compare
Choose a tag to compare

Patch Changes