Fixes thumbnail swiping and general swiping/transitions
thumbnail bar swiping is fixed
v5.0.11
This release includes small improvements in middleware thanks to contributors.
- chore: improve typing in devtools middleware by @grigoriy-reshetniak in https://github.com/pmndrs/zustand/pull/3362
- fix(persist): avoid relying on global localStorage by @honuuk in https://github.com/pmndrs/zustand/pull/3367
- fix(immer): Proper typing for immer middleware in combination with slices by @wheerd in https://github.com/pmndrs/zustand/pull/3371
- @SeongYongLee made their first contribution in https://github.com/pmndrs/zustand/pull/3355
- @grigoriy-reshetniak made their first contribution in https://github.com/pmndrs/zustand/pull/3351
- @DormancyWang made their first contribution in https://github.com/pmndrs/zustand/pull/3363
- @Ea-st-ring made their first contribution in https://github.com/pmndrs/zustand/pull/3369
- @winner07 made their first contribution in https://github.com/pmndrs/zustand/pull/3373
- @honuuk made their first contribution in https://github.com/pmndrs/zustand/pull/3367
- @wheerd made their first contribution in https://github.com/pmndrs/zustand/pull/3371
Full Changelog: https://github.com/pmndrs/zustand/compare/v5.0.10...v5.0.11
@tdesign-vue-next/auto-import-resolver@0.1.6
- 修复 mobile-vue 自动导入 ActionSheetPlugin、 DrawerPlugin 和 ToastPlugin 三个插件无效 @liweijie0812 (#6369)
Bullet limits and resize observer fix
- Fixes issue with resize observer not repositioning thumbnail and bullets
- Adds
maxBulletsprop to support limiting bullet dispaly
v2.0.0 - TypeScript Rewrite
Complete rewrite from JavaScript to TypeScript with modernized architecture, zero-config CSS, and improved touch/swipe handling.
- Zero-config CSS - Styles auto-inject on import, no separate CSS import needed
- CSS custom properties - Easy theming via
--ig-primary-color,--ig-thumbnail-size, etc. - TypeScript support - Full type definitions included out of the box
- Complete TypeScript rewrite - Entire codebase migrated from JS/JSX to TS/TSX
- Hooks-based architecture - Refactored from class components to functional components with custom hooks
- Better swipe handling - Improved touch gestures and thumbnail swiping
- Smaller bundle - ~14KB gzipped (JS + CSS)
- Requires React 16.0.0+
- Requires Node.js 18.18+
- Removed SCSS source files (CSS only now)
- Internal component structure changed (if you were importing internals)
// Before (v1.x)
import ImageGallery from 'react-image-gallery';
import 'react-image-gallery/styles/css/image-gallery.css';
// After (v2.0) - CSS auto-injects!
import ImageGallery from 'react-image-gallery';
v1.157.18
Version 1.157.18 - 1/31/26, 3:41 PM
- router-core: matchRoutesInternal minor performance improvements (#6560) (1ce1919) by @Sheraff
- @tanstack/router-core@1.157.18
- @tanstack/solid-router@1.157.18
- @tanstack/react-router@1.157.18
- @tanstack/vue-router@1.157.18
- @tanstack/solid-router-ssr-query@1.157.18
- @tanstack/react-router-ssr-query@1.157.18
- @tanstack/vue-router-ssr-query@1.157.18
- @tanstack/router-ssr-query-core@1.157.18
- @tanstack/zod-adapter@1.157.18
- @tanstack/valibot-adapter@1.157.18
- @tanstack/arktype-adapter@1.157.18
- @tanstack/router-devtools@1.157.18
- @tanstack/solid-router-devtools@1.157.18
- @tanstack/react-router-devtools@1.157.18
- @tanstack/vue-router-devtools@1.157.18
- @tanstack/router-devtools-core@1.157.18
- @tanstack/router-generator@1.157.18
- @tanstack/router-cli@1.157.18
- @tanstack/router-plugin@1.157.18
- @tanstack/router-vite-plugin@1.157.18
- @tanstack/solid-start@1.157.18
- @tanstack/solid-start-client@1.157.18
- @tanstack/solid-start-server@1.157.18
- @tanstack/vue-start@1.157.18
- @tanstack/vue-start-client@1.157.18
- @tanstack/vue-start-server@1.157.18
- @tanstack/start-client-core@1.157.18
- @tanstack/start-server-core@1.157.18
- @tanstack/start-storage-context@1.157.18
- @tanstack/react-start@1.157.18
- @tanstack/react-start-client@1.157.18
- @tanstack/react-start-server@1.157.18
- @tanstack/start-plugin-core@1.157.18
- @tanstack/start-static-server-functions@1.157.18