Skip to content

chore: version packages - #468

Open
github-actions[bot] wants to merge 1 commit into
mainfrom
changeset-release/main
Open

chore: version packages#468
github-actions[bot] wants to merge 1 commit into
mainfrom
changeset-release/main

Conversation

@github-actions

@github-actions github-actions Bot commented Sep 3, 2026

Copy link
Copy Markdown
Contributor

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.

Releases

react-simplikit@0.3.0

Minor Changes

  • #471 edddd4b Thanks @hyesungoh! - Add useDebouncedValue and useThrottledValue. Both take a value the caller owns and return a delayed copy of it: useDebouncedValue(value, wait, { leading?, trailing? }) follows the value wait milliseconds after the last change, and useThrottledValue(value, wait, { leading?, trailing? }) follows it at most once per wait milliseconds. They pair with the existing useDebouncedCallback and useThrottledCallback, which wrap a setter instead of a value.

  • #479 72ed16e Thanks @Antoliny0919! - Add lazy initializer support to useBooleanState.

  • #469 cc8b69e Thanks @DongEun02! - Add lazy initializer support to useInputState.

Patch Changes

  • #470 52ed163 Thanks @hyesungoh! - useThrottle with edges: ['trailing'] now invokes once per wait while calls keep coming in, instead of waiting for the calls to stop. useThrottledCallback and useDebouncedCallback now keep a single throttle or debounce across calls: useThrottledCallback forwards a stream of distinct values at most once per timeThreshold instead of every time, and useDebouncedCallback with leading: true forwards the first value of a burst once instead of every value immediately. Sharing one instance has two further consequences. A call carrying the same value as the last forwarded one is still skipped, but it now occupies a window, so a different value arriving inside that window waits for the window to close. And changing timeThreshold, edges, leading or trailing while a value is pending discards that pending value instead of forwarding it. useImpressionRef and ImpressionArea inherit the useDebouncedCallback change: an impression that ends within timeThreshold of its start now reports onImpressionEnd on the trailing edge rather than immediately, and an end still pending when the element unmounts is emitted during cleanup instead of being dropped.

  • #467 92cbb34 Thanks @constantly-dev! - useIntersectionObserver no longer recreates the underlying IntersectionObserver on every render when an inline options object is passed. It now recreates it only when root, rootMargin, or threshold actually change.

  • #473 6f6361c Thanks @JetProc! - Cancel pending useLongPress timers when the component unmounts, preventing
    onLongPress from firing after unmount.

react-simplikit-codemod@0.1.2

Patch Changes

  • #474 f131867 Thanks @mnxmnz! - mobile-to-root now asks semver whether an existing react-simplikit range already guarantees the 0.2.0 floor, instead of comparing digits it pulled out of the string. A wildcard such as * still admits an older version, so it is raised to ^0.2.0 rather than left in place; a workspace:, file: or dist-tag spec that semver cannot read is kept and reported. An --ignore glob is joined onto the current directory with path.posix.join, so ./legacy/** and legacy/** read the same way.

@github-actions
github-actions Bot force-pushed the changeset-release/main branch 11 times, most recently from 2bc1532 to 6010bac Compare September 7, 2026 08:55
@github-actions
github-actions Bot force-pushed the changeset-release/main branch from 6010bac to 2b4026c Compare September 7, 2026 10:01
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.

0 participants