v16.1.0-canary.21
- improve segment cache lru typesafety: #87129
- [Segment Cache] Detect third-party redirect + static export w/ HEAD request: #85910
- Fix: External redirect swallowed by Next.js: #87121
- [turbopack[ Use a frozenset in ImportUsage: #87118
Huge thanks to @ztanner, @SukkaW, @acdlite, and @lukesandberg for helping!
2.1.0
This release adds powerful new features for large-scale layouts and custom constraints, along with several bug fixes.
A new constraints system allows custom validation and transformation of layout items during drag and resize operations. Build aspect ratio locks, snap-to-grid, boundary restrictions, and more. #2190
import {
createConstraintEnforcer,
aspectRatioConstraint,
positionConstraint,
sizeConstraint
} from "react-grid-layout/core";
const enforcer = createConstraintEnforcer([
aspectRatioConstraint(16 / 9), // Lock to 16:9 ratio
positionConstraint({ minX: 0, maxX: 10 }), // Restrict X position
sizeConstraint({ minW: 2, maxH: 4 }) // Limit dimensions
]);
<GridLayout constraintEnforcer={enforcer} />
New O(n log n) compactors in react-grid-layout/extras dramatically improve performance for dashboards with 200+ widgets:
| Items | Standard | Fast | Speedup |
|---|---|---|---|
| 50 | 112 µs | 19 µs | 6x |
| 200 | 821 µs | 51 µs | 16x |
| 500 | 5.7 ms | 129 µs | 45x |
import { fastVerticalCompactor, fastHorizontalCompactor } from "react-grid-layout/extras";
<GridLayout compactor={fastVerticalCompactor} />
New wrapCompactor for paragraph-style layouts where items flow left-to-right and wrap to the next row, similar to CSS flexbox. #2186
import { wrapCompactor } from "react-grid-layout/extras";
<GridLayout compactor={wrapCompactor} />
- Added navigable sidebar to examples for easier exploration
- New grid matrix panel for visualizing layout state in real-time
- #2197
- WidthProvider: Fixed
measureBeforeMountnot re-observing element after switching from placeholder - #2198 - Drop positioning: Dropped items now center on cursor position instead of top-left corner - #2196
- Margin calculation: Fixed inconsistent margins between grid items - #2195
- Compaction: Fixed incorrect layouts when static items are present by disabling early break optimization - #2194
- Responsive layouts: Fixed infinite layout oscillation in toolbox pattern - #2192
- CSS: Removed
user-select: nonefrom grid items to restore text selection and auto-scroll behavior - #2188
- Added maxRows enforcement tests for
calcXYandcalcWH- #2185
- Improved changelog action for better automated release notes - #2199
Full Changelog: https://github.com/react-grid-layout/react-grid-layout/compare/2.0.0...2.1.0
Version 7.0.0-rc1
- chore(): Update typescript 5.9, eslint, babel and rollup to latest by @asturur in https://github.com/fabricjs/fabric.js/pull/10708
- chore(): Fixes to TypeDoc for compilation by @asturur in https://github.com/fabricjs/fabric.js/pull/10709
- chore(): Remove mouse wheel console warning by setting default explicitly. by @zhe-he in https://github.com/fabricjs/fabric.js/pull/10712
- fix: The mouse enter and leave events of child elements will be executed twice. by @zhe-he in https://github.com/fabricjs/fabric.js/pull/10699
- BREAKING: chore(): Update min node version to 20, add 24 by @asturur in https://github.com/fabricjs/fabric.js/pull/10716
- BREAKING(): Deprecate fireRightClick, fireMiddleClick, stopContextMenu and change their default value. by @asturur in https://github.com/fabricjs/fabric.js/pull/10720
- Clarify MIT License by @asturur in https://github.com/fabricjs/fabric.js/pull/10725
- doc: Repair broken link in docs by targeting all demo and samples pages in old fabric docs. by @tneullas in https://github.com/fabricjs/fabric.js/pull/10723
- chore(): Format dependabot.yml with Prettier to ensure consistent code style by @Copilot in https://github.com/fabricjs/fabric.js/pull/10733
- chore(deps-dev): bump @eslint/js from 9.34.0 to 9.35.0 by @dependabot[bot] in https://github.com/fabricjs/fabric.js/pull/10729
- Update license to include 2016–2025 Fabric.js contributors by @aswind7 in https://github.com/fabricjs/fabric.js/pull/10726
- chore(deps-dev): bump serve from 14.2.4 to 14.2.5 by @dependabot[bot] in https://github.com/fabricjs/fabric.js/pull/10730
- chore(deps-dev): bump es-toolkit from 1.39.7 to 1.39.10 by @dependabot[bot] in https://github.com/fabricjs/fabric.js/pull/10731
- chore(): Pin all GitHub Actions to commit SHAs for security compliance by @Copilot in https://github.com/fabricjs/fabric.js/pull/10739
- chore(): Remove paths for codeQL let it scan all the repo by @asturur in https://github.com/fabricjs/fabric.js/pull/10738
- change CN comment to EN by @aswind7 in https://github.com/fabricjs/fabric.js/pull/10727
- fix(textarea): A form field element has neither an id nor a name attribute. by @zhe-he in https://github.com/fabricjs/fabric.js/pull/10172
- fix: After executing loadFromJSON, it unexpectedly adds an objects property to the canvas. by @zhe-he in https://github.com/fabricjs/fabric.js/pull/10741
- ci(): Foked the action find-create-update-comment in order to pin sha(s) by @asturur in https://github.com/fabricjs/fabric.js/pull/10742
- ci(): Fix CWE-829 in the coverage report action by @asturur in https://github.com/fabricjs/fabric.js/pull/10743
- ci(): fix CWE-829 in action build-stats by @asturur in https://github.com/fabricjs/fabric.js/pull/10744
- fix(): CWE-1333 CWE-400 CWE-730 in Text.ts regex by @asturur in https://github.com/fabricjs/fabric.js/pull/10745
- fix(): CWE-1333 CWE-400 CWE-730 Simplify some regexes in order to avoid slowness with craft bad string by @asturur in https://github.com/fabricjs/fabric.js/pull/10746
- fix(): Fix some weaknesses in the changelog-update action ( various CWE ) by @asturur in https://github.com/fabricjs/fabric.js/pull/10747
- fix(): build-stats action, fix for CWE-275 and some code injection by @asturur in https://github.com/fabricjs/fabric.js/pull/10749
- fix(): Add all actions a set of permissions that is restricted to the minimum necessary by @asturur in https://github.com/fabricjs/fabric.js/pull/10750
- fix(): correct process.ENV with process.env by @asturur in https://github.com/fabricjs/fabric.js/pull/10751
- chore(deps-dev): bump chalk from 5.6.0 to 5.6.2 by @dependabot[bot] in https://github.com/fabricjs/fabric.js/pull/10752
- chore(deps-dev): bump commander from 14.0.0 to 14.0.1 by @dependabot[bot] in https://github.com/fabricjs/fabric.js/pull/10754
- chore(): remove chalk by @Smrtnyk in https://github.com/fabricjs/fabric.js/pull/10758
- chore(deps-dev): bump @babel/core from 7.28.3 to 7.28.4 by @dependabot[bot] in https://github.com/fabricjs/fabric.js/pull/10753
- chore(deps): bump the npm_and_yarn group across 2 directories with 2 updates by @dependabot[bot] in https://github.com/fabricjs/fabric.js/pull/10734
- chore(): Revisit and reduce conribution guidelines, try to streamline things by @asturur in https://github.com/fabricjs/fabric.js/pull/10759
- test(): Add new e2e import test for svg preserve aspect ratio by @asturur in https://github.com/fabricjs/fabric.js/pull/10766
- chore(deps-dev): bump @playwright/test from 1.55.0 to 1.55.1 by @dependabot[bot] in https://github.com/fabricjs/fabric.js/pull/10761
- chore(): remove fs-extra dev dependency by @Smrtnyk in https://github.com/fabricjs/fabric.js/pull/10767
- ci(): Move firefox to headless: false to see if improves passing rate. Renamed config because of deprecation warning by @asturur in https://github.com/fabricjs/fabric.js/pull/10769
- chore(): remove moment dev dependency by @Smrtnyk in https://github.com/fabricjs/fabric.js/pull/10770
- chore(): up deps by @Smrtnyk in https://github.com/fabricjs/fabric.js/pull/10771
- chore(): up dev deps by @Smrtnyk in https://github.com/fabricjs/fabric.js/pull/10773
- chore(deps-dev): bump @rollup/plugin-babel from 6.0.4 to 6.1.0 by @dependabot[bot] in https://github.com/fabricjs/fabric.js/pull/10776
- chore(deps-dev): bump @types/node from 24.7.0 to 24.7.2 by @dependabot[bot] in https://github.com/fabricjs/fabric.js/pull/10778
- BREAKING: change default originX and originY to center/center by @asturur in https://github.com/fabricjs/fabric.js/pull/10715
- chore(deps-dev): bump es-toolkit from 1.39.10 to 1.40.0 by @dependabot[bot] in https://github.com/fabricjs/fabric.js/pull/10777
- chore(): update playwright by @Smrtnyk in https://github.com/fabricjs/fabric.js/pull/10780
- fix(): Prototype pollution risk on text char cache by @asturur in https://github.com/fabricjs/fabric.js/pull/10782
- chore(): update major version of vitest by @Smrtnyk in https://github.com/fabricjs/fabric.js/pull/10786
- fix(): fix rendering of text when line height is set to 0 by @Smrtnyk in https://github.com/fabricjs/fabric.js/pull/10785
- chore(deps-dev): bump @types/micromatch from 4.0.9 to 4.0.10 by @dependabot[bot] in https://github.com/fabricjs/fabric.js/pull/10788
- chore(deps-dev): bump @vitest/ui from 4.0.2 to 4.0.3 by @dependabot[bot] in https://github.com/fabricjs/fabric.js/pull/10787
- Revert "chore(deps-dev): bump @vitest/ui from 4.0.2 to 4.0.3" by @asturur in https://github.com/fabricjs/fabric.js/pull/10792
- chore(deps-dev): bump inquirer from 12.9.6 to 12.10.0 by @dependabot[bot] in https://github.com/fabricjs/fabric.js/pull/10789
- update(AligningGuidelines): Fix some bugs and add custom features. by @zhe-he in https://github.com/fabricjs/fabric.js/pull/10120
- fix(): BREAKING Fix text positioning by @asturur in https://github.com/fabricjs/fabric.js/pull/10803
- feat(): Add configuration parameter for patternQuality in node by @asturur in https://github.com/fabricjs/fabric.js/pull/10804
- fix(): Fix the situation where undefined + char exists when calculating couple by @ccOfHome in https://github.com/fabricjs/fabric.js/pull/10816
- feat(): Multi touch gesture support with module westures by @asturur in https://github.com/fabricjs/fabric.js/pull/10813
- fix(): Fix toDataUrl writing on contextTop by @asturur in https://github.com/fabricjs/fabric.js/pull/10820
- Version 7.0 build by @asturur in https://github.com/fabricjs/fabric.js/pull/10821
- @tneullas made their first contribution in https://github.com/fabricjs/fabric.js/pull/10723
- @ccOfHome made their first contribution in https://github.com/fabricjs/fabric.js/pull/10816
Full Changelog: https://github.com/fabricjs/fabric.js/compare/v700-beta1...v700-rc1
v4.11.1
- fix(types): fix app.on method array type inference by @kosei28 in https://github.com/honojs/hono/pull/4578
Full Changelog: https://github.com/honojs/hono/compare/v4.11.0...v4.11.1
v2.11.2
This bugfix release updates the AbortSignal handling to fall back if DOMException isn't available (such as RN environments), and updates the TypedUseInfiniteQueryHookResult type to correctly include fetchNextPage/fetchPreviousPage fields.
The AbortSignal changes in 2.11.1 used DOMException in a couple places to match the expected behavior of AbortSignal, but turns out that's not available in environments like React Native. We've updated the logic to fall back to a plain Error if DOMException isn't available.
The TypedUseInfiniteQueryHookResult type wasn't correctly including the fetchNextPage/fetchPreviousPage fields, and now it does.
- fix: use a normal Error when DOMException isn't available by @EskiMojo14 in https://github.com/reduxjs/redux-toolkit/pull/5161
- Include page functions in
TypedUseInfiniteQueryHookResultby @markerikson in https://github.com/reduxjs/redux-toolkit/pull/5165
Full Changelog: https://github.com/reduxjs/redux-toolkit/compare/v2.11.1...v2.11.2
@platejs/combobox@52.0.14
- #4790 by @felixfeng33 – Fix type error