From 56647bf2a301ed9317bc586f34fb642c587d9364 Mon Sep 17 00:00:00 2001 From: brandonkelly Date: Mon, 27 May 2024 15:38:37 -0700 Subject: [PATCH] Release notes [ci skip] --- CHANGELOG-WIP.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/CHANGELOG-WIP.md b/CHANGELOG-WIP.md index c13233e3383..200e4adeced 100644 --- a/CHANGELOG-WIP.md +++ b/CHANGELOG-WIP.md @@ -12,6 +12,7 @@ - GraphQL schema edit pages now have a “Save and continue editing” alternate action. ### Development +- Added the `{% expires %}` tag, which simplifies setting cache headers on the response. ([#14969](https://github.com/craftcms/cms/pull/14969)) - Added `craft\elements\ElementCollection::find()`, which can return an element or elements in the collection based on a given element or ID. ([#15023](https://github.com/craftcms/cms/discussions/15023)) - Added `craft\elements\ElementCollection::fresh()`, which reloads each of the collection elements from the database. ([#15023](https://github.com/craftcms/cms/discussions/15023)) - `craft\elements\ElementCollection::contains()` now returns `true` if an element is passed in and the collection contains an element with the same ID and site ID; or if an integer is passed in and the collection contains an element with the same ID. ([#15023](https://github.com/craftcms/cms/discussions/15023)) @@ -31,6 +32,8 @@ - Added `craft\db\setRestoreFormat()`. - Added `craft\events\InvalidateElementcachesEvent::$element`. - Added `craft\fields\BaseRelationField::existsQueryCondition()`. +- Added `craft\helpers\DateTimeHelper::relativeTimeStatement()`. +- Added `craft\helpers\DateTimeHelper::relativeTimeToSeconds()`. - Added `craft\helpers\StringHelper::indent()`. - Added `craft\queue\Queue::getJobId()`. - `craft\elements\ElementCollection::with()` now supports collections made up of multiple element types.