Back to React Spectrum

September 02, 2020 Release

packages/dev/docs/pages/releases/2020-09-02.mdx

2022-12-165.2 KB
Original Source

{/* Copyright 2020 Adobe. All rights reserved. This file is licensed to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */}

import {BlogPostLayout, Hero} from '@react-spectrum/docs'; export default BlogPostLayout;


description: This release includes new nightly releases and support for SSR. Huge thanks to all of the amazing contributors! date: 2020-09-02

September 02, 2020 Release

We have some exciting changes in this release. First of all, we now have nightly builds! Thanks to @mischnic, we now release our packages whenever we merge to main under a “nightly” tag on npm. This means you don’t have to wait for our normal release cycle to get a preview of what we are up to.

In this release we also worked on adding support for server side rendering. This has been one of the top requests we've received from a number of teams who would like to use React Spectrum and React Aria with popular frameworks such as Gatsby and Next.js. For more details on SSR, check out our guides for React Spectrum and React Aria.

As always, a huge thank you to all our contributors for the new features, fixes and updates.

New components

New features

Bug fixes

  • Move rAF in Virtualizer to avoid calling on SSR - @fezproof - PR
  • Update type in useLink - @ronderksen - PR
  • Improve Slider drag handling - @chungwu - PR
  • Basic SSR tests passing with CI integration - @devongovett - PR
  • Use screen width instead of window to determine isMobile in Picker and Menu - @michayou - PR
  • Add extra padding in Tray to help with iOS home bar - @ronderksen - PR
  • Set a default for lang and dir when SSR - @devongovett - PR
  • Stop Tray closing on scroll - @devongovett - PR
  • Slider onChange only fires when value changes - @xitter - PR

Docs

  • Update useSwitch example to pass a ref - @andrew-t-james - PR
  • Added clarification for FocusRing when modality is undefined - @tomByrer - PR

Released packages

 - @adobe/[email protected]
 - @react-aria/[email protected]
 - @react-aria/[email protected]
 - @react-aria/[email protected]
 - @react-aria/[email protected]
 - @react-aria/[email protected]
 - @react-aria/[email protected]
 - @react-aria/[email protected]
 - @react-aria/[email protected]
 - @react-aria/[email protected]
 - @react-aria/[email protected]
 - @react-spectrum/[email protected]
 - @react-spectrum/[email protected]
 - @react-spectrum/[email protected]
 - @react-spectrum/[email protected]
 - @react-spectrum/[email protected]
 - @react-spectrum/[email protected]
 - @react-spectrum/[email protected]
 - @react-spectrum/[email protected]
 - @react-spectrum/[email protected]
 - @react-spectrum/[email protected]
 - @react-spectrum/[email protected]
 - @react-stately/[email protected]
 - @react-stately/[email protected]
 - @react-stately/[email protected]
 - @react-stately/[email protected]
 - @react-types/[email protected]