Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DOC Staticpublishqueue changelog entry #331

Merged
merged 1 commit into from
Aug 30, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions en/04_Changelogs/5.1.0.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ title: 5.1.0 (unreleased)
- [New `InheritedPermissions` option - only these members](#only-these-members)
- [Optimised queries when filtering against IDs](#filter-by-ids)
- [Session manager anonymize stored IP addresses](#session-manager-ip)
- [Static publish queue related page regeneration](#staticpublishqueue-regeneration)
- [Other new features](#other-features)
- [API changes](#api-changes)
- [Dependency changes](#dependency-changes)
Expand Down Expand Up @@ -119,6 +120,23 @@ SilverStripe\SessionManager\Models\LoginSession:
anonymize_ip: true
```

### Static publish queue related page regeneration {#staticpublishqueue-regeneration}

New configuration options have been added to [Static Publish Queue](https://github.com/silverstripe/silverstripe-staticpublishqueue) to force regeneration of related pages after publishing or unpublishing a related page. You can enable this with the following configuration:

```yml
SilverStripe\CMS\Model\SiteTree:
regenerate_children: recursive
regenerate_parents: recursive
```

GuySartorelli marked this conversation as resolved.
Show resolved Hide resolved
Available options are:
- `none`: Do not regenerate any parent or child hierarchy
- `direct`: Regenerate only one level above or below (direct parent or children, but not grandparent or grandchildren)
- `recursive`: Regenerate the entire parent or child hierarchy

Read more about new [configuration options](https://github.com/silverstripe/silverstripe-staticpublishqueue/blob/6/docs/en/basic_configuration.md#control-when-childparent-pages-are-regenerated-in-cache-actions).

### Other new features

- You can now exclude specific `DataObject` models from the check and repair step of `dev/build` - see [ORM Performance](/developer_guides/performance/orm/#skip-check-and-repair) for more information.
Expand Down