Skip to content

Commit 23e8e1e

Browse files
authored
Merge pull request #8 from udecode/changeset-release/main
2 parents 0c27fb4 + 7e4b88f commit 23e8e1e

File tree

3 files changed

+10
-9
lines changed

3 files changed

+10
-9
lines changed

.changeset/optional-helper-params.md

Lines changed: 0 additions & 8 deletions
This file was deleted.

CHANGELOG.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
11
# better-auth-convex
22

3+
## 0.2.2
4+
5+
### Patch Changes
6+
7+
- 0c27fb4: - `getSession` now accepts an optional `userId` parameter to skip the `getAuthUserId` call when the userId is already known
8+
- `getHeaders` now accepts an optional `session` parameter to skip the `getSession` call when the session is already available
9+
10+
These changes improve performance by avoiding redundant database queries when the data is already available.
11+
312
## 0.2.1
413

514
### Patch Changes

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "better-auth-convex",
3-
"version": "0.2.1",
3+
"version": "0.2.2",
44
"description": "Better Auth Convex local integration",
55
"keywords": [
66
"convex",

0 commit comments

Comments
 (0)