Skip to content

chore: version packages - #439

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

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

Conversation

@github-actions

@github-actions github-actions Bot commented Aug 26, 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.2.0

Minor Changes

  • #446 0b66d40 Thanks @hyesungoh! - useDebouncedCallback and useThrottledCallback now accept any value type: onChange is typed (newValue: T) => void instead of (newValue: boolean) => void, so a debounced search query or a throttled scroll position no longer needs a cast. Existing boolean callers are unaffected.

    useDebouncedCallback no longer drops a first call of false. It compared incoming values against a seed of false, so the very first false looked redundant and was never forwarded; the comparison now starts from a sentinel, as useThrottledCallback already did. A false that arrives while an initial true is still pending now replaces it instead of being ignored.

    useImpressionRef no longer emits onImpressionEnd for an element that was never impressed.

Patch Changes

  • #450 a4251a3 Thanks @hyesungoh! - useDebouncedCallback and useThrottledCallback no longer forward a stale value when the caller returns to the last forwarded one. Calling with 'seo' and then 'seoul' right after 'seoul' had already been forwarded used to skip the second call as a duplicate without cancelling the pending 'seo', so onChange('seo') fired anyway. The pending call is now cancelled first. For useThrottledCallback this only showed with edges: ['trailing']; the default leading edge forwards the intermediate value immediately and masked it.

  • #452 fd312f5 Thanks @hyesungoh! - JSDoc corrections that show up in editor hover. useIntersectionObserver's options.root is typed Element | Document | null instead of boolean. useList and useSet now declare their generic parameter, their optional initial state and every member they return. mergeProps and mergeRefs mark their rest parameter as one, so the documented signature matches the implementation.

  • #456 65ce435 Thanks @mnxmnz! - Re-export the SafeAreaInset type from the package root. @react-simplikit/mobile exported it, but it was dropped when that package was absorbed into the root entry, leaving import type { SafeAreaInset } with no replacement.

  • #435 9e05182 Thanks @hyesungoh! - useDoubleClick, useGeolocation, useImpressionRef, useIntersectionObserver, useLongPress, useOutsideClickEffect, useStorageState and useVisibilityEvent are no longer marked @deprecated. They are maintained hooks again: editors stop rendering them struck-through, and no removal is planned.

@github-actions
github-actions Bot force-pushed the changeset-release/main branch 8 times, most recently from 1945d12 to 2446760 Compare August 31, 2026 05:22
@github-actions
github-actions Bot force-pushed the changeset-release/main branch from 2446760 to a6bf28a Compare August 31, 2026 07:56
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