Releases: shahradelahi/next-extra
Releases · shahradelahi/next-extra
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
v0.2.0
Release notes: - Added `action` module. Checkout docs for more details (#7)
v0.1.0
Release notes: - Added `pathname` module for accessing the URL in server components