Skip to content

Releases: shahradelahi/next-extra

v0.5.0

21 Jul 00:46
v0.5.0
df44c86
Compare
Choose a tag to compare
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

05 Jul 18:48
v0.4.1
c26678d
Compare
Choose a tag to compare
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

26 Jun 06:16
v0.4.0
ce38a91
Compare
Choose a tag to compare
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

19 Jun 06:40
v0.3.0
d6225d6
Compare
Choose a tag to compare
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

14 Jun 07:43
v0.2.2
78da371
Compare
Choose a tag to compare
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

12 Jun 00:26
v0.2.1
91ae39a
Compare
Choose a tag to compare
Release notes:

- The `action` module was not exported through package.json

v0.2.0

12 Jun 00:12
v0.2.0
6c46427
Compare
Choose a tag to compare
Release notes:

- Added `action` module. Checkout docs for more details (#7)

v0.1.0

10 Jun 00:27
v0.1.0
71443a4
Compare
Choose a tag to compare
Release notes:

- Added `pathname` module for accessing the URL in server components