Skip to content

Commit 34ba64c

Browse files
authored
docs: April release notes (#8062)
1 parent 9b66d27 commit 34ba64c

File tree

3 files changed

+305
-1
lines changed

3 files changed

+305
-1
lines changed

.storybook-s2/docs/Release Notes.mdx

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,23 @@ export default MDXLayout;
44

55
# Release Notes
66

7+
## v0.8.0
8+
9+
### New Components
10+
11+
* [NotificationBadge](?path=/docs/actionbutton--docs#notification-badges)
12+
* [Toast](?path=/docs/toast--docs) (alpha)
13+
14+
### Updates
15+
16+
* Pass DOM Props to ButtonGroup
17+
* Prevent Dividers from growing or shrinking in a flex container by default
18+
* Export Autocomplete
19+
* Export SortDescriptor type
20+
21+
### Disclosure Design updates
22+
Spectrum has updated the S disclosure design. As a result, all other sizes (M, L, XL) now map to one size smaller than before. See [PR](https://github.com/adobe/react-spectrum/pull/8006) for details.
23+
724
## v0.7.0
825

926
### New Components

packages/@react-spectrum/s2/stories/NotificationBadge.stories.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ const meta: Meta<typeof NotificationBadge> = {
1818
parameters: {
1919
layout: 'centered'
2020
},
21-
tags: ['autodocs'],
21+
tags: ['!autodocs'],
2222
title: 'NotificationBadge'
2323
};
2424

Lines changed: 287 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,287 @@
1+
{/* Copyright 2025 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, Image} from '@react-spectrum/docs';
11+
export default BlogPostLayout;
12+
13+
---
14+
description: In today's release we are excited to announce custom calendar support across all React Spectrum libraries! We have also added enhanced support for React Suspense and performance optimizations for collections in React Aria Components, reduced the bundle sizes of our libraries as a whole, and now support `onClick` as an alias for `onPress`.
15+
date: 2025-04-11
16+
---
17+
18+
# April 11, 2025 Release
19+
20+
In today’s release, we are excited to announce custom calendar support across all React Spectrum libraries! This feature allows you to create your own calendar that implements custom business logic, such as a [4-5-4 fiscal calendar](https://nrf.com/resources/4-5-4-calendar), either by extending an existing Calendar implementation or building from scratch. Please see the [React Spectrum docs](../react-spectrum/Calendar.html#custom-calendar-systems) for an example implementation. A special shout out to [@ToyWalrus](https://github.com/ToyWalrus) for all the hard work that went into this contribution!
21+
22+
This release also includes several updates for collections in React Aria Components. These include enhanced support for React Suspense and optimizations for large collections. These changes should result in much more performant collections when fetching and rendering large amounts of data.
23+
24+
We have also reduced the bundle sizes of our libraries by moving some console warnings to development only, and removing old browser fallbacks for pointer events. For example, `@react-aria/interactions`, which powers most of our components, is now 22% smaller!
25+
26+
Lastly, we have decided to handle `onClick` as an alias for `onPress`. This improves interoperability with other dependencies that use `onClick` events. Please note that `onPress` is still preferred over `onClick` as it standardizes behavior across a variety of platforms.
27+
28+
A huge thank you once again to everyone in the community for all of your feedback and contributions!
29+
30+
31+
## Enhancements
32+
33+
- Calendar
34+
- Custom calendar support - [@ToyWalrus](https://github.com/ToyWalrus) - [PR](https://github.com/adobe/react-spectrum/pull/7803)
35+
- Collections
36+
- Add `escapeKeyBehavior` to GridList/ListBox/Menu/Table/Tree - [@LFDanLu](https://github.com/LFDanLu) - [PR](https://github.com/adobe/react-spectrum/pull/7974)
37+
- Toast
38+
- Pass data attributes through on Toast - [@lukpsaxo](https://github.com/lukpsaxo) - [PR](https://github.com/adobe/react-spectrum/pull/7923)
39+
- Miscellaneous
40+
- Support `onClick` as an alias for `onPress` - [@devongovett](https://github.com/devongovett) - [PR](https://github.com/adobe/react-spectrum/pull/7891)
41+
- Reduce production bundle sizes - [@devongovett](https://github.com/devongovett) - [PR](https://github.com/adobe/react-spectrum/pull/7977), [PR](https://github.com/adobe/react-spectrum/pull/8046)
42+
- Support React 19 and remove Jest reliance in test utils - [@LFDanLu](https://github.com/LFDanLu) - [PR](https://github.com/adobe/react-spectrum/pull/7686)
43+
44+
## Fixes
45+
46+
- Collections
47+
- Support React Suspense in collections - [@devongovett](https://github.com/devongovett) - [PR](https://github.com/adobe/react-spectrum/pull/7912)
48+
- Improve collection update performance - [@devongovett](https://github.com/devongovett) - [PR](https://github.com/adobe/react-spectrum/pull/7905), [PR](https://github.com/adobe/react-spectrum/pull/8052)
49+
- Date/Time
50+
- Add `data-disabled` CSS selector to DateField - [@suyash5053](https://github.com/suyash5053) - [PR](https://github.com/adobe/react-spectrum/pull/7896)
51+
- Exclude `isEditable` from DateSegment render props - [@Persists](https://github.com/Persists) - [PR](https://github.com/adobe/react-spectrum/pull/7961)
52+
- Separator
53+
- Pass aria labeling props in RAC Separator - [@yihuiliao](https://github.com/yihuiliao) - [PR](https://github.com/adobe/react-spectrum/pull/7881)
54+
- Table
55+
- Ensure table typeahead does honor row `textValue` - [@nwidynski](https://github.com/nwidynski) - [PR](https://github.com/adobe/react-spectrum/pull/7857)
56+
- Add Table Cell `id` prop back into the Cell types - [@snowystinger](https://github.com/snowystinger) - [PR](https://github.com/adobe/react-spectrum/pull/7983)
57+
- Toast
58+
- Pass `wrapUpdate` through `useToastState` - [@reidbarber](https://github.com/reidbarber) - [PR](https://github.com/adobe/react-spectrum/pull/7910)
59+
- Export QueuedToast - [@lukpsaxo](https://github.com/lukpsaxo) - [PR](https://github.com/adobe/react-spectrum/pull/7944)
60+
- Miscellaneous
61+
- Update yarn peer dependencies - [@snowystinger](https://github.com/snowystinger) - [PR](https://github.com/adobe/react-spectrum/pull/7932)
62+
- Fix French number parsing ambiguity - [@snowystinger](https://github.com/snowystinger) - [PR](https://github.com/adobe/react-spectrum/pull/7966)
63+
- Restore focus after a Select closes on mobile - [@snowystinger](https://github.com/snowystinger) - [PR](https://github.com/adobe/react-spectrum/pull/7904)
64+
- Apply `touch-action` by default in `usePress` - [@devongovett](https://github.com/devongovett) - [PR](https://github.com/adobe/react-spectrum/pull/8047)
65+
66+
67+
## Docs
68+
- Remove defaults from `BoxAlignmentStyleProps` - [@dsmmcken](https://github.com/dsmmcken) - [PR](https://github.com/adobe/react-spectrum/pull/7982)
69+
- Fix typo in CalendarDate docs - [@DarkstarXDD](https://github.com/DarkstarXDD) - [PR](https://github.com/adobe/react-spectrum/pull/8043)
70+
71+
## Under Construction
72+
73+
- Allow configurations to the Toast PortalProvider - [@armandabric](https://github.com/armandabric) - [PR](https://github.com/adobe/react-spectrum/pull/7907), [@LFDanLu](https://github.com/LFDanLu) - [PR](https://github.com/adobe/react-spectrum/pull/7976)
74+
75+
## Released packages
76+
77+
```
78+
79+
- @internationalized/[email protected]
80+
- @internationalized/[email protected]
81+
- @internationalized/[email protected]
82+
- @internationalized/[email protected]
83+
- @react-aria/[email protected]
84+
- @react-aria/[email protected]
85+
- @react-aria/[email protected]
86+
- @react-aria/[email protected]
87+
- @react-aria/[email protected]
88+
- @react-aria/[email protected]
89+
- @react-aria/[email protected]
90+
- @react-aria/[email protected]
91+
- @react-aria/[email protected]
92+
- @react-aria/[email protected]
93+
- @react-aria/[email protected]
94+
- @react-aria/[email protected]
95+
- @react-aria/[email protected]
96+
- @react-aria/[email protected]
97+
- @react-aria/[email protected]
98+
- @react-aria/[email protected]
99+
- @react-aria/[email protected]
100+
- @react-aria/[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-spectrum/[email protected]
136+
- @react-spectrum/[email protected]
137+
- @react-spectrum/[email protected]
138+
- @react-spectrum/[email protected]
139+
- @react-spectrum/[email protected]
140+
- @react-spectrum/[email protected]
141+
- @react-spectrum/[email protected]
142+
- @react-spectrum/[email protected]
143+
- @react-spectrum/[email protected]
144+
- @react-spectrum/[email protected]
145+
- @react-spectrum/[email protected]
146+
- @react-spectrum/[email protected]
147+
- @react-spectrum/[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-stately/[email protected]
199+
- @react-stately/[email protected]
200+
- @react-stately/[email protected]
201+
- @react-stately/[email protected]
202+
- @react-stately/[email protected]
203+
- @react-stately/[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-types/[email protected]
231+
- @react-types/[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+
- @react-types/[email protected]
247+
- @react-types/[email protected]
248+
- @react-types/[email protected]
249+
- @react-types/[email protected]
250+
- @react-types/[email protected]
251+
- @react-types/[email protected]
252+
- @react-types/[email protected]
253+
- @react-types/[email protected]
254+
- @react-types/[email protected]
255+
- @react-types/[email protected]
256+
- @react-types/[email protected]
257+
- @react-types/[email protected]
258+
- @react-types/[email protected]
259+
- @react-types/[email protected]
260+
- @react-types/[email protected]
261+
- @react-types/[email protected]
262+
- @react-types/[email protected]
263+
- @react-types/[email protected]
264+
- @react-types/[email protected]
265+
- @react-types/[email protected]
266+
- @react-types/[email protected]
267+
- @react-types/[email protected]
268+
- @react-types/[email protected]
269+
- @react-types/[email protected]
270+
- @react-types/[email protected]
271+
- @react-types/[email protected]
272+
- @react-types/[email protected]
273+
- @react-types/[email protected]
274+
- @react-types/[email protected]
275+
- @react-types/[email protected]
276+
- @spectrum-icons/[email protected]
277+
- @spectrum-icons/[email protected]
278+
- @spectrum-icons/[email protected]
279+
- @spectrum-icons/[email protected]
280+
- @spectrum-icons/[email protected]
281+
- @react-spectrum/[email protected]
282+
- @react-aria/[email protected]
283+
- @react-spectrum/[email protected]
284+
285+
286+
287+
```

0 commit comments

Comments
 (0)