Skip to content
This repository has been archived by the owner on Jan 3, 2024. It is now read-only.

5.0.0

Compare
Choose a tag to compare
@LukasHirt LukasHirt released this 08 Apr 15:11
· 2169 commits to master since this release

Changelog for [5.0.0] (2021-04-08)

Summary

  • Change - Use peerDependencies instead of dependencies: #1202
  • Enhancement - Export translations: #1201

Details

  • Change - Use peerDependencies instead of dependencies: #1202

    In the past we used dependencies in package.json which can blow up the bundle size a lot. Expect
    this, it is also possible that the same package with 2 versions is part of the bundle.

    From now on dependencies that are required to use ODS are added to the peerDependencies section
    in package.json. Then the consuming application has to add the dependency on it's own and can
    decide which minor or bugfix version to use.

    #1202

  • Enhancement - Export translations: #1201

    Some ODS components depend on translations and they correctly get pulled from Transifex into
    l10n/translations.json, yet we never exported them for other projects to use. Now, they get
    copied into the dist folder and can be imported and used alongside the styles and components.

    #1201