Skip to content

Releases: staabm/phpstan-dba

0.2.35

27 May 14:20
10ee1d3

Choose a tag to compare

What's Changed

  • Query Plan Analysis: Reduce default numberOfRowsNotRequiringIndex to 0 by @staabm in #388

Full Changelog: 0.2.34...0.2.35

0.2.34

27 May 13:03
cde6423

Choose a tag to compare

What's Changed

  • Fix QueryPlanAnalyser with dynamic offset and limit params by @keulinho in #390

New Contributors

Full Changelog: 0.2.33...0.2.34

0.2.33

25 May 19:35
bec52f4

Choose a tag to compare

What's Changed

Full Changelog: 0.2.32...0.2.33

0.2.32

25 May 15:11
26db24e

Choose a tag to compare

New Features

  • Within your phpstan-dba-bootstrap.php file, you can optionally enable query plan analysis.
    When enabled, phpstan-dba will error when queries are not using indices or queries are inefficient.
    DEMO

What's Changed

Full Changelog: 0.2.31...0.2.32

0.2.31

24 May 20:40
fa34896

Choose a tag to compare

What's Changed

  • pgsql fixes for syntax error detection in some cases by @staabm in #379
  • Infer default-result type when sql queries cannot be inferred by @staabm in #373

Full Changelog: 0.2.30...0.2.31

0.2.30

23 May 13:23
a5c7e09

Choose a tag to compare

Notable Changes

  • Fixed a few glitches when working with the recording feature and using the record-information across operating systems
  • PdoQueryReflector was marked as deprecated and PdoMysqlQueryReflector should be used as a 1:1 replacement instead
    • we won't drop PdoQueryReflector in the near future though

What's Changed

  • introduce PdoMysqlQueryReflector and deprecate PdoQueryReflector by @staabm in #370
  • cleanup internal types by @staabm in #362
  • make sure recording information works consistent across OS (line delims) by @staabm in #374
  • normalize EOL also in prepared queries by @staabm in #375
  • trim queries for cross-OS compat by @staabm in #376

Full Changelog: 0.2.29...0.2.30

0.2.29

21 May 21:26
0f28e72

Choose a tag to compare

Notable Changes

What's Changed

Full Changelog: 0.2.28...0.2.29

0.2.28

20 May 15:29
5c112b0

Choose a tag to compare

Notable Changes

What's Changed

Full Changelog: 0.2.27...0.2.28

0.2.27

19 May 19:48
8268bbe

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 0.2.26...0.2.27

0.2.26

18 May 15:56
e435a38

Choose a tag to compare

This is the first release which supports pgsql databases (beta quality).

Early adopters can find a preliminary description on how to enable pgsql-support.

Notable Changes

Full Changelog: 0.2.25...0.2.26