Releases: NyllRE/nuxt-file-storage
Releases · NyllRE/nuxt-file-storage
v0.2.9
- You can now import module types (Issue: #23, Fix: #24
$\rightarrow$ #26) - Added settings for the
useFileStorage
module to control thefiles
ref function of deleting old files
const { handleFileInput, files } = useFileStorage({ clearOldFiles: false })
- setting is backwards compatible, if you don't use it the old functionality percists
v0.2.8
🩹 Fixes
- Update to latest
@nuxt/module-builder
(2d0c20c) - Fix conflicting File name and Promise resolve issue #19
❤️ Contributors
- @tengju
- Daniel Roe (@danielroe)
v0.2.7
v0.2.6
changed storeFileLocally
property
previously you had to put the file.content
only, now you will need to put the file
entirely to check the properties of the file
here is a before and after to clarify what you should do:
before:
await storeFileLocally(
file.content,
12,
'/specificFolder'
)
after:
await storeFileLocally(
- file.content,
+ file,
12,
'/specificFolder'
)
Issues Fixed
- Save with original file extension, without browser type detection #12
v0.2.5
fixed update concerns + readme issues
v0.2.3
file submit handler returns file properties. from #5 by @puzzle-it-nu
v0.2.2
declustered module setup & added an import to runtimeConfig
v0.2-beta.1
fixed typescript declarations for server utilss
v0.2.0
v0.1.2
compare changes
Changed the name of the composable from useStorage
to useNitroStorage
due to conflicting packages