Skip to content

Commit

Permalink
Bump version
Browse files Browse the repository at this point in the history
  • Loading branch information
bencroker committed Feb 25, 2024
1 parent 62d51ec commit c411de5
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 3 deletions.
6 changes: 5 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
# Release Notes for Blitz

## 4.11.3 - Unreleased
## 4.12.0 - Unreleased

### Added

- Added a new `excludedTrackedElementQueryParams` config setting that can be used to exclude params when storing tracked element queries.

### Changed

Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "putyourlightson/craft-blitz",
"description": "Intelligent static page caching for creating lightning-fast sites.",
"version": "4.11.3",
"version": "4.12.0",
"type": "craft-plugin",
"homepage": "https://putyourlightson.com/plugins/blitz",
"license": "proprietary",
Expand Down
5 changes: 4 additions & 1 deletion src/config.php
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,10 @@
//'trackElementQueries' => true,

// The element query params to exclude when storing tracked element queries.
//'excludedTrackedElementQueryParams' => [],
//'excludedTrackedElementQueryParams' => [
// 'limit',
// 'offset',
//],

// The amount of time after which the cache should expire (if not 0). See [[ConfigHelper::durationInSeconds()]] for a list of supported value types.
//'cacheDuration' => 0,
Expand Down
5 changes: 5 additions & 0 deletions src/models/SettingsModel.php
Original file line number Diff line number Diff line change
Expand Up @@ -329,6 +329,11 @@ class SettingsModel extends Model

/**
* The element query params to exclude when storing tracked element queries.
*
* [
* 'limit',
* 'offset',
* ]
*/
public array $excludedTrackedElementQueryParams = [];

Expand Down

0 comments on commit c411de5

Please sign in to comment.