0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-27 22:49:56 -05:00
ghost/core/shared
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
..
config Switched to mysql2 library 2022-03-03 09:59:37 +01:00
settings-cache Swapped to American English spellings 2021-08-09 13:35:01 +04:00
custom-theme-settings-cache.js Added syncing and theme exposure of custom theme settings (#13354) 2021-09-23 12:44:39 +01:00
express.js Fixed typo 2021-12-06 21:28:53 +13:00
html-to-plaintext.js Inlined package requires to save boot time and memory 2021-10-22 09:57:59 +02:00
labs.js Added membersTimeFilters labs flag 2022-03-02 21:35:57 +00:00
sentry.js Switch to @tryghost/errors from ignition errors package (#13807) 2021-12-01 10:22:01 +00:00
url-utils.js Updated to use config-url-helpers in urlUtils 2021-06-18 21:49:28 +01:00