Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: Prepare release of 5.0.0-beta.1 #911

Merged
merged 1 commit into from
Aug 18, 2023
Merged

Conversation

susnux
Copy link
Contributor

@susnux susnux commented Aug 18, 2023

v5.0.0-beta.1 (2023-08-18)

💥 Breaking

  • A Vue based file picker is provided which uses @nextcloud/vue version 8, so this library will only work on Nextcloud 28+
  • Modernize FilePickerBuilder to directly make use of the Vue based file picker #904 (@susnux)
    • This slightly breaks the FilePickerBuilder API:
      • FilePicker.pick now returns a Promise resolving to string[] containing the picked paths
      • FilePicker.constructor parameter order was changed
      • FilePickerBuilder.setModal was removed as it has no effect
      • FilePickerBuilder.setType is deprecated in favor of FilePickerBuilder.addButton
      • FilePickerBuilder.addButton was added which allows to add custom buttons with callbacks on click (so users can now distinguish which button was clicked)

🚀 Enhancement

  • A Vue based FilePicker component was added, which can be used either as a component or using programmatically #878 (@susnux)
  • FilePickerBuilder: Allow to add custom buttons #896 (@susnux)

🐛 Fixed bugs

  • Fixed some design flaws in new FilePicker component
    • Adjust color of placeholder skeletons #880 (@susnux)
    • Fix column alignment to be consistent with files app #881 (@susnux)
    • Navigation and filter should be on separate rows on mobile #882 (@susnux)
    • Adjust filepicker breadcrumbs button for design review #892 (@susnux)
    • Ensure only the file table is scrolled #899 (@susnux)
  • FilePicker: Request oc:size property for showing the file size #893 (@susnux)
  • FilePicker: Fix exported typings and cleanup file picker files #903 (@susnux)

Changed

  • The package does no longer contain core-js polyfills as Nextcloud core already provides polyfills #863 (@susnux)
  • The project was moved to a new Github organization (nextcloud-libraries)
  • Add version compatibility section to README #891 (@susnux)
  • Improved developer documentation #906 (@susnux)

Signed-off-by: Ferdinand Thiessen <[email protected]>
@susnux susnux added this to the 5.0.0 milestone Aug 18, 2023
Copy link
Contributor

@skjnldsv skjnldsv left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🫡

@susnux susnux merged commit c51c19b into master Aug 18, 2023
@susnux susnux deleted the chore/prepare-5.0.0-beta-1 branch August 18, 2023 14:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants