Skip to content

Commit

Permalink
Merge pull request #393 from creative-commoners/pulls/5/hide-pagetype…
Browse files Browse the repository at this point in the history
…s-config

DOC Document new hide_pagetypes config
  • Loading branch information
sabina-talipova authored Nov 5, 2023
2 parents 27e7ec2 + c04c2e0 commit c9f84fa
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions en/04_Changelogs/5.2.0.md
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,8 @@ This only applies to users created through the security section of the CMS. User
### 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.

## API changes

### silverstripe/framework {#api-silverstripe-framework}
Expand All @@ -109,6 +111,10 @@ The following legacy subclasses of [`PasswordEncryptor`](api:SilverStripe\Securi
- [`PasswordEncryptor_MySQLOldPassword`](api:SilverStripe\Security\PasswordEncryptor_MySQLOldPassword)
- [`PasswordEncryptor_MySQLPassword`](api:SilverStripe\Security\PasswordEncryptor_MySQLPassword)

### silverstripe/cms {#api-silverstripe-cms}

The [`SiteTree.hide_ancestor`](api:SilverStripe\CMS\Model\SiteTree->hide_ancestor) configuration property has been deprecated. Use [`SiteTree.hide_pagetypes`](api:SilverStripe\CMS\Model\SiteTree->hide_pagetypes) instead.

## Bug fixes

This release includes a number of bug fixes to improve a broad range of areas. Check the change logs for full details of these fixes split by module. Thank you to the community members that helped contribute these fixes as part of the release!
Expand Down

0 comments on commit c9f84fa

Please sign in to comment.