Skip to content

Releases: SMAKSS/react-scroll-direction

v4.3.1

01 Feb 19:15
fa7ae05

Choose a tag to compare

4.3.1 (2026-02-01)

Bug Fixes

  • dependencies: update vite and @vitejs/plugin-react to latest versions (3ffda40)

v4.3.0

01 Feb 04:22
fce0992

Choose a tag to compare

4.3.0 (2026-02-01)

Bug Fixes

  • ci: update artifact path from ./build/ to ./dist in CI workflow (4a3eccd)
  • config: remove 'test' type from commitlint configuration (4239e34)
  • exports: update exports field to include types and default entry point (cf48142)
  • scripts: update typecheck:playground script to build before type checking (e171e67)
  • workflow: move pnpm action setup step for clarity (fa534a0)
  • workflow: update npm publish workflow to support OIDC and npm CLI version (7d1e362)
  • workflow: update release step for develop branch to remove dry run (fc3638a)

Features

  • build: enhance build scripts to clean dist directory before building and update Vite configuration (62b8f8c)
  • ci: allow PR checks on develop branch in CI workflow (dc500df)
  • ci: update Node.js setup to use .nvmrc for version management and enhance release process with dry run for develop branch (86e38be)
  • core: Update project to use pnpm, add playground for testing, and enhance ESLint configuration (1026ea3)
  • docs: add Copilot and AGENTS instructions for automation and project behavior (ef2896f)
  • release: update release process to include develop branch and enhance configuration (3cf6dbd)

v4.3.0-develop.4

01 Feb 19:11
3f7227f

Choose a tag to compare

v4.3.0-develop.4 Pre-release
Pre-release

4.3.0-develop.4 (2026-02-01)

Bug Fixes

  • dependencies: update vite and @vitejs/plugin-react to latest versions (3ffda40)

v4.3.0-develop.3

01 Feb 04:16
4239e34

Choose a tag to compare

v4.3.0-develop.3 Pre-release
Pre-release

4.3.0-develop.3 (2026-02-01)

Bug Fixes

  • config: remove 'test' type from commitlint configuration (4239e34)

v4.3.0-develop.2

01 Feb 03:54
7d1e362

Choose a tag to compare

v4.3.0-develop.2 Pre-release
Pre-release

4.3.0-develop.2 (2026-02-01)

Bug Fixes

  • workflow: update npm publish workflow to support OIDC and npm CLI version (7d1e362)

v4.2.0-beta.2

27 Jul 13:24
921b408

Choose a tag to compare

v4.2.0-beta.1

27 Jul 12:49
7e839a5

Choose a tag to compare

v4.2.0-beta.0

27 Jul 11:31
a08c78e

Choose a tag to compare

What's Changed

  • feat: add the ability to specify a scrollable target element for tracking scroll direction by @CXBoyy in #311

New Contributors

Full Changelog: v4.1.0...v4.2.0-beta.0

🚀 Release Notes for v4.2.0

27 Jul 13:42
615c33f

Choose a tag to compare

What's Changed

  • feat: add the ability to specify a scrollable target element for tracking scroll direction by @CXBoyy in #311
  • [Release] Allow specifying a custom scrollable element by @SMAKSS in #312

New Contributors


🆕 New Features

  • Target Elements for useDetectScroll Hook: Added a new feature to allow specifying target elements for the useDetectScroll hook. This enhancement enables end users to apply this hook to containers other than window. 🆕🎯

🔄 Changes

  • ESLint Upgrade: Upgraded all dependencies, including upgrading ESLint to version 9.x.x, which necessitated changes to the ESLint settings for the project. This includes:

    • Migrating from .eslintrc.json to eslint.config.js.
    • Updating lint scripts to be compatible with the new configuration format.
    • Using the ignores property in eslint.config.js to replace .eslintignore. 🔄
  • Code Organization: Organized exports by creating specific files for types and the main code, and only exporting necessary functionalities from index.ts. This improves the structure and maintainability of the codebase. 📁📦

🙏 Acknowledgments

Special thanks to our contributors:

Your contributions are greatly appreciated! 🎉👏


Full Changelog: v4.1.0...v4.2.0

Release Notes for @smakss/react-scroll-direction v4.1.0

05 Apr 19:14
3f57b75

Choose a tag to compare

We are excited to announce the release of @smakss/react-scroll-direction version 4.1.0. This version brings several improvements and bug fixes that enhance the functionality and usability of our React scroll direction detection hook.

What's New

  • Improvements:

    • Enhanced the scroll position detection accuracy, especially near page boundaries.
    • Updated documentation with more examples and use cases to help developers integrate the hook into their projects more easily.
  • Bug Fixes:

    • Fixed an issue where the scroll direction incorrectly reported as "down" when scrolling the page.

Acknowledgments

A big thank you to @astralarya, @KubaZachacz and the community for their continuous support and feedback, which have been invaluable in making this release possible.

What's Changed

Full Changelog: v4.0.4...v4.1.0