[PR #1534] [MERGED] chore: update getSessionCookie import in demo and docs #20754

Closed
opened 2026-04-15 19:54:25 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/better-auth/better-auth/pull/1534
Author: @BlankParticle
Created: 2/22/2025
Status: Merged
Merged: 2/22/2025
Merged by: @Bekacru

Base: v1.2Head: chore/update-cookie-imports


📝 Commits (1)

  • 767e8d5 chore: update getSessionCookie import in demo and docs

📊 Changes

2 files changed (+2 additions, -2 deletions)

View changed files

📝 demo/nextjs/middleware.ts (+1 -1)
📝 docs/content/docs/integrations/next.mdx (+1 -1)

📄 Description

in #1528, cookie helper exports were removed from better-auth root import and were made only available at better-auth/cookies, this PR fixes the imports for the demo and docs

This is somewhat a breaking change for who rely on this export from root and should be mentioned in changelog


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/better-auth/better-auth/pull/1534 **Author:** [@BlankParticle](https://github.com/BlankParticle) **Created:** 2/22/2025 **Status:** ✅ Merged **Merged:** 2/22/2025 **Merged by:** [@Bekacru](https://github.com/Bekacru) **Base:** `v1.2` ← **Head:** `chore/update-cookie-imports` --- ### 📝 Commits (1) - [`767e8d5`](https://github.com/better-auth/better-auth/commit/767e8d59718f08e36cad2a3b9cb32d81b6b985c4) chore: update getSessionCookie import in demo and docs ### 📊 Changes **2 files changed** (+2 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `demo/nextjs/middleware.ts` (+1 -1) 📝 `docs/content/docs/integrations/next.mdx` (+1 -1) </details> ### 📄 Description in #1528, cookie helper exports were removed from `better-auth` root import and were made only available at `better-auth/cookies`, this PR fixes the imports for the demo and docs This is somewhat a breaking change for who rely on this export from root and should be mentioned in changelog --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-04-15 19:54:25 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/better-auth#20754