From 34a39c6fe4164e449173a68c253cd07665c76076 Mon Sep 17 00:00:00 2001 From: pilcrowOnPaper Date: Sun, 28 Jan 2024 18:31:25 +0900 Subject: [PATCH] update version --- packages/lucia/CHANGELOG.md | 4 ++++ packages/lucia/package.json | 2 +- packages/lucia/src/crypto.test.ts | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/packages/lucia/CHANGELOG.md b/packages/lucia/CHANGELOG.md index 7c95f0f38..b41cb39f9 100644 --- a/packages/lucia/CHANGELOG.md +++ b/packages/lucia/CHANGELOG.md @@ -1,5 +1,9 @@ # lucia +## 3.0.1 + +- Fix `LegacyScrypt` generating malformed hash (see [#1370](https://github.com/lucia-auth/lucia/pull/1370)) - no security concerns + ## 3.0.0 See the [migration guide](https://v3.lucia-auth.com/upgrade-v3). diff --git a/packages/lucia/package.json b/packages/lucia/package.json index f5325105e..3be519a2e 100644 --- a/packages/lucia/package.json +++ b/packages/lucia/package.json @@ -1,6 +1,6 @@ { "name": "lucia", - "version": "3.0.0", + "version": "3.0.1", "description": "A simple and flexible authentication library", "main": "dist/index.js", "types": "dist/index.d.ts", diff --git a/packages/lucia/src/crypto.test.ts b/packages/lucia/src/crypto.test.ts index 57668c7aa..07eec7e54 100644 --- a/packages/lucia/src/crypto.test.ts +++ b/packages/lucia/src/crypto.test.ts @@ -18,4 +18,4 @@ test("LegacyScrypt", async () => { await expect(scrypt.verify(hash, password)).resolves.toBe(true); const falsePassword = encodeHex(crypto.getRandomValues(new Uint8Array(32))); await expect(scrypt.verify(hash, falsePassword)).resolves.toBe(false); -}) \ No newline at end of file +});