# @lucia-auth/adapter-mysql

## 3.0.2

-   PlanetScale adapter accepts both `Client` and `Connection` ([#1459](https://github.com/lucia-auth/lucia/pull/1459)).

## 3.0.1

-   Update dependencies.

## 3.0.0

See the [migration guide](https://v3.lucia-auth.com/upgrade-v3/mysql).

## 2.1.0

### Minor changes

-   [#1126](https://github.com/lucia-auth/lucia/pull/1126) by [@jonathanharg](https://github.com/jonathanharg) : Added support for client Connection and fixed a bug in Pool connections.

## 2.0.0

### Major changes

-   [#885](https://github.com/pilcrowOnPaper/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

### Patch changes

-   [#859](https://github.com/pilcrowOnPaper/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

## 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()`

-   [#812](https://github.com/pilcrowOnPaper/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

## 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`

## 2.0.0-beta.3

### Patch changes

-   [#768](https://github.com/pilcrowOnPaper/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

## 2.0.0-beta.1

-   [#731](https://github.com/pilcrowOnPaper/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

## 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`

### 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()`

## 1.1.1

### Patch changes

-   [#579](https://github.com/pilcrowOnPaper/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
