From a8a117a9128b8ca6a39a9bb3db7d381b802fa007 Mon Sep 17 00:00:00 2001 From: jawn Date: Fri, 7 Feb 2025 11:35:26 -0500 Subject: [PATCH 1/2] Update package name and version for fork --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 386a44242..004cfba85 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,5 @@ { - "name": "lucia-repository", + "name": "@lifeworld/lucia", "version": "1.0.0", "description": "Authentication, simple and clean", "scripts": { @@ -12,7 +12,7 @@ }, "repository": { "type": "git", - "url": "https://github.com/lucia-auth/lucia" + "url": "https://github.com/1ifeworld/lucia" }, "keywords": [], "author": "pilcrowOnPaper", From 532b6a343bd8edd5dcfcc4ea38e0905ca5598ca6 Mon Sep 17 00:00:00 2001 From: jawn Date: Fri, 7 Feb 2025 11:44:33 -0500 Subject: [PATCH 2/2] name changes --- .github/ISSUE_TEMPLATE/bug_report.yaml | 12 +- .github/ISSUE_TEMPLATE/feature_request.yaml | 12 +- README.md | 7 +- docs/pages/database/drizzle.md | 10 +- docs/pages/database/index.md | 4 +- docs/pages/database/kysely.md | 6 +- docs/pages/database/mongodb.md | 6 +- docs/pages/database/mongoose.md | 6 +- docs/pages/database/mysql.md | 8 +- docs/pages/database/postgresql.md | 10 +- docs/pages/database/prisma.md | 6 +- docs/pages/database/sqlite.md | 12 +- docs/pages/upgrade-v3/mongoose.md | 4 +- docs/pages/upgrade-v3/mysql.md | 4 +- docs/pages/upgrade-v3/postgresql.md | 4 +- docs/pages/upgrade-v3/prisma/index.md | 4 +- docs/pages/upgrade-v3/sqlite.md | 4 +- packages/adapter-drizzle/CHANGELOG.md | 2 +- packages/adapter-drizzle/README.md | 10 +- packages/adapter-drizzle/package.json | 6 +- packages/adapter-drizzle/tests/mysql.ts | 2 +- packages/adapter-drizzle/tests/postgresql.ts | 2 +- packages/adapter-drizzle/tests/sqlite.ts | 2 +- packages/adapter-mongodb/CHANGELOG.md | 2 +- packages/adapter-mongodb/README.md | 10 +- packages/adapter-mongodb/package.json | 6 +- packages/adapter-mongodb/tests/mongodb.ts | 2 +- packages/adapter-mongodb/tests/mongoose.ts | 2 +- packages/adapter-mysql/CHANGELOG.md | 34 ++--- packages/adapter-mysql/README.md | 10 +- packages/adapter-mysql/package.json | 6 +- packages/adapter-mysql/tests/mysql2.ts | 2 +- packages/adapter-mysql/tests/planetscale.ts | 2 +- packages/adapter-postgresql/CHANGELOG.md | 30 ++--- packages/adapter-postgresql/README.md | 10 +- packages/adapter-postgresql/package.json | 6 +- .../adapter-postgresql/tests/neon-http.ts | 2 +- .../adapter-postgresql/tests/node-postgres.ts | 2 +- .../adapter-postgresql/tests/postgresjs.ts | 2 +- packages/adapter-prisma/CHANGELOG.md | 48 +++---- packages/adapter-prisma/README.md | 10 +- packages/adapter-prisma/package.json | 6 +- packages/adapter-prisma/tests/prisma.ts | 2 +- packages/adapter-sqlite/CHANGELOG.md | 34 ++--- packages/adapter-sqlite/README.md | 10 +- packages/adapter-sqlite/package.json | 6 +- .../adapter-sqlite/tests/better-sqlite3.ts | 2 +- packages/adapter-sqlite/tests/bun-sqlite.ts | 2 +- packages/adapter-sqlite/tests/d1.ts | 2 +- packages/adapter-sqlite/tests/libsql.ts | 2 +- packages/adapter-test/CHANGELOG.md | 44 +++---- packages/adapter-test/README.md | 8 +- packages/adapter-test/package.json | 4 +- packages/lucia/CHANGELOG.md | 122 +++++++++--------- packages/lucia/README.md | 2 +- packages/lucia/package.json | 4 +- 56 files changed, 292 insertions(+), 287 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/bug_report.yaml b/.github/ISSUE_TEMPLATE/bug_report.yaml index af1a28bff..356dc27ff 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.yaml +++ b/.github/ISSUE_TEMPLATE/bug_report.yaml @@ -14,12 +14,12 @@ body: description: What package is affected? options: - lucia - - ​@lucia-auth/adapter-test - - ​@lucia-auth/adapter-mongodb - - ​@lucia-auth/adapter-mysql - - ​@lucia-auth/adapter-postgresql - - ​@lucia-auth/adapter-prisma - - ​@lucia-auth/adapter-sqlite + - ​@lifeworld/adapter-test + - ​@lifeworld/adapter-mongodb + - ​@lifeworld/adapter-mysql + - ​@lifeworld/adapter-postgresql + - ​@lifeworld/adapter-prisma + - ​@lifeworld/adapter-sqlite - ​@lucia-auth/session-drizzle validations: required: true diff --git a/.github/ISSUE_TEMPLATE/feature_request.yaml b/.github/ISSUE_TEMPLATE/feature_request.yaml index 614d9756b..f0d97b57b 100644 --- a/.github/ISSUE_TEMPLATE/feature_request.yaml +++ b/.github/ISSUE_TEMPLATE/feature_request.yaml @@ -13,12 +13,12 @@ body: label: Package options: - lucia - - ​@lucia-auth/adapter-test - - ​@lucia-auth/adapter-mongodb - - ​@lucia-auth/adapter-mysql - - ​@lucia-auth/adapter-postgresql - - ​@lucia-auth/adapter-prisma - - ​@lucia-auth/adapter-sqlite + - ​@lifeworld/adapter-test + - ​@lifeworld/adapter-mongodb + - ​@lifeworld/adapter-mysql + - ​@lifeworld/adapter-postgresql + - ​@lifeworld/adapter-prisma + - ​@lifeworld/adapter-sqlite - ​@lucia-auth/session-drizzle validations: required: true diff --git a/README.md b/README.md index 9f1070144..883181fa2 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,10 @@ # Lucia +THIS IS A FORK FROM LUCIA: ORIGINAL SOURCE CODE HERE: +https://github.com/lucia-auth/lucia + +s.o pilcrow n em + Lucia is an auth library written in TypeScript that abstracts away the complexity of handling sessions. It works alongside your database to provide an API that's easy to use, understand, and extend. - No more endless configuration and callbacks @@ -26,7 +31,7 @@ Lucia is an open source library released under the MIT license, with the help of **[Examples](https://github.com/lucia-auth/examples)** -**[Changelog](https://github.com/pilcrowOnPaper/lucia/blob/main/packages/lucia/CHANGELOG.md)** +**[Changelog](https://github.com/1ifeworld/lucia/blob/main/packages/lucia/CHANGELOG.md)** ## Installation diff --git a/docs/pages/database/drizzle.md b/docs/pages/database/drizzle.md index 8f04771cb..8c868c424 100644 --- a/docs/pages/database/drizzle.md +++ b/docs/pages/database/drizzle.md @@ -4,10 +4,10 @@ title: "Drizzle ORM" # Drizzle ORM -Adapters for Drizzle ORM are provided by `@lucia-auth/adapter-drizzle`. Supports MySQL, PostgreSQL, and SQLite. You're free to rename the underlying table and column names as long as the field names are the same (e.g. `expiresAt`). +Adapters for Drizzle ORM are provided by `@lifeworld/adapter-drizzle`. Supports MySQL, PostgreSQL, and SQLite. You're free to rename the underlying table and column names as long as the field names are the same (e.g. `expiresAt`). ``` -npm install @lucia-auth/adapter-drizzle +npm install @lifeworld/adapter-drizzle ``` ## MySQL @@ -17,7 +17,7 @@ npm install @lucia-auth/adapter-drizzle User ID can be numeric (see [Define user ID type](/basics/users#define-user-id-type)) but session ID must be a string type. ```ts -import { DrizzleMySQLAdapter } from "@lucia-auth/adapter-drizzle"; +import { DrizzleMySQLAdapter } from "@lifeworld/adapter-drizzle"; import mysql from "mysql2/promise"; import { mysqlTable, varchar, datetime } from "drizzle-orm/mysql-core"; @@ -54,7 +54,7 @@ const adapter = new DrizzleMySQLAdapter(db, sessionTable, userTable); User ID can be numeric (see [Define user ID type](/basics/users#define-user-id-type)) but session ID must be a string type. ```ts -import { DrizzlePostgreSQLAdapter } from "@lucia-auth/adapter-drizzle"; +import { DrizzlePostgreSQLAdapter } from "@lifeworld/adapter-drizzle"; import pg from "pg"; import { pgTable, text, timestamp } from "drizzle-orm/pg-core"; @@ -88,7 +88,7 @@ const adapter = new DrizzlePostgreSQLAdapter(db, sessionTable, userTable); User ID can be numeric (see [Define user ID type](/basics/users#define-user-id-type)) but session ID must be a string type. ```ts -import { DrizzleSQLiteAdapter } from "@lucia-auth/adapter-drizzle"; +import { DrizzleSQLiteAdapter } from "@lifeworld/adapter-drizzle"; import sqlite from "better-sqlite3"; import { sqliteTable, text, integer } from "drizzle-orm/sqlite-core"; diff --git a/docs/pages/database/index.md b/docs/pages/database/index.md index ad544d054..d03c69d04 100644 --- a/docs/pages/database/index.md +++ b/docs/pages/database/index.md @@ -8,7 +8,7 @@ A database is required for storing your users and sessions. Lucia connects to yo ```ts import { Lucia } from "lucia"; -import { BetterSqlite3Adapter } from "@lucia-auth/adapter-sqlite"; +import { BetterSqlite3Adapter } from "@lifeworld/adapter-sqlite"; const lucia = new Lucia(new BetterSqlite3Adapter(db)); ``` @@ -32,6 +32,6 @@ Refer to these guides on setting up your database, ORMs, and query builders: These adapters are not routinely checked by the maintainers of Lucia. Make sure to check the source code and use them at your own risk! -- [Astro DB adapter by Pilcrow](https://github.com/pilcrowOnPaper/lucia-adapter-astrodb) +- [Astro DB adapter by Pilcrow](https://github.com/1ifeworld/lucia-adapter-astrodb) - [DynamoDB adapter by GNK Softworks](https://github.com/gnk-softworks/lucia-dynamodb-adapter) - [remult adapter by jycouet](https://github.com/jycouet/firstly/tree/main/packages/firstly/src/lib/auth) diff --git a/docs/pages/database/kysely.md b/docs/pages/database/kysely.md index 8d56760bf..6cc85119e 100644 --- a/docs/pages/database/kysely.md +++ b/docs/pages/database/kysely.md @@ -12,7 +12,7 @@ See the [MySQL](/database/mysql) page for the schema. ```ts import { Lucia } from "lucia"; -import { Mysql2Adapter } from "@lucia-auth/adapter-mysql"; +import { Mysql2Adapter } from "@lifeworld/adapter-mysql"; import { createPool } from "mysql2/promise"; import { Kysely, MysqlDialect } from "kysely"; @@ -49,7 +49,7 @@ See the [PostgreSQL](/database/postgresql) page for the schema. ```ts import { Lucia } from "lucia"; -import { NodePostgresAdapter } from "@lucia-auth/adapter-postgresql"; +import { NodePostgresAdapter } from "@lifeworld/adapter-postgresql"; import { Pool } from "pg"; import { Kysely, PostgresDialect } from "kysely"; @@ -86,7 +86,7 @@ See the [SQLite](/database/sqlite) page for the schema. ```ts import { Lucia } from "lucia"; -import { BetterSqlite3Adapter } from "@lucia-auth/adapter-sqlite"; +import { BetterSqlite3Adapter } from "@lifeworld/adapter-sqlite"; import sqlite from "better-sqlite3"; import { Kysely, SqliteDialect } from "kysely"; diff --git a/docs/pages/database/mongodb.md b/docs/pages/database/mongodb.md index f34e8e82e..ec6c2625d 100644 --- a/docs/pages/database/mongodb.md +++ b/docs/pages/database/mongodb.md @@ -4,10 +4,10 @@ title: "MongoDB" # MongoDB -The `@lucia-auth/adapter-mongodb` package provides adapters for MongoDB. +The `@lifeworld/adapter-mongodb` package provides adapters for MongoDB. ``` -npm install @lucia-auth/adapter-mongodb +npm install @lifeworld/adapter-mongodb ``` ## Usage @@ -18,7 +18,7 @@ User ID can be numeric or object ID (see [Define user ID type](/basics/users#def ```ts import { Lucia } from "lucia"; -import { MongodbAdapter } from "@lucia-auth/adapter-mongodb"; +import { MongodbAdapter } from "@lifeworld/adapter-mongodb"; import { Collection, MongoClient } from "mongodb"; const client = new MongoClient(); diff --git a/docs/pages/database/mongoose.md b/docs/pages/database/mongoose.md index 89f6bd6b2..7a4249a20 100644 --- a/docs/pages/database/mongoose.md +++ b/docs/pages/database/mongoose.md @@ -4,10 +4,10 @@ title: "Mongoose" # Mongoose -You can use the [MongoDB adapter](/database/mongodb) from the `@lucia-auth/adapter-mongodb` package with Mongoose. +You can use the [MongoDB adapter](/database/mongodb) from the `@lifeworld/adapter-mongodb` package with Mongoose. ``` -npm install @lucia-auth/adapter-mongodb +npm install @lifeworld/adapter-mongodb ``` ## Usage @@ -18,7 +18,7 @@ User ID can be numeric or object ID (see [Define user ID type](/basics/users#def ```ts import { Lucia } from "lucia"; -import { MongodbAdapter } from "@lucia-auth/adapter-mongodb"; +import { MongodbAdapter } from "@lifeworld/adapter-mongodb"; import mongoose from "mongoose"; await mongoose.connect(); diff --git a/docs/pages/database/mysql.md b/docs/pages/database/mysql.md index 959d065e8..4284c0a89 100644 --- a/docs/pages/database/mysql.md +++ b/docs/pages/database/mysql.md @@ -4,13 +4,13 @@ title: "MySQL" # MySQL -`@lucia-auth/adapter-mysql` package provides adapters for MySQL drivers: +`@lifeworld/adapter-mysql` package provides adapters for MySQL drivers: - `mysql2` - PlanetScale serverless ``` -npm install @lucia-auth/adapter-mysql +npm install @lifeworld/adapter-mysql ``` ## Schema @@ -39,7 +39,7 @@ CREATE TABLE user_session ( ```ts import { Lucia } from "lucia"; -import { Mysql2Adapter } from "@lucia-auth/adapter-mysql"; +import { Mysql2Adapter } from "@lifeworld/adapter-mysql"; import mysql from "mysql2/promise"; const pool = mysql.createPool(); @@ -56,7 +56,7 @@ const adapter = new Mysql2Adapter(pool, { ```ts import { Lucia } from "lucia"; -import { PlanetScaleAdapter } from "@lucia-auth/adapter-mysql"; +import { PlanetScaleAdapter } from "@lifeworld/adapter-mysql"; import { Client } from "@planetscale/database"; const client = new Client(); diff --git a/docs/pages/database/postgresql.md b/docs/pages/database/postgresql.md index 5c004bf31..26c4184ac 100644 --- a/docs/pages/database/postgresql.md +++ b/docs/pages/database/postgresql.md @@ -6,14 +6,14 @@ title: "PostgreSQL" > If you use Drizzle ORM in your project, use the [Drizzle adapter](https://lucia-auth.com/database/drizzle#postgresql) instead as Drizzle ORM overrides how your database driver handles dates. -`@lucia-auth/adapter-postgresql` package provides adapters for PostgreSQL drivers: +`@lifeworld/adapter-postgresql` package provides adapters for PostgreSQL drivers: - Neon HTTP serverless driver (`@neondatabase/serverless`) - node-postgres (`pg`) - Postgres.js (`postgres`) ``` -npm install @lucia-auth/adapter-postgresql +npm install @lifeworld/adapter-postgresql ``` ## Schema @@ -40,7 +40,7 @@ CREATE TABLE user_session ( ```ts import { Lucia } from "lucia"; -import { NeonHTTPAdapter } from "@lucia-auth/adapter-postgresql"; +import { NeonHTTPAdapter } from "@lifeworld/adapter-postgresql"; import { neon } from "@neondatabase/serverless"; const sql = neon(); @@ -57,7 +57,7 @@ const adapter = new NeonHTTPAdapter(sql, { ```ts import { Lucia } from "lucia"; -import { NodePostgresAdapter } from "@lucia-auth/adapter-postgresql"; +import { NodePostgresAdapter } from "@lifeworld/adapter-postgresql"; import pg from "pg"; const pool = new pg.Pool(); @@ -74,7 +74,7 @@ const adapter = new NodePostgresAdapter(pool, { ```ts import { Lucia } from "lucia"; -import { PostgresJsAdapter } from "@lucia-auth/adapter-postgresql"; +import { PostgresJsAdapter } from "@lifeworld/adapter-postgresql"; import postgres from "postgres"; const sql = postgres(); diff --git a/docs/pages/database/prisma.md b/docs/pages/database/prisma.md index a7ee56295..b766f6e7b 100644 --- a/docs/pages/database/prisma.md +++ b/docs/pages/database/prisma.md @@ -4,10 +4,10 @@ title: "Prisma" # Prisma -The `@lucia-auth/adapter-prisma` package provides adapters for Prisma. +The `@lifeworld/adapter-prisma` package provides adapters for Prisma. ``` -npm install @lucia-auth/adapter-prisma +npm install @lifeworld/adapter-prisma ``` ## Schema @@ -36,7 +36,7 @@ model Session { `PrismaAdapter` takes a session and user model. ```ts -import { PrismaAdapter } from "@lucia-auth/adapter-prisma"; +import { PrismaAdapter } from "@lifeworld/adapter-prisma"; import { PrismaClient } from "@prisma/client"; const client = new PrismaClient(); diff --git a/docs/pages/database/sqlite.md b/docs/pages/database/sqlite.md index 23f6c94f6..c53935ece 100644 --- a/docs/pages/database/sqlite.md +++ b/docs/pages/database/sqlite.md @@ -4,7 +4,7 @@ title: "SQLite" # SQLite -The `@lucia-auth/adapter-sqlite` package provides adapters for SQLites drivers: +The `@lifeworld/adapter-sqlite` package provides adapters for SQLites drivers: - `better-sqlite3` - Bun SQLite (`bun:sqlite`) @@ -12,7 +12,7 @@ The `@lucia-auth/adapter-sqlite` package provides adapters for SQLites drivers: - LibSQL (Turso) ``` -npm install @lucia-auth/adapter-sqlite +npm install @lifeworld/adapter-sqlite ``` ## Schema @@ -40,7 +40,7 @@ CREATE TABLE session ( ```ts import { Lucia } from "lucia"; -import { BetterSqlite3Adapter } from "@lucia-auth/adapter-sqlite"; +import { BetterSqlite3Adapter } from "@lifeworld/adapter-sqlite"; import sqlite from "better-sqlite3"; const db = sqlite(); @@ -57,7 +57,7 @@ const adapter = new BetterSqlite3Adapter(db, { ```ts import { Lucia } from "lucia"; -import { BunSQLiteAdapter } from "@lucia-auth/adapter-sqlite"; +import { BunSQLiteAdapter } from "@lifeworld/adapter-sqlite"; import { Database } from "bun:sqlite"; const db = new Database(); @@ -76,7 +76,7 @@ Since the D1 binding is included with the request, create an `initializeLucia()` ```ts import { Lucia } from "lucia"; -import { D1Adapter } from "@lucia-auth/adapter-sqlite"; +import { D1Adapter } from "@lifeworld/adapter-sqlite"; export function initializeLucia(D1: D1Database) { const adapter = new D1Adapter(D1, { @@ -99,7 +99,7 @@ declare module "lucia" { ```ts import { Lucia } from "lucia"; -import { LibSQLAdapter } from "@lucia-auth/adapter-sqlite"; +import { LibSQLAdapter } from "@lifeworld/adapter-sqlite"; import { createClient } from "@libsql/client"; const db = createClient({ diff --git a/docs/pages/upgrade-v3/mongoose.md b/docs/pages/upgrade-v3/mongoose.md index 71d04d86a..60f1b97d3 100644 --- a/docs/pages/upgrade-v3/mongoose.md +++ b/docs/pages/upgrade-v3/mongoose.md @@ -11,13 +11,13 @@ Read this guide carefully as some parts depend on your current structure (**espe The Mongoose adapter has been replaced with the MongoDB adapter. ``` -npm install @lucia-auth/adapter-mongodb +npm install @lifeworld/adapter-mongodb ``` Initialize the adapter: ```ts -import { MongoDBAdapter } from "@lucia-auth/adapter-mongodb"; +import { MongoDBAdapter } from "@lifeworld/adapter-mongodb"; import mongoose from "mongoose"; const adapter = new MongodbAdapter( diff --git a/docs/pages/upgrade-v3/mysql.md b/docs/pages/upgrade-v3/mysql.md index 3ee84bd7e..8f45a5f66 100644 --- a/docs/pages/upgrade-v3/mysql.md +++ b/docs/pages/upgrade-v3/mysql.md @@ -11,13 +11,13 @@ title: "Upgrade your MySQL database to v3" Install the latest version of the MySQL adapter package. ``` -npm install @lucia-auth/adapter-mysql +npm install @lifeworld/adapter-mysql ``` Initialize the adapter: ```ts -import { Mysql2Adapter, PlanetScaleAdapter } from "@lucia-auth/adapter-mysql"; +import { Mysql2Adapter, PlanetScaleAdapter } from "@lifeworld/adapter-mysql"; new Mysql2Adapter(pool, { // table names diff --git a/docs/pages/upgrade-v3/postgresql.md b/docs/pages/upgrade-v3/postgresql.md index 6fbfbd075..358f9c0bb 100644 --- a/docs/pages/upgrade-v3/postgresql.md +++ b/docs/pages/upgrade-v3/postgresql.md @@ -11,13 +11,13 @@ title: "Upgrade your PostgreSQL database to v3" Install the latest version of the PostgreSQL adapter package. ``` -npm install @lucia-auth/adapter-postgresql +npm install @lifeworld/adapter-postgresql ``` Initialize the adapter: ```ts -import { NodePostgresAdapter, PostgresJsAdapter } from "@lucia-auth/adapter-postgresql"; +import { NodePostgresAdapter, PostgresJsAdapter } from "@lifeworld/adapter-postgresql"; // previously named `pg` adapter new NodePostgresAdapter(pool, { diff --git a/docs/pages/upgrade-v3/prisma/index.md b/docs/pages/upgrade-v3/prisma/index.md index 2d69a2583..4fbe728de 100644 --- a/docs/pages/upgrade-v3/prisma/index.md +++ b/docs/pages/upgrade-v3/prisma/index.md @@ -9,14 +9,14 @@ title: "Upgrade your Prisma project to v3" Install the latest version of the Prisma adapter. ``` -npm install @lucia-auth/adapter-prisma +npm install @lifeworld/adapter-prisma ``` Initialize the adapter: ```ts import { PrismaClient } from "@prisma/client"; -import { PrismaAdapter } from "@lucia-auth/adapter-prisma"; +import { PrismaAdapter } from "@lifeworld/adapter-prisma"; const client = new PrismaClient(); diff --git a/docs/pages/upgrade-v3/sqlite.md b/docs/pages/upgrade-v3/sqlite.md index 3c1eeb2ff..d73e545eb 100644 --- a/docs/pages/upgrade-v3/sqlite.md +++ b/docs/pages/upgrade-v3/sqlite.md @@ -11,7 +11,7 @@ title: "Upgrade your SQLite database to v3" Install the latest version of the SQLite adapter package. ``` -npm install @lucia-auth/adapter-sqlite +npm install @lifeworld/adapter-sqlite ``` Initialize the adapter: @@ -21,7 +21,7 @@ import { BetterSqlite3Adapter, CloudflareD1Adapter, LibSQLAdapter -} from "@lucia-auth/adapter-sqlite"; +} from "@lifeworld/adapter-sqlite"; new BetterSqlite3Adapter(db, { // table names diff --git a/packages/adapter-drizzle/CHANGELOG.md b/packages/adapter-drizzle/CHANGELOG.md index 8ccca7df0..34590291b 100644 --- a/packages/adapter-drizzle/CHANGELOG.md +++ b/packages/adapter-drizzle/CHANGELOG.md @@ -1,4 +1,4 @@ -# @lucia-auth/adapter-drizzle +# @lifeworld/adapter-drizzle ## 1.1.0 diff --git a/packages/adapter-drizzle/README.md b/packages/adapter-drizzle/README.md index 6cebca9e4..984d6ec85 100644 --- a/packages/adapter-drizzle/README.md +++ b/packages/adapter-drizzle/README.md @@ -1,4 +1,4 @@ -# `@lucia-auth/adapter-drizzle` +# `@lifeworld/adapter-drizzle` [Drizzle ORM](https://orm.drizzle.team) adapter for Lucia. @@ -6,14 +6,14 @@ **[Lucia documentation](https://v3.lucia-auth.com)** -**[Changelog](https://github.com/pilcrowOnPaper/lucia/blob/main/packages/adapter-drizzle/CHANGELOG.md)** +**[Changelog](https://github.com/1ifeworld/lucia/blob/main/packages/adapter-drizzle/CHANGELOG.md)** ## Installation ``` -npm install @lucia-auth/adapter-drizzle -pnpm add @lucia-auth/adapter-drizzle -yarn add @lucia-auth/adapter-drizzle +npm install @lifeworld/adapter-drizzle +pnpm add @lifeworld/adapter-drizzle +yarn add @lifeworld/adapter-drizzle ``` ## Testing diff --git a/packages/adapter-drizzle/package.json b/packages/adapter-drizzle/package.json index 62fc76ac1..5e5040552 100644 --- a/packages/adapter-drizzle/package.json +++ b/packages/adapter-drizzle/package.json @@ -1,5 +1,5 @@ { - "name": "@lucia-auth/adapter-drizzle", + "name": "@lifeworld/adapter-drizzle", "version": "1.1.0", "description": "Drizzle ORM adapter for Lucia", "main": "dist/index.js", @@ -27,7 +27,7 @@ ], "repository": { "type": "git", - "url": "https://github.com/pilcrowOnPaper/lucia", + "url": "https://github.com/1ifeworld/lucia", "directory": "packages/adapter-drizzle" }, "author": "pilcrowonpaper", @@ -40,7 +40,7 @@ "drizzle-orm": ">= 0.29 <1" }, "devDependencies": { - "@lucia-auth/adapter-test": "workspace:*", + "@lifeworld/adapter-test": "workspace:*", "@types/better-sqlite3": "^7.6.3", "better-sqlite3": "^8.4.0", "dotenv": "^16.0.3", diff --git a/packages/adapter-drizzle/tests/mysql.ts b/packages/adapter-drizzle/tests/mysql.ts index 6ca8585b3..f8c85f480 100644 --- a/packages/adapter-drizzle/tests/mysql.ts +++ b/packages/adapter-drizzle/tests/mysql.ts @@ -1,4 +1,4 @@ -import { testAdapter, databaseUser } from "@lucia-auth/adapter-test"; +import { testAdapter, databaseUser } from "@lifeworld/adapter-test"; import { DrizzleMySQLAdapter } from "../src/drivers/mysql.js"; import mysql from "mysql2/promise"; diff --git a/packages/adapter-drizzle/tests/postgresql.ts b/packages/adapter-drizzle/tests/postgresql.ts index 7afc99c13..c988494fa 100644 --- a/packages/adapter-drizzle/tests/postgresql.ts +++ b/packages/adapter-drizzle/tests/postgresql.ts @@ -1,4 +1,4 @@ -import { testAdapter, databaseUser } from "@lucia-auth/adapter-test"; +import { testAdapter, databaseUser } from "@lifeworld/adapter-test"; import { DrizzlePostgreSQLAdapter } from "../src/drivers/postgresql.js"; import dotenv from "dotenv"; import { resolve } from "path"; diff --git a/packages/adapter-drizzle/tests/sqlite.ts b/packages/adapter-drizzle/tests/sqlite.ts index 38f9901a3..c32762f47 100644 --- a/packages/adapter-drizzle/tests/sqlite.ts +++ b/packages/adapter-drizzle/tests/sqlite.ts @@ -1,4 +1,4 @@ -import { testAdapter, databaseUser } from "@lucia-auth/adapter-test"; +import { testAdapter, databaseUser } from "@lifeworld/adapter-test"; import { DrizzleSQLiteAdapter } from "../src/drivers/sqlite.js"; import sqlite from "better-sqlite3"; import { sqliteTable, text, integer } from "drizzle-orm/sqlite-core"; diff --git a/packages/adapter-mongodb/CHANGELOG.md b/packages/adapter-mongodb/CHANGELOG.md index 93d3ccc24..f03abb04e 100644 --- a/packages/adapter-mongodb/CHANGELOG.md +++ b/packages/adapter-mongodb/CHANGELOG.md @@ -1,4 +1,4 @@ -# @lucia-auth/adapter-mongodb +# @lifeworld/adapter-mongodb ## 1.0.3 diff --git a/packages/adapter-mongodb/README.md b/packages/adapter-mongodb/README.md index 78f8d0166..168566091 100644 --- a/packages/adapter-mongodb/README.md +++ b/packages/adapter-mongodb/README.md @@ -1,4 +1,4 @@ -# `@lucia-auth/adapter-mongodb` +# `@lifeworld/adapter-mongodb` [MongoDB](https://mongodb.com) adapter for Lucia. Can also be used with [Mongoose](https://github.com/Automattic/mongoose). @@ -6,14 +6,14 @@ **[Lucia documentation](https://v3.lucia-auth.com)** -**[Changelog](https://github.com/pilcrowOnPaper/lucia/blob/main/packages/adapter-mongodb/CHANGELOG.md)** +**[Changelog](https://github.com/1ifeworld/lucia/blob/main/packages/adapter-mongodb/CHANGELOG.md)** ## Installation ``` -npm install @lucia-auth/adapter-mongodb -pnpm add @lucia-auth/adapter-mongodb -yarn add @lucia-auth/adapter-mongodb +npm install @lifeworld/adapter-mongodb +pnpm add @lifeworld/adapter-mongodb +yarn add @lifeworld/adapter-mongodb ``` ## Testing diff --git a/packages/adapter-mongodb/package.json b/packages/adapter-mongodb/package.json index 57074eca3..ea0f0d6bd 100644 --- a/packages/adapter-mongodb/package.json +++ b/packages/adapter-mongodb/package.json @@ -1,5 +1,5 @@ { - "name": "@lucia-auth/adapter-mongodb", + "name": "@lifeworld/adapter-mongodb", "version": "1.0.3", "description": "MongoDB adapter for Lucia", "main": "dist/index.js", @@ -27,7 +27,7 @@ ], "repository": { "type": "git", - "url": "https://github.com/pilcrowOnPaper/lucia", + "url": "https://github.com/1ifeworld/lucia", "directory": "packages/adapter-mongodb" }, "author": "pilcrowonpaper", @@ -40,7 +40,7 @@ "mongodb": "4.x || 6.x" }, "devDependencies": { - "@lucia-auth/adapter-test": "workspace:*", + "@lifeworld/adapter-test": "workspace:*", "dotenv": "^16.0.3", "lucia": "workspace:*", "mongodb": "^6.3.0", diff --git a/packages/adapter-mongodb/tests/mongodb.ts b/packages/adapter-mongodb/tests/mongodb.ts index d1dbce75a..08999d806 100644 --- a/packages/adapter-mongodb/tests/mongodb.ts +++ b/packages/adapter-mongodb/tests/mongodb.ts @@ -1,4 +1,4 @@ -import { databaseUser, testAdapter } from "@lucia-auth/adapter-test"; +import { databaseUser, testAdapter } from "@lifeworld/adapter-test"; import dotenv from "dotenv"; import { Collection, MongoClient } from "mongodb"; import { resolve } from "path"; diff --git a/packages/adapter-mongodb/tests/mongoose.ts b/packages/adapter-mongodb/tests/mongoose.ts index ebe00678c..118214daf 100644 --- a/packages/adapter-mongodb/tests/mongoose.ts +++ b/packages/adapter-mongodb/tests/mongoose.ts @@ -1,4 +1,4 @@ -import { databaseUser, testAdapter } from "@lucia-auth/adapter-test"; +import { databaseUser, testAdapter } from "@lifeworld/adapter-test"; import dotenv from "dotenv"; import mongoose from "mongoose"; import { resolve } from "path"; diff --git a/packages/adapter-mysql/CHANGELOG.md b/packages/adapter-mysql/CHANGELOG.md index d7eed4d13..08a0c45eb 100644 --- a/packages/adapter-mysql/CHANGELOG.md +++ b/packages/adapter-mysql/CHANGELOG.md @@ -1,4 +1,4 @@ -# @lucia-auth/adapter-mysql +# @lifeworld/adapter-mysql ## 3.0.2 @@ -22,82 +22,82 @@ See the [migration guide](https://v3.lucia-auth.com/upgrade-v3/mysql). ### Major changes -- [#885](https://github.com/pilcrowOnPaper/lucia/pull/885) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : Update version and peer dependency +- [#885](https://github.com/1ifeworld/lucia/pull/885) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : Update version and peer dependency ## 2.0.0-beta.8 ### Minor changes -- [#867](https://github.com/pilcrowOnPaper/lucia/pull/867) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : Update peer dependency +- [#867](https://github.com/1ifeworld/lucia/pull/867) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : Update peer dependency ### Patch changes -- [#859](https://github.com/pilcrowOnPaper/lucia/pull/859) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : Update `planetscale()` adapter types +- [#859](https://github.com/1ifeworld/lucia/pull/859) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : Update `planetscale()` adapter types ## 2.0.0-beta.7 ### Minor changes -- [#842](https://github.com/pilcrowOnPaper/lucia/pull/842) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : Update peer dependency +- [#842](https://github.com/1ifeworld/lucia/pull/842) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : Update peer dependency ## 2.0.0-beta.6 ### Minor changes -- [#815](https://github.com/pilcrowOnPaper/lucia/pull/815) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : Make `session` model name params optional for `mysql2()` and `planetscale()` +- [#815](https://github.com/1ifeworld/lucia/pull/815) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : Make `session` model name params optional for `mysql2()` and `planetscale()` -- [#812](https://github.com/pilcrowOnPaper/lucia/pull/812) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : Update peer dependency +- [#812](https://github.com/1ifeworld/lucia/pull/812) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : Update peer dependency ## 2.0.0-beta.5 ### Patch changes -- [#803](https://github.com/pilcrowOnPaper/lucia/pull/803) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : Update peer dependency +- [#803](https://github.com/1ifeworld/lucia/pull/803) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : Update peer dependency ## 2.0.0-beta.4 ### Major changes -- [#788](https://github.com/pilcrowOnPaper/lucia/pull/790) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : Require `lucia@2.0.0-beta.3` +- [#788](https://github.com/1ifeworld/lucia/pull/790) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : Require `lucia@2.0.0-beta.3` ## 2.0.0-beta.3 ### Patch changes -- [#768](https://github.com/pilcrowOnPaper/lucia/pull/768) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : Update peer dependency +- [#768](https://github.com/1ifeworld/lucia/pull/768) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : Update peer dependency ## 2.0.0-beta.2 ### Patch changes -- [#756](https://github.com/pilcrowOnPaper/lucia/pull/756) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : Fix peer dependency version +- [#756](https://github.com/1ifeworld/lucia/pull/756) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : Fix peer dependency version ## 2.0.0-beta.1 -- [#731](https://github.com/pilcrowOnPaper/lucia/pull/731) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : Fix internal imports +- [#731](https://github.com/1ifeworld/lucia/pull/731) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : Fix internal imports ### Patch changes -- [#729](https://github.com/pilcrowOnPaper/lucia/pull/729) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : Export `d1` adapter +- [#729](https://github.com/1ifeworld/lucia/pull/729) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : Export `d1` adapter ## 2.0.0-beta.0 ### Major changes -- [#682](https://github.com/pilcrowOnPaper/lucia/pull/682) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : Require `lucia@^2.0.0` +- [#682](https://github.com/1ifeworld/lucia/pull/682) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : Require `lucia@^2.0.0` ### Minor changes -- [#682](https://github.com/pilcrowOnPaper/lucia/pull/682) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : Add option to configure table names in `mysql2()` and `planetscale()` +- [#682](https://github.com/1ifeworld/lucia/pull/682) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : Add option to configure table names in `mysql2()` and `planetscale()` ## 1.1.1 ### Patch changes -- [#579](https://github.com/pilcrowOnPaper/lucia/pull/579) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : Set proper peer dependency +- [#579](https://github.com/1ifeworld/lucia/pull/579) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : Set proper peer dependency ## 1.1.0 ### Minor changes -- [#562](https://github.com/pilcrowOnPaper/lucia/pull/562) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : Add PlanetScale serverless adapter +- [#562](https://github.com/1ifeworld/lucia/pull/562) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : Add PlanetScale serverless adapter diff --git a/packages/adapter-mysql/README.md b/packages/adapter-mysql/README.md index 48d5d991d..daeb69819 100644 --- a/packages/adapter-mysql/README.md +++ b/packages/adapter-mysql/README.md @@ -1,4 +1,4 @@ -# `@lucia-auth/adapter-mysql` +# `@lifeworld/adapter-mysql` MySQL adapter for Lucia. @@ -6,7 +6,7 @@ MySQL adapter for Lucia. **[Lucia documentation](https://v3.lucia-auth.com)** -**[Changelog](https://github.com/pilcrowOnPaper/lucia/blob/main/packages/adapter-mysql/CHANGELOG.md)** +**[Changelog](https://github.com/1ifeworld/lucia/blob/main/packages/adapter-mysql/CHANGELOG.md)** ## Supported drivers @@ -16,9 +16,9 @@ MySQL adapter for Lucia. ## Installation ``` -npm install @lucia-auth/adapter-postgresql -pnpm add @lucia-auth/adapter-postgresql -yarn add @lucia-auth/adapter-postgresql +npm install @lifeworld/adapter-postgresql +pnpm add @lifeworld/adapter-postgresql +yarn add @lifeworld/adapter-postgresql ``` ## Testing diff --git a/packages/adapter-mysql/package.json b/packages/adapter-mysql/package.json index 34daa0ef9..1e03bd30b 100644 --- a/packages/adapter-mysql/package.json +++ b/packages/adapter-mysql/package.json @@ -1,5 +1,5 @@ { - "name": "@lucia-auth/adapter-mysql", + "name": "@lifeworld/adapter-mysql", "version": "3.0.2", "description": "MySQL adapter for Lucia", "main": "dist/index.js", @@ -28,7 +28,7 @@ ], "repository": { "type": "git", - "url": "https://github.com/pilcrowOnPaper/lucia", + "url": "https://github.com/1ifeworld/lucia", "directory": "packages/adapter-mysql" }, "author": "pilcrowonpaper", @@ -50,7 +50,7 @@ } }, "devDependencies": { - "@lucia-auth/adapter-test": "workspace:*", + "@lifeworld/adapter-test": "workspace:*", "@planetscale/database": "^1.8.0", "dotenv": "^16.0.3", "lucia": "workspace:*", diff --git a/packages/adapter-mysql/tests/mysql2.ts b/packages/adapter-mysql/tests/mysql2.ts index 164cdb106..2b407e65d 100644 --- a/packages/adapter-mysql/tests/mysql2.ts +++ b/packages/adapter-mysql/tests/mysql2.ts @@ -1,4 +1,4 @@ -import { testAdapter, databaseUser } from "@lucia-auth/adapter-test"; +import { testAdapter, databaseUser } from "@lifeworld/adapter-test"; import { Mysql2Adapter } from "../src/drivers/mysql2.js"; import mysql from "mysql2/promise"; diff --git a/packages/adapter-mysql/tests/planetscale.ts b/packages/adapter-mysql/tests/planetscale.ts index 4574e4fd5..773328a32 100644 --- a/packages/adapter-mysql/tests/planetscale.ts +++ b/packages/adapter-mysql/tests/planetscale.ts @@ -1,4 +1,4 @@ -import { testAdapter, databaseUser } from "@lucia-auth/adapter-test"; +import { testAdapter, databaseUser } from "@lifeworld/adapter-test"; import { PlanetScaleAdapter } from "../src/drivers/planetscale.js"; import { connect } from "@planetscale/database"; diff --git a/packages/adapter-postgresql/CHANGELOG.md b/packages/adapter-postgresql/CHANGELOG.md index 52bd0bb50..8ec24a960 100644 --- a/packages/adapter-postgresql/CHANGELOG.md +++ b/packages/adapter-postgresql/CHANGELOG.md @@ -1,4 +1,4 @@ -# @lucia-auth/adapter-postgresql +# @lifeworld/adapter-postgresql ## 3.1.2 @@ -26,76 +26,76 @@ See the [migration guide](https://v3.lucia-auth.com/upgrade-v3/postgresql). ### Patch changes -- [#1031](https://github.com/pilcrowOnPaper/lucia/pull/1031) by [@kosei28](https://github.com/kosei28) : Fix release of connection for transaction in pg +- [#1031](https://github.com/1ifeworld/lucia/pull/1031) by [@kosei28](https://github.com/kosei28) : Fix release of connection for transaction in pg ## 2.0.0 ### Major changes -- [#885](https://github.com/pilcrowOnPaper/lucia/pull/885) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : Update version and peer dependency +- [#885](https://github.com/1ifeworld/lucia/pull/885) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : Update version and peer dependency ## 2.0.0-beta.8 ### Minor changes -- [#867](https://github.com/pilcrowOnPaper/lucia/pull/867) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : Update peer dependency +- [#867](https://github.com/1ifeworld/lucia/pull/867) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : Update peer dependency ## 2.0.0-beta.7 ### Minor changes -- [#842](https://github.com/pilcrowOnPaper/lucia/pull/842) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : Update peer dependency +- [#842](https://github.com/1ifeworld/lucia/pull/842) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : Update peer dependency ## 2.0.0-beta.6 ### Minor changes -- [#815](https://github.com/pilcrowOnPaper/lucia/pull/815) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : Make `session` model name params optional for `pg()` and `postgres()` +- [#815](https://github.com/1ifeworld/lucia/pull/815) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : Make `session` model name params optional for `pg()` and `postgres()` -- [#812](https://github.com/pilcrowOnPaper/lucia/pull/812) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : Update peer dependency +- [#812](https://github.com/1ifeworld/lucia/pull/812) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : Update peer dependency ## 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` +- [#782](https://github.com/1ifeworld/lucia/pull/782) by [@alexanderguy](https://github.com/alexanderguy) : Add adapter for `porsager/postgres` ## 2.0.0-beta.4 ### Patch changes -- [#803](https://github.com/pilcrowOnPaper/lucia/pull/803) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : Update peer dependency +- [#803](https://github.com/1ifeworld/lucia/pull/803) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : Update peer dependency ## 2.0.0-beta.3 ### Major changes -- [#788](https://github.com/pilcrowOnPaper/lucia/pull/790) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : Require `lucia@2.0.0-beta.3` +- [#788](https://github.com/1ifeworld/lucia/pull/790) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : Require `lucia@2.0.0-beta.3` ## 2.0.0-beta.2 ### Patch changes -- [#768](https://github.com/pilcrowOnPaper/lucia/pull/768) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : Update peer dependency +- [#768](https://github.com/1ifeworld/lucia/pull/768) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : Update peer dependency ## 2.0.0-beta.1 ### Patch changes -- [#756](https://github.com/pilcrowOnPaper/lucia/pull/756) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : Fix peer dependency version +- [#756](https://github.com/1ifeworld/lucia/pull/756) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : Fix peer dependency version ## 2.0.0-beta.0 ### Major changes -- [#682](https://github.com/pilcrowOnPaper/lucia/pull/682) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : Require `lucia@^2.0.0` +- [#682](https://github.com/1ifeworld/lucia/pull/682) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : Require `lucia@^2.0.0` ### Minor changes -- [#682](https://github.com/pilcrowOnPaper/lucia/pull/682) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : Add option to configure table names in `pg()` +- [#682](https://github.com/1ifeworld/lucia/pull/682) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : Add option to configure table names in `pg()` ## 1.0.1 ### Patch changes -- [#626](https://github.com/pilcrowOnPaper/lucia/pull/626) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : Clean up adapter internals and remove rogue `console.log()` +- [#626](https://github.com/1ifeworld/lucia/pull/626) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : Clean up adapter internals and remove rogue `console.log()` diff --git a/packages/adapter-postgresql/README.md b/packages/adapter-postgresql/README.md index d1413373e..412421151 100644 --- a/packages/adapter-postgresql/README.md +++ b/packages/adapter-postgresql/README.md @@ -1,4 +1,4 @@ -# `@lucia-auth/adapter-postgresql` +# `@lifeworld/adapter-postgresql` PostgreSQL adapter for Lucia. @@ -6,7 +6,7 @@ PostgreSQL adapter for Lucia. **[Lucia documentation](https://v3.lucia-auth.com)** -**[Changelog](https://github.com/pilcrowOnPaper/lucia/blob/main/packages/adapter-postgresql/CHANGELOG.md)** +**[Changelog](https://github.com/1ifeworld/lucia/blob/main/packages/adapter-postgresql/CHANGELOG.md)** ## Supported drivers @@ -17,9 +17,9 @@ PostgreSQL adapter for Lucia. ## Installation ``` -npm install @lucia-auth/adapter-postgresql -pnpm add @lucia-auth/adapter-postgresql -yarn add @lucia-auth/adapter-postgresql +npm install @lifeworld/adapter-postgresql +pnpm add @lifeworld/adapter-postgresql +yarn add @lifeworld/adapter-postgresql ``` ## Testing diff --git a/packages/adapter-postgresql/package.json b/packages/adapter-postgresql/package.json index 915f57bad..23c2bf7f1 100644 --- a/packages/adapter-postgresql/package.json +++ b/packages/adapter-postgresql/package.json @@ -1,5 +1,5 @@ { - "name": "@lucia-auth/adapter-postgresql", + "name": "@lifeworld/adapter-postgresql", "version": "3.1.2", "description": "PostgreSQL adapter for Lucia", "main": "dist/index.js", @@ -31,7 +31,7 @@ ], "repository": { "type": "git", - "url": "https://github.com/pilcrowOnPaper/lucia", + "url": "https://github.com/1ifeworld/lucia", "directory": "packages/adapter-postgresql" }, "author": "pilcrowonpaper", @@ -57,7 +57,7 @@ } }, "devDependencies": { - "@lucia-auth/adapter-test": "workspace:*", + "@lifeworld/adapter-test": "workspace:*", "@neondatabase/serverless": "^0.9.0", "@types/pg": "^8.6.5", "dotenv": "^16.0.3", diff --git a/packages/adapter-postgresql/tests/neon-http.ts b/packages/adapter-postgresql/tests/neon-http.ts index c2279a034..6d6d9cf42 100644 --- a/packages/adapter-postgresql/tests/neon-http.ts +++ b/packages/adapter-postgresql/tests/neon-http.ts @@ -1,4 +1,4 @@ -import { testAdapter, databaseUser } from "@lucia-auth/adapter-test"; +import { testAdapter, databaseUser } from "@lifeworld/adapter-test"; import { NeonHTTPAdapter } from "../src/drivers/neon-http.js"; import dotenv from "dotenv"; import { resolve } from "path"; diff --git a/packages/adapter-postgresql/tests/node-postgres.ts b/packages/adapter-postgresql/tests/node-postgres.ts index 733d32a85..8fcf93054 100644 --- a/packages/adapter-postgresql/tests/node-postgres.ts +++ b/packages/adapter-postgresql/tests/node-postgres.ts @@ -1,4 +1,4 @@ -import { testAdapter, databaseUser } from "@lucia-auth/adapter-test"; +import { testAdapter, databaseUser } from "@lifeworld/adapter-test"; import { NodePostgresAdapter } from "../src/drivers/node-postgres.js"; import dotenv from "dotenv"; import { resolve } from "path"; diff --git a/packages/adapter-postgresql/tests/postgresjs.ts b/packages/adapter-postgresql/tests/postgresjs.ts index 3fb11a78e..d72de1cdd 100644 --- a/packages/adapter-postgresql/tests/postgresjs.ts +++ b/packages/adapter-postgresql/tests/postgresjs.ts @@ -1,4 +1,4 @@ -import { testAdapter, databaseUser } from "@lucia-auth/adapter-test"; +import { testAdapter, databaseUser } from "@lifeworld/adapter-test"; import { PostgresJsAdapter } from "../src/drivers/postgresjs.js"; import dotenv from "dotenv"; import { resolve } from "path"; diff --git a/packages/adapter-prisma/CHANGELOG.md b/packages/adapter-prisma/CHANGELOG.md index acf2da25d..9436ef072 100644 --- a/packages/adapter-prisma/CHANGELOG.md +++ b/packages/adapter-prisma/CHANGELOG.md @@ -1,4 +1,4 @@ -# @lucia-auth/adapter-prisma +# @lifeworld/adapter-prisma ## 4.0.1 @@ -18,77 +18,77 @@ See the [migration guide](https://v3.lucia-auth.com/upgrade-v3/prisma). ### Patch changes -- [#929](https://github.com/pilcrowOnPaper/lucia/pull/929) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : Fix delete operations throwing if the target does not exist +- [#929](https://github.com/1ifeworld/lucia/pull/929) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : Fix delete operations throwing if the target does not exist ## 3.0.0 ### Major changes -- [#885](https://github.com/pilcrowOnPaper/lucia/pull/885) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : Update version and peer dependency +- [#885](https://github.com/1ifeworld/lucia/pull/885) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : Update version and peer dependency ## 3.0.0-beta.8 ### Major changes -- [#858](https://github.com/pilcrowOnPaper/lucia/pull/858) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : Update `prisma()` params +- [#858](https://github.com/1ifeworld/lucia/pull/858) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : Update `prisma()` params ### Minor changes -- [#867](https://github.com/pilcrowOnPaper/lucia/pull/867) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : Update peer dependency +- [#867](https://github.com/1ifeworld/lucia/pull/867) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : Update peer dependency ## 3.0.0-beta.7 ### Minor changes -- [#842](https://github.com/pilcrowOnPaper/lucia/pull/842) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : Update peer dependency +- [#842](https://github.com/1ifeworld/lucia/pull/842) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : Update peer dependency ## 3.0.0-beta.6 ### Patch changes -- [#823](https://github.com/pilcrowOnPaper/lucia/pull/823) by [@delight](https://github.com/delight) : Adjust peerDependency to solve the unmet peer dependency warning for prisma 5.x +- [#823](https://github.com/1ifeworld/lucia/pull/823) by [@delight](https://github.com/delight) : Adjust peerDependency to solve the unmet peer dependency warning for prisma 5.x ## 3.0.0-beta.5 ### Minor changes -- [#815](https://github.com/pilcrowOnPaper/lucia/pull/815) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : Make `session` model name params optional +- [#815](https://github.com/1ifeworld/lucia/pull/815) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : Make `session` model name params optional -- [#812](https://github.com/pilcrowOnPaper/lucia/pull/812) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : Update peer dependency +- [#812](https://github.com/1ifeworld/lucia/pull/812) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : Update peer dependency ## 3.0.0-beta.4 ### Patch changes -- [#803](https://github.com/pilcrowOnPaper/lucia/pull/803) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : Update peer dependency +- [#803](https://github.com/1ifeworld/lucia/pull/803) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : Update peer dependency ## 3.0.0-beta.3 ### Major changes -- [#788](https://github.com/pilcrowOnPaper/lucia/pull/790) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : Require `lucia@2.0.0-beta.3` +- [#788](https://github.com/1ifeworld/lucia/pull/790) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : Require `lucia@2.0.0-beta.3` ## 3.0.0-beta.2 ### Patch changes -- [#768](https://github.com/pilcrowOnPaper/lucia/pull/768) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : Update peer dependency +- [#768](https://github.com/1ifeworld/lucia/pull/768) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : Update peer dependency ## 3.0.0-beta.1 ### Major changes -- [#755](https://github.com/pilcrowOnPaper/lucia/pull/755) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : Update `prisma()` parameters +- [#755](https://github.com/1ifeworld/lucia/pull/755) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : Update `prisma()` parameters ### Patch changes -- [#756](https://github.com/pilcrowOnPaper/lucia/pull/756) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : Fix peer dependency version +- [#756](https://github.com/1ifeworld/lucia/pull/756) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : Fix peer dependency version ## 3.0.0-beta.0 ### Major changes -- [#682](https://github.com/pilcrowOnPaper/lucia/pull/682) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : Require `lucia@^2.0.0` +- [#682](https://github.com/1ifeworld/lucia/pull/682) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : Require `lucia@^2.0.0` - Export adapter as named exports (`prisma()`) @@ -98,7 +98,7 @@ See the [migration guide](https://v3.lucia-auth.com/upgrade-v3/prisma). ### Major changes -- [#529](https://github.com/pilcrowOnPaper/lucia/pull/529) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : [Breaking] Requires `lucia-auth@^1.3.0` +- [#529](https://github.com/1ifeworld/lucia/pull/529) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : [Breaking] Requires `lucia-auth@^1.3.0` - Update to new specifications @@ -106,19 +106,19 @@ See the [migration guide](https://v3.lucia-auth.com/upgrade-v3/prisma). ### Major changes -- [#443](https://github.com/pilcrowOnPaper/lucia/pull/443) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : Release version 1.0! +- [#443](https://github.com/1ifeworld/lucia/pull/443) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : Release version 1.0! ## 0.7.1 ### Patch changes -- [#452](https://github.com/pilcrowOnPaper/lucia/pull/452) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : Fix issue where all errors from `setUser()` were thrown as `INVALID_KEY_ID` Lucia error +- [#452](https://github.com/1ifeworld/lucia/pull/452) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : Fix issue where all errors from `setUser()` were thrown as `INVALID_KEY_ID` Lucia error ## 0.7.0 ### Minor changes -- [#430](https://github.com/pilcrowOnPaper/lucia/pull/430) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : [Breaking] Require `lucia-auth` 0.11.0 +- [#430](https://github.com/1ifeworld/lucia/pull/430) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : [Breaking] Require `lucia-auth` 0.11.0 - Update schema @@ -126,31 +126,31 @@ See the [migration guide](https://v3.lucia-auth.com/upgrade-v3/prisma). ### Patch changes -- [#424](https://github.com/pilcrowOnPaper/lucia/pull/424) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : - Update dependencies +- [#424](https://github.com/1ifeworld/lucia/pull/424) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : - Update dependencies ## 0.6.0 ### Minor changes -- [#398](https://github.com/pilcrowOnPaper/lucia/pull/398) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : Require `lucia-auth@0.9.0` +- [#398](https://github.com/1ifeworld/lucia/pull/398) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : Require `lucia-auth@0.9.0` ## 0.5.3 ### Patch changes -- [#392](https://github.com/pilcrowOnPaper/lucia/pull/392) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : Update peer dependency +- [#392](https://github.com/1ifeworld/lucia/pull/392) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : Update peer dependency ## 0.5.2 ### Patch changes -- [#388](https://github.com/pilcrowOnPaper/lucia/pull/388) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : remove unnecessary code +- [#388](https://github.com/1ifeworld/lucia/pull/388) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : remove unnecessary code ## 0.5.1 ### Patch changes -- [#381](https://github.com/pilcrowOnPaper/lucia/pull/381) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : Update links in README and package.json +- [#381](https://github.com/1ifeworld/lucia/pull/381) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : Update links in README and package.json ## 0.5.0 diff --git a/packages/adapter-prisma/README.md b/packages/adapter-prisma/README.md index 51a311c18..af339d19b 100644 --- a/packages/adapter-prisma/README.md +++ b/packages/adapter-prisma/README.md @@ -1,4 +1,4 @@ -# `@lucia-auth/adapter-prisma` +# `@lifeworld/adapter-prisma` [Prisma](https://www.prisma.io) adapter for Lucia. @@ -6,14 +6,14 @@ **[Lucia documentation](https://v3.lucia-auth.com)** -**[Changelog](https://github.com/pilcrowOnPaper/lucia/blob/main/packages/adapter-prisma/CHANGELOG.md)** +**[Changelog](https://github.com/1ifeworld/lucia/blob/main/packages/adapter-prisma/CHANGELOG.md)** ## Installation ``` -npm install @lucia-auth/adapter-prisma -pnpm add @lucia-auth/adapter-prisma -yarn add @lucia-auth/adapter-prisma +npm install @lifeworld/adapter-prisma +pnpm add @lifeworld/adapter-prisma +yarn add @lifeworld/adapter-prisma ``` ## Testing diff --git a/packages/adapter-prisma/package.json b/packages/adapter-prisma/package.json index 9e5c88569..b7fb649e4 100644 --- a/packages/adapter-prisma/package.json +++ b/packages/adapter-prisma/package.json @@ -1,5 +1,5 @@ { - "name": "@lucia-auth/adapter-prisma", + "name": "@lifeworld/adapter-prisma", "version": "4.0.1", "description": "Prisma adapter for Lucia", "main": "dist/index.js", @@ -31,7 +31,7 @@ ], "repository": { "type": "git", - "url": "https://github.com/pilcrowOnPaper/lucia", + "url": "https://github.com/1ifeworld/lucia", "directory": "packages/adapter-prisma" }, "author": "pilcrowonpaper", @@ -45,7 +45,7 @@ }, "devDependencies": { "lucia": "workspace:*", - "@lucia-auth/adapter-test": "workspace:*", + "@lifeworld/adapter-test": "workspace:*", "@prisma/client": "^5.0.0", "prisma": "^4.9.0", "tsx": "^3.12.6" diff --git a/packages/adapter-prisma/tests/prisma.ts b/packages/adapter-prisma/tests/prisma.ts index d8c2e70ca..5dc2c0b35 100644 --- a/packages/adapter-prisma/tests/prisma.ts +++ b/packages/adapter-prisma/tests/prisma.ts @@ -1,4 +1,4 @@ -import { testAdapter, databaseUser } from "@lucia-auth/adapter-test"; +import { testAdapter, databaseUser } from "@lifeworld/adapter-test"; import { PrismaClient } from "@prisma/client"; import { PrismaAdapter } from "../src/index.js"; diff --git a/packages/adapter-sqlite/CHANGELOG.md b/packages/adapter-sqlite/CHANGELOG.md index db12af0a6..78daca1c4 100644 --- a/packages/adapter-sqlite/CHANGELOG.md +++ b/packages/adapter-sqlite/CHANGELOG.md @@ -1,4 +1,4 @@ -# @lucia-auth/adapter-sqlite +# @lifeworld/adapter-sqlite ## 3.0.2 @@ -24,84 +24,84 @@ See the [migration guide](https://v3.lucia-auth.com/upgrade-v3/sqlite). ### Major changes -- [#885](https://github.com/pilcrowOnPaper/lucia/pull/885) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : Update version and peer dependency +- [#885](https://github.com/1ifeworld/lucia/pull/885) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : Update version and peer dependency ## 2.0.0-beta.8 ### Major changes -- [#822](https://github.com/pilcrowOnPaper/lucia/pull/822) by [@abdel-17](https://github.com/abdel-17) : Require `@libsql/client@0.3.0` +- [#822](https://github.com/1ifeworld/lucia/pull/822) by [@abdel-17](https://github.com/abdel-17) : Require `@libsql/client@0.3.0` ### Minor changes -- [#867](https://github.com/pilcrowOnPaper/lucia/pull/867) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : Update peer dependency +- [#867](https://github.com/1ifeworld/lucia/pull/867) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : Update peer dependency ### Patch changes -- [#846](https://github.com/pilcrowOnPaper/lucia/pull/846) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : Remove `@libsql/client` import +- [#846](https://github.com/1ifeworld/lucia/pull/846) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : Remove `@libsql/client` import ## 2.0.0-beta.7 ### Minor changes -- [#842](https://github.com/pilcrowOnPaper/lucia/pull/842) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : Update peer dependency +- [#842](https://github.com/1ifeworld/lucia/pull/842) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : Update peer dependency ## 2.0.0-beta.6 ### Minor changes -- [#815](https://github.com/pilcrowOnPaper/lucia/pull/815) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : Make `session` model name params optional for `betterSqlite3()`, `d1()`, `libsql()` +- [#815](https://github.com/1ifeworld/lucia/pull/815) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : Make `session` model name params optional for `betterSqlite3()`, `d1()`, `libsql()` -- [#812](https://github.com/pilcrowOnPaper/lucia/pull/812) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : Update peer dependency +- [#812](https://github.com/1ifeworld/lucia/pull/812) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : Update peer dependency ## 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 +- [#680](https://github.com/1ifeworld/lucia/pull/680) by [@abdel-17](https://github.com/abdel-17) : Add libSQL adapter ## 2.0.0-beta.4 ### Patch changes -- [#803](https://github.com/pilcrowOnPaper/lucia/pull/803) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : Update peer dependency +- [#803](https://github.com/1ifeworld/lucia/pull/803) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : Update peer dependency ## 2.0.0-beta.3 ### Major changes -- [#788](https://github.com/pilcrowOnPaper/lucia/pull/790) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : Require `lucia@2.0.0-beta.3` +- [#788](https://github.com/1ifeworld/lucia/pull/790) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : Require `lucia@2.0.0-beta.3` ## 2.0.0-beta.2 ### Patch changes -- [#768](https://github.com/pilcrowOnPaper/lucia/pull/768) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : Update peer dependency +- [#768](https://github.com/1ifeworld/lucia/pull/768) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : Update peer dependency ## 2.0.0-beta.1 ### Patch changes -- [#756](https://github.com/pilcrowOnPaper/lucia/pull/756) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : Fix peer dependency version +- [#756](https://github.com/1ifeworld/lucia/pull/756) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : Fix peer dependency version ## 2.0.0-beta.0 ### Major changes -- [#682](https://github.com/pilcrowOnPaper/lucia/pull/682) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : Require `lucia@^2.0.0` +- [#682](https://github.com/1ifeworld/lucia/pull/682) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : Require `lucia@^2.0.0` ### Minor changes -- [#682](https://github.com/pilcrowOnPaper/lucia/pull/682) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : Add option to configure table names in `betterSqlite3()` and `d1()` +- [#682](https://github.com/1ifeworld/lucia/pull/682) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : Add option to configure table names in `betterSqlite3()` and `d1()` ## 1.1.1 ### Patch changes -- [#579](https://github.com/pilcrowOnPaper/lucia/pull/579) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : Fix `better-sqlite3` adapter only returning max 1 row +- [#579](https://github.com/1ifeworld/lucia/pull/579) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : Fix `better-sqlite3` adapter only returning max 1 row ## 1.1.0 ### Minor changes -- [#563](https://github.com/pilcrowOnPaper/lucia/pull/563) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : Add `d1` adapter for Cloudflare D1 +- [#563](https://github.com/1ifeworld/lucia/pull/563) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : Add `d1` adapter for Cloudflare D1 diff --git a/packages/adapter-sqlite/README.md b/packages/adapter-sqlite/README.md index e757e775c..0b55f8cc9 100644 --- a/packages/adapter-sqlite/README.md +++ b/packages/adapter-sqlite/README.md @@ -1,4 +1,4 @@ -# `@lucia-auth/adapter-sqlite` +# `@lifeworld/adapter-sqlite` SQLite adapter for Lucia. @@ -6,7 +6,7 @@ SQLite adapter for Lucia. **[Lucia documentation](https://v3.lucia-auth.com)** -**[Changelog](https://github.com/pilcrowOnPaper/lucia/blob/main/packages/adapter-sqlite/CHANGELOG.md)** +**[Changelog](https://github.com/1ifeworld/lucia/blob/main/packages/adapter-sqlite/CHANGELOG.md)** ## Supported drivers @@ -18,9 +18,9 @@ SQLite adapter for Lucia. ## Installation ``` -npm install @lucia-auth/adapter-sqlite -pnpm add @lucia-auth/adapter-sqlite -yarn add @lucia-auth/adapter-sqlite +npm install @lifeworld/adapter-sqlite +pnpm add @lifeworld/adapter-sqlite +yarn add @lifeworld/adapter-sqlite ``` ## Testing diff --git a/packages/adapter-sqlite/package.json b/packages/adapter-sqlite/package.json index eda80d3c1..a94f6664f 100644 --- a/packages/adapter-sqlite/package.json +++ b/packages/adapter-sqlite/package.json @@ -1,5 +1,5 @@ { - "name": "@lucia-auth/adapter-sqlite", + "name": "@lifeworld/adapter-sqlite", "version": "3.0.2", "description": "SQLite adapter for Lucia", "main": "dist/index.js", @@ -33,7 +33,7 @@ ], "repository": { "type": "git", - "url": "https://github.com/pilcrowOnPaper/lucia", + "url": "https://github.com/1ifeworld/lucia", "directory": "packages/adapter-sqlite" }, "author": "pilcrowonpaper", @@ -57,7 +57,7 @@ "devDependencies": { "@cloudflare/workers-types": "^4.20230518.0", "@libsql/client": "^0.7.0", - "@lucia-auth/adapter-test": "workspace:*", + "@lifeworld/adapter-test": "workspace:*", "@miniflare/d1": "^2.14.0", "@miniflare/web-sockets": "^2.14.1", "@types/better-sqlite3": "^7.6.3", diff --git a/packages/adapter-sqlite/tests/better-sqlite3.ts b/packages/adapter-sqlite/tests/better-sqlite3.ts index 35731ad0d..2cad03d41 100644 --- a/packages/adapter-sqlite/tests/better-sqlite3.ts +++ b/packages/adapter-sqlite/tests/better-sqlite3.ts @@ -1,4 +1,4 @@ -import { testAdapter, databaseUser } from "@lucia-auth/adapter-test"; +import { testAdapter, databaseUser } from "@lifeworld/adapter-test"; import { BetterSqlite3Adapter } from "../src/drivers/better-sqlite3.js"; import sqlite from "better-sqlite3"; diff --git a/packages/adapter-sqlite/tests/bun-sqlite.ts b/packages/adapter-sqlite/tests/bun-sqlite.ts index 167e81517..4c55ece04 100644 --- a/packages/adapter-sqlite/tests/bun-sqlite.ts +++ b/packages/adapter-sqlite/tests/bun-sqlite.ts @@ -1,5 +1,5 @@ /// -import { testAdapter, databaseUser } from "@lucia-auth/adapter-test"; +import { testAdapter, databaseUser } from "@lifeworld/adapter-test"; import { BunSQLiteAdapter } from "../src/drivers/bun-sqlite.js"; import { Database } from "bun:sqlite"; diff --git a/packages/adapter-sqlite/tests/d1.ts b/packages/adapter-sqlite/tests/d1.ts index 228109fcd..7180fadd0 100644 --- a/packages/adapter-sqlite/tests/d1.ts +++ b/packages/adapter-sqlite/tests/d1.ts @@ -1,4 +1,4 @@ -import { testAdapter, databaseUser } from "@lucia-auth/adapter-test"; +import { testAdapter, databaseUser } from "@lifeworld/adapter-test"; import { D1Adapter } from "../src/drivers/d1.js"; import { D1Database, D1DatabaseAPI } from "@miniflare/d1"; import sqlite from "better-sqlite3"; diff --git a/packages/adapter-sqlite/tests/libsql.ts b/packages/adapter-sqlite/tests/libsql.ts index f8863c848..1dafc8d6d 100644 --- a/packages/adapter-sqlite/tests/libsql.ts +++ b/packages/adapter-sqlite/tests/libsql.ts @@ -1,4 +1,4 @@ -import { testAdapter, databaseUser } from "@lucia-auth/adapter-test"; +import { testAdapter, databaseUser } from "@lifeworld/adapter-test"; import { LibSQLAdapter } from "../src/drivers/libsql.js"; import { createClient } from "@libsql/client"; import fs from "fs/promises"; diff --git a/packages/adapter-test/CHANGELOG.md b/packages/adapter-test/CHANGELOG.md index 6c36f9c62..7c444be93 100644 --- a/packages/adapter-test/CHANGELOG.md +++ b/packages/adapter-test/CHANGELOG.md @@ -1,4 +1,4 @@ -# @lucia-auth/adapter-test +# @lifeworld/adapter-test ## 5.0.2 @@ -24,65 +24,65 @@ ### Minor changes -- [#928](https://github.com/pilcrowOnPaper/lucia/pull/928) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : Check for delete operation errors +- [#928](https://github.com/1ifeworld/lucia/pull/928) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : Check for delete operation errors ## 4.0.0 ### Major changes -- [#885](https://github.com/pilcrowOnPaper/lucia/pull/885) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : Update version and peer dependency +- [#885](https://github.com/1ifeworld/lucia/pull/885) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : Update version and peer dependency ## 4.0.0-beta.7 ### Minor changes -- [#867](https://github.com/pilcrowOnPaper/lucia/pull/867) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : Update peer dependency +- [#867](https://github.com/1ifeworld/lucia/pull/867) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : Update peer dependency ## 4.0.0-beta.6 ### Minor changes -- [#842](https://github.com/pilcrowOnPaper/lucia/pull/842) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : Update peer dependency +- [#842](https://github.com/1ifeworld/lucia/pull/842) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : Update peer dependency ## 4.0.0-beta.5 ### Minor changes -- [#812](https://github.com/pilcrowOnPaper/lucia/pull/812) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : Update peer dependency +- [#812](https://github.com/1ifeworld/lucia/pull/812) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : Update peer dependency ## 4.0.0-beta.4 ### Patch changes -- [#803](https://github.com/pilcrowOnPaper/lucia/pull/803) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : Update peer dependency +- [#803](https://github.com/1ifeworld/lucia/pull/803) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : Update peer dependency ## 4.0.0-beta.3 ### Major changes -- [#788](https://github.com/pilcrowOnPaper/lucia/pull/790) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : Require `lucia@2.0.0-beta.3` +- [#788](https://github.com/1ifeworld/lucia/pull/790) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : Require `lucia@2.0.0-beta.3` ## 4.0.0-beta.2 ### Patch changes -- [#768](https://github.com/pilcrowOnPaper/lucia/pull/768) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : Update peer dependency +- [#768](https://github.com/1ifeworld/lucia/pull/768) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : Update peer dependency ## 4.0.0-beta.1 ### Patch changes -- [#756](https://github.com/pilcrowOnPaper/lucia/pull/756) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : Fix peer dependency version +- [#756](https://github.com/1ifeworld/lucia/pull/756) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : Fix peer dependency version ## 4.0.0-beta.0 ### Major changes -- [#682](https://github.com/pilcrowOnPaper/lucia/pull/682) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : Require `lucia@^2.0.0` +- [#682](https://github.com/1ifeworld/lucia/pull/682) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : Require `lucia@^2.0.0` - Update tests -- [#682](https://github.com/pilcrowOnPaper/lucia/pull/682) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : Update `testAdapter()` and `testSessionAdapter()` +- [#682](https://github.com/1ifeworld/lucia/pull/682) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : Update `testAdapter()` and `testSessionAdapter()` - Rename type `QueryHandler` to `LuciaQueryHandler` @@ -94,19 +94,19 @@ ### Patch changes -- [#563](https://github.com/pilcrowOnPaper/lucia/pull/563) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : Remove unintended Node.js polyfill +- [#563](https://github.com/1ifeworld/lucia/pull/563) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : Remove unintended Node.js polyfill ## 3.0.0 ### Major changes -- [#539](https://github.com/pilcrowOnPaper/lucia/pull/539) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : [Breaking] Require `lucia-auth@1.4.0` +- [#539](https://github.com/1ifeworld/lucia/pull/539) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : [Breaking] Require `lucia-auth@1.4.0` ## 2.0.0 ### Major changes -- [#529](https://github.com/pilcrowOnPaper/lucia/pull/529) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : [Breaking] Update tests for `lucia-auth@^1.3.0` +- [#529](https://github.com/1ifeworld/lucia/pull/529) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : [Breaking] Update tests for `lucia-auth@^1.3.0` - Update peer dependency @@ -120,13 +120,13 @@ ### Major changes -- [#443](https://github.com/pilcrowOnPaper/lucia/pull/443) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : Release version 1.0! +- [#443](https://github.com/1ifeworld/lucia/pull/443) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : Release version 1.0! ## 0.6.0 ### Minor changes -- [#430](https://github.com/pilcrowOnPaper/lucia/pull/430) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : [Breaking] Require `lucia-auth` 0.11.0 +- [#430](https://github.com/1ifeworld/lucia/pull/430) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : [Breaking] Require `lucia-auth` 0.11.0 - Update internals @@ -134,31 +134,31 @@ ### Patch changes -- [#424](https://github.com/pilcrowOnPaper/lucia/pull/424) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : - Update dependencies +- [#424](https://github.com/1ifeworld/lucia/pull/424) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : - Update dependencies ## 0.5.0 ### Minor changes -- [#398](https://github.com/pilcrowOnPaper/lucia/pull/398) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : Require `lucia-auth@0.9.0` +- [#398](https://github.com/1ifeworld/lucia/pull/398) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : Require `lucia-auth@0.9.0` ## 0.4.3 ### Patch changes -- [#392](https://github.com/pilcrowOnPaper/lucia/pull/392) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : Update peer dependency +- [#392](https://github.com/1ifeworld/lucia/pull/392) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : Update peer dependency ## 0.4.2 ### Patch changes -- [#388](https://github.com/pilcrowOnPaper/lucia/pull/388) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : remove unnecessary code +- [#388](https://github.com/1ifeworld/lucia/pull/388) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : remove unnecessary code ## 0.4.1 ### Patch changes -- [#381](https://github.com/pilcrowOnPaper/lucia/pull/381) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : Update links in README and package.json +- [#381](https://github.com/1ifeworld/lucia/pull/381) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : Update links in README and package.json ## 0.4.0 diff --git a/packages/adapter-test/README.md b/packages/adapter-test/README.md index e5dc18c32..cdcb71161 100644 --- a/packages/adapter-test/README.md +++ b/packages/adapter-test/README.md @@ -4,12 +4,12 @@ Testing module for Lucia database adapters. **[Lucia documentation](https://v3.lucia-auth.com)** -**[Changelog](https://github.com/pilcrowOnPaper/lucia/blob/main/packages/adapter-test/CHANGELOG.md)** +**[Changelog](https://github.com/1ifeworld/lucia/blob/main/packages/adapter-test/CHANGELOG.md)** ## Installation ``` -npm i -D @lucia-auth/adapter-test -pnpm add -D @lucia-auth/adapter-test -yarn add -D @lucia-auth/adapter-test +npm i -D @lifeworld/adapter-test +pnpm add -D @lifeworld/adapter-test +yarn add -D @lifeworld/adapter-test ``` diff --git a/packages/adapter-test/package.json b/packages/adapter-test/package.json index c21316a0a..af9808db9 100644 --- a/packages/adapter-test/package.json +++ b/packages/adapter-test/package.json @@ -1,5 +1,5 @@ { - "name": "@lucia-auth/adapter-test", + "name": "@lifeworld/adapter-test", "version": "5.0.2", "description": "Testing module for Lucia database adapters", "main": "dist/index.js", @@ -24,7 +24,7 @@ ], "repository": { "type": "git", - "url": "https://github.com/pilcrowOnPaper/lucia", + "url": "https://github.com/1ifeworld/lucia", "directory": "packages/adapter-test" }, "author": "pilcrowonpaper", diff --git a/packages/lucia/CHANGELOG.md b/packages/lucia/CHANGELOG.md index f97671a29..e4094eb68 100644 --- a/packages/lucia/CHANGELOG.md +++ b/packages/lucia/CHANGELOG.md @@ -96,177 +96,177 @@ See the [migration guide](https://v3.lucia-auth.com/upgrade-v3). ### Minor changes -- [#1113](https://github.com/pilcrowOnPaper/lucia/pull/1113) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : Add `options.responseMode` params to `apple()` +- [#1113](https://github.com/1ifeworld/lucia/pull/1113) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : Add `options.responseMode` params to `apple()` -- [#1100](https://github.com/pilcrowOnPaper/lucia/pull/1100) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : Add `nextjs_future()` middleware +- [#1100](https://github.com/1ifeworld/lucia/pull/1100) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : Add `nextjs_future()` middleware -- [#1099](https://github.com/pilcrowOnPaper/lucia/pull/1099) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : Mark `Auth.validateRequestOrigin()` as deprecated +- [#1099](https://github.com/1ifeworld/lucia/pull/1099) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : Mark `Auth.validateRequestOrigin()` as deprecated -- [#1099](https://github.com/pilcrowOnPaper/lucia/pull/1099) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : Replace type `RequestContext` with `MiddlewareRequestContext` for type `Middleware` +- [#1099](https://github.com/1ifeworld/lucia/pull/1099) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : Replace type `RequestContext` with `MiddlewareRequestContext` for type `Middleware` ### Patch changes -- [#1105](https://github.com/pilcrowOnPaper/lucia/pull/1105) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : Fix `Auth.useKey()` accepting any password if the key password was set to `null` +- [#1105](https://github.com/1ifeworld/lucia/pull/1105) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : Fix `Auth.useKey()` accepting any password if the key password was set to `null` -- [#1105](https://github.com/pilcrowOnPaper/lucia/pull/1105) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : Fix `Auth.createUser()` setting key password to `null` if `key.password` was an empty string +- [#1105](https://github.com/1ifeworld/lucia/pull/1105) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : Fix `Auth.createUser()` setting key password to `null` if `key.password` was an empty string ## 2.5.0 ### Minor changes -- [#992](https://github.com/pilcrowOnPaper/lucia/pull/992) by [@Tirke](https://github.com/Tirke) : Add `elysia()` middleware +- [#992](https://github.com/1ifeworld/lucia/pull/992) by [@Tirke](https://github.com/Tirke) : Add `elysia()` middleware ### Patch changes -- [#1079](https://github.com/pilcrowOnPaper/lucia/pull/1079) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : Fix `Auth.handleRequest()` causing error in middleware when `nextjs()` was used +- [#1079](https://github.com/1ifeworld/lucia/pull/1079) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : Fix `Auth.handleRequest()` causing error in middleware when `nextjs()` was used ## 2.4.2 ### Patch changes -- [#1046](https://github.com/pilcrowOnPaper/lucia/pull/1046) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : Fix `AuthRequest.validateBearerToken()` returning `null` when session is idle +- [#1046](https://github.com/1ifeworld/lucia/pull/1046) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : Fix `AuthRequest.validateBearerToken()` returning `null` when session is idle ## 2.4.1 ### Patch changes -- [#1041](https://github.com/pilcrowOnPaper/lucia/pull/1041) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : Support Astro v3 +- [#1041](https://github.com/1ifeworld/lucia/pull/1041) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : Support Astro v3 ## 2.4.0 ### Minor changes -- [#986](https://github.com/pilcrowOnPaper/lucia/pull/986) by [@KazuumiN](https://github.com/KazuumiN) : Fixed `updateKeyPassword()` to return a `Promise` +- [#986](https://github.com/1ifeworld/lucia/pull/986) by [@KazuumiN](https://github.com/KazuumiN) : Fixed `updateKeyPassword()` to return a `Promise` ### Patch changes -- [#980](https://github.com/pilcrowOnPaper/lucia/pull/980) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : Remove unused and undocumented `csrfProtection.baseDomain` configuration +- [#980](https://github.com/1ifeworld/lucia/pull/980) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : Remove unused and undocumented `csrfProtection.baseDomain` configuration -- [#985](https://github.com/pilcrowOnPaper/lucia/pull/985) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : Fix Lucia throwing `AUTH_OUTDATED_PASSWORD` when using Bcrypt +- [#985](https://github.com/1ifeworld/lucia/pull/985) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : Fix Lucia throwing `AUTH_OUTDATED_PASSWORD` when using Bcrypt ## 2.3.0 ### Minor changes -- [#958](https://github.com/pilcrowOnPaper/lucia/pull/958) by [@aust1nz](https://github.com/aust1nz) : Add `fastify()` middleware +- [#958](https://github.com/1ifeworld/lucia/pull/958) by [@aust1nz](https://github.com/aust1nz) : Add `fastify()` middleware ## 2.2.0 ### Minor changes -- [#944](https://github.com/pilcrowOnPaper/lucia/pull/944) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : Add `hono()` middleware +- [#944](https://github.com/1ifeworld/lucia/pull/944) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : Add `hono()` middleware ## 2.1.0 ### Minor changes -- [#911](https://github.com/pilcrowOnPaper/lucia/pull/911) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : Allow `null` in `csrfProtection.allowedSubdomains` configuration array +- [#911](https://github.com/1ifeworld/lucia/pull/911) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : Allow `null` in `csrfProtection.allowedSubdomains` configuration array ## 2.0.0 ### Major changes -- [#884](https://github.com/pilcrowOnPaper/lucia/pull/884) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : Update version +- [#884](https://github.com/1ifeworld/lucia/pull/884) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : Update version ## 2.0.0-beta.7 ### Major changes -- [#866](https://github.com/pilcrowOnPaper/lucia/pull/866) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : Rename `cookieName` to `sessionCookieName` in `Middleware` +- [#866](https://github.com/1ifeworld/lucia/pull/866) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : Rename `cookieName` to `sessionCookieName` in `Middleware` ### Minor changes -- [#864](https://github.com/pilcrowOnPaper/lucia/pull/864) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : Export `generateLuciaPasswordHash`, `validateLuciaPasswordHash` from `/utils` +- [#864](https://github.com/1ifeworld/lucia/pull/864) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : Export `generateLuciaPasswordHash`, `validateLuciaPasswordHash` from `/utils` ### Patch changes -- [#849](https://github.com/pilcrowOnPaper/lucia/pull/849) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : Remove Node dependent type check +- [#849](https://github.com/1ifeworld/lucia/pull/849) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : Remove Node dependent type check -- [#848](https://github.com/pilcrowOnPaper/lucia/pull/848) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : Normalize string before comparing when validating hashes +- [#848](https://github.com/1ifeworld/lucia/pull/848) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : Normalize string before comparing when validating hashes ## 2.0.0-beta.6 ### Major changes -- [#836](https://github.com/pilcrowOnPaper/lucia/pull/836) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : User ids and session ids only consist of lowercase letters and numbers by default +- [#836](https://github.com/1ifeworld/lucia/pull/836) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : User ids and session ids only consist of lowercase letters and numbers by default -- [#839](https://github.com/pilcrowOnPaper/lucia/pull/839) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : `AuthRequest.validate()` and `Auth.validateBearerToken()` throws database errors +- [#839](https://github.com/1ifeworld/lucia/pull/839) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : `AuthRequest.validate()` and `Auth.validateBearerToken()` throws database errors ### Minor changes -- [#838](https://github.com/pilcrowOnPaper/lucia/pull/838) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : Add `Auth.transformDatabaseUser()`, `Auth.transformDatabaseKey()`, and `Auth.transformDatabaseSession()` +- [#838](https://github.com/1ifeworld/lucia/pull/838) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : Add `Auth.transformDatabaseUser()`, `Auth.transformDatabaseKey()`, and `Auth.transformDatabaseSession()` -- [#838](https://github.com/pilcrowOnPaper/lucia/pull/838) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : Export `createKeyId()` +- [#838](https://github.com/1ifeworld/lucia/pull/838) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : Export `createKeyId()` ## 2.0.0-beta.5 ### Major changes -- [#812](https://github.com/pilcrowOnPaper/lucia/pull/812) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : Remove `allowedRequestOrigins` configuration +- [#812](https://github.com/1ifeworld/lucia/pull/812) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : Remove `allowedRequestOrigins` configuration ### Patch changes -- [#815](https://github.com/pilcrowOnPaper/lucia/pull/815) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : Fix `getSessionAndUser()` adapter method getting called when using session adapters +- [#815](https://github.com/1ifeworld/lucia/pull/815) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : Fix `getSessionAndUser()` adapter method getting called when using session adapters ## 2.0.0-beta.4 ### Patch changes -- [#799](https://github.com/pilcrowOnPaper/lucia/pull/799) by [@ernestoresende](https://github.com/ernestoresende) : fix `nextjs` middleware runtime errors on app router +- [#799](https://github.com/1ifeworld/lucia/pull/799) by [@ernestoresende](https://github.com/ernestoresende) : fix `nextjs` middleware runtime errors on app router -- [#801](https://github.com/pilcrowOnPaper/lucia/pull/801) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : Fix `express()` middleware returning broken request url +- [#801](https://github.com/1ifeworld/lucia/pull/801) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : Fix `express()` middleware returning broken request url ## 2.0.0-beta.3 ### Major changes -- [#773](https://github.com/pilcrowOnPaper/lucia/pull/773) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : Update `web()` middleware +- [#773](https://github.com/1ifeworld/lucia/pull/773) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : Update `web()` middleware -- [#772](https://github.com/pilcrowOnPaper/lucia/pull/772) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : Update `Auth.createSession()` params +- [#772](https://github.com/1ifeworld/lucia/pull/772) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : Update `Auth.createSession()` params -- [#772](https://github.com/pilcrowOnPaper/lucia/pull/772) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : Update `Auth.createKey()` params +- [#772](https://github.com/1ifeworld/lucia/pull/772) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : Update `Auth.createKey()` params -- [#773](https://github.com/pilcrowOnPaper/lucia/pull/773) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : Remove `AuthRequest.renewBearerToken()` +- [#773](https://github.com/1ifeworld/lucia/pull/773) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : Remove `AuthRequest.renewBearerToken()` -- [#773](https://github.com/pilcrowOnPaper/lucia/pull/773) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : Update `nextjs()` middleware +- [#773](https://github.com/1ifeworld/lucia/pull/773) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : Update `nextjs()` middleware -- [#773](https://github.com/pilcrowOnPaper/lucia/pull/773) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : Overhaul session renewal +- [#773](https://github.com/1ifeworld/lucia/pull/773) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : Overhaul session renewal - Remove `Auth.renewSession()` - Add `sessionCookie.expires` configuration -- [#772](https://github.com/pilcrowOnPaper/lucia/pull/772) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : Remove `generateUserId()` configuration +- [#772](https://github.com/1ifeworld/lucia/pull/772) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : Remove `generateUserId()` configuration -- [#772](https://github.com/pilcrowOnPaper/lucia/pull/772) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : Add optional `userId` to `Auth.createUser()` params +- [#772](https://github.com/1ifeworld/lucia/pull/772) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : Add optional `userId` to `Auth.createUser()` params ## 2.0.0-beta.2 ### Major changes -- [#739](https://github.com/pilcrowOnPaper/lucia/pull/739) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : `Auth.readSessionCookie()` and `Auth.readBearerToken()` takes the session and authorization header value respectively +- [#739](https://github.com/1ifeworld/lucia/pull/739) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : `Auth.readSessionCookie()` and `Auth.readBearerToken()` takes the session and authorization header value respectively -- [#754](https://github.com/pilcrowOnPaper/lucia/pull/754) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : `Auth.validateRequestOrigin()` checks for CSRF regardless of `csrfProtection` config +- [#754](https://github.com/1ifeworld/lucia/pull/754) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : `Auth.validateRequestOrigin()` checks for CSRF regardless of `csrfProtection` config -- [#753](https://github.com/pilcrowOnPaper/lucia/pull/753) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : Rename `requestOrigins` config to `allowedRequestOrigins` +- [#753](https://github.com/1ifeworld/lucia/pull/753) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : Rename `requestOrigins` config to `allowedRequestOrigins` ### Minor changes -- [#739](https://github.com/pilcrowOnPaper/lucia/pull/739) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : Add `AuthRequest.renewBearerToken()` +- [#739](https://github.com/1ifeworld/lucia/pull/739) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : Add `AuthRequest.renewBearerToken()` -- [#752](https://github.com/pilcrowOnPaper/lucia/pull/752) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : Export `parseCookie()` from `/utils` +- [#752](https://github.com/1ifeworld/lucia/pull/752) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : Export `parseCookie()` from `/utils` ### 2.0.0-beta.1 #### Patch changes -- [#735](https://github.com/pilcrowOnPaper/lucia/pull/735) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : Fix `Session.fresh` fixed to `false` +- [#735](https://github.com/1ifeworld/lucia/pull/735) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : Fix `Session.fresh` fixed to `false` ### 2.0.0-beta.0 #### Major changes -- [#682](https://github.com/pilcrowOnPaper/lucia/pull/682) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : Update configuration +- [#682](https://github.com/1ifeworld/lucia/pull/682) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : Update configuration - Remove `autoDatabaseCleanup` @@ -286,7 +286,7 @@ See the [migration guide](https://v3.lucia-auth.com/upgrade-v3). - Add `transformSessionAttributes()` for defining session attributes -- [#682](https://github.com/pilcrowOnPaper/lucia/pull/682) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : Update `Auth` methods: +- [#682](https://github.com/1ifeworld/lucia/pull/682) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : Update `Auth` methods: - Remove `getSessionUser()` @@ -298,7 +298,7 @@ See the [migration guide](https://v3.lucia-auth.com/upgrade-v3). - Add `validateRequestOrigin()` -- [#682](https://github.com/pilcrowOnPaper/lucia/pull/682) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : Remove primary keys +- [#682](https://github.com/1ifeworld/lucia/pull/682) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : Remove primary keys - Remove `Key.primary` @@ -306,7 +306,7 @@ See the [migration guide](https://v3.lucia-auth.com/upgrade-v3). - Remove column `key(primary_key)` -- [#682](https://github.com/pilcrowOnPaper/lucia/pull/682) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : Remove single use keys +- [#682](https://github.com/1ifeworld/lucia/pull/682) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : Remove single use keys - **Lucia v2 no longer supports `@lucia-auth/tokens`** @@ -316,21 +316,21 @@ See the [migration guide](https://v3.lucia-auth.com/upgrade-v3). - Remove column `key(expires)` -- [#682](https://github.com/pilcrowOnPaper/lucia/pull/682) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : Update `Session` +- [#682](https://github.com/1ifeworld/lucia/pull/682) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : Update `Session` - Remove `Session.userId` - Add `Session.user` -- [#682](https://github.com/pilcrowOnPaper/lucia/pull/682) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : Remove `AuthRequest.validateUser()` +- [#682](https://github.com/1ifeworld/lucia/pull/682) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : Remove `AuthRequest.validateUser()` -- [#682](https://github.com/pilcrowOnPaper/lucia/pull/682) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : Introduce custom session attributes +- [#682](https://github.com/1ifeworld/lucia/pull/682) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : Introduce custom session attributes - Update `Auth.createSession()` params - Update behavior of `Auth.renewSession()` to include attributes of old session to renewed session automatically -- [#682](https://github.com/pilcrowOnPaper/lucia/pull/682) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : Overhaul adapter API +- [#682](https://github.com/1ifeworld/lucia/pull/682) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : Overhaul adapter API - Remove `UserAdapter.updateUserAttributes()` @@ -356,7 +356,7 @@ See the [migration guide](https://v3.lucia-auth.com/upgrade-v3). - Rename type `AdapterFunction` to `InitializeAdapter` -- [#682](https://github.com/pilcrowOnPaper/lucia/pull/682) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : Update adapter specifications +- [#682](https://github.com/1ifeworld/lucia/pull/682) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : Update adapter specifications - Insert and update methods do not return anything @@ -364,7 +364,7 @@ See the [migration guide](https://v3.lucia-auth.com/upgrade-v3). - Insert methods do not throw Lucia errors on duplicate session and user ids -- [#682](https://github.com/pilcrowOnPaper/lucia/pull/682) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : Remove errors: +- [#682](https://github.com/1ifeworld/lucia/pull/682) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : Remove errors: - `AUTH_DUPLICATE_SESSION_ID` @@ -372,11 +372,11 @@ See the [migration guide](https://v3.lucia-auth.com/upgrade-v3). - `AUTH_EXPIRED_KEY` -- [#682](https://github.com/pilcrowOnPaper/lucia/pull/682) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : Remove auto database clean up functionality +- [#682](https://github.com/1ifeworld/lucia/pull/682) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : Remove auto database clean up functionality -- [#682](https://github.com/pilcrowOnPaper/lucia/pull/682) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : Update `Middleware` takes a new `Context` params +- [#682](https://github.com/1ifeworld/lucia/pull/682) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : Update `Middleware` takes a new `Context` params -- [#682](https://github.com/pilcrowOnPaper/lucia/pull/682) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : Update exports: +- [#682](https://github.com/1ifeworld/lucia/pull/682) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : Update exports: - **Replace default export with named `lucia()`** @@ -386,11 +386,11 @@ See the [migration guide](https://v3.lucia-auth.com/upgrade-v3). - Removed `Cookie` -- [#682](https://github.com/pilcrowOnPaper/lucia/pull/682) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : Rename `SESSION_COOKIE_NAME` to `DEFAULT_SESSION_COOKIE_NAME` +- [#682](https://github.com/1ifeworld/lucia/pull/682) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : Rename `SESSION_COOKIE_NAME` to `DEFAULT_SESSION_COOKIE_NAME` -- [#682](https://github.com/pilcrowOnPaper/lucia/pull/682) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : **NPM package `lucia-auth` is renamed to `lucia`** +- [#682](https://github.com/1ifeworld/lucia/pull/682) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : **NPM package `lucia-auth` is renamed to `lucia`** -- [#682](https://github.com/pilcrowOnPaper/lucia/pull/682) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : Update `RequestContext`: +- [#682](https://github.com/1ifeworld/lucia/pull/682) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : Update `RequestContext`: - Add `RequestContext.headers.authorization` @@ -398,13 +398,13 @@ See the [migration guide](https://v3.lucia-auth.com/upgrade-v3). #### Minor changes -- [#682](https://github.com/pilcrowOnPaper/lucia/pull/682) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : Support bearer tokens +- [#682](https://github.com/1ifeworld/lucia/pull/682) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : Support bearer tokens - Add `Auth.readBearerToken()` - Add `AuthRequest.validateBearerToken()` -- [#682](https://github.com/pilcrowOnPaper/lucia/pull/682) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : New `lucia/utils` export: +- [#682](https://github.com/1ifeworld/lucia/pull/682) by [@pilcrowOnPaper](https://github.com/pilcrowOnPaper) : New `lucia/utils` export: - `generateRandomString()` diff --git a/packages/lucia/README.md b/packages/lucia/README.md index 4a60202b6..254d3cbbe 100644 --- a/packages/lucia/README.md +++ b/packages/lucia/README.md @@ -4,7 +4,7 @@ An open source auth library that abstracts away the complexity of handling sessi **[Documentation](https://v3.lucia-auth.com)** -**[Changelog](https://github.com/pilcrowOnPaper/lucia/blob/main/packages/lucia/CHANGELOG.md)** +**[Changelog](https://github.com/1ifeworld/lucia/blob/main/packages/lucia/CHANGELOG.md)** ## Installation diff --git a/packages/lucia/package.json b/packages/lucia/package.json index 9ed405887..a467223f8 100644 --- a/packages/lucia/package.json +++ b/packages/lucia/package.json @@ -1,5 +1,5 @@ { - "name": "lucia", + "name": "@lifeworld/lucia", "version": "3.2.1", "description": "A simple and flexible authentication library", "main": "dist/index.js", @@ -24,7 +24,7 @@ ], "repository": { "type": "git", - "url": "https://github.com/pilcrowOnPaper/lucia", + "url": "https://github.com/1ifeworld/lucia", "directory": "packages/lucia" }, "author": "pilcrowonpaper",