Skip to content

Commit

Permalink
v1.0.5 unhandled exception fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
paulosabayomi committed Feb 11, 2024
1 parent 4bdbe0d commit 6d74e93
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 4 deletions.
14 changes: 12 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,19 @@
# Changelog

## 1.0.5

- Fix: Unhandled fetch exception when loading default files.

## 1.0.4

- Fix: Added toggle button to toggle add new file UI visible or hidden to the Elegant UI type.
- New: Added hide_add_file_ui method
- New: Added is_add_file_ui_shown

## 1.0.0

- Added chunk upload
- Added new UI type: elegant
- New: Added chunk upload
- New: Added new UI type: elegant
- Fix: file persistent storage method, files are now stored as ObjectURL on https and base64 on http
- New: Added auto upload for files added to the UI when files are still uploading
- New: Added option display_file_sources: if set to false the file sources will not be listed on the default UI.
Expand Down
2 changes: 1 addition & 1 deletion core/custupCore.js
Original file line number Diff line number Diff line change
Expand Up @@ -890,7 +890,7 @@ export default class CustUpCore {
file.name = this.getRandChars('default')
file.isDefaultFile = !file_obj.isUploadable
this.handle_selected_files([file], null, file_obj.isUploadable)
})
}).catch(err => this.show_message('An error occured could not load a default file', 'error'));
})

}
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "custup",
"version": "1.0.4",
"version": "1.0.5",
"description": "Highly customisable file upload library with zero dependencies",
"main": "src/custup.min.js",
"scripts": {
Expand Down

0 comments on commit 6d74e93

Please sign in to comment.