Skip to content

Commit 435f6df

Browse files
authored
June release notes (#4712)
1 parent 71fee6d commit 435f6df

File tree

1 file changed

+257
-0
lines changed

1 file changed

+257
-0
lines changed
Lines changed: 257 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,257 @@
1+
{/* Copyright 2023 Adobe. All rights reserved.
2+
This file is licensed to you under the Apache License, Version 2.0 (the "License");
3+
you may not use this file except in compliance with the License. You may obtain a copy
4+
of the License at http://www.apache.org/licenses/LICENSE-2.0
5+
Unless required by applicable law or agreed to in writing, software distributed under
6+
the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
7+
OF ANY KIND, either express or implied. See the License for the specific language
8+
governing permissions and limitations under the License. */}
9+
10+
import {BlogPostLayout, Hero} from '@react-spectrum/docs';
11+
export default BlogPostLayout;
12+
13+
---
14+
description: Our summer release is delivering new features, bug fixes, a new version of React Aria Components, and improved compatibility with new React features. React Spectrum and React Aria can now be run in React Strict Mode, and we now use the builtin React.useId hook to generate ids in React 18. Calendar and DatePicker have been updated to allow for controlling page behavior and locale overrides as well as fixing a number of other related bugs. Lastly, we have released a new version of React Aria Components, which includes the addition of TagGroup, an update to Tabs, and support for standalone Popovers.
15+
date: 2023-06-27
16+
---
17+
18+
# June 27, 2023 Release
19+
20+
Our summer release is delivering new features, bug fixes, a new version of React Aria Components, and improved compatibility with new React features. React Spectrum and React Aria can now be run in [React Strict Mode](https://react.dev/reference/react/StrictMode), and we now use the builtin `React.useId` hook to generate ids in React 18 ([see below](#useid-changes)). `Calendar` and `DatePicker` have been updated to allow for controlling page behavior and locale overrides as well as fixing a number of other related bugs. Lastly, we have released a new version of React Aria Components, which includes the addition of `TagGroup` [(see docs)](/react-aria/TagGroup.html), an update to `Tabs` [(see updates)](#under-construction), and support for standalone Popovers.
21+
22+
Thank you to our community for their support and contributions!
23+
24+
## Enhancements
25+
* Fix remaining React strict mode issues - now fully supported - [@devongovett](https://github.com/devongovett) - [PR](https://github.com/adobe/react-spectrum/pull/4564)
26+
* Use React.useId if available - [@devongovett](https://github.com/devongovett) - [PR](https://github.com/adobe/react-spectrum/pull/4347)
27+
* Add `pageBehavior` prop to `Calendar` to control page duration - [@confix](https://github.com/confix) - [PR](https://github.com/adobe/react-spectrum/pull/4587)
28+
* Add `shouldForceLeadingZeros` leading zeros prop to `DatePicker` - [@devongovett](https://github.com/devongovett) - [PR](https://github.com/adobe/react-spectrum/pull/4671)
29+
30+
### useId changes
31+
32+
In this release, we updated our [useId](https://react-spectrum.adobe.com/react-aria/useId.html) hook, which all of our components use to generate unique DOM `id` attributes. If you're using React 18, we now use React's builtin [useId](https://react.dev/reference/react/useId) hook internally. This enables better compatibility with React's new streaming server side renderer and concurrent features, and improves performance.
33+
34+
After you update, you can remove the `SSRProvider` component wrapping your app completely if you are using React 18. It is now unnecessary, and does nothing in modern React versions. You'll see a console warning recommending this after you update. The algorithm for generating ids has also changed, so if you use snapshot testing you will see some changes in the output. Otherwise, the changes should be completely transparent.
35+
36+
If you're using React 17 or 16, the old implementation of `useId` will continue to be used, so you should see no changes. You'll need to keep `SSRProvider` until you update to React 18.
37+
38+
## Fixes
39+
* Ensure that `useObjectRef` only calls function refs once in strict mode - [@devongovett](https://github.com/devongovett) - [PR](https://github.com/adobe/react-spectrum/pull/4586)
40+
* Ensure scrollable is set before onTouchMove - [@bbutler522](https://github.com/bbutler522) - [PR](https://github.com/adobe/react-spectrum/pull/3749)
41+
* ContextualHelp button should be labeled by the label in `Field` - [@majornista](https://github.com/majornista) - [PR](https://github.com/adobe/react-spectrum/pull/4319)
42+
* `isLoading` state should include "Loading..." in the description in `Picker` - [@majornista](https://github.com/majornista) - [PR](https://github.com/adobe/react-spectrum/pull/4109)
43+
* useLabels/useLabel consider reordering IDREFs so that aria-label comes before aria-labelledby - [@majornista](https://github.com/majornista) - [PR](https://github.com/adobe/react-spectrum/pull/4191)
44+
* Update start of week definitions to add missing locales including AU - [@rvramesh](https://github.com/rvramesh) - [PR](https://github.com/adobe/react-spectrum/pull/4598)
45+
* Fix `SSRProvider` return type - [@devongovett](https://github.com/devongovett) - [PR](https://github.com/adobe/react-spectrum/pull/4627)
46+
* Fix re-rendering for `useOverlayTriggerState` - [@aam051102](https://github.com/aam051102) - [PR](https://github.com/adobe/react-spectrum/pull/4155)
47+
* Enable horizontal scrolling in `usePreventScroll` - [@jhyj0521](https://github.com/jhyj0521) - [PR](https://github.com/adobe/react-spectrum/pull/3780)
48+
* Fix `Section` headings within `ListBox` and `Menu` on mobile screen readers - [@majornista](https://github.com/majornista) - [PR](https://github.com/adobe/react-spectrum/pull/4037)
49+
* Adds null check to selectTime in `useDatePickerState` - [@yihuiliao](https://github.com/yihuiliao) - [PR](https://github.com/adobe/react-spectrum/pull/4647)
50+
* Update nested drop regions to correctly focus child drop target - [@majornista](https://github.com/majornista) - [PR](https://github.com/adobe/react-spectrum/pull/3843)
51+
* Fix UTC offset format acceptance in date parsers - [@rvillescas](https://github.com/rvillescas) - [PR](https://github.com/adobe/react-spectrum/pull/4660)
52+
* Improve DatePicker support with screen reader (NVDA) - [@majornista](https://github.com/majornista) - [PR](https://github.com/adobe/react-spectrum/pull/4639)
53+
* Improve Firefox `Popover` synthetic blur on disabled button - [@ktabors](https://github.com/ktabors) - [PR](https://github.com/adobe/react-spectrum/pull/4670)
54+
55+
## Docs
56+
* Disable hidden select if select is disabled in `useSelect` example - [@LFDanLu](https://github.com/LFDanLu) - [PR](https://github.com/adobe/react-spectrum/pull/4552)
57+
* Fix broken `Collections` link in `Breadcrumbs` React Aria Components page - [@abdmmar](https://github.com/abdmmar) - [PR](https://github.com/adobe/react-spectrum/pull/4569)
58+
* Update broken link in `@internationalized` date readme - [@snowystinger](https://github.com/snowystinger) - [PR](https://github.com/adobe/react-spectrum/pull/4596)
59+
* Fix scroll position jump on mobile for column resize examples in `TableView` - [@LFDanLu](https://github.com/LFDanLu) - [PR](https://github.com/adobe/react-spectrum/pull/4646)
60+
* Remove unused variables from examples in `useTabList` - [@ryo-manba](https://github.com/ryo-manba) - [PR](https://github.com/adobe/react-spectrum/pull/4690)
61+
* Add a11y info for `Checkbox` `validationState` - [@jnurthen](https://github.com/jnurthen) - [PR](https://github.com/adobe/react-spectrum/pull/4003)
62+
* Fix typo in `useDialog` example - [@snowystinger](https://github.com/snowystinger) - [PR](https://github.com/adobe/react-spectrum/pull/4704)
63+
* Upgrade to TypeScript 5 - [@devongovett](https://github.com/devongovett) - [PR](https://github.com/adobe/react-spectrum/pull/4635)
64+
65+
66+
## Under construction
67+
68+
Fixes to pre-released components are listed below. Please feel free to try them out, and report any issues you encounter.
69+
70+
### React Aria Components (Alpha)
71+
* Use span for VisuallyHidden when inside a `label` - [@devongovett](https://github.com/devongovett) - [PR](https://github.com/adobe/react-spectrum/pull/4590)
72+
* Refactor React Aria Components Tabs API - [@devongovett](https://github.com/devongovett) - [PR](https://github.com/adobe/react-spectrum/pull/4540)
73+
* Add AnimatedCalendar example with framer-motion - [@devongovett](https://github.com/devongovett) - [PR](https://github.com/adobe/react-spectrum/pull/4623)
74+
* Update @types/react version, and fix forwardRef type with render props - [@devongovett](https://github.com/devongovett) - [PR](https://github.com/adobe/react-spectrum/pull/4600)
75+
* Add support for standalone React Aria Components popovers - [@devongovett](https://github.com/devongovett) - [PR](https://github.com/adobe/react-spectrum/pull/4656)
76+
* Add `pageBehavior` to React Aria Components/Spectrum Calendar and RangeCalendar - [@reidbarber](https://github.com/reidbarber) - [PR](https://github.com/adobe/react-spectrum/pull/4650)
77+
* Add `DropZone` component to React Aria Components - [@yihuiliao](https://github.com/yihuiliao) - [PR](https://github.com/adobe/react-spectrum/pull/4451)
78+
* Add `TagGroup` component to React Aria Components - [@devongovett](https://github.com/devongovett) - [PR](https://github.com/adobe/react-spectrum/pull/4661)
79+
* Fix file upload dialog in React Aria Components `DropZone` - [@yihuiliao](https://github.com/yihuiliao) - [PR](https://github.com/adobe/react-spectrum/pull/4681)
80+
* Make React Aria Components overlay open props override `DialogTrigger` state - [@devongovett](https://github.com/devongovett) - [PR](https://github.com/adobe/react-spectrum/pull/4684)
81+
* Add layout and orientation props to React Aria Components `ListBox` - [@devongovett](https://github.com/devongovett) - [PR](https://github.com/adobe/react-spectrum/pull/4669)
82+
* Update React Aria Component `Calendar` docs to show 3 months in `visibleDuration` - [@reidbarber](https://github.com/reidbarber) - [PR](https://github.com/adobe/react-spectrum/pull/4709)
83+
84+
#### React Aria Components Tabs API changes
85+
86+
In this release, we updated the [Tabs](https://react-spectrum.adobe.com/react-aria/Tabs.html) API in React Aria Components. The `<TabPanels>` component is no longer necessary and has been removed. Instead, each individual `<TabPanel>` now chooses whether to render itself based on the selected tab state. In addition, a new `shouldForceMount` prop has been added to force even non-selected tabs to render to the DOM. This can be used to implement animations between tabs or preserve state when a tab is not visible. Check out the [updated documentation](https://react-spectrum.adobe.com/react-aria/Tabs.html) for more details.
87+
88+
### InlineAlert (rc)
89+
* [React Spectrum docs](https://react-spectrum.adobe.com/react-spectrum/InlineAlert.html)
90+
91+
92+
## Released packages
93+
94+
```
95+
96+
- @internationalized/[email protected]
97+
- @internationalized/[email protected]
98+
- @internationalized/[email protected]
99+
- @internationalized/[email protected]
100+
- @internationalized/[email protected]
101+
- @react-aria/[email protected]
102+
- @react-aria/[email protected]
103+
- @react-aria/[email protected]
104+
- @react-aria/[email protected]
105+
- @react-aria/[email protected]
106+
- @react-aria/[email protected]
107+
- @react-aria/[email protected]
108+
- @react-aria/[email protected]
109+
- @react-aria/[email protected]
110+
- @react-aria/[email protected]
111+
- @react-aria/[email protected]
112+
- @react-aria/[email protected]
113+
- @react-aria/[email protected]
114+
- @react-aria/[email protected]
115+
- @react-aria/[email protected]
116+
- @react-aria/[email protected]
117+
- @react-aria/[email protected]
118+
- @react-aria/[email protected]
119+
- @react-aria/[email protected]
120+
- @react-aria/[email protected]
121+
- @react-aria/[email protected]
122+
- @react-aria/[email protected]
123+
- @react-aria/[email protected]
124+
- @react-aria/[email protected]
125+
- @react-aria/[email protected]
126+
- @react-aria/[email protected]
127+
- @react-aria/[email protected]
128+
- @react-aria/[email protected]
129+
- @react-aria/[email protected]
130+
- @react-aria/[email protected]
131+
- @react-aria/[email protected]
132+
- @react-aria/[email protected]
133+
- @react-aria/[email protected]
134+
- @react-aria/[email protected]
135+
- @react-aria/[email protected]
136+
- @react-aria/[email protected]
137+
- @react-aria/[email protected]
138+
- @react-aria/[email protected]
139+
- @react-aria/[email protected]
140+
- @react-aria/[email protected]
141+
- @react-aria/[email protected]
142+
- @react-aria/[email protected]
143+
- @react-aria/[email protected]
144+
- @react-aria/[email protected]
145+
- @react-aria/[email protected]
146+
- @react-aria/[email protected]
147+
- @react-aria/[email protected]
148+
- @react-spectrum/[email protected]
149+
- @react-spectrum/[email protected]
150+
- @react-spectrum/[email protected]
151+
- @react-spectrum/[email protected]
152+
- @react-spectrum/[email protected]
153+
- @react-spectrum/[email protected]
154+
- @react-spectrum/[email protected]
155+
- @react-spectrum/[email protected]
156+
- @react-spectrum/[email protected]
157+
- @react-spectrum/[email protected]
158+
- @react-spectrum/[email protected]
159+
- @react-spectrum/[email protected]
160+
- @react-spectrum/[email protected]
161+
- @react-spectrum/[email protected]
162+
- @react-spectrum/[email protected]
163+
- @react-spectrum/[email protected]
164+
- @react-spectrum/[email protected]
165+
- @react-spectrum/[email protected]
166+
- @react-spectrum/[email protected]
167+
- @react-spectrum/[email protected]
168+
- @react-spectrum/[email protected]
169+
- @react-spectrum/[email protected]
170+
- @react-spectrum/[email protected]
171+
- @react-spectrum/[email protected]
172+
- @react-spectrum/[email protected]
173+
- @react-spectrum/[email protected]
174+
- @react-spectrum/[email protected]
175+
- @react-spectrum/[email protected]
176+
- @react-spectrum/[email protected]
177+
- @react-spectrum/[email protected]
178+
- @react-spectrum/[email protected]
179+
- @react-spectrum/[email protected]
180+
- @react-spectrum/[email protected]
181+
- @react-spectrum/[email protected]
182+
- @react-spectrum/[email protected]
183+
- @react-spectrum/[email protected]
184+
- @react-spectrum/[email protected]
185+
- @react-spectrum/[email protected]
186+
- @react-spectrum/[email protected]
187+
- @react-spectrum/[email protected]
188+
- @react-spectrum/[email protected]
189+
- @react-spectrum/[email protected]
190+
- @react-spectrum/[email protected]
191+
- @react-spectrum/[email protected]
192+
- @react-spectrum/[email protected]
193+
- @react-spectrum/[email protected]
194+
- @react-spectrum/[email protected]
195+
- @react-spectrum/[email protected]
196+
- @react-spectrum/[email protected]
197+
- @react-spectrum/[email protected]
198+
- @react-spectrum/[email protected]
199+
- @react-spectrum/[email protected]
200+
- @react-spectrum/[email protected]
201+
- @react-spectrum/[email protected]
202+
- @react-spectrum/[email protected]
203+
- @react-spectrum/[email protected]
204+
- @react-stately/[email protected]
205+
- @react-stately/[email protected]
206+
- @react-stately/[email protected]
207+
- @react-stately/[email protected]
208+
- @react-stately/[email protected]
209+
- @react-stately/[email protected]
210+
- @react-stately/[email protected]
211+
- @react-stately/[email protected]
212+
- @react-stately/[email protected]
213+
- @react-stately/[email protected]
214+
- @react-stately/[email protected]
215+
- @react-stately/[email protected]
216+
- @react-stately/[email protected]
217+
- @react-stately/[email protected]
218+
- @react-stately/[email protected]
219+
- @react-stately/[email protected]
220+
- @react-stately/[email protected]
221+
- @react-stately/[email protected]
222+
- @react-stately/[email protected]
223+
- @react-stately/[email protected]
224+
- @react-stately/[email protected]
225+
- @react-stately/[email protected]
226+
- @react-stately/[email protected]
227+
- @react-stately/[email protected]
228+
- @react-stately/[email protected]
229+
- @react-stately/[email protected]
230+
- @react-stately/[email protected]
231+
- @react-stately/[email protected]
232+
- @react-types/[email protected]
233+
- @react-types/[email protected]
234+
- @react-types/[email protected]
235+
- @react-types/[email protected]
236+
- @react-types/[email protected]
237+
- @react-types/[email protected]
238+
- @react-types/[email protected]
239+
- @react-types/[email protected]
240+
- @react-types/[email protected]
241+
- @react-types/[email protected]
242+
- @react-types/[email protected]
243+
- @react-types/[email protected]
244+
- @react-types/[email protected]
245+
- @react-types/[email protected]
246+
- @spectrum-icons/[email protected]
247+
- @spectrum-icons/[email protected]
248+
- @spectrum-icons/[email protected]
249+
- @spectrum-icons/[email protected]
250+
- @spectrum-icons/[email protected]
251+
252+
253+
254+
```
255+
256+
257+

0 commit comments

Comments
 (0)