Skip to content

[Release] 3.0.5 #646

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 36 commits into from
Jul 23, 2025
Merged

[Release] 3.0.5 #646

merged 36 commits into from
Jul 23, 2025

Conversation

titouanmathis
Copy link
Contributor

Changed

Fixed

  • scrollTo: fix scroll to be always instant (#644, 6e018553)

titouanmathis and others added 30 commits May 12, 2025 14:30
Update dependency vitepress-plugin-llms to v1.1.4
Update dependency @types/node to v22.15.18
Update dependency @shikijs/vitepress-twoslash to v3.4.2
When updating the scroll serviced props, we read values from the DOM
which trigger a layout recalculation too soon. We switch to using the
existing `domScheduler` to separate updating the props and triggering
the service's callbacks into different scheduled tasks.
Reading the scroll from the window can trigger layout thrashing,
switching to scroll values from the scroll service which already
implement a more performant way of reading scroll values.
[Bugfix] Performance: scroll layout thrashing
Copy link

Export Size

@studiometa/js-toolkit

Name Size Diff
withScrolledInView 2.77 kB +920 B (+49.68%) 🔺
ScrollService 1.1 kB +87 B (+8.57%) 🔺
useScroll 1.12 kB +88 B (+8.54%) 🔺
DECORATORS 7.25 kB +399 B (+5.82%) 🔺
SERVICES 3.77 kB +67 B (+1.81%) 🔺
scrollTo 2.14 kB +13 B (+0.61%) 🔺
Base 7.52 kB +28 B (+0.37%) 🔺
BASE 7.58 kB +25 B (+0.33%) 🔺
UTILS 7.49 kB +19 B (+0.25%) 🔺
FRAMEWORK 12.36 kB +24 B (+0.19%) 🔺
ALL 17.4 kB +5 B (+0.03%) 🔺
Unchanged

@studiometa/js-toolkit

Name Size Diff
AbstractService 512 B -
addClass 226 B -
addStyle 238 B -
animate 2.92 kB -
boundingRectToCircle 154 B -
cache 179 B -
camelCase 401 B -
clamp 67 B -
clamp01 87 B -
collideCircleCircle 99 B -
collideCircleRect 159 B -
collidePointCircle 112 B -
collidePointRect 103 B -
collideRectRect 99 B -
createApp 1.28 kB -
createEaseInOut 116 B -
createEaseOut 71 B -
createElement 526 B -
createRange 90 B -
damp 78 B -
dashCase 376 B -
debounce 92 B -
domScheduler 296 B -
DragService 1.85 kB -
ease 435 B -
easeInCirc 68 B -
easeInCubic 59 B -
easeInExpo 80 B -
easeInOutCirc 141 B -
easeInOutCubic 130 B -
easeInOutExpo 134 B -
easeInOutQuad 128 B -
easeInOutQuart 133 B -
easeInOutQuint 152 B -
easeInOutSine 151 B -
easeInQuad 63 B -
easeInQuart 61 B -
easeInQuint 62 B -
easeInSine 77 B -
easeLinear 49 B -
easeOutCirc 115 B -
easeOutCubic 103 B -
easeOutExpo 112 B -
easeOutQuad 103 B -
easeOutQuart 100 B -
easeOutQuint 103 B -
easeOutSine 121 B -
endsWith 88 B -
getAncestorWhere 91 B -
getAncestorWhereUntil 119 B -
getClosestParent 173 B -
getComponentResolver 138 B -
getDirectChildren 194 B -
getInstanceFromElement 90 B -
getInstances 146 B -
getOffsetSizes 159 B -
hasWindow 62 B -
HELPERS 2.43 kB -
historyPush 499 B -
historyReplace 503 B -
importOnInteraction 891 B -
importOnMediaQuery 236 B -
importWhenIdle 223 B -
importWhenPrefersMotion 275 B -
importWhenVisible 911 B -
inertiaFinalValue 142 B -
isArray 70 B -
isBoolean 78 B -
isDefined 86 B -
isDev 72 B -
isDirectChild 206 B -
isEmpty 207 B -
isEmptyString 93 B -
isFunction 72 B -
isNull 72 B -
isNumber 84 B -
isObject 105 B -
isString 86 B -
keyCodes 97 B -
KeyService 833 B -
lerp 57 B -
loadElement 169 B -
loadIframe 189 B -
loadImage 188 B -
loadLink 186 B -
loadScript 197 B -
LoadService 577 B -
lowerCase 60 B -
map 71 B -
matrix 106 B -
mean 91 B -
memo 100 B -
memoize 189 B -
MutationService 784 B -
nextFrame 162 B -
nextMicrotask 111 B -
nextTick 134 B -
noop 39 B -
noopValue 49 B -
objectToURLSearchParams 302 B -
pascalCase 377 B -
PointerService 1.05 kB -
Queue 226 B -
RafService 878 B -
randomInt 80 B -
randomItem 232 B -
removeClass 222 B -
removeStyle 238 B -
ResizeService 990 B -
round 56 B -
saveActiveElement 56 B -
SmartQueue 411 B -
snakeCase 378 B -
startsWith 87 B -
throttle 101 B -
toggleClass 225 B -
transform 321 B -
transition 916 B -
trapFocus 363 B -
tween 1.55 kB -
untrapFocus 45 B -
upperCase 54 B -
useDrag 1.89 kB -
useKey 847 B -
useLoad 592 B -
useMutation 819 B -
usePointer 1.08 kB -
useRaf 888 B -
useResize 1.01 kB -
useScheduler 290 B -
wait 79 B -
withBreakpointManager 1.4 kB -
withBreakpointObserver 1.59 kB -
withDrag 2.01 kB -
withExtraConfig 135 B -
withFreezedOptions 140 B -
withIntersectionObserver 260 B -
withLeadingCharacters 88 B -
withLeadingSlash 107 B -
withMountOnMediaQuery 322 B -
withMountWhenInView 286 B -
withMountWhenPrefersMotion 355 B -
withMutation 943 B -
withName 81 B -
withoutLeadingCharacters 86 B -
withoutLeadingCharactersRecursive 124 B -
withoutLeadingSlash 93 B -
withoutTrailingCharacters 98 B -
withoutTrailingCharactersRecursive 129 B -
withoutTrailingSlash 103 B -
withRelativePointer 1.21 kB -
withResponsiveOptions 2.25 kB -
withTrailingCharacters 96 B -
withTrailingSlash 120 B -

Copy link

codecov bot commented Jul 23, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 99.13%. Comparing base (934a61d) to head (0631a45).
Report is 37 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #646   +/-   ##
=======================================
  Coverage   99.13%   99.13%           
=======================================
  Files         122      122           
  Lines        4186     4186           
  Branches     1141     1141           
=======================================
  Hits         4150     4150           
  Misses         36       36           
Flag Coverage Δ
unittests 99.13% <100.00%> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@titouanmathis titouanmathis merged commit ad015f7 into master Jul 23, 2025
14 checks passed
@titouanmathis titouanmathis deleted the release/3.0.5 branch July 23, 2025 13:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants