Skip to content

Commit

Permalink
DOC Add new query trace comment to changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
GuySartorelli committed Nov 22, 2023
1 parent a25f9a0 commit 20f8546
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions en/04_Changelogs/5.2.0.md
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,7 @@ The files section of the CMS now has buttons to select and deselect all files an
### Other new features
- A new [`SiteTree.hide_pagetypes`](api:SilverStripe\CMS\Model\SiteTree->hide_pagetypes) configuration property has been added. Unlike [`SiteTree.hide_ancestor`](api:SilverStripe\CMS\Model\SiteTree->hide_ancestor) (which has [now been deprecated](#api-silverstripe-cms)), this is an array. This allows you to define all page types that should be hidden in a single configuration property in your yaml configuration.
- In dev mode, database queries will automatically have a comment indicating where they were executed from. This can be useful when debugging slow queries, e.g. with the [`showqueries` query string](/developer_guides/debugging/url_variable_tools/#database).

## API changes

Expand Down

0 comments on commit 20f8546

Please sign in to comment.