Skip to content

Remove parameter interpolation - #219

Merged
joshmgross merged 1 commit into
mainfrom
rm-parameter-interpolation
Sep 23, 2026
Merged

joshmgross merged 1 commit into
mainfrom
rm-parameter-interpolation

Conversation

@joshmgross

Copy link
Copy Markdown
Contributor

Interpolating and sanitizing SQL parameters requires context specific knowledge, resulting in a potential security footgun for library consumers - #218. Application clients are better suited using a dedicated SQL parameter escaping library such as https://github.com/mysqljs/sql-escaper.

This removes any parameter interpolation and arguments, clients should pass fully-formed SQL. This is a breaking change and will be part of a new v2 major version release.

@joshmgross
joshmgross requested review from a team and mattrobenolt as code owners September 23, 2026 20:40
@joshmgross
joshmgross merged commit d7f90ad into main Sep 23, 2026
9 checks passed
@joshmgross
joshmgross deleted the rm-parameter-interpolation branch September 23, 2026 21:55
This was referenced Sep 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants