Skip to content

0.12.0

Latest
Compare
Choose a tag to compare
@ownclouders ownclouders released this 30 Jun 15:00
· 173 commits to master since this release

Changes in 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