0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-04-01 02:41:39 -05:00
ghost/core
Daniel Lockyer bf6f607f42 Switched to mysql2 library
refs https://github.com/TryGhost/Toolbox/issues/174

- this commit switches Ghost from using the `mysql` library to the
  `mysql2` one
- we've done this for several reasons:
  - `mysql2` is more actively maintained
  - `mysql2` natively supports the default auth plugin on MySQL 8
  - `mysql2` is fasterrrr
- there have been various other commits refactoring the groundwork for
  this commit but this commit should be short and sweet:
  - alias `mysql` to `mysql2` client so we maintain backwards
    compatibility with all configs who use `"client": "mysql"`
  - enabled `decimalNumbers` so we maintain the same functionality as
    `mysql`
  - replaced the dependencies and updated `knex-migrator`
  - hardcoded the newer authentication plugin in MySQL 8 CI. Before
    switching to `mysql2`, this would break because it didn't support
    this
2022-03-03 09:59:37 +01:00
..
client@00fdd59b1d Updated Admin to v4.37.0 2022-02-25 16:00:27 +00:00
frontend Added the last_seen_at update on member page view 2022-03-02 13:58:26 +01:00
server Switched to mysql2 library 2022-03-03 09:59:37 +01:00
shared Switched to mysql2 library 2022-03-03 09:59:37 +01:00
app.js Fixed express app stacking 2021-12-06 21:28:53 +13:00
boot.js Added handler for unhandled rejections 2022-02-18 10:35:36 +01:00
bridge.js 💡 Pinned frontend API version to canary 2022-02-17 17:55:55 +00:00