Skip to content

Commit 799bdc5

Browse files
committed
Merge branch '5.x' into patch-1
2 parents d1ca0b3 + 4e2ca82 commit 799bdc5

File tree

24 files changed

+840
-166
lines changed

24 files changed

+840
-166
lines changed

CHANGELOG.md

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

3+
## 5.53.1 (2025-04-17)
4+
5+
### What's fixed
6+
- Fix validation of date field nested in a replicator [#11692](https://github.com/statamic/cms/issues/11692) by @liucf
7+
- Fix collection index search when using a non-dedicated search index [#11711](https://github.com/statamic/cms/issues/11711) by @simonerd
8+
- Handle translation issues in collection widget [#11693](https://github.com/statamic/cms/issues/11693) by @daun
9+
- Remove `templates`/`themes` methods from `CpController` [#11706](https://github.com/statamic/cms/issues/11706) by @duncanmcclean
10+
- Ensure asset references are updated correctly [#11705](https://github.com/statamic/cms/issues/11705) by @duncanmcclean
11+
12+
13+
14+
## 5.53.0 (2025-04-10)
15+
16+
### What's new
17+
- Allow dynamic counter names in `increment` tag [#11671](https://github.com/statamic/cms/issues/11671) by @daun
18+
- Expose field conditions from GraphQL API [#11607](https://github.com/statamic/cms/issues/11607) by @duncanmcclean
19+
- Add Edit Blueprint links to create publish forms [#11625](https://github.com/statamic/cms/issues/11625) by @jacksleight
20+
21+
### What's fixed
22+
- Fix icon selector in nav builder [#11656](https://github.com/statamic/cms/issues/11656) by @duncanmcclean
23+
- Fix docblock in AssetContainer facade [#11658](https://github.com/statamic/cms/issues/11658) by @duncanmcclean
24+
- Revert "Escape start_page Preference to avoid invalid Redirect" [#11651](https://github.com/statamic/cms/issues/11651) by @duncanmcclean
25+
- Restore error message on asset upload server errors [#11642](https://github.com/statamic/cms/issues/11642) by @daun
26+
- Fix dates in localizations when duplicating entries [#11361](https://github.com/statamic/cms/issues/11361) by @duncanmcclean
27+
- Use deep copy of objects in replicator set [#11621](https://github.com/statamic/cms/issues/11621) by @faltjo
28+
- French translations [#11622](https://github.com/statamic/cms/issues/11622) by @ebeauchamps
29+
- Dutch translations [#11686](https://github.com/statamic/cms/issues/11686) by @rogerthat-be
30+
31+
32+
333
## 5.52.0 (2025-03-25)
434

535
### What's new

config/live_preview.php

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,4 +33,16 @@
3333
//
3434
],
3535

36+
/*
37+
|--------------------------------------------------------------------------
38+
| Force Reload Javascript Modules
39+
|--------------------------------------------------------------------------
40+
|
41+
| To force a reload, Live Preview appends a timestamp to the URL on
42+
| script tags of type 'module'. You may disable this behavior here.
43+
|
44+
*/
45+
46+
'force_reload_js_modules' => true,
47+
3648
];

config/static_caching.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,8 @@
125125

126126
'nocache' => 'cache',
127127

128+
'nocache_db_connection' => env('STATAMIC_NOCACHE_DB_CONNECTION'),
129+
128130
'nocache_js_position' => 'body',
129131

130132
/*

package-lock.json

Lines changed: 14 additions & 11 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

resources/js/components/fieldtypes/LinkFieldtype.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
</v-select>
1919
</div>
2020

21-
<div class="flex-1">
21+
<div class="flex-1 truncate">
2222

2323
<!-- URL text input -->
2424
<text-input v-if="option === 'url'" v-model="urlValue" />

resources/js/components/nav/ItemEditor.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,9 @@
4141
<publish-field-meta
4242
:config="{ handle: 'icon', type: 'icon', folder: 'light' }"
4343
:initial-value="config.icon"
44-
v-slot="{ meta, value, loading, config }"
44+
v-slot="{ meta, value, loading, config: fieldtypeConfig }"
4545
>
46-
<icon-fieldtype v-if="!loading" handle="icon" :config="config" :meta="meta" :value="value" @input="config.icon = $event" />
46+
<icon-fieldtype v-if="!loading" handle="icon" :config="fieldtypeConfig" :meta="meta" :value="value" @input="config.icon = $event" />
4747
</publish-field-meta>
4848
</div>
4949
</div>

resources/js/components/preferences/EditForm.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ export default {
108108
.patch(url, this.currentValues)
109109
.then(() => {
110110
this.$refs.container.saved();
111-
location.reload();
111+
this.$nextTick(() => location.reload());
112112
})
113113
.catch(e => this.handleAxiosError(e));
114114
},

resources/lang/nl.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@
7474
"Allow additions": "Toevoegingen toestaan",
7575
"Allow Antlers": "Antlers toestaan",
7676
"Allow Any Color": "Alle kleuren toestaan",
77-
"Allow Creating": "Aanmaken toesten",
77+
"Allow Creating": "Aanmaken toestaan",
7878
"Allow Downloading": "Downloaden toestaan",
7979
"Allow Fullscreen Mode": "Fullscreen-modus toestaan",
8080
"Allow Moving": "Verplaatsen toestaan",

resources/views/widgets/collection.blade.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
@php use Statamic\Facades\Site; @endphp
2+
@php use function Statamic\trans as __; @endphp
23

34
<div class="card p-0 overflow-hidden h-full flex flex-col">
45
<div class="flex justify-between items-center p-4 border-b dark:bg-dark-650 dark:border-b dark:border-dark-900">

src/Console/Commands/stubs/statamic_nocache_tables.php.stub

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,9 @@ class StatamicNocacheTables extends Migration
88
{
99
public function up()
1010
{
11-
Schema::create('NOCACHE_TABLE', function (Blueprint $table) {
11+
Schema::connection(
12+
config('statamic.static_caching.nocache_db_connection')
13+
)->create('NOCACHE_TABLE', function (Blueprint $table) {
1214
$table->string('key')->index()->primary();
1315
$table->string('url')->index();
1416
$table->longText('region');
@@ -18,6 +20,8 @@ class StatamicNocacheTables extends Migration
1820

1921
public function down()
2022
{
21-
Schema::dropIfExists('nocache_regions');
23+
Schema::connection(
24+
config('statamic.static_caching.nocache_db_connection')
25+
)->dropIfExists('NOCACHE_TABLE');
2226
}
2327
}

0 commit comments

Comments
 (0)