Skip to content

Feat/svelte Add support for svelte and sveltekit #209

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 90 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
90 commits
Select commit Hold shift + click to select a range
f0d045b
Add svelte test project
mmailaender Apr 14, 2025
7a3907b
Add Convex backend with auth, messages, and users functionality
mmailaender Apr 14, 2025
cee8b89
Svelte Client
mmailaender Apr 14, 2025
16962cf
Add SvelteKit auth implementation with server-side handlers and route…
mmailaender Apr 15, 2025
c1d39cd
Update code block syntax highlighting from svelte to html in README
mmailaender Apr 15, 2025
235f654
Simplify SvelteKit auth by auto-detecting Convex URL and client setup
mmailaender Apr 16, 2025
a3f4502
Refactor Svelte auth provider to use new props syntax and improve cli…
mmailaender Apr 16, 2025
ccd32a3
Remove protect middleware and update docs with auth pattern examples
mmailaender Apr 16, 2025
bd47c3b
Add Svelte and SvelteKit support with build configs and package exports
mmailaender Apr 17, 2025
93afe37
Add SvelteKit auth integration with server-side hooks and layout hand…
mmailaender Apr 17, 2025
d5ee46d
Update resolve type to support sync responses
mmailaender Apr 17, 2025
2cbede8
Refactor auth provider to use setupConvexAuth function instead of com…
mmailaender Apr 17, 2025
647f610
Migrate from AuthProvider to setupConvexAuth
mmailaender Apr 17, 2025
9a04f0d
Update Svelte auth provider API and add auth example to SvelteKit tes…
mmailaender Apr 17, 2025
62fcdb2
Simplify auth API by consolidating hooks into single useAuth function
mmailaender Apr 17, 2025
d9a0837
Refactor auth context and add explicit convexUrl handling in SvelteKi…
mmailaender Apr 18, 2025
4ce0bb7
Improve auth configuration with better env handling
mmailaender Apr 18, 2025
9c1a714
Add Skeleton UI components to SvelteKit test app
mmailaender Apr 19, 2025
289bece
Add package-.lock.json
mmailaender Apr 19, 2025
5dd7489
Upgrade path-to-regexp and improve route matching for Next.js and Sve…
mmailaender Apr 19, 2025
107ee4b
Improve SvelteKit auth handling
mmailaender Apr 19, 2025
39eab05
Update route matcher patterns
mmailaender Apr 19, 2025
85612a2
fix Vite file serving configuration
mmailaender Apr 19, 2025
8c0148d
Move convex
mmailaender Apr 19, 2025
3ecc5b3
Add chat functionality with real-time messaging using Convex
mmailaender Apr 19, 2025
4b499df
Center page
mmailaender Apr 19, 2025
ae75122
Add @auth/core
mmailaender Apr 19, 2025
f794886
Remove duplicated files
mmailaender Apr 19, 2025
cb8a424
Update convex path
mmailaender Apr 20, 2025
d35c3d8
Fix Cookie names
mmailaender Apr 20, 2025
7f1d99c
Add tsdoc and made the object optional
mmailaender Apr 21, 2025
0cb2311
Add token getter and fix auth context in SvelteKit with improved type…
mmailaender Apr 21, 2025
0854272
Add null checks and refactor auth client initialization for SvelteKit
mmailaender Apr 21, 2025
bf4799b
Fix signOut
mmailaender Apr 22, 2025
4628f0a
Delete convex duplicated files
mmailaender Apr 22, 2025
59c08dd
Update formatting
mmailaender Apr 22, 2025
ddf5cad
Add SvelteKit auth server handlers with proxy support and improved to…
mmailaender Apr 23, 2025
d1a289a
Remove unused imports from product page server handler
mmailaender Apr 24, 2025
a1fde73
Refactor client setup and improve auth initialization flow
mmailaender Apr 24, 2025
476e145
Formatted
mmailaender Apr 24, 2025
59a4017
Refactor auth usage
mmailaender Apr 24, 2025
48a570d
update GitHub sign-in redirect to home page
mmailaender Apr 24, 2025
2a25f4c
Update store import from $app/stores to $app/state
mmailaender Apr 24, 2025
1673042
Enable verbose logging and update auth config across layout and serve…
mmailaender Apr 24, 2025
f8f81c2
Fix auth token fetching by setting auth client on Convex client initi…
mmailaender Apr 26, 2025
36a00b3
Make convexUrl optional and use PUBLIC_CONVEX_URL env var as fallback
mmailaender Apr 27, 2025
3e3768d
Add retry logic for SvelteKit navigation with exponential backoff
mmailaender Apr 27, 2025
744268e
Removed handleAuthAction
mmailaender Apr 28, 2025
f774ff7
Removed unused imports
mmailaender Apr 28, 2025
2981fbe
Renamed utils and added cookieconfig validation
mmailaender Apr 28, 2025
3a48f0c
Refactor auth cookie handling and add token refresh functionality in …
mmailaender Apr 28, 2025
9cc0dca
Add token refresh and auth code handling to SvelteKit request handler
mmailaender Apr 28, 2025
a00503c
Refactor auth state handling and replace onMount with $effect in Svel…
mmailaender Apr 28, 2025
c1da73b
Fix auth state handling and token refresh in SvelteKit integration
mmailaender Apr 29, 2025
e1fc1c9
Add token sync between server state and localStorage with timestamp t…
mmailaender Apr 30, 2025
3f22daa
Enhance UserMenu with avatar
mmailaender Apr 30, 2025
06290d3
Fix import paths
mmailaender Apr 30, 2025
52b719a
Adjust text colors
mmailaender Apr 30, 2025
a50d640
Refactor auth state handling
mmailaender Apr 30, 2025
5cc4d0b
Updated Readme
mmailaender Apr 30, 2025
c714b39
Update readme
mmailaender Apr 30, 2025
dfd83b0
Refactor auth proxy logic
mmailaender Apr 30, 2025
5a670ab
Remove unused variables
mmailaender Apr 30, 2025
d0ec0b6
Remov server imports from client sveltekit
mmailaender Apr 30, 2025
e721656
Use $state for authState in SvelteKit auth setup
mmailaender Apr 30, 2025
cca5718
Add e2e tests for auth flows and expose fetchAccessToken
mmailaender Apr 30, 2025
7db12fc
Refactor auth state handling to use getter function instead of direct…
mmailaender May 1, 2025
2db898f
Fix auth setup by renaming serverState param to getServerState
mmailaender May 1, 2025
a094e6d
Refactor auth client to use options.verbose for logging and pass opti…
mmailaender May 1, 2025
9572485
Update auth setup to use function for server state instead of $state …
mmailaender May 1, 2025
77f5f2a
Add mutex to prevent concurrent token refreshes across browser tabs
mmailaender May 1, 2025
8d2f456
Add E2E tests and route handler for auth with improved test config an…
mmailaender May 1, 2025
744f572
Merge branch 'feat/svelte' into main
mmailaender May 3, 2025
9322e84
Merge pull request #1 from mmailaender/main
mmailaender May 3, 2025
de48649
Update middleware to updated routematcher
mmailaender May 3, 2025
b72fd56
Update dependencies: cookie, Next.js, Svelte, TypeScript and dev tools
mmailaender May 3, 2025
8fca45c
Upgrade shelljs to 0.9.2 and valibot to 1.0.0
mmailaender May 3, 2025
6614c7c
rename login to sign in README
mmailaender May 3, 2025
63e6832
Fix createRouteMatcher input
mmailaender May 3, 2025
0d274fc
Implement server-side rendering with initial data for chat and viewer
mmailaender May 4, 2025
497322c
Add createConvexHttpClient helper to create authenticated HTTP client…
mmailaender May 4, 2025
0965f61
Simplify auth client creation by using createConvexHttpClient helper
mmailaender May 4, 2025
24cd725
Add docs for making authenticated server and client requests
mmailaender May 4, 2025
76b1898
Remove debug mode section from SvelteKit auth documentation
mmailaender May 4, 2025
b791b73
Reorganize auth docs with clearer sections and improved code examples
mmailaender May 4, 2025
ddc5a23
Update route matcher syntax to use curly braces for wildcard paths
mmailaender May 4, 2025
4f88e42
Update color tokens and border styles for consistent dark mode appear…
mmailaender May 5, 2025
aa39f6c
fix: rename serverState prop to getServerState in SvelteKit auth setu…
mmailaender May 7, 2025
7ef9426
docs: update import paths from svelte to sveltekit in README examples
mmailaender May 12, 2025
2292031
fix: update import paths to use .js extension for better ESM compatib…
mmailaender May 12, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
/dist
/distreact
/distnextjs
/distsvelte
/distsveltekit
/publish-example

# dependencies
Expand Down
Loading