Skip to content

v112.0.0

Compare
Choose a tag to compare
@cozy-bot cozy-bot released this 24 Oct 13:05
· 62 commits to master since this release

112.0.0 (2024-10-24)

Features

  • hooks: Add useClientErrors from cozy-client (deb505e)
  • providers: Add Encrypted from cozy-viewer (612cff6)
  • Remove Viewer (7d2b7ef)

BREAKING CHANGES

If you want to use the Viewer, you must import components from cozy-viewer. You need to :

  • Add the new package yarn add cozy-viewer
  • Make sure your app complice with all the peer dependencies
  • Add the new stylesheet import 'cozy-viewer/dist/stylesheet.css'
  • Replace the import from import Viewer from 'cozy-ui/transpiled/react/Viewer' to import Viewer from 'cozy-viewer'
  • Replace the deep import from import Something from 'cozy-ui/transpiled/react/Viewer/...' to import { Something } from 'cozy-viewer'

Note : If the component is not exposed at the root, use a PR to make it so rather than passing through /dist