Skip to content

Commit 9de39b8

Browse files
committed
Merge remote-tracking branch 'origin/6.x' into fieldset-sections
2 parents 9c2f4f1 + c6e305e commit 9de39b8

345 files changed

Lines changed: 10494 additions & 3367 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.claude/skills/changelog/SKILL.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Run `git --no-pager log $(git describe --tags --abbrev=0)..HEAD --oneline --no-d
1515
For each commit:
1616
- Extract the PR number from the commit message (e.g., `(#13331)`)
1717
- Remove the commit SHA and `[6.x]` prefix from the message
18-
- Fetch the PR author from GitHub using `gh pr view <number> --json author --jq '.author.login'` for all PRs in a single command.
18+
- Fetch the PR author from GitHub using a sequential loop — do NOT use parallel background jobs (`&`) as they interleave stdout unpredictably. Use: `for pr in <numbers>; do echo -n "PR $pr: "; gh pr view $pr --json author --jq '.author.login'; done`
1919

2020
## 3. Skip certain commits
2121

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,5 @@ composer.lock
1717
.env
1818
bundle-stats.html
1919
.claude/settings.local.json
20+
polyscope.json
2021
storybook-static

.npmrc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
ignore-scripts=true
2+
min-release-age=3

.storybook/main.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,10 @@ const config: StorybookConfig = {
2525
'@api': resolve(process.cwd(), 'resources/js/api.js'),
2626
};
2727
}
28+
config.build = {
29+
...config.build,
30+
reportCompressedSize: false,
31+
};
2832
return config;
2933
},
3034
};

.storybook/preview.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ import './theme.css';
88
import {translate} from '@/translations/translator';
99
import registerUiComponents from '@/bootstrap/ui';
1010
import DateFormatter from '@/components/DateFormatter';
11+
import NumberFormatter from '@/components/NumberFormatter';
1112
import cleanCodeSnippet from './clean-code-snippet';
1213
import PortalVue from 'portal-vue';
1314
import FullscreenHeader from '@/components/publish/FullscreenHeader.vue';
@@ -63,6 +64,7 @@ setup(async (app) => {
6364

6465
app.config.globalProperties.__ = translate;
6566
app.config.globalProperties.$date = new DateFormatter;
67+
app.config.globalProperties.$number = new NumberFormatter;
6668
app.config.globalProperties.cp_url = (url) => url;
6769
app.config.globalProperties.$portals = portals;
6870
app.config.globalProperties.$stacks = stacks;

CHANGELOG.md

Lines changed: 181 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,186 @@
11
# Release Notes
22

3+
## 6.13.0 (2026-04-13)
4+
5+
### What's new
6+
- Frontend Passkeys [#14453](https://github.com/statamic/cms/issues/14453) by @duncanmcclean
7+
- Allow control over who can be impersonated in UserPolicy [#14469](https://github.com/statamic/cms/issues/14469) by @ryanmitchell
8+
9+
### What's fixed
10+
- Fix Bard arrow keys/undo [#14467](https://github.com/statamic/cms/issues/14467) by @jackmcdade
11+
- Fix visible he-tree accessibility text in tree view [#14465](https://github.com/statamic/cms/issues/14465) by @duncanmcclean
12+
- Append to Bard Entry links [#11468](https://github.com/statamic/cms/issues/11468) by @edalzell
13+
- Disable broadcast provider when broadcasting driver is null [#14471](https://github.com/statamic/cms/issues/14471) by @jasonvarga
14+
- Make the collapsible section icon smaller to fit in with the rest of UI [#14478](https://github.com/statamic/cms/issues/14478) by @jaygeorge
15+
- Add `.npmrc` file [#14477](https://github.com/statamic/cms/issues/14477) by @duncanmcclean
16+
- Fix SVG sanitization tests [#14483](https://github.com/statamic/cms/issues/14483) by @duncanmcclean
17+
- Use `cursor: pointer` when selecting from asset grid [#14487](https://github.com/statamic/cms/issues/14487) by @joshuablum
18+
- Remove negative assertions from `TestCase` [#14458](https://github.com/statamic/cms/issues/14458) by @duncanmcclean
19+
- Harden OrderBys [#14474](https://github.com/statamic/cms/issues/14474) by @duncanmcclean
20+
- Harden query value resolution [#14476](https://github.com/statamic/cms/issues/14476) by @duncanmcclean
21+
- French translations [#14479](https://github.com/statamic/cms/issues/14479) by @ebeauchamps
22+
- Bump axios from 1.14.0 to 1.15.0 [#14473](https://github.com/statamic/cms/issues/14473) by @dependabot
23+
24+
25+
26+
## 6.12.0 (2026-04-08)
27+
28+
### What's new
29+
- Add support for filtering conditions in Assets Tag [#13936](https://github.com/statamic/cms/issues/13936) by @jackmcdade
30+
31+
### What's fixed
32+
- Add padding around 2FA QR code for dark mode scanning [#14460](https://github.com/statamic/cms/issues/14460) by @duncanmcclean
33+
- Fix form submissions with non-UTF-8 data crashing the CP listing [#14461](https://github.com/statamic/cms/issues/14461) by @duncanmcclean
34+
- Remove deprecated function calls [#14457](https://github.com/statamic/cms/issues/14457) by @justindantzer
35+
- Upgrade to Vite 8 [#14459](https://github.com/statamic/cms/issues/14459) by @jasonvarga
36+
- Nested fields should respect read-only state [#14351](https://github.com/statamic/cms/issues/14351) by @duncanmcclean
37+
38+
39+
40+
## 6.11.0 (2026-04-07)
41+
42+
### What's new
43+
- Add support for public properties to PathDataManager [#11697](https://github.com/statamic/cms/issues/11697) by @marcorieser
44+
- Add ability to filter submission exports [#14432](https://github.com/statamic/cms/issues/14432) by @jasonvarga
45+
- Add elevated session guards to AssignGroups and AssignRoles actions [#14450](https://github.com/statamic/cms/issues/14450) by @jasonvarga
46+
47+
### What's fixed
48+
- Fix Stache index re-entrancy causing null URIs on cold stache [#14181](https://github.com/statamic/cms/issues/14181) by @o1y
49+
- Fix form submission types [#14430](https://github.com/statamic/cms/issues/14430) by @daun
50+
- Support decimal values in Range fieldtype [#13096](https://github.com/statamic/cms/issues/13096) by @hastinbe
51+
- Add `link` tag to allowed Antlers tags [#14438](https://github.com/statamic/cms/issues/14438) by @edalzell
52+
- Add `@default` support to Antlers content allowlists [#14440](https://github.com/statamic/cms/issues/14440) by @jasonvarga
53+
- Centralize SVG sanitization and sanitize CSS in style tags [#14442](https://github.com/statamic/cms/issues/14442) by @jasonvarga
54+
- Fix serializable_classes issues [#14443](https://github.com/statamic/cms/issues/14443) by @jasonvarga
55+
- Fix addon settings always showing as migratable [#14444](https://github.com/statamic/cms/issues/14444) by @duncanmcclean
56+
- Fix creating passkeys with JSON session serialization [#14448](https://github.com/statamic/cms/issues/14448) by @duncanmcclean
57+
- Stop auto-logging in users after password reset [#14454](https://github.com/statamic/cms/issues/14454) by @jasonvarga
58+
- Fix sync/desync on localizable nested fields [#14335](https://github.com/statamic/cms/issues/14335) by @duncanmcclean
59+
- French translations [#14431](https://github.com/statamic/cms/issues/14431) by @ebeauchamps
60+
- Bump defu from 6.1.4 to 6.1.6 [#14434](https://github.com/statamic/cms/issues/14434) by @dependabot
61+
- Bump vite from 7.1.12 to 7.3.2 [#14441](https://github.com/statamic/cms/issues/14441) by @dependabot
62+
63+
64+
65+
## 6.10.0 (2026-04-02)
66+
67+
### What's new
68+
- Default values can be computed [#14279](https://github.com/statamic/cms/issues/14279) by @edalzell
69+
- Ability to add to the filename replacements list [#14316](https://github.com/statamic/cms/issues/14316) by @edalzell
70+
71+
### What's fixed
72+
- Harden OrderBys [#14421](https://github.com/statamic/cms/issues/14421) by @jasonvarga
73+
- Serialize nocache regions before storing in cache [#14422](https://github.com/statamic/cms/issues/14422) by @jasonvarga
74+
- Fix invalid HTML `lang` attribute [#14427](https://github.com/statamic/cms/issues/14427) by @duncanmcclean
75+
- Add serializable classes to allowlist [#14416](https://github.com/statamic/cms/issues/14416) by @duncanmcclean
76+
- Filter invalid UTF-8 locales from dictionary [#14426](https://github.com/statamic/cms/issues/14426) by @duncanmcclean
77+
- Fallback to option key in listings when label is missing [#14429](https://github.com/statamic/cms/issues/14429) by @duncanmcclean
78+
- Ensure moved/removed entries are statically invalidated [#14386](https://github.com/statamic/cms/issues/14386) by @ryanmitchell
79+
- Catch axios errors in blueprint builder [#14428](https://github.com/statamic/cms/issues/14428) by @duncanmcclean
80+
- Improve error handling when requiring starter kits [#14411](https://github.com/statamic/cms/issues/14411) by @duncanmcclean
81+
- Ensure empty addon settings get default blueprint values [#14384](https://github.com/statamic/cms/issues/14384) by @ryanmitchell
82+
- Bump lodash-es from 4.17.23 to 4.18.1 [#14425](https://github.com/statamic/cms/issues/14425) by @dependabot
83+
84+
85+
86+
## 6.9.0 (2026-04-01)
87+
88+
### What's new
89+
- Add a Text component [#14247](https://github.com/statamic/cms/issues/14247) by @jaygeorge
90+
- Emit `asset.saved` event from asset editor [#14392](https://github.com/statamic/cms/issues/14392) by @duncanmcclean
91+
92+
### What's fixed
93+
- Fix collection whereStatus logic [#14380](https://github.com/statamic/cms/issues/14380) by @jackmcdade
94+
- Implement whereStatus() on search query builder [#14387](https://github.com/statamic/cms/issues/14387) by @ryanmitchell
95+
- Blueprint button order changes [#14365](https://github.com/statamic/cms/issues/14365) by @jaygeorge
96+
- Fix address bar overlapping bottom of content (typically on iOS) [#14399](https://github.com/statamic/cms/issues/14399) by @jaygeorge
97+
- Fix nested Bard toolbar focus issues [#14396](https://github.com/statamic/cms/issues/14396) by @jaygeorge
98+
- Fix nav section border radius [#14409](https://github.com/statamic/cms/issues/14409) by @jaygeorge
99+
- Fix conditional field borders [#14407](https://github.com/statamic/cms/issues/14407) by @thomasvantuycom
100+
- Fix collection listing dates from wrapping [#14415](https://github.com/statamic/cms/issues/14415) by @jaygeorge
101+
- Fix Parameters make method [#14418](https://github.com/statamic/cms/issues/14418) by @jasonvarga
102+
- Prevent npm packages from executing malicious code via `postinstall` [#14417](https://github.com/statamic/cms/issues/14417) by @duncanmcclean
103+
- French translations [#14393](https://github.com/statamic/cms/issues/14393) by @ebeauchamps
104+
- Bump brace-expansion from 2.0.2 to 2.0.3 [#14383](https://github.com/statamic/cms/issues/14383) by @dependabot
105+
106+
107+
108+
## 6.8.0 (2026-03-27)
109+
110+
### What's new
111+
- GraphQL API Authentication [#14292](https://github.com/statamic/cms/issues/14292) by @duncanmcclean
112+
- Ability to disable two-factor authentication [#14263](https://github.com/statamic/cms/issues/14263) by @duncanmcclean
113+
- Ability to select the date formatting locale [#14372](https://github.com/statamic/cms/issues/14372) by @jasonvarga
114+
- Number formatter [#14373](https://github.com/statamic/cms/issues/14373) by @jasonvarga
115+
116+
### What's fixed
117+
- Omit application name and URL from support:details [#14359](https://github.com/statamic/cms/issues/14359) by @jasonvarga
118+
- Fix CP Nav active state when trailing slashes are enforced [#14363](https://github.com/statamic/cms/issues/14363) by @duncanmcclean
119+
- Only change date for localizations with an explicit date set [#14362](https://github.com/statamic/cms/issues/14362) by @duncanmcclean
120+
- Bring back responsive button groups [#13336](https://github.com/statamic/cms/issues/13336) by @daun
121+
- Merge external class attrs through twMerge in UI components [#14379](https://github.com/statamic/cms/issues/14379) by @jasonvarga
122+
- Reduce amount of data provided in Assets fieldtype meta [#14366](https://github.com/statamic/cms/issues/14366) by @duncanmcclean
123+
- Filters can only be removed by clicking cross [#14220](https://github.com/statamic/cms/issues/14220) by @jaygeorge
124+
- Bump reka-ui [#14368](https://github.com/statamic/cms/issues/14368) by @jasonvarga
125+
- Bump picomatch from 2.3.1 to 2.3.2 [#14360](https://github.com/statamic/cms/issues/14360) by @dependabot
126+
127+
128+
129+
## 6.7.3 (2026-03-25)
130+
131+
### What's fixed
132+
- Fix header z-index when creating a new nav [#14337](https://github.com/statamic/cms/issues/14337) by @jaygeorge
133+
- Remove fixed height from SVGs in UI labels to prevent flickering [#14338](https://github.com/statamic/cms/issues/14338) by @jaygeorge
134+
- Correct the Bard full-screen width [#14348](https://github.com/statamic/cms/issues/14348) by @jaygeorge
135+
- Fix duplicate translation for "Edit Fieldset" [#14349](https://github.com/statamic/cms/issues/14349) by @duncanmcclean
136+
- Delete unused `moment` translations [#14354](https://github.com/statamic/cms/issues/14354) by @duncanmcclean
137+
- Revert "Fix translator locale" [#14358](https://github.com/statamic/cms/issues/14358) by @jasonvarga
138+
- French translations [#14339](https://github.com/statamic/cms/issues/14339) by @ebeauchamps
139+
- German translations [#14352](https://github.com/statamic/cms/issues/14352) by @helloDanuk
140+
141+
142+
143+
## 6.7.2 (2026-03-24)
144+
145+
### What's fixed
146+
- DatePicker dates can't be strings [#14295](https://github.com/statamic/cms/issues/14295) by @edalzell
147+
- Fix updated widget badge alignment [#14303](https://github.com/statamic/cms/issues/14303) by @jackmcdade
148+
- Fix PHP sanitization edge cases [#14300](https://github.com/statamic/cms/issues/14300) by @duncanmcclean
149+
- Fix Replicator Drag & Drop when multiple fields share the same handle [#14310](https://github.com/statamic/cms/issues/14310) by @duncanmcclean
150+
- Fix live preview token scope [#14304](https://github.com/statamic/cms/issues/14304) by @jasonvarga
151+
- Handle more cases in external url detection [#14315](https://github.com/statamic/cms/issues/14315) by @jasonvarga
152+
- Allow external redirects from Form::getSubmissionRedirect [#14318](https://github.com/statamic/cms/issues/14318) by @jasonvarga
153+
- Fix closure validation rules with Files fieldtype [#14319](https://github.com/statamic/cms/issues/14319) by @duncanmcclean
154+
- Relationship fieldtype authorization tweaks [#14307](https://github.com/statamic/cms/issues/14307) by @duncanmcclean
155+
- Add CSP header to svg route [#14325](https://github.com/statamic/cms/issues/14325) by @jasonvarga
156+
- Add authorization to revision routes [#14301](https://github.com/statamic/cms/issues/14301) by @duncanmcclean
157+
- Restrict markdown preview endpoint [#14326](https://github.com/statamic/cms/issues/14326) by @jasonvarga
158+
- Sanitize password reset form redirect value [#14327](https://github.com/statamic/cms/issues/14327) by @jasonvarga
159+
- Fix config through Antlers views [#14328](https://github.com/statamic/cms/issues/14328) by @jasonvarga
160+
- Long dropdowns should be scrollable [#14333](https://github.com/statamic/cms/issues/14333) by @duncanmcclean
161+
- Fix set picker position [#14332](https://github.com/statamic/cms/issues/14332) by @duncanmcclean
162+
- Fix various timezone issues [#14322](https://github.com/statamic/cms/issues/14322) by @duncanmcclean
163+
- Fix translator locale [#14323](https://github.com/statamic/cms/issues/14323) by @jasonvarga
164+
- Fix 2FA setup modal not re-opening [#14309](https://github.com/statamic/cms/issues/14309) by @duncanmcclean
165+
- Fix logo z-index in Outside.vue [#14299](https://github.com/statamic/cms/issues/14299) by @SteveEdson
166+
- Fix `translator` error with Symfony Console 8 [#14330](https://github.com/statamic/cms/issues/14330) by @duncanmcclean
167+
- Don't autofocus on non-root fields with "title" or "alt" name [#14329](https://github.com/statamic/cms/issues/14329) by @hivokas
168+
169+
170+
171+
## 6.7.1 (2026-03-18)
172+
173+
### What's fixed
174+
- Hide "Duplicate Set" when max sets limit has been reached [#14275](https://github.com/statamic/cms/issues/14275) by @duncanmcclean
175+
- Fix missing top border in read-only Assets fields [#14277](https://github.com/statamic/cms/issues/14277) by @duncanmcclean
176+
- Hide set bodies when there are no fields [#14282](https://github.com/statamic/cms/issues/14282) by @jackmcdade
177+
- Fieldset editing improvements [#14283](https://github.com/statamic/cms/issues/14283) by @jackmcdade
178+
- Harden `URL::isExternalToApplication()` [#14287](https://github.com/statamic/cms/issues/14287) by @duncanmcclean
179+
- Prevent opening set picker when `max_sets` limit has been reached [#14290](https://github.com/statamic/cms/issues/14290) by @duncanmcclean
180+
- Harden password reset [#14294](https://github.com/statamic/cms/issues/14294) by @jasonvarga
181+
182+
183+
3184
## 6.7.0 (2026-03-17)
4185

5186
### What's new

SECURITY.md

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,16 @@
1-
If you discover a security vulnerability in Statamic, please review the following guidelines before submitting a report. We take security very seriously, and we do our best to resolve security issues as quickly as possible.
1+
If you discover a security vulnerability in Statamic, please review the following guidelines before submitting a report. We take security seriously and do our best to resolve security issues as quickly as possible.
22

33
## Guidelines
44
While working to identify potential security vulnerabilities in Statamic, we ask that you:
55

66
- **Privately** share any issues that you discover with us via support@statamic.com as soon as possible.
7-
- Give us a reasonable amount of time to address any reported issues before publicizing them.
8-
- Only report issues that are in scope.
9-
- Provide a quality report with precise explanations and concrete attack scenarios.
7+
- Give us a **reasonable amount of time** to address any reported issues before publicizing them.
8+
- **Only** report issues that are in scope.
9+
- Provide a **quality report** with precise explanations and concrete attack scenarios.
10+
- Do not submit reports generated by automated tools, AI/LLM assistants, or vulnerability scanners without **independent verification**. Reports showing signs of automated generation may be closed without review.
11+
- **Submit one report at a time.** Multiple simultaneous reports from the same person may be treated as spam and closed.
12+
- **We do not operate a paid bug bounty program.** We do not offer monetary compensation for cold vulnerability reports without a prior engagement agreement.
13+
- Abuse of the security advisory system, including bulk or automated submissions, may be reported to GitHub and result in account suspension.
1014

1115
## Scope
1216
We are only interested in vulnerabilities that affect Statamic itself, tested against **your own local installation** of the software, running the latest version. You can install a local copy of Statamic by following these [installation instructions](https://statamic.dev/installing). Do not test against any Statamic installation that you don’t own, including [statamic.com](https:/statamic.com), [statamic.dev](https://statamic.dev), and [demo.statamic.com](https://demo.statamic.com).

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
"pixelfear/composer-dist-plugin": "^0.1.4",
2828
"pragmarx/google2fa": "^8.0 || ^9.0",
2929
"rebing/graphql-laravel": "^9.15",
30-
"rhukster/dom-sanitizer": "^1.0.7",
30+
"rhukster/dom-sanitizer": "^1.0.10",
3131
"spatie/blink": "^1.3",
3232
"spatie/error-solutions": "^1.0 || ^2.0",
3333
"statamic/stringy": "^3.1.2",

config/antlers.php

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,4 +57,25 @@
5757

5858
],
5959

60+
/*
61+
|--------------------------------------------------------------------------
62+
| User content allowlists
63+
|--------------------------------------------------------------------------
64+
|
65+
| These control which tags and modifiers will be permitted in user-supplied
66+
| Antlers (e.g. fields with `antlers: true`). Include the literal string
67+
| `@default` in the array to merge Statamic's defaults with your own.
68+
|
69+
*/
70+
71+
// 'allowedContentTags' => [
72+
// '@default',
73+
// 'foo:*',
74+
// ],
75+
76+
// 'allowedContentModifiers' => [
77+
// '@default',
78+
// 'foo'
79+
// ],
80+
6081
];

config/assets.php

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -207,6 +207,19 @@
207207

208208
'additional_uploadable_extensions' => [],
209209

210+
/*
211+
|--------------------------------------------------------------------------
212+
| Additional Filename Character Replacements
213+
|--------------------------------------------------------------------------
214+
|
215+
| When uploading files, certain characters in filenames will be replaced
216+
| to ensure a safe filename. You may configure additional replacements.
217+
| These are in addition to the native ones. They are not overridable.
218+
|
219+
*/
220+
221+
'additional_filename_replacements' => [],
222+
210223
/*
211224
|--------------------------------------------------------------------------
212225
| SVG Sanitization

0 commit comments

Comments
 (0)