mobx@7.1.3
78f3fa555a9481247c6f463d77ed3e59766599e2#4756 Thanks @kubk! - Fixsuperreads of a 2022.3@computedgetter returning the subclass override when that override had not been read yet on the instance.
v4.3.4
4.3.4 (2026-10-27)
- codemirror: ignore language loads after effect cleanup (1e16b00)
- diff-source: preserve document state across mode handoffs (5c43b39)
- diff-source: preserve source edits when inserting Markdown (fd69f10)
- markdown-shortcut: pick up plugins initialized after markdownShortcutPlugin (00a8ece), closes #620
v3.11.0
useClickAway的第三个参数支持配置对象,新增enabled选项,用于控制是否绑定外部点击监听。原有事件名字符串和事件名数组调用方式保持兼容。#2984
useInfiniteScroll避免空页引起连续自动请求,并在加载状态更新完成后再检查是否需要继续加载。7369875、587ea88useInfiniteScroll在容器尺寸或视口变化后重新判断是否需要加载,避免初次尺寸通知触发额外请求。#2964useInfiniteScroll.cancel()清除loadingMore,使取消后的按钮操作和滚动加载能够继续工作,同时忽略已取消请求的结果及回调。#2970useCookieState删除 Cookie 时保留配置的path、domain等属性,修复自定义作用域下无法删除 Cookie 的问题。#2977useTheme在服务端渲染时避免访问浏览器存储。#2983useResetState正确保留函数类型的状态值,初始化和重置时不再把该值作为状态更新函数执行。#2982useDynamicList.sortList保留0、false和空字符串,同时继续过滤null和undefined。#2981useSelections在itemKey属性名或回调变化后重新计算选中映射与选中状态。#2980useExternal和useFavicon正确识别带查询参数或片段的资源 URL 类型,并保留元素上的原始 URL。#2979useHistoryTravel在批量设置值、前进、后退及重置后更新时保留正确的历史记录。#2978useMutationObserver使用最新回调,同时保留原生回调参数和this,回调变化不会重建 observer。#2973
- 说明
useSessionStorageState的listenStorageChange支持同页 Hook 更新及同一标签页内的同源 iframe 更新,不会跨标签页同步。#2972 - 补充维护者发布指南,涵盖 npm、GitHub Release、文档站发布及发布后验收。
useClickAway(onClickAway, target, {
eventName: 'click',
enabled: open,
});
本次发布包为 ahooks。独立包 @ahooks.js/use-url-state 保持原版本。
- Accept an options object as the third argument of
useClickAway, with anenabledoption to control whether outside-click listeners are attached. Existing event-name string and array arguments remain supported. #2984
- Prevent repeated automatic requests after an empty page in
useInfiniteScroll, and defer bottom checks until loading state updates complete. 7369875, 587ea88 - Recheck whether more data is needed when the scroll container or viewport changes size, without treating the initial resize notification as a resize. #2964
- Clear
loadingMorewhen cancellinguseInfiniteScrollrequests, allowing subsequent button and scroll loading while continuing to ignore cancelled responses and callbacks. #2970 - Preserve configured Cookie attributes, including
pathanddomain, when removing Cookies throughuseCookieState. #2977 - Avoid accessing browser storage during server rendering in
useTheme. #2983 - Preserve function-valued state in
useResetStateinstead of invoking the value as a state updater during initialization or reset. #2982 - Preserve
0,false, and empty strings inuseDynamicList.sortList, while continuing to filter outnullandundefined. #2981 - Recompute selection maps and flags when the
useSelectionskey property or callback changes. #2980 - Infer resource types correctly for URLs with queries or fragments in
useExternalanduseFavicon, preserving the original element URLs. #2979 - Preserve history during batched updates, navigation, and updates following a reset in
useHistoryTravel. #2978 - Invoke the latest
useMutationObservercallback while preserving its native arguments and receiver, without recreating the observer when the callback changes. #2973
- Clarify that
useSessionStorageStatewithlistenStorageChangesynchronizes Hook updates on the same page and storage updates from same-origin iframes in the same tab, but not across tabs. #2972 - Add a maintainer release guide covering npm, GitHub Releases, documentation deployment, and release verification.
useClickAway(onClickAway, target, {
eventName: 'click',
enabled: open,
});
This release publishes ahooks only. The separate @ahooks.js/use-url-state package keeps its existing version.
Full changelog: v3.10.0...v3.11.0
v8.7.1
- fix(core): stop pinned left/right edge groups growing on sash drag by @mathuo in https://github.com/dockview/dockview/pull/1718
Full Changelog: https://github.com/dockview/dockview/compare/v8.7.0...v8.7.1
@formatjs/cli-native-linux-x64: 1.1.30
1.1.30 (2026-10-27)
@formatjs/cli: 6.16.36
6.16.36 (2026-10-27)
- The following workspace dependencies were updated
- optionalDependencies
- @formatjs/cli-native-darwin-arm64 bumped to 1.1.30
- @formatjs/cli-native-linux-arm64 bumped to 1.2.30
- @formatjs/cli-native-linux-arm64-musl bumped to 1.0.28
- @formatjs/cli-native-linux-x64 bumped to 1.1.30
- @formatjs/cli-native-linux-x64-musl bumped to 1.0.28
- @formatjs/cli-native-win32-x64 bumped to 1.1.31
- optionalDependencies
formatjs_cli: 1.8.3
1.8.3 (2026-10-27)
- @formatjs/unplugin: evaluate local message constants with OXC (#7686) (e5b666b)
- deps: update oxc to 0.154 (#7659) (2accd15)
- deps: update ruff to v0.17.1 (#7672) (21837f2)
- macOS Apple Silicon:
formatjs_cli-darwin-arm64 - Linux ARM64:
formatjs_cli-linux-arm64 - Linux x86_64:
formatjs_cli-linux-x64 - Windows x64:
formatjs_cli-win32-x64.exe
# macOS (Apple Silicon)
curl -LO https://github.com/formatjs/formatjs/releases/download/formatjs_cli_v1.8.3/formatjs_cli-darwin-arm64
chmod +x formatjs_cli-darwin-arm64
sudo mv formatjs_cli-darwin-arm64 /usr/local/bin/formatjs
# Linux
curl -LO https://github.com/formatjs/formatjs/releases/download/formatjs_cli_v1.8.3/formatjs_cli-linux-x64
chmod +x formatjs_cli-linux-x64
sudo mv formatjs_cli-linux-x64 /usr/local/bin/formatjs
# Linux ARM64
curl -LO https://github.com/formatjs/formatjs/releases/download/formatjs_cli_v1.8.3/formatjs_cli-linux-arm64
chmod +x formatjs_cli-linux-arm64
sudo mv formatjs_cli-linux-arm64 /usr/local/bin/formatjs
# Windows x64 (PowerShell)
curl.exe -LO https://github.com/formatjs/formatjs/releases/download/formatjs_cli_v1.8.3/formatjs_cli-win32-x64.exe
Verify the checksums:
curl -LO https://github.com/formatjs/formatjs/releases/download/formatjs_cli_v1.8.3/checksums.txt
shasum -a 256 -c checksums.txt