Repository navigation
What's Changed
- Remove getResultsStrictTyped and impossible return types by @kamil-tekiela in #173
- Improve mutation testing coverage by @paragonie-security in #175
- handle PDO::FETCH_COLUMN in row() (#174) by @paragonie-security in #176
- Deep review fixes by @paragonie-security in #178
- Bulk inserts preserve column bindings.
insertMany()now matches values by column name, regardless of each row’s key order, and rejects rows with different columns. This prevents values such as tenant IDs and resource IDs from getting swapped. - Updates and deletes preserve named parameters. Conditions supplied through
EasyStatementretain their parameter names instead of being converted into positional values, keeping the query pointed at the intended rows. - Empty membership groups stay false. When empty
INlists are allowed, an otherwise emptyorIn()group becomes1 = 0, preventing it from broadening a filter to all rows. - Identifiers that normalize to empty are rejected. This includes NUL-only identifiers, with a regression test showing that such a delete condition cannot delete every row.
- Duplicate normalized INSERT columns are rejected. Keys such as
tenant_idandtenant_idcannot collapse into the same SQL column and undermine a trusted assignment.
- Bulk inserts preserve column bindings.
Full Changelog: v3.1.1...v3.2.0