Skip to content

Commit 6ee895c

Browse files
committed
Release 2.2.1
1 parent 958986a commit 6ee895c

4 files changed

Lines changed: 18 additions & 1 deletion

File tree

CHANGELOG.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,18 @@
11
# Changelog
22

3+
# [2.2.1](https://github.com/getformwork/formwork/releases/tag/2.1.3)
4+
5+
**Enhancements**
6+
- **Add `PageCollection::routable()` to filter routable pages**
7+
- **Add `Page::delete()`**
8+
- Preview pages as published regardless of their actual status
9+
- Allow preview of non-routable pages
10+
- Store tabs state in localStorage to persist between panel views loads
11+
12+
**Bug fixes**
13+
- Fix query and fragment being removed by `Uri::resolveRelative()`
14+
- Fix duplicate page button in the panel remaining disabled even if all children pages were removed
15+
316
# [2.2.0](https://github.com/getformwork/formwork/releases/tag/2.2.0)
417

518
**Enhancements**

formwork/src/Cms/App.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ final class App
4949
/**
5050
* Current Formwork version
5151
*/
52-
public const string VERSION = '2.2.0';
52+
public const string VERSION = '2.2.1';
5353

5454
/**
5555
* App services container

formwork/src/Pages/Page.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -805,6 +805,8 @@ public function duplicate(array $with = [], ?string $language = null): Page
805805
/**
806806
* Delete the page
807807
*
808+
* @since 2.2.1
809+
*
808810
* @param bool $allLanguages Whether to delete all language versions of the page
809811
*
810812
* @throws RuntimeException If the page is not deletable

formwork/src/Pages/PageCollection.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,8 @@ public function published(): static
7777

7878
/**
7979
* Get all the routable pages in the collection
80+
*
81+
* @since 2.2.1
8082
*/
8183
public function routable(): static
8284
{

0 commit comments

Comments
 (0)