Releases: shahradelahi/next-extra
Releases · shahradelahi/next-extra
v0.6.2
v0.6.1
Release Notes: - Updated dependencies
v0.6.0
Release Notes: This release ensures compatibility with the latest version of Next.js (`Next 15`) while maintaining compatibility with older versions of Next.js. - The `pathname` and `searchParams` functions from `next-extra/pathname` and `clientIP` function from `next-extra/action` are now async functions. Full Changelog: https://github.com/shahradelahi/next-extra/compare/v0.5.1...v0.6.0
v0.5.1
Bump to v0.5.1 Release Notes: - Updated dependencies Full Changelog: https://github.com/shahradelahi/next-extra/compare/v0.5.0...v0.5.1
v0.5.0
Release Notes: - Added and improved the docs of exported methods in the `pathname` module. - Added the `useServerInsertedContext` hook to the `context` module. - Added support for both Next 14 & 15 - The `ResponseCookies` and `RequestCookies` are now exported through the `action` module. Full Changelog: https://github.com/shahradelahi/next-extra/pull/30
v0.4.1
Release Notes: - Fix: The `usePageContext` hook now sets the `isolate` property to `true` by default. This change ensures that the hook reads shared context from adjacent server layouts correctly. (#23)
v0.4.0
Release Notes: - Added the `cookies` utility to the `action` module for reading and writing HTTP cookies from server components, actions, or route handlers. - Added the `clientIP` utility to the `action` module for reading the client's IP address from the incoming HTTP request headers.
v0.3.0
chore: Bump to v0.3.0 Release Notes: - Added `context` module with utilities for passing data from the server layout to client pages.
v0.2.2
Release Notes: - Added `invokeUrl` utility function in the `pathname` module for capturing an instance of `URL`. Full Changelog: https://github.com/shahradelahi/next-extra/compare/v0.2.1...v0.2.2
v0.2.1
Release notes: - The `action` module was not exported through package.json