Skip to content

v6.0.0

Compare
Choose a tag to compare
@austingreendev austingreendev released this 08 Jun 01:27

v6.0.0 (2019-06-07)

πŸ’₯ Breaking Change

🌱 Internal

  • all packages
  • other
  • all packages

Breaking Change Details

New versioning strategy

  • Garden React packages are now published under a shared, fixed (common major) version number
  • You are still able to upgrade packages individually
  • This change will help us better communicate changes and allows consumers to better understand the state of their dependencies
  • This is the first release under the new versioning strategy, v6.0.0

New peer dependencies

From v6.0.0 all Garden React libraries now require the following peer dependencies:

react@^16.8.0
react-dom@^16.8.0
styled-components@^4.2.0
@zendeskgarden/react-theming@^6.0.0

React v16 upgrade docs
styled-components v4 upgrade docs

Beginning with v4, styled-components now uses the React.forwardRef API.

This means that all existing innerRef, menuRef, buttonRef, etc. props are now replaced with ref.

How to upgrade

  1. Upgrade react and react-dom to latest
  2. Upgrade all Garden dependencies to their most recent, pre v6 versions
  3. Upgrade styled-components and all Garden dependencies to latest
  4. Correct all innerRef, buttonRef, menuRef, etc. usages based on the styled-components v4 upgrade docs

If you have any upgrade questions please create an issue.

Pre v6 changelogs

react-autocomplete, react-avatars, react-breadcrumbs, react-buttons, react-checkboxes, react-chrome, react-dropdowns, react-forms, react-grid, react-loaders, react-menus, react-modals, react-notifications, react-pagination, react-radios, react-ranges, react-select, react-selection, react-tables, react-tabs, react-tags, react-testing, react-textfields, react-theming, react-toggles, react-tooltips, react-typography, react-utilities

Committers: 1