@rpldy/simple-state
Advanced tools
Changelog
0.7.0 (2020-10-01)
[uploady]
- new hook: useUploadyContext[uploady]
- processPending context method now accepts options[uploader]
- new upload option - clearPending - clears pending batches when new is added[chunked-sender]
- change chunked upload data to include results array inside response object (instead of response being the results array)[tus-sender]
- location header inaccessible[simple-state]
- unwrap issues[uploader]
- safer cleanUpFinishedBatch in batch helpers[tus-sender]
- remove async/await[uploader]
- ensure all data exposed from events is unwrapped (in dev)[life-events]
- introduce life-pack conceptbuild
- use minify-dead-code-elimination babel pluginall
- moved umd bundle into lib/all
- upgrade dev dependenciesguides
- new guide: Submit FormChangelog
0.6.0 (2020-09-19)
[uploader]
- SSR: dont use window if not available
[shared]
- SSR: dont use window if not available
[chunked-sender]
- SSR: dont use window if not available
[safe-storage]
- SSR: dont use window if not available
[uploady]
- SSR: noPortal prop - Dont render Uploady's file input in a portal
all
- esm and cjs are both available in npm
[uploader]
- fixed bug preventing retry item while its batch is still in progress[upload-button]
- clarified use of forwardRef for asUploadButtonstorybook
- upgraded to SB 6misc
- removed use of async/await = no dependency on regenerator-runtimeChangelog
0.5.0 (2020-09-13)
[native-uploady]
- react-native: 📱 - new package.
[sender]
- react-native: work with FormData without set
[shared]
- react-native: don't expect window to be there
[simple-state]
- react-native: don't proxy File-like object in RN
[uploader]
- react-native: don't expect window to be there
[shared-ui]
- react-native: NoDomUploady - Uploady without react-dom
[shared-ui]
- moved withRequestPreSendUpdate from ui/uploady
[shared-ui]
- moved useUploader from ui/uploady
[shared-ui]
- dont import code from @rpldy/uploadyChangelog
0.4.0 (2020-07-22)
[mock-sender]
- mock sender for testing purposes (moved out of sender)[shared]
- getMerge with withSymbols[simple-state]
- unwrap with symbol propsChangelog
0.3.0 (2020-07-04)
[uploady]
- withRequestPreSendUpdate HOC[uploader]
- made REQUEST_PRE_SEND event cancellable[upload-preview]
- exposed PREVIEW_TYPES[upload-preview]
- added isFallback prop for preview component[shared]
- batch items can be recycled (ex: retry)all
- event data is unwrapped (un-proxied) before sent out with trigger[shared]
- fix merge/clone mistreating arrays[simple-state]
- new package to handle internal state (uploader/retry/tus-sender)e2e
- added queue-retry spec[uploady]
- document withRequestPreSendUpdate[simple-state]
- package readmeguides
- Crop guidestorybook
- added upload-preview with crop storyinternal packages
- added "internal" note