Skip to content

Commit db48b61

Browse files
authored
Release notes (#5589)
* Release notes
1 parent 4ee20cc commit db48b61

File tree

1 file changed

+276
-0
lines changed

1 file changed

+276
-0
lines changed
Lines changed: 276 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,276 @@
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: In this release, we’re promoting React Aria Components from RC to GA 🎉, optimizing our included translation files, shipping a storybook based on all our React Aria Components with a starter theme, and fixing plenty of bugs.
15+
16+
date: 2023-12-20
17+
---
18+
19+
# December 20, 2023 Release
20+
21+
Welcome to the last release of the year! After a year of work, we are happy to announce the GA release of React Aria Components 🎉 This component library, built on top of our React Aria hooks, provides a simpler way to craft world-class accessible components with custom styles. See our new React Aria [landing page](https://react-spectrum.adobe.com/react-aria/index.html) for all of the details, including interactive examples. To help get you started even faster, we now also have a downloadable Storybook [starter kit](../react-aria/getting-started.html#starter-kit) including an example CSS theme.
22+
23+
Also in this release we are promoting React Spectrum's `DropZone` to RC, adding the ability to optimize translation files, and fixing plenty of bugs.
24+
As always, huge thanks to everyone in our community for their feedback and contributions to make this release and this year possible!
25+
26+
Happy coding and see you in the new year! ☃️
27+
28+
29+
### React Aria Components API updates
30+
31+
In this release, we made a few last API updates to React Aria Components as they move along to GA.
32+
33+
- Temporarily removed nested column support in `Tables` due to instability.
34+
- Hover and Focus are now distinct states in `ListBox`.
35+
- Hover state has been added to column headers in tables when sorting is allowed.
36+
- All refs given to a component now go to their outer most element. If you need a ref to the input, you can attach it directly.
37+
- Styles for `Popover`, `Tooltip`, and `OverlayArrow` are now merged in a different order to allow overriding our default styles.
38+
- Added a dependency array to help manage the item cache with columns in `Tables`.
39+
40+
41+
## Enhancements
42+
* Improve behavior of `usePreventScroll` on iOS - [@devongovett](https://github.com/devongovett) - [PR](https://github.com/adobe/react-spectrum/pull/5346)
43+
* Add data-trigger to `Popover` to style based on trigger component - [@devongovett](https://github.com/devongovett) - [PR](https://github.com/adobe/react-spectrum/pull/5429)
44+
* Add menuWidth & expose align props in `ComboBox` and `SearchAutocomplete` - [@sookmax](https://github.com/sookmax) - [PR](https://github.com/adobe/react-spectrum/pull/5446)
45+
* RAC `Menu` button and popover can have same width - [@ktabors](https://github.com/ktabors) - [PR](https://github.com/adobe/react-spectrum/pull/5465)
46+
* Generate a starter storybook from the docs - [@devongovett](https://github.com/devongovett) - [PR](https://github.com/adobe/react-spectrum/pull/5440)
47+
* Add directory support for `FileTrigger` - [@ryo-manba](https://github.com/ryo-manba) - [PR](https://github.com/adobe/react-spectrum/pull/5444)
48+
* Provide access to `portalContainer` of react-aria-components popover element - [@BenBeattieHood](https://github.com/BenBeattieHood) - [PR](https://github.com/adobe/react-spectrum/pull/5381)
49+
* Add capitalization settings support for `useTextField` - [@ryo-manba](https://github.com/ryo-manba) - [PR](https://github.com/adobe/react-spectrum/pull/5472)
50+
* Add build plugins to optimize translated strings for unsupported languages - [@devongovett](https://github.com/devongovett) - [PR](https://github.com/adobe/react-spectrum/pull/4838)
51+
* Render children in `DropIndicators` - [@devongovett](https://github.com/devongovett) - [PR](https://github.com/adobe/react-spectrum/pull/5527)
52+
* Add support for `onScroll` event to RAC collection components - [@devongovett](https://github.com/devongovett) - [PR](https://github.com/adobe/react-spectrum/pull/5534)
53+
* Add hover state to `TableColumnHeader` when 'allowSorting' is true - [@sookmax](https://github.com/sookmax) - [PR](https://github.com/adobe/react-spectrum/pull/5471)
54+
* Use owner document in `FocusScope` - [@slye-stripe](https://github.com/slye-stripe) - [PR](https://github.com/adobe/react-spectrum/pull/5449)
55+
* Add 'use client' to components in build for Next.js app directory - [@devongovett](https://github.com/devongovett) - [PR](https://github.com/adobe/react-spectrum/pull/5498)
56+
* Support for `Avatar` in `ListBox`, `Picker`, `ComboBox`, and `SearchAutocomplete` - [@reidbarber](https://github.com/reidbarber) - [PR](https://github.com/adobe/react-spectrum/pull/5431)
57+
58+
## Fixes
59+
* Additional TS StrictMode support - [@yihuiliao](https://github.com/yihuiliao) - [PR](https://github.com/adobe/react-spectrum/pull/5305)
60+
* TS Strict for react-aria `Checkbox` - [@ryo-manba](https://github.com/ryo-manba) - [PR](https://github.com/adobe/react-spectrum/pull/5467)
61+
* TS Strict internationalized - [@snowystinger](https://github.com/snowystinger) - [PR](https://github.com/adobe/react-spectrum/pull/5544)
62+
* TS Strict Checkbox State - [@snowystinger](https://github.com/snowystinger) - [PR](https://github.com/adobe/react-spectrum/pull/5555)
63+
* TS Strict for `DropZone` and `VisuallyHidden` - [@ktabors](https://github.com/ktabors) - [PR](https://github.com/adobe/react-spectrum/pull/5566)
64+
* Update `Toast` label definition to be a string - [@ktabors](https://github.com/ktabors) - [PR](https://github.com/adobe/react-spectrum/pull/5389)
65+
* Date components light theme placeholder color contrast - [@ktabors](https://github.com/ktabors) - [PR](https://github.com/adobe/react-spectrum/pull/5396)
66+
* Selected checkbox fill color when checkbox group is disabled - [@yihuiliao](https://github.com/yihuiliao) - [PR](https://github.com/adobe/react-spectrum/pull/5407)
67+
* Propagate `isDisabled` prop from RAC `DatePicker`/`DateRangePicker` to popover `Button` - [@ryo-manba](https://github.com/ryo-manba) - [PR](https://github.com/adobe/react-spectrum/pull/5411), [@snowystinger](https://github.com/snowystinger) - [PR](https://github.com/adobe/react-spectrum/pull/5413)
68+
* Labelable option to `Tab` props for aria-label support - [@ryo-manba](https://github.com/ryo-manba) - [PR](https://github.com/adobe/react-spectrum/pull/5408)
69+
* Announce change to pending for `Button` - [@iamwillpowell](https://github.com/iamwillpowell) - [PR](https://github.com/adobe/react-spectrum/pull/5245), [@majornista](https://github.com/majornista) - [PR](https://github.com/adobe/react-spectrum/pull/5520)
70+
* Make order of tailwind variants match default - [@devongovett](https://github.com/devongovett) - [PR](https://github.com/adobe/react-spectrum/pull/5478)
71+
* Upgrade clsx to v2.0.0 for ESM support - [@reidbarber](https://github.com/reidbarber) - [PR](https://github.com/adobe/react-spectrum/pull/5487)
72+
* RAC support overriding default styles in overlay components - [@snowystinger](https://github.com/snowystinger) - [PR](https://github.com/adobe/react-spectrum/pull/5506)
73+
* Clarifying menuWidth prop lower bound. - [@LFDanLu](https://github.com/LFDanLu) - [PR](https://github.com/adobe/react-spectrum/pull/5510)
74+
* Close `Popover` on scroll - [@boutahlilsoufiane](https://github.com/boutahlilsoufiane) - [PR](https://github.com/adobe/react-spectrum/pull/5453)
75+
* Ensure `DismissButton` has a height so it works with iOS VO - [@devongovett](https://github.com/devongovett) - [PR](https://github.com/adobe/react-spectrum/pull/5539)
76+
* Support `TooltipTrigger` with `DialogTrigger` - [@devongovett](https://github.com/devongovett) - [PR](https://github.com/adobe/react-spectrum/pull/5526)
77+
* Ensure all refs go to the outer-most element - [@devongovett](https://github.com/devongovett) - [PR](https://github.com/adobe/react-spectrum/pull/5528)
78+
* Prevent flicker from all items to filtered collection when combobox is animating closed - [@devongovett](https://github.com/devongovett) - [PR](https://github.com/adobe/react-spectrum/pull/5538)
79+
* Normalize press handling for `Checkbox`, `Radio`, and `Switch` labels - [@devongovett](https://github.com/devongovett) - [PR](https://github.com/adobe/react-spectrum/pull/5525)
80+
* Scroll into view when auto focusing regardless of modality - [@devongovett](https://github.com/devongovett) - [PR](https://github.com/adobe/react-spectrum/pull/5542)
81+
* `ActionGroup` icon padding when overflow="collapse" and buttonLabelBehavior="hide" - [@LFDanLu](https://github.com/LFDanLu) - [PR](https://github.com/adobe/react-spectrum/pull/5529)
82+
* RAC `Table` caching issues - [@devongovett](https://github.com/devongovett) - [PR](https://github.com/adobe/react-spectrum/pull/5530)
83+
* Support for focus events in `useRadioGroup` hooks - [@ryo-manba](https://github.com/ryo-manba) - [PR](https://github.com/adobe/react-spectrum/pull/5441)
84+
* Scroll menu with sections on iPad - [@LFDanLu](https://github.com/LFDanLu) - [PR](https://github.com/adobe/react-spectrum/pull/5513)
85+
* `Table` warning in NextJS - [@snowystinger](https://github.com/snowystinger) - [PR](https://github.com/adobe/react-spectrum/pull/5501)
86+
* Escape strings used in query selectors - [@reidbarber](https://github.com/reidbarber) - [PR](https://github.com/adobe/react-spectrum/pull/5565)
87+
* Tailwind CSS plugin in RAC to use require instead of import - [@tom-fletcher](https://github.com/tom-fletcher) - [PR](https://github.com/adobe/react-spectrum/pull/5541)
88+
* Hover in RAC `ListBox` and remove onCellAction - [@LFDanLu](https://github.com/LFDanLu) - [PR](https://github.com/adobe/react-spectrum/pull/5580)
89+
* Propagate `SearchField` escape key - [@ktabors](https://github.com/ktabors) - [PR](https://github.com/adobe/react-spectrum/pull/5571)
90+
* `restoreTextSelection` on pointerUp event - [@sookmax](https://github.com/sookmax) - [PR](https://github.com/adobe/react-spectrum/pull/5561)
91+
* Make value and defaultValue valid in `NumberField` and `Slider` - [@snowystinger](https://github.com/snowystinger) - [PR](https://github.com/adobe/react-spectrum/pull/5543)
92+
* Respect Tailwind hoverOnlyWhenSupported, and fix placeholder-shown with `Input` - [@devongovett](https://github.com/devongovett) - [PR](https://github.com/adobe/react-spectrum/pull/5587)
93+
* Top margin of a `Button` in a form - [@yihuiliao](https://github.com/yihuiliao) - [PR](https://github.com/adobe/react-spectrum/pull/5461)
94+
* `TableView` resize observer loop limit - [@snowystinger](https://github.com/snowystinger) - [PR](https://github.com/adobe/react-spectrum/pull/5432)
95+
* `TableView` virtualizer crash - [@devongovett](https://github.com/devongovett) - [PR](https://github.com/adobe/react-spectrum/pull/5380)
96+
* Aria label on `ListBox` `Sections` in RAC - [@snowystinger](https://github.com/snowystinger) - [PR](https://github.com/adobe/react-spectrum/pull/5603)
97+
98+
99+
## Docs
100+
* Fix `useToast` example in docs - [@devongovett](https://github.com/devongovett) - [PR](https://github.com/adobe/react-spectrum/pull/5398)
101+
* Extract CSS vars from RAC docs into reusable package - [@devongovett](https://github.com/devongovett) - [PR](https://github.com/adobe/react-spectrum/pull/5419)
102+
* Update React Aria docs to clarify virtualization support - [@reidbarber](https://github.com/reidbarber) - [PR](https://github.com/adobe/react-spectrum/pull/5435)
103+
* Update React Aria docs to introduce components by default - [@devongovett](https://github.com/devongovett) - [PR](https://github.com/adobe/react-spectrum/pull/5436)
104+
* Docs for `useLandmark` - [@reidbarber](https://github.com/reidbarber) - [PR](https://github.com/adobe/react-spectrum/pull/5418)
105+
* Fix prop table in docs - [@yihuiliao](https://github.com/yihuiliao) - [PR](https://github.com/adobe/react-spectrum/pull/5532)
106+
* Update `FileTrigger` directory prop name and docs - [@yihuiliao](https://github.com/yihuiliao) - [PR](https://github.com/adobe/react-spectrum/pull/5512)
107+
* Fix broken links in the the docs - [@ktabors](https://github.com/ktabors) - [PR](https://github.com/adobe/react-spectrum/pull/5572)
108+
* Update collections and selection guides for React Aria Components - [@devongovett](https://github.com/devongovett) - [PR](https://github.com/adobe/react-spectrum/pull/5455)
109+
110+
## Under construction
111+
112+
Fixes to pre-released components are listed below. Please feel free to try them out, and report any issues you encounter.
113+
114+
**React Spectrum Submenus (Alpha)**
115+
116+
* React Spectrum Submenu support - [@LFDanLu](https://github.com/LFDanLu), [@reidbarber](https://github.com/reidbarber) - [PR](https://github.com/adobe/react-spectrum/pull/4976)
117+
118+
**React Spectrum Steplist (Alpha)**
119+
120+
* TS Strict Mode steplist - [@snowystinger](https://github.com/snowystinger) - [PR](https://github.com/adobe/react-spectrum/pull/5546)
121+
* Steplist CSS improvements / HCM - [@snowystinger](https://github.com/snowystinger) - [PR](https://github.com/adobe/react-spectrum/pull/5339)
122+
123+
124+
## Released packages
125+
126+
```
127+
- @adobe/react-spectrum@3.33.0
128+
- @internationalized/date@3.5.1
129+
- @internationalized/number@3.5.0
130+
- @internationalized/string@3.2.0
131+
- @react-aria/accordion@3.0.0-alpha.25
132+
- @react-aria/actiongroup@3.7.1
133+
- @react-aria/autocomplete@3.0.0-alpha.24
134+
- @react-aria/breadcrumbs@3.5.9
135+
- @react-aria/button@3.9.1
136+
- @react-aria/calendar@3.5.4
137+
- @react-aria/checkbox@3.13.0
138+
- @react-aria/color@3.0.0-beta.28
139+
- @react-aria/combobox@3.8.1
140+
- @react-aria/datepicker@3.9.1
141+
- @react-aria/dialog@3.5.9
142+
- @react-aria/dnd@3.5.1
143+
- @react-aria/example-theme@1.0.0
144+
- @react-aria/focus@3.16.0
145+
- @react-aria/form@3.0.1
146+
- @react-aria/grid@3.8.6
147+
- @react-aria/gridlist@3.7.3
148+
- @react-aria/i18n@3.10.0
149+
- @react-aria/interactions@3.20.1
150+
- @react-aria/label@3.7.4
151+
- @react-aria/landmark@3.0.0-beta.8
152+
- @react-aria/link@3.6.3
153+
- @react-aria/listbox@3.11.3
154+
- @react-aria/menu@3.12.0
155+
- @react-aria/meter@3.4.9
156+
- @react-aria/numberfield@3.10.1
157+
- @react-aria/overlays@3.20.0
158+
- @react-aria/progress@3.4.9
159+
- @react-aria/radio@3.10.0
160+
- @react-aria/searchfield@3.7.0
161+
- @react-aria/select@3.14.1
162+
- @react-aria/selection@3.17.3
163+
- @react-aria/separator@3.3.9
164+
- @react-aria/slider@3.7.4
165+
- @react-aria/spinbutton@3.6.1
166+
- @react-aria/ssr@3.9.1
167+
- @react-aria/steplist@3.0.0-alpha.1
168+
- @react-aria/switch@3.6.0
169+
- @react-aria/table@3.13.3
170+
- @react-aria/tabs@3.8.3
171+
- @react-aria/tag@3.3.1
172+
- @react-aria/textfield@3.14.0
173+
- @react-aria/toast@3.0.0-beta.8
174+
- @react-aria/toggle@3.10.0
175+
- @react-aria/toolbar@3.0.0-beta.1
176+
- @react-aria/tooltip@3.7.0
177+
- @react-aria/utils@3.23.0
178+
- @react-aria/virtualizer@3.9.8
179+
- @react-aria/visually-hidden@3.8.8
180+
- @react-spectrum/accordion@3.0.0-alpha.27
181+
- @react-spectrum/actionbar@3.4.1
182+
- @react-spectrum/actiongroup@3.10.1
183+
- @react-spectrum/autocomplete@3.0.0-alpha.27
184+
- @react-spectrum/avatar@3.0.8
185+
- @react-spectrum/badge@3.1.9
186+
- @react-spectrum/breadcrumbs@3.9.3
187+
- @react-spectrum/button@3.16.0
188+
- @react-spectrum/buttongroup@3.6.9
189+
- @react-spectrum/calendar@3.4.4
190+
- @react-spectrum/card@3.0.0-alpha.28
191+
- @react-spectrum/checkbox@3.9.1
192+
- @react-spectrum/color@3.0.0-beta.29
193+
- @react-spectrum/combobox@3.12.0
194+
- @react-spectrum/contextualhelp@3.6.6
195+
- @react-spectrum/datepicker@3.9.1
196+
- @react-spectrum/dialog@3.8.6
197+
- @react-spectrum/divider@3.5.9
198+
- @react-spectrum/dnd@3.3.6
199+
- @react-spectrum/dropzone@3.0.0-rc.0
200+
- @react-spectrum/form@3.7.1
201+
- @react-spectrum/icon@3.7.9
202+
- @react-spectrum/illustratedmessage@3.4.9
203+
- @react-spectrum/image@3.4.9
204+
- @react-spectrum/inlinealert@3.2.1
205+
- @react-spectrum/label@3.16.1
206+
- @react-spectrum/labeledvalue@3.1.9
207+
- @react-spectrum/layout@3.6.1
208+
- @react-spectrum/link@3.6.3
209+
- @react-spectrum/list@3.7.5
210+
- @react-spectrum/listbox@3.12.5
211+
- @react-spectrum/menu@3.17.0
212+
- @react-spectrum/meter@3.4.9
213+
- @react-spectrum/numberfield@3.8.1
214+
- @react-spectrum/overlays@5.5.3
215+
- @react-spectrum/picker@3.14.0
216+
- @react-spectrum/progress@3.7.3
217+
- @react-spectrum/provider@3.9.3
218+
- @react-spectrum/radio@3.7.1
219+
- @react-spectrum/searchfield@3.8.1
220+
- @react-spectrum/slider@3.6.5
221+
- @react-spectrum/statuslight@3.5.9
222+
- @react-spectrum/steplist@3.0.0-alpha.1
223+
- @react-spectrum/switch@3.5.1
224+
- @react-spectrum/table@3.12.5
225+
- @react-spectrum/tabs@3.8.5
226+
- @react-spectrum/tag@3.2.1
227+
- @react-spectrum/text@3.5.1
228+
- @react-spectrum/textfield@3.11.1
229+
- @react-spectrum/toast@3.0.0-beta.8
230+
- @react-spectrum/tooltip@3.6.3
231+
- @react-spectrum/utils@3.11.3
232+
- @react-spectrum/view@3.6.6
233+
- @react-spectrum/well@3.4.9
234+
- @react-stately/calendar@3.4.3
235+
- @react-stately/checkbox@3.6.1
236+
- @react-stately/collections@3.10.4
237+
- @react-stately/color@3.5.1
238+
- @react-stately/combobox@3.8.1
239+
- @react-stately/datepicker@3.9.1
240+
- @react-stately/dnd@3.2.7
241+
- @react-stately/grid@3.8.4
242+
- @react-stately/layout@3.13.5
243+
- @react-stately/list@3.10.2
244+
- @react-stately/menu@3.6.0
245+
- @react-stately/numberfield@3.8.0
246+
- @react-stately/radio@3.10.1
247+
- @react-stately/select@3.6.1
248+
- @react-stately/selection@3.14.2
249+
- @react-stately/slider@3.5.0
250+
- @react-stately/steplist@3.0.0-alpha.1
251+
- @react-stately/table@3.11.4
252+
- @react-stately/tabs@3.6.3
253+
- @react-stately/tree@3.7.5
254+
- @react-stately/virtualizer@3.6.6
255+
- @react-types/autocomplete@3.0.0-alpha.19
256+
- @react-types/calendar@3.4.3
257+
- @react-types/card@3.0.0-alpha.22
258+
- @react-types/combobox@3.10.0
259+
- @react-types/datepicker@3.7.1
260+
- @react-types/form@3.7.0
261+
- @react-types/list@3.2.12
262+
- @react-types/radio@3.7.0
263+
- @react-types/select@3.9.1
264+
- @react-types/table@3.9.2
265+
- @spectrum-icons/color@3.5.9
266+
- @spectrum-icons/express@3.0.0-alpha.13
267+
- @spectrum-icons/illustrations@3.6.9
268+
- @spectrum-icons/ui@3.6.3
269+
- @spectrum-icons/workflow@4.2.8
270+
- @react-aria/optimize-locales-plugin@1.0.0
271+
- @react-aria/parcel-resolver-optimize-locales@1.0.0
272+
- react-aria@3.31.0
273+
- react-aria-components@1.0.0
274+
- react-stately@3.29.0
275+
- tailwindcss-react-aria-components@1.0.0
276+
```

0 commit comments

Comments
 (0)