# Changelog All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). ## [Unreleased] ## [0.3.0] - 2026-02-26 ### Added - Add `disableForTesting` option to `useNavigationGuard` to make the hook a complete no-op without requiring `NavigationGuardProvider` context, intended for test and storybook environments. - Support Next.js 16 as peer dependency and add E2E CI targets for v16.0 and v16.1. ## [0.2.0] - 2025-06-28 ### Added - Support for Next.js 15.3+ Link component which no longer uses router.push() - Comprehensive E2E test suite using Playwright ([#28](https://github.com/LayerXcom/next-navigation-guard/pull/28)) - Support for React 19 ([#18](https://github.com/LayerXcom/next-navigation-guard/pull/18)). @marekventur ### Fixed - Fix to use Math.random for jest compatibility ([#17](https://github.com/LayerXcom/next-navigation-guard/pull/17)). @tmtmtoo - Fix jest import issue ([#14](https://github.com/LayerXcom/next-navigation-guard/pull/14)). @peinguin ## [0.1.2] - 2024-12-11 ### Fixed - deps: Support Next.js 14 / 15 as peer dependencies ([#13](https://github.com/LayerXcom/next-navigation-guard/pulls/13)). @zachelrath ## [0.1.1] - 2024-10-07 ### Fixed - Fix back/forward button does not change the contents of the page ([#2](https://github.com/LayerXcom/next-navigation-guard/issues/2)). ## [0.1.0] - 2024-09-18 ### Added - The initial release of next-navigation-guard. [unreleased]: https://github.com/LayerXcom/next-navigation-guard/compare/v0.3.0...HEAD [0.3.0]: https://github.com/LayerXcom/next-navigation-guard/compare/v0.2.0...v0.3.0 [0.2.0]: https://github.com/LayerXcom/next-navigation-guard/releases/tag/v0.2.0 [0.1.2]: https://github.com/LayerXcom/next-navigation-guard/releases/tag/v0.1.2 [0.1.1]: https://github.com/LayerXcom/next-navigation-guard/releases/tag/v0.1.1 [0.1.0]: https://github.com/LayerXcom/next-navigation-guard/releases/tag/v0.1.0