45 minutes ago
router

Release 2026-05-02 21:39

Release 2026-05-02 21:39

Changes

Features

  • early hints (#7324) (238ea4a499) by @schiller-manuel

Chore

  • fix duplicate "the" typo across router packages (#7323) (f08ef9db97) by @dfedoryshchev

Packages

  • @tanstack/react-start@1.167.60
  • @tanstack/react-start-rsc@0.0.39
  • @tanstack/react-start-server@1.166.49
  • @tanstack/solid-start@1.167.57
  • @tanstack/solid-start-server@1.166.48
  • @tanstack/start-plugin-core@1.169.15
  • @tanstack/start-server-core@1.167.27
  • @tanstack/vue-start@1.167.53
  • @tanstack/vue-start-server@1.166.44
1 hours ago
dockview

v6.0.0

What's Changed

Full Changelog: https://github.com/mathuo/dockview/compare/v5.2.0...v6.0.0

3 hours ago
react-zmage

1.8.3

优化

  • AI 集成指引更清楚: README、llms.txt 和官网 AI 文档补充最小接入、样式导入、SSR 子路径与 Wrapper 模式约束,减少生成集成代码时漏掉关键步骤的概率。

修复

  • 侧边翻页按钮脱离边缘后的形态更正确: 当 controller.layout 给 flip 控件设置 inset 时,左右翻页按钮现在会变成完整圆角与对称 padding,不再保留贴边半圆样式。
  • 脱离边缘的翻页按钮保持居中: 修正 detached flip 按钮在 show / hover / active 状态下的 transform,使按钮向内偏移后仍保持垂直居中。

Improvements

  • Clearer AI integration guidance: README, llms.txt, and the AI docs now spell out minimal setup, style imports, SSR subpath usage, and Wrapper-mode constraints so generated integrations are less likely to miss required steps.

Fix

  • Correct detached side-flip button shape: When controller.layout adds inset spacing for flip controls, the left and right flip buttons now use full rounding and symmetric padding instead of keeping the edge-attached pill shape.
  • Detached flip buttons stay centered: Fixed the show / hover / active transforms for detached flip controls so inset side buttons remain vertically centered.
4 hours ago
react-zmage

1.8.2

新功能

  • 新增 blur 翻页效果: animate.flip 现在支持 'blur'。多图浏览切换时,当前图会轻微失焦并淡出,下一张图同步淡入;caption 也会跟随同一段切换节奏更新。

    <Zmage
      src="cover.jpg"
      set={gallery}
      animate={{ flip: 'blur' }}
    />

视觉更新

  • 桌面浏览层默认间距更稳: 默认 radius 调整为 8,桌面 edge 调整为 30,pagination 和 caption 默认向内收,减少靠边图片、页码和说明文字互相挤压的问题。
  • 控制器对比度更一致: toolbar 的 controller.color / controller.backdrop 现在会同步影响侧边翻页按钮和 pagination,让深色或自定义背景下的控制区更容易看清。

New Features

  • New blur flip effect: animate.flip now supports 'blur'. During multi-image browsing, the outgoing image softly blurs and fades while the next image fades in; captions switch on the same transition rhythm.

    <Zmage
      src="cover.jpg"
      set={gallery}
      animate={{ flip: 'blur' }}
    />

Visual Update

  • Safer desktop viewer spacing by default: The default radius is now 8, desktop edge is now 30, and pagination / caption are inset by default to reduce crowding around edge-aligned images and overlay text.
  • More consistent controller contrast: controller.color / controller.backdrop now propagate from the toolbar to side flip buttons and pagination, making custom dark or tinted controls easier to read.
6 hours ago
react-zmage

1.8.1

新功能

  • controller.layout inset 更完整: controller.layout 的数字型 inset 现在会按目标组件自己的位置解释,不再一律当作底部偏移。toolbar 会跟随 controller.placement 判断安全边距,pagination 和 caption 继续按底部区域处理,左右 flip 按钮也可以单独向内收。

    <Zmage
      src="hero.jpg"
      controller={{
        layout: {
          toolbar: { inset: 24 },
          flip: { inset: 32 },
          pagination: { inset: 20 },
          caption: { inset: 64 },
        },
      }}
    />
  • 文档与调试台同步: 参数调试台、README、docs/llms.txt 和公开类型说明已经同步到新的 layout 行为,方便直接调试 toolbar、flip、pagination 和 caption 的安全区。


New Features

  • More complete controller.layout insets: Numeric controller.layout inset values now follow each overlay target's natural edge instead of always mapping to the bottom edge. The toolbar follows controller.placement, pagination and caption keep their bottom-area behavior, and left / right flip buttons can now be inset from the side edges.

    <Zmage
      src="hero.jpg"
      controller={{
        layout: {
          toolbar: { inset: 24 },
          flip: { inset: 32 },
          pagination: { inset: 20 },
          caption: { inset: 64 },
        },
      }}
    />
  • Docs and playground sync: The playground controls, README, docs/llms.txt, and public type docs now describe the updated layout behavior for toolbar, flip, pagination, and caption safe-area tuning.

7 hours ago
react-zmage

1.8.0

新功能

  • 慢动作转场: 新增 animate.slowMotion,默认关闭。开启后,按住 Shift 打开或关闭图片会把完整 browsing 转场放慢到 10x,便于演示和检查动画细节。

    <Zmage src="photo.jpg" animate={{ slowMotion: true }} />
  • 覆盖层布局: 新增 controller.layout 和对应导出类型,可单独调整 toolbar、pagination、caption 的安全偏移,不改变图片首帧、缩放或关闭动画的几何计算。

    <Zmage
      src="photo.jpg"
      controller={{
        placement: 'bottom-center',
        layout: {
          pagination: { inset: 32 },
          caption: { inset: { bottom: 72 } },
        },
      }}
    />

视觉更新

  • 首页示例更新: 官网首页示例改成更复杂的图文混排,用 Child's Dream 图片故事展示原位展开、封面裁剪、圆角匹配、caption、分页和慢动作转场。

优化

  • npm 包体积: 发布包只保留 dist 产物和 SSR stub 路径,继续保留公开子路径兼容,同时减少安装包内容。

修复

  • 快速开关浏览层: 隔离 Zmage.browsing() 实例,取消旧 open / close timer,快速连续 in / out / reopen 时不再把封面卡在 visibility:hidden 或留下空 portal。
  • 首帧和末帧稳定性: browsing-in 等待视口几何稳定,并让 RAF 转场使用同一个视觉写入源,修复封面首帧偏移、圆角不一致和转场末段闪动。

New Features

  • Slow-motion transitions: Added animate.slowMotion, off by default. When enabled, holding Shift while opening or closing slows the full browsing transition to 10x for demos and animation inspection.

    <Zmage src="photo.jpg" animate={{ slowMotion: true }} />
  • Overlay layout: Added controller.layout and exported layout types so consumers can inset the toolbar, pagination, and caption overlays without changing first-frame, zoom, or close-animation geometry.

    <Zmage
      src="photo.jpg"
      controller={{
        placement: 'bottom-center',
        layout: {
          pagination: { inset: 32 },
          caption: { inset: { bottom: 72 } },
        },
      }}
    />

Visual Update

  • Homepage examples: Rebuilt the homepage demo into a richer editorial layout using the Child's Dream image story to show origin expansion, cover crop matching, radius matching, captions, pagination, and slow-motion transitions.

Improvements

  • npm package size: The published package now ships only dist assets and the SSR stub path while preserving public subpath compatibility.

Fix

  • Rapid viewer toggles: Isolated Zmage.browsing() instances and canceled stale open / close timers, preventing rapid in / out / reopen sequences from leaving the cover hidden or an empty portal mounted.
  • First-frame and late-transition stability: browsing-in now waits for stable viewport geometry and uses a single visual write source during RAF transitions, fixing first-frame cover offsets, radius mismatch, and late-transition flashing.
8 hours ago
swc
10 hours ago
router

Release 2026-05-02 11:56

Release 2026-05-02 11:56

Changes

Fix

  • deps: move fetchdts from devDependencies to dependencies (#7317) (51029a0df9) by @tsmithhisler

Packages

10 hours ago
axios

v1.16.0

v1.16.0 — May 2, 2026

This release adds support for the QUERY HTTP method and a new ECONNREFUSED error constant, lands a substantial wave of HTTP, fetch, and XHR adapter bug fixes around redirects, aborts, headers, and timeouts, and welcomes 23 new contributors.

⚠️ Notable Changes

A handful of fixes in this release are either security-adjacent or change observable behaviour. Please review before upgrading:

  • Fetch adapter now enforces maxBodyLength and maxContentLength. These limits were silently ignored on the fetch adapter prior to 1.16.0 — anyone relying on them as a safety net (DoS protection, accidental large uploads) had no protection. (#10795)
  • Proxy requests now preserve user-supplied Host headers. Previously, the proxy path could overwrite a custom Host. Virtual-host-style routing through a proxy will now behave correctly. (#10822)
  • Basic auth credentials embedded in URLs are now URL-decoded. If you have percent-encoded credentials in a URL (e.g. https://user:p%40ss@host), the decoded value is what now goes on the wire. (#10825)
  • parseProtocol now strictly requires a colon in the protocol separator. Strings that loosely parsed as protocols before may no longer match. (#10729)
  • Deprecated unescape() replaced with modern UTF-8 encoding. Non-ASCII URL handling is now spec-correct; consumers depending on legacy unescape() quirks may see different output bytes. (#7378)
  • transformRequest input typing change was reverted. The typing change introduced in #10745 was reverted in #10810 after follow-up review — net behavior is unchanged from 1.15.2. (#10745, #10810)

🚀 New Features

  • QUERY HTTP Method: Added support for the QUERY HTTP method across adapters and type definitions. (#10802)
  • ECONNREFUSED Error Constant: Exposed ECONNREFUSED as a constant on AxiosError so callers can match connection-refused failures without comparing string literals (closes #6485). (#10680)
  • Encode Helper Export: Exported the internal encode helper from buildURL so userland param serializers can reuse the same encoding logic that axios uses internally. (#6897)

🐛 Bug Fixes

  • HTTP Adapter — Redirects & Headers: Cleared stale headers when a redirect targets a no-proxy host, fixed the redirect listener chain so listeners no longer stack across hops, restored the missing requestDetails argument on beforeRedirect, preserved user-supplied Host headers when forwarding through a proxy, and properly URL-decoded basic auth credentials. (#10794, #10800, #6241, #10822, #10825)
  • HTTP Adapter — Streams & Timeouts: Preserved the partial response object on AxiosError when a stream is aborted after headers arrive, honoured the timeout option during the connect phase when redirects are disabled, and resolved an unsettled-promise hang when an aborted request was combined with compression and maxRedirects: 0. (#10708, #10819, #7149)
  • Fetch Adapter: Enforced maxBodyLength / maxContentLength in the fetch adapter, set the User-Agent header to match the HTTP adapter, preserved the original abort reason instead of replacing it with a generic error, and deferred global access so importing the module no longer throws a TypeError in restricted environments. (#10795, #10772, #10806, #7260)
  • XHR Adapter: Unsubscribed the cancelToken and AbortSignal listeners on the error, timeout, and abort code paths to prevent leaked subscriptions. (#10787)
  • Error Handling: Attached the parsed response to AxiosError when JSON.parse fails inside dispatchRequest, prevented settle from emitting undefined error codes, and tightened the parseProtocol regex to require a colon in the protocol separator. (#10724, #7276, #10729)
  • Types & Exports: Aligned the CommonJS CancelToken typings with the ESM build, fixed a compiler error caused by RawAxiosHeaders, and re-exported create from the package index. (#7414, #6389, #6460)
  • UTF-8 Encoding: Replaced the deprecated unescape() call with a modern UTF-8 encoding implementation. (#7378)
  • Misc Cleanup: Resolved a batch of small inconsistencies and gadget-level issues across the codebase. (#10833)

🔧 Maintenance & Chores

  • Refactor — ES6 Modernisation: Modernised the utils module and XHR adapter to use ES6 features, and tidied the multipart boundary error message. (#10588, #7419)
  • Tests: Hardened the HTTP test server lifecycle to fix flaky FormData EPIPE failures, fixed Win32 platform support for the pipe tests, and corrected an incorrect test assumption. (#10820, #10791, #10796)
  • Docs: Documented paramsSerializer.encode for strict RFC 3986 query encoding, updated the parseReviver TypeScript definitions and configuration docs for ES2023, added timeout guidance to the README's first async example, and expanded notes around the recent type changes. (#10821, #10782, #10759, #10804)
  • Reverted: Reverted the transformRequest input typing change from #10745 after follow-up review. (#10745, #10810)
  • Dependencies: Bumped actions/setup-node, the github-actions group, and postcss (in /docs) to their latest versions. (#10785, #10813, #10814)
  • Release: Updated changelog and packages, and prepared the 1.16.0 release. (#10790, #10834)

🌟 New Contributors

We are thrilled to welcome our new contributors. Thank you for helping improve axios:

  • @singhankit001 (#10588)
  • @cuiweixie (#7419)
  • @iruizsalinas (#10787)
  • @MarcosNocetti (#10680)
  • @deepview-autofix (#10729)
  • @atharvasingh7007 (#10745)
  • @OfekDanny (#10772)
  • @mnahkies (#7414)
  • @tboyila (#10759)
  • @Kingo64 (#6897)
  • @ramram1048 (#6389)
  • @FLNacif (#6460)
  • @zozo123 (#10806)
  • @pierluigilenoci (#10802)
  • @afurm (#10708)
  • @karan-lrn (#7378)
  • @ebeigarts (#7149)
  • @Raymondo97 (#10782)
  • @mixelburg (#10821)
  • @ashishkr96 (#10822)
  • @cyphercodes (#10819)
  • @Jye10032 (#7260)
  • @VeerShah41 (#7276)

Full Changelog