Releases: jannistpl/egui-file-dialog
Releases · jannistpl/egui-file-dialog
v0.13.0 - egui update and QoL changes
🚨 Breaking Changes
- Update
eguifrom version0.33to version0.34#314 (thanks @crumblingstatue!) - Add
select_alltoFileDialogLabels#304 - Add
show_select_all_buttonandshow_all_files_filtertoFileDialogConfig#304, #306 - Replaced the Arc inside
FileDialog::add_file_filter,FileDialogConfig::add_file_filter,FileDialog::set_file_iconandFileDialogConfig::set_file_iconwith a customFilterstruct.
For migration replaceArc::new(|p| ...)withegui_file_dialog::Filter::new(|p: &Path| ...)#308 - Add
max_selectionstoFileDialogConfig#312
✨ Features
- Allow to customize more icons: parent directory, back, forward, new folder, menu #294 (thanks @Jupeyy!)
- Allow to customize search_icon and path_edit_icon #296 (thanks @mq1!)
- Add "Select All" option to hamburger menu #304
- Add option
FileDialogConfig::show_all_files_filter, which allows the default filter "All Files" to be hidden #306 - Add
FileDialog::set_open_directory_filterandFileDialog::clear_open_directory_filterto skip navigating into matching directories #308 (thanks @monoclecat!) - Implement
FileDialog::max_selectionsandFileDialogConfig::max_selectionsto limit how many items the user can select inPickMultiplemode #312 (thanks @hallyhaa!)
🔧 Changes
- Remove unnecessary clone #297
- Improve format of imports using rusfmt nightly #300
- Fix new clippy lint added in recent rust updates #301
- Update
sysinfofrom version0.37to version0.38#303
🐛 Bug Fixes
- Fix compilation on i686-pc-windows-msvc and i686-win7-windows-msvc #293 (thanks @mq1!)
- Fix incorrect row height of items inside the central panel, causing red boxes when scrolling in debug mode in egui version 0.34 #317
📚 Documentation
v0.12.0 - egui update and QoL changes
v0.11.0 - egui update and QoL changes
🚨 Breaking Changes
- Updated
eguifrom version0.31to version0.32#276, #278 (thanks @David-OConnor!) - Replace
operation_idandset_operation_idwithuser_data,user_data_mutandset_user_data#269 (thanks @crumblingstatue!)
🐛 Bug Fixes
🔧 Changes
- Updated
sysinfofrom v0.35to v0.36#277
📚 Documentation
- Use Display trait to print paths in examples, to satisfy clippy lint #270 (thanks @crumblingstatue!)
v0.10.0 - File extension filter for save dialog and QoL changes
✨ Some of the highlights included in this release:
- File extension filter for the save file dialog
- Ability to change the display name of pinned folders
- Shortcut to open the current working directory
Release stats: 24 changed files with 1.076 additions and 468 deletions.
🚨 Breaking Changes
- Moved
FileDialogStorageout ofFileDialogConfig#259
Breaking changes due to new features and updated configuration
- Added
save_extensionsanddefault_save_extensiontoFileDialogConfig#248 - Added
save_extension_anytoFileDialogLabels#248 - Added
rename_pinned_foldertoFileDialogLabels#258 - Changed
FileDialogStorage::pinned_foldersfromVec<DirectoryEntry>toVec<PinnedFolder>#258
✨ Features
- Added shortcut to open current working directory to hamburger menu #246
- Added file extensions and filters when saving a file using
FileDialog::add_save_extension,FileDialogConfig::add_save_extensionandFileDialog::default_save_extension#248 - Added ability to open path context menu from a segment inside the navigation bar #253
- Added
FileDialog::set_operation_idto set the ID of the operation for which the dialog is currently being used after opening it #257 - Added ability to rename a pinnend folder via its context menu #258
- Added shortcut methods
FileDialog::add_file_filter_extensionsandFileDialogConfig::add_file_filter_extensionswhich allow adding a filter matching specific file extensions #263
☢️ Deprecated
- Deprecate
FileDialog::open. UseFileDialog::pick_file/FileDialog::pick_directory/FileDialog::pick_multiplein combination withFileDialog::set_operation_idinstead #257
🔧 Changes
- Excluded media files from package to reduce size #244
- Fixed triggering branches in CI #247
- Changed default file name from an empty string to
Untitled#248 - Fixed new clippy errors added in the latest rust version #262
- Updated
sysinfofrom version0.33to version0.35#265, #266
📚 Documentation
v0.9.0 - egui update, virtual file system and more
✨ Some of the highlights included in this release:
- Virtual file system support
- Last changes to consistent API naming
Release stats: 34 changed files with 762 additions and 448 deletions.
🚨 Breaking Changes
- Updated
eguito version0.31#240 - Removed deprecated methods
FileDialog::select_directory,FileDialog::select_file,FileDialog::select_multiple,FileDialog::overwrite_config,FileDialog::selected,FileDialog::take_selected,FileDialog::take_selected_multiple#229 - Renamed
DialogMode's:SelectFile->PickFile,SelectDirectory->PickDirectory,SelectMultiple->PickMultiple#229 - Renamed
DialogState's:Selected->Picked,SelectedMultiple->PickedMultiple#229 - Renamed
active_entry->selected_entry#229 - Renamed
active_selected_entries->selected_entries#229 - Removed result from
FileDialog::open#242
Breaking changes due to new features and updated configuration
- Added
file_systemtoFileDialogConfig#227 - Added
file_systemparameter toDirectoryEntry::from_path#227 - Added
opening_modetoFileDialogConfig#239 - Added
last_visited_dirandlast_picked_dirtoFileDialogStorage#239
✨ Features
- Implement file system abstraction so that the file dialog can be used with virtual file systems #227 (thanks @Masterchef365!)
- Added new configuration option
FileDialog::opening_modewhich allows to further specify which directory is loaded when the file dialog is opened #239
🐛 Bug Fixes
- Fixed canonicalization flag not used during object creation #237
🔧 Changes
v0.8.0 - egui update, custom right panel and more
✨ Some of the highlights included in this release:
- Right panel to show custom UI inside the file dialog
- Optional information UI for the right panel to display information about a file or show (image) previews
Release stats: 51 changed files with 2,119 additions and 702 deletions
🚨 Breaking Changes
✨ Features
- Added
FileDialog::update_with_right_panel_uito add a custom right panel to the file dialog #170 (thanks @crumblingstatue!) - Added
FileDialog::active_selected_entriesandFileDialog::active_entryto get information about the current active item/s #170 (thanks @crumblingstatue!) - Added new
InformationPanelto optionally display file information and image previews in the right panel #184 (thanks @hacknus and @bircni!) - Added option to show system files in the hamburger menu #173 (thanks @crumblingstatue!)
- Support mapped network devices on Windows #189
- Added the ability to drag and drop files and folders to open their respective path #192 (thanks @hacknus!)
- Support network drives on MacOS #194 (thanks @hacknus!)
- Files and folders are now truncated in the middle and no longer divided onto separate lines. This can be disabled using
FileDialog::truncate_filenames#203 (thanks @hacknus!)
☢️ Deprecated
- Deprecated all
select_*methods and added new equivalentpick_*methods #207
🐛 Bug Fixes
- Fixed heading
Placesnot being able to be updated withFileDialogLabels#180 - Fix display errors with path prefix on Windows #182
- Fix Macintosh HD drive appearing twice on MacOS #204 (thanks @hacknus!)
🔧 Changes
- Use path edit as file to save #160
- Updated sysinfo to version
0.33#220 - Made default egui fonts an optional feature
default_fonts#163 (thanks @StarStarJ!) - Filter directory when loading to improve performance #169
- Implement non blocking directory loading #177
- Only update visible items in the central panel if the search value is empty and the create directory dialog is currently closed #181
- Improve CI #186 (thanks @bircni!)
- Use
cmdfor keybindings on MacOS #205 (thanks @hacknus!) - Cleanup examples #213 (thanks @bircni!)
📚 Documentation
v0.7.0 - egui update and QoL changes
🚨 Breaking Changes
- Updated
eguifrom version0.28.0to version0.29.1#155 and #157 (thanks @crumblingstatue!)
🔧 Changes
v0.6.1 - Bug Fixes
v0.6.0 - Keyboard navigation, multi selection, pinable folders and more
This version implements all important features that were still open and described as planned in the readme.
✨ Some of the highlights included in this release:
- Keyboard navigation
- Selection of multiple directory items at once (ctrl/shift + click)
- Pinnable folders for quick access
- Hidden files and folders option
- Custom file filters the user can select from a drop-down menu
Release stats: 33 changed files with 2,606 additions and 570 deletions
🚨 Breaking Changes
- Updated
eguifrom version0.27.1to version0.28.0#133 (thanks @crumblingstatue!) - Added
DialogMode::SelectMultipleandDialogState::SelectedMultiple#127 - Added new labels to
FileDialogLabels#100, #111, #127 - Added new configuration values to
FileDialogConfig#100, #104, #106, #110, #111, #118
✨ Features
- Added the ability to pin folders to the left sidebar and enable or disable the feature with
FileDialog::show_pinned_folders#100 - Added
FileDialogConfig::storage,FileDialog::storageandFileDialog::storage_mutto be able to save and load persistent data #104 and #105 - Added new modal and option
FileDialog::allow_file_overwriteto allow overwriting an already existing file when the dialog is inDialogMode::SaveFilemode #106 - Implemented customizable keyboard navigation using
FileDialogKeybindingsandFileDialog::keybindings#110 - Implemented show hidden files and folders option #111
- The dialog is now displayed as a modal window by default. This can be disabled with
FileDialog::as_modal. The color of the modal overlay can be adjusted usingFileDialog::modal_overlay_color. #118 - Added
FileDialog::add_file_filterandFileDialog::default_file_filterto add file filters that can be selected by the user from a drop-down menu at the bottom #124 - Implemented selection of multiple files and folders at once, using
FileDialog::select_multiple,FileDialog::selected_multipleandFileDialog::take_selected_multiple#127
☢️ Deprecated
- Deprecated
FileDialog::overwrite_config. UseFileDialog::with_configandFileDialog::config_mutinstead #103
🐛 Bug Fixes
- Fixed the size of the path edit input box and fixed an issue where the path edit would not close when clicking the apply button #102
🔧 Changes
- Restructured
configmodule and fixed new1.78clippy warnings #109 - The reload button has been changed to a menu button. This menu contains the reload button and the “Show hidden" option #111
- Minor navigation improvements #113
- Made
DirectoryEntrypublic reachable #119 (thanks @crumblingstatue!) - Improved handling of internal IDs #128
- Made file dialog
Send#131 (thanks @nat3!)
📚 Documentation
- Added
persistenceexample showing how to save the persistent data of the file dialog #107 - Reworked
README.md#108 - Added
multi_selectionexample showing how to select multiple files and folders at once #129 - Updated crate documentation in
lib.rs#135 - Use workspace dependencies in examples #133 (thanks @crumblingstatue!)
v0.5.0 - egui update and QoL changes
🚨 Breaking Changes
- Updated
eguifrom version0.26.0to version0.27.1#97
✨ Features
- Added
FileDialog::add_quick_accessandFileDialogConfig::add_quick_accessto add your own quick access sections to the left sidebar #95
🔧 Changes
- Automatically edit filter string when user is typing #93 (thanks @crumblingstatue and @aymey!)