From 7ed99112266c6197b3179f5c13cd2f6508d561de Mon Sep 17 00:00:00 2001 From: "Lucy (bot)" <126932300+lucythecat@users.noreply.github.com> Date: Thu, 6 Jul 2023 00:29:18 +0900 Subject: [PATCH] CI: Release (#808) --- .auri/$3s4lqgi3.md | 8 -------- .auri/$ppl8db3v.md | 6 ------ .auri/$t9fgucw6.md | 6 ------ packages/adapter-postgresql/CHANGELOG.md | 6 ++++++ packages/adapter-postgresql/package.json | 2 +- packages/adapter-session-redis/CHANGELOG.md | 6 ++++++ packages/adapter-session-redis/package.json | 2 +- packages/adapter-session-redis/src/drivers/upstash.ts | 6 +++--- packages/adapter-sqlite/CHANGELOG.md | 6 ++++++ packages/adapter-sqlite/README.md | 3 +-- packages/adapter-sqlite/package.json | 2 +- 11 files changed, 25 insertions(+), 28 deletions(-) delete mode 100644 .auri/$3s4lqgi3.md delete mode 100644 .auri/$ppl8db3v.md delete mode 100644 .auri/$t9fgucw6.md diff --git a/.auri/$3s4lqgi3.md b/.auri/$3s4lqgi3.md deleted file mode 100644 index 6dddbea7a..000000000 --- a/.auri/$3s4lqgi3.md +++ /dev/null @@ -1,8 +0,0 @@ ---- -package: "@lucia-auth/adapter-session-redis" # package name -type: "minor" # "major", "minor", "patch" ---- - - -Add Redis adapter for Upstash - diff --git a/.auri/$ppl8db3v.md b/.auri/$ppl8db3v.md deleted file mode 100644 index b449792b1..000000000 --- a/.auri/$ppl8db3v.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -package: "@lucia-auth/adapter-postgresql" # package name -type: "minor" ---- - -Add adapter for `porsager/postgres` diff --git a/.auri/$t9fgucw6.md b/.auri/$t9fgucw6.md deleted file mode 100644 index 12e96aa34..000000000 --- a/.auri/$t9fgucw6.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -package: "@lucia-auth/adapter-sqlite" # package name -type: "minor" # "major", "minor", "patch" ---- - -Add libSQL adapter \ No newline at end of file diff --git a/packages/adapter-postgresql/CHANGELOG.md b/packages/adapter-postgresql/CHANGELOG.md index 5be7d4bca..bd267b997 100644 --- a/packages/adapter-postgresql/CHANGELOG.md +++ b/packages/adapter-postgresql/CHANGELOG.md @@ -1,5 +1,11 @@ # @lucia-auth/adapter-postgresql +## 2.0.0-beta.5 + +### Minor changes + +- [#782](https://github.com/pilcrowOnPaper/lucia/pull/782) by [@alexanderguy](https://github.com/alexanderguy) : Add adapter for `porsager/postgres` + ## 2.0.0-beta.4 ### Patch changes diff --git a/packages/adapter-postgresql/package.json b/packages/adapter-postgresql/package.json index 66fdf795f..28c3f8ced 100644 --- a/packages/adapter-postgresql/package.json +++ b/packages/adapter-postgresql/package.json @@ -1,6 +1,6 @@ { "name": "@lucia-auth/adapter-postgresql", - "version": "2.0.0-beta.4", + "version": "2.0.0-beta.5", "description": "PostgreSQL adapter for Lucia", "main": "dist/index.js", "types": "dist/index.d.ts", diff --git a/packages/adapter-session-redis/CHANGELOG.md b/packages/adapter-session-redis/CHANGELOG.md index 18e996434..007f5af1c 100644 --- a/packages/adapter-session-redis/CHANGELOG.md +++ b/packages/adapter-session-redis/CHANGELOG.md @@ -1,5 +1,11 @@ # @lucia-auth/adapter-session-redis +## 2.0.0-beta.5 + +### Minor changes + +- [#699](https://github.com/pilcrowOnPaper/lucia/pull/699) by [@schweden1997](https://github.com/schweden1997) : Add Redis adapter for Upstash + ## 2.0.0-beta.4 ### Patch changes diff --git a/packages/adapter-session-redis/package.json b/packages/adapter-session-redis/package.json index 0e40842c9..c8f70b2a6 100644 --- a/packages/adapter-session-redis/package.json +++ b/packages/adapter-session-redis/package.json @@ -1,6 +1,6 @@ { "name": "@lucia-auth/adapter-session-redis", - "version": "2.0.0-beta.4", + "version": "2.0.0-beta.5", "description": "Redis session adapter for Lucia", "main": "dist/index.js", "types": "dist/index.d.ts", diff --git a/packages/adapter-session-redis/src/drivers/upstash.ts b/packages/adapter-session-redis/src/drivers/upstash.ts index eec5a2f53..480c33d72 100644 --- a/packages/adapter-session-redis/src/drivers/upstash.ts +++ b/packages/adapter-session-redis/src/drivers/upstash.ts @@ -21,7 +21,7 @@ export const upstashSessionAdapter = ( userId ].join(":"); }; - + return { getSession: async (sessionId) => { const sessionData = await upstashClient.get(sessionKey(sessionId)); @@ -35,7 +35,7 @@ export const upstashSessionAdapter = ( if (sessionIds.length === 0) return []; const pipeline = upstashClient.pipeline(); for (const sessionId of sessionIds) { - pipeline.get(sessionKey(sessionId)) + pipeline.get(sessionKey(sessionId)); } const sessions = await pipeline.exec(); return sessions; @@ -64,7 +64,7 @@ export const upstashSessionAdapter = ( ); const pipeline = upstashClient.pipeline(); for (const sessionId of sessionIds) { - pipeline.del(sessionKey(sessionId)) + pipeline.del(sessionKey(sessionId)); } pipeline.del(userSessionsKey(userId)); await pipeline.exec(); diff --git a/packages/adapter-sqlite/CHANGELOG.md b/packages/adapter-sqlite/CHANGELOG.md index face5f1ab..2cd28aeb8 100644 --- a/packages/adapter-sqlite/CHANGELOG.md +++ b/packages/adapter-sqlite/CHANGELOG.md @@ -1,5 +1,11 @@ # @lucia-auth/adapter-sqlite +## 2.0.0-beta.5 + +### Minor changes + +- [#680](https://github.com/pilcrowOnPaper/lucia/pull/680) by [@abdel-17](https://github.com/abdel-17) : Add libSQL adapter + ## 2.0.0-beta.4 ### Patch changes diff --git a/packages/adapter-sqlite/README.md b/packages/adapter-sqlite/README.md index 813fa2d51..09ca87451 100644 --- a/packages/adapter-sqlite/README.md +++ b/packages/adapter-sqlite/README.md @@ -59,9 +59,8 @@ Finally, run: pnpm test.d1 ``` - ### libSQL ``` pnpm test.libsql -``` \ No newline at end of file +``` diff --git a/packages/adapter-sqlite/package.json b/packages/adapter-sqlite/package.json index b119b71e6..b2a27e50c 100644 --- a/packages/adapter-sqlite/package.json +++ b/packages/adapter-sqlite/package.json @@ -1,6 +1,6 @@ { "name": "@lucia-auth/adapter-sqlite", - "version": "2.0.0-beta.4", + "version": "2.0.0-beta.5", "description": "SQLite adapter for Lucia", "main": "dist/index.js", "types": "dist/index.d.ts",