5.0.0
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. -
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 thedist
folder and can be imported and used alongside the styles and components.