@tanstack/virtual-core@3.17.2
-
#1208
b04f9ee- Skip redundant scroll events at unchanged offset -
#1209
37be284- SyncscrollOffsetinapplyScrollAdjustmentso end-anchored streaming resize isn't lost to browser clampWith
anchorTo: 'end'and a dynamically growing last item (token streaming),resizeItemwrites the scroll adjustment toscrollTopbefore the consumer has grown the sizer, so the browser clamps the write and no scroll event fires.scrollOffsetstayed stale, the next tick'swasAtEndcheck failed, and the viewport drifted away from the end. This fix carries the intended target inscrollOffset(zeroingscrollAdjustments) the same way the prepend path insetOptionsdoes, so the nextgetVirtualDistanceFromEnd()reads the post-adjustment position.
v3.5.0
- feat(app-tools): add
modifyBuilderEnvironmentshook to transform the builder environments map before the builder is created in https://github.com/web-infra-dev/modern.js/pull/8717 - feat(builder): upgrade rsbuild version to 2.1.0 in https://github.com/web-infra-dev/modern.js/pull/8721
- fix(runtime): use the final HTML template parameters when rendering custom Document in https://github.com/web-infra-dev/modern.js/pull/8715
- chore(ai-infra): repo-level AI coding agents infrastructure (AGENTS.md / CLAUDE.md, skills docs, AI Coding Agents guide). in https://github.com/web-infra-dev/modern.js/pull/8651
- chore(builder): upgrade @rsbuild/plugin-type-check to 1.5.0 in https://github.com/web-infra-dev/modern.js/pull/8725
- Upgrade @rsbuild/core from v2.0.10 to v2.1.0. See v2.1.0 for details.
- A new additive app-tools hook
modifyBuilderEnvironmentsruns ingenerateBuilderafter the framework's static environment merge and beforecreateBuilder. It mirrorsmodifyEntrypointsas a transform-object async hook: each tapped callback receives{ environments }and may return a replacement map that chains to the next callback; tapping nothing leaves the environments byte-identical, so the change is fully backward compatible. This lets frameworks programmatically add environments (e.g. a custom browser worker environment), set per-environmentoutput/distPath/ordering, or otherwise adjust the resolved environments map instead of being limited to a config-static merge. feat(app-tools): 新增modifyBuilderEnvironmentshook,可在创建 builder 前变换 builder 环境表 新增的 app-tools hookmodifyBuilderEnvironments在generateBuilder中、框架静态环境合并之后、createBuilder之前执行。它与modifyEntrypoints一致,是 transform-object 异步 hook:每个回调收到{ environments },可返回替换后的环境表并链式传给下一个回调;不挂载任何回调时环境表字节不变,完全向后兼容。框架可借此以编程方式新增环境(如自定义浏览器 worker 环境)、设置 per-environment 的output/distPath/顺序,或调整已解析的环境表,而不再局限于静态配置合并。, 详情可查看 https://github.com/web-infra-dev/modern.js/pull/8717 - feat(builder): 更新 Rsbuild 版本到 2.1.0, 详情可查看 https://github.com/web-infra-dev/modern.js/pull/8721
- fix(runtime): 渲染自定义 Document 时使用最终的 HTML 模板参数, 详情可查看 https://github.com/web-infra-dev/modern.js/pull/8715
- No package release needed: this PR only adds repo-level files and docs content; it makes no change to any published package's runtime (
@modern-js/createhas zero net diff). Empty changeset added to satisfy the changeset bot without triggering a version bump., 详情可查看 https://github.com/web-infra-dev/modern.js/pull/8651 - chore(builder): 升级 @rsbuild/plugin-type-check 到 1.5.0, 详情可查看 https://github.com/web-infra-dev/modern.js/pull/8725
- 升级 @rsbuild/core 从 v2.0.10 到 v2.1.0,查看 v2.1.0 了解详情。
tdesign-react@1.18.0
Button: 优化variant为outline和dashed时的 hover 背景色 @uyarn (common#2569)ConfigProvider:HeadMenu: 子菜单浮层新增最大高度,超出最大高度将会显示滚动条 @HaixingOoO (#4283)InputNumber: 新增autofocus属性 @betavs (#4278)TagInput: 新增tagDisplayAPI,用于完全自定义单个标签的渲染效果 @RylanBot (#4275)
Cascader: 多选时输入框内的选中项顺序由 “options顺序” 调整为 “用户选择顺序“,之前依赖相关交互的业务注意此变更⚠️ @RylanBot (#4281)TreeSelect: 多选时输入框内的选中项顺序由 “options顺序” 调整为 “用户选择顺序“,之前依赖相关交互的业务注意此变更⚠️ @RylanBot (#4281)Steps: 修复sequence='reverse'时跳转逻辑异常的问题 @RylanBot (#4267)Table: 修复 filter 英文翻译文案错误 @liweijie0812 (common#2553)TagInput:Tree:
Button: Optimized the hover background color whenvariantis set tooutlineordashed. @uyarn (common#2569)ConfigProvider:HeadMenu: A maximum height was set for the sub-menu overlay; scroll bars will appear if the content exceeds this height @HaixingOoO (#4283)InputNumber: A newautofocusproperty was added @betavs (#4278)TagInput: A newtagDisplayAPI was introduced, allowing for full customization of how individual tags are displayed @RylanBot (#4275)
Cascader: When multiple options are selected, the order of the selected items in the input field has been changed from “the order defined inoptions” to “the order in which the user selects them”. Businesses that rely on this functionality should be aware of this change⚠️ @RylanBot (#4281)TreeSelect: When multiple options are selected, the order of the selected items in the input field has been changed from “the order defined inoptions” to “the order in which the user selects them”. Businesses that rely on this functionality should be aware of this change⚠️ @RylanBot (#4281)Steps: An issue with abnormal navigation logic whensequence='reverse'was fixed @RylanBot (#4267)Table: Errors in the translation of filter-related text were corrected @liweijie0812 (common#2553)TagInput:- Issues such as the absence of horizontal scroll bars when
excessTagsDisplayType="scroll"was fixed @RSS1102 (#4210) - A clear button is now displayed even when only text is entered, provided that
clearableis enabled @RSS1102 (#4210) - Problems with vertical alignment of input content when there are existing tags along with a
labelwere fixed @DaZuiZui (#4292)
- Issues such as the absence of horizontal scroll bars when
Tree: