Skip to content

Latest commit

 

History

History
521 lines (297 loc) · 19.7 KB

CHANGELOG.md

File metadata and controls

521 lines (297 loc) · 19.7 KB

Changelog for 0.11.0 (2023-08-24)

The following sections list the changes in ownCloud File picker 0.11.0.

Summary

  • Bugfix - Update dependencies: #86
  • Bugfix - Authentication fixes: #92
  • Enhancement - Spaces support: #194

Details

  • Bugfix - Update dependencies: #86

    We've updated some of this project's dependencies.

    #86

  • Bugfix - Authentication fixes: #92

    We've fixed a bug causing the file-picker becoming stuck on the loading spinner when the access token is already expired.

    #92

  • Enhancement - Spaces support: #194

    We've brought support for the "Spaces" feature of ownCloud Infinite Scale to the file picker.

    #194 #198 #199 #201 #203

Changelog for 0.12.0 (2023-06-30)

The following sections list the changes in ownCloud File picker 0.12.0.

Summary

  • Bugfix - Clear state when unauthorized: #211
  • Bugfix - Reduce requests on token renewal: #211
  • Bugfix - Use bearerToken prop when set: #218
  • Enhancement - Rename select action label in resource picker: #194
  • Enhancement - Token event: #205
  • Enhancement - Use refresh token on init: #213
  • Enhancement - Drop UIkit from examples: #219
  • Enhancement - Bring back shadowRoot: #222
  • Enhancement - Use Inter font: #222

Details

  • Bugfix - Clear state when unauthorized: #211

    The filepicker now reacts to 401 responses by resetting the internal authentication state to unauthorized, forcing the user to log in again. This situation can happen when an access token that's not expired, yet, was invalidated server side (e.g. through a backchannel logout or session inactivity) and would previously lead to a broken application state.

    #211

  • Bugfix - Reduce requests on token renewal: #211

    We've fixed a bug that caused always re-fetching the logged in user and the server capabilities on token renewal under certain circumstances. Now the logged in user and the server capabilities are only fetched once after successful authentication.

    #211

  • Bugfix - Use bearerToken prop when set: #218

    We've fixed a bug causing the bearerToken prop not being used when it is passed to the File picker. It will no longer try to get the token from the authentication instance and trigger an error blocking the load of the File picker.

    #218

  • Enhancement - Rename select action label in resource picker: #194

    We've renamed the label of the select action (previously "Select resource") to "Choose". This label is only visible when the File picker is set to type "resource".

    #194 #220

  • Enhancement - Token event: #205

    We're emitting a token event with the current access token whenever the access token gets updated internally.

    #205

  • Enhancement - Use refresh token on init: #213

    We've added a silent token renewal attempt during filepicker initialization. This way the user doesn't need to log in again if there still is a valid refresh token in the local storage.

    #213

  • Enhancement - Drop UIkit from examples: #219

    We've dropped the last imports of UIkit inside of oCIS and oC examples. UIkit will no longer be imported anymore.

    #219

  • Enhancement - Bring back shadowRoot: #222

    We've brought back the shadowRoot functionality of custom elements to encapsulate the styles inside of it. This will now prevent any leak of the styles to the parent document.

    #222

  • Enhancement - Use Inter font: #222

    We've added the Inter font into the File picker bundle so that it can be imported by the app. This aligns the File picker with ownCloud Web. The font is imported automatically. Developers need to only make sure that the font is available at path /fonts/inter.css and /fonts/inter.ttf

    #222

Changelog for 0.10.0 (2021-08-05)

The following sections list the changes in ownCloud File picker 0.10.0.

Summary

  • Enhancement - Focus last breadcrumb item: #79

Details

  • Enhancement - Focus last breadcrumb item: #79

    We've added focus management so that the last breadcrumb item will be focused after a folder has been loaded. By default, this focus management is disabled on the first load when opening the file picker. To enable it also during the first load, set prop isInitialFocusEnabled to true.

    #79

Changelog for 0.9.0 (2021-06-30)

The following sections list the changes in ownCloud File picker 0.9.0.

Summary

  • Enhancement - Set state store: #78

Details

  • Enhancement - Set state store: #78

    We've added the same storage that we're using in the user store to the state store.

    #78

Changelog for 0.8.0 (2021-06-29)

The following sections list the changes in ownCloud File picker 0.8.0.

Summary

  • Bugfix - Current breadcrumb item shouldn't be interactable: #64
  • Bugfix - Emit location as an array: #71
  • Enhancement - Add memory storage option: #67
  • Enhancement - Emit current folder in "folderLoaded" event: #71

Details

  • Bugfix - Current breadcrumb item shouldn't be interactable: #64

    We've fixed the last item in the breadcrumb which is equal to the current folder so that it is not interactable anymore.

    #64 #76

  • Bugfix - Emit location as an array: #71

    When loading new folder in Location picker, we are emitting an "update" with the current route as an argument. We've fixed that the argument has type array now so that it is consistent with all other arguments returned in the "update" event.

    #71 #75

  • Enhancement - Add memory storage option: #67

    We've added an option to store the Bearer token in memory storage instead of session storage.

    #67 #74

  • Enhancement - Emit current folder in "folderLoaded" event: #71

    We've added event called "folderLoaded" that is emitted every time a loading of any folder has ended. It is emitting the current folder as an argument.

    #71 #75

Changelog for 0.7.0 (2021-06-18)

The following sections list the changes in ownCloud File picker 0.7.0.

Summary

  • Enhancement - Emit update on location change: #71

Details

  • Enhancement - Emit update on location change: #71

    If a new folder in Location picker is loaded, emit it in the update event so that in case of hidden select button, consuming app can still receive the location.

    #71 #72

Changelog for 0.6.0 (2021-06-15)

The following sections list the changes in ownCloud File picker 0.6.0.

Summary

  • Bugfix - Decode path: #69
  • Enhancement - Update ODS to 7.2.0: #65

Details

Changelog for 0.5.0 (2021-05-27)

The following sections list the changes in ownCloud File picker 0.5.0.

Summary

  • Change - Remove focus management: #61
  • Enhancement - Add a prop to hide the select button: #60
  • Enhancement - Always emit event when a resource is selected: #60
  • Enhancement - Emit event when clicking the select button: #60

Details

  • Change - Remove focus management: #61

    We've removed the initial focus management and shift the responsibility to the consuming app.

    #61

  • Enhancement - Add a prop to hide the select button: #60

    We've added a new prop isSelectBtnDisplayed which can be used to hiding the select button.

    #60

  • Enhancement - Always emit event when a resource is selected: #60

    We've started emitting update event every time a resource or location is selected or deselected.

    #60

  • Enhancement - Emit event when clicking the select button: #60

    We've started emitting select event when the select button is clicked.

    #60

Changelog for 0.4.0 (2021-05-04)

The following sections list the changes in ownCloud File picker 0.4.0.

Summary

  • Bugfix - Emit current folder: #42
  • Bugfix - Do not propagate click event on checkbox: #53
  • Enhancement - Build File picker as a library: #32
  • Enhancement - Update ODS to 6.2.0: #36
  • Enhancement - Add initial focus: #44
  • Enhancement - Add translations: #49
  • Enhancement - Make it possible to select folder via keyboard: #51
  • Enhancement - Add accessible location select: #54
  • Enhancement - Improve resource name and info readability: #55

Details

  • Bugfix - Emit current folder: #42

    When selecting the current folder in the location picker, an empty array has been emitted. We've fixed this by emitting the current folder.

    #42

  • Bugfix - Do not propagate click event on checkbox: #53

    When clicking on the checkbox to select a resource, it hasn't been selected because a click on the row would have been caught as well which would reset the selection again. We've fixed this issue by not propagating the click event on checkbox to the parent.

    #53

  • Enhancement - Build File picker as a library: #32

    We've added a build script which creates a library bundle with the File picker. This bundle can be directly imported during build time into any Vuejs app.

    #32

  • Enhancement - Update ODS to 6.2.0: #36

    We've updated ODS to version 6.2.0. This version brings new components that we used to make the location picker an actual table of resources.

    #36 https://github.com/owncloud/owncloud-design-system/releases/tag/v6.2.0

  • Enhancement - Add initial focus: #44

    We've added an initial focus so that when the File picker is mounted, it immediately becomes focused.

    #44

  • Enhancement - Add translations: #49

    We've added vue-gettext library to add support for translations.

    #49

  • Enhancement - Make it possible to select folder via keyboard: #51

    We've made the table row in the File picker focusable and the selection of folder in location picker triggerable by hitting enter.

    #51

  • Enhancement - Add accessible location select: #54

    We've added a hidden button that becomes visible only when focused via keyboard navigation to ensure it is possible to select a location also when using a screen reader only.

    #54

  • Enhancement - Improve resource name and info readability: #55

    We've added paragraph elements for resource name and info so that the readability is improved when using screen readers.

    #55

Changelog for 0.3.0 (2021-04-19)

The following sections list the changes in ownCloud File picker 0.3.0.

Summary

  • Enhancement - Allow string as configObject attribute: #27
  • Enhancement - Cancelling the file picker: #29
  • Enhancement - Select button label: #29

Details

  • Enhancement - Allow string as configObject attribute: #27

    The property/attribute "configObject" is now allowed to be a string. We'll parse it as JSON.

    #27 #28

  • Enhancement - Cancelling the file picker: #29

    We added two options for emitting a cancel event from the file picker: - pressing ESC on the keyboard while the file picker is focussed - clicking the new Cancel button which appears in the top bar as soon as a cancelBtnLabel is provided

    #29

  • Enhancement - Select button label: #29

    It is now possible to provide a dedicated label overriding the default Select button label.

    #29

Changelog for 0.2.0 (2020-12-07)

The following sections list the changes in ownCloud File picker 0.2.0.

Summary

  • Bugfix - Reset resource selection when opening folder: #11
  • Enhancement - Do not import Vue: #16
  • Enhancement - Bootstrap Vue: #19

Details

  • Bugfix - Reset resource selection when opening folder: #11

    We've added reset of selected resources when a folder is opened. This prevents from having selected resources which are not visible.

    #11

  • Enhancement - Do not import Vue: #16

    We've stopped importing Vue because it is not bundled during the build process and needs to be included as a global variable in the target web application.

    #16

  • Enhancement - Bootstrap Vue: #19

    We've bootstrapped Vue to add access to the file picker via window.

    #19

Changelog for 0.1.0 (2020-09-01)

The following sections list the changes in ownCloud File picker 0.1.0.

Summary

  • Enhancement - Add basic implementation of file picker: #2

Details

  • Enhancement - Add basic implementation of file picker: #2

    We've added a basic implementation of ownCloud file picker. File picker is a web component which can be integrated into existing products and is firing event providing array of selected resources

    #2