Release Notes
4.53.0
March 11th, 2024
What's new
- Persian translation. #9707 by @peimn
- Japanese translation. #9683 by @kusaka-kouki
- Field based redirects may provide a status. #9417 by @ryanmitchell
- RTL support in the Control Panel. #9447 by @peimn
- Add AssetCreating, AssetCreated and AssetSaving events. #9378 by @ryanmitchell
- Add validation to prevent duplicate field handles. #9337 by @duncanmcclean
- Show blueprint title in tree view. #9413 by @mmodler
- Bard & Replicators: Show set group in UI. #9670 by @duncanmcclean
- Users Listing: Allow for configuring default sort field & direction. #9671 by @duncanmcclean
- E.T. Phone Home. #8416 by @jackmcdade
- Date/time fieldtypes use native time fields. #9662 by @aaronbushnell
What's fixed
- Fix "Create Entry" button on collection widget in multisite. #9699 by @duncanmcclean
- Ensure submission values take precedence over globals data. #9698 by @duncanmcclean
- Fix preferences when user has role via group. #8957 by @duncanmcclean
- Fix bug in deleting users in the CP controller. #9677 by @ryanmitchell
- Fix Collection::computed docblock. #9673 by @ajnsn
- Prevent localizing entries without edit permission. #9605 by @duncanmcclean
4.52.0
March 4th, 2024
What's new
- OAuth improvements including support for SAML2 providers. #9612 by @duncanmcclean
What's fixed
- Fix entries not being "linked" to their localizations corrected. #9661 by @ryanmitchell
- Fix prop type warning in validation builder. #9665 by @jasonvarga
- Only suggest fields in the same replicator set. #9663 by @jasonvarga
- Roll back to initial simple isAjax() check on front end forms. #9629 by @ryanmitchell
- Fix Antlers sections not being yieldable in Blade layouts. #9614 by @JohnathonKoster
- Fix Antlers strict equality inside conditions. #9621 by @JohnathonKoster
- Fix test that fails on February 29th. #9620 by @jasonvarga
- Filter away bad bard nodes during preprocessing. #9608 by @SylvesterDamgaard
- Fix page url value in TreeBuilder. #9611 by @0kyn
4.51.0
February 28th, 2024
What's new
- Add
isDirty
/isClean
. #5502 by @ryanmitchell - Support for validation Rule objects. #9332 by @martyf
What's fixed
- Use protection scheme from data before using site-wide protection scheme. #9607 by @duncanmcclean
- Fix search dropdown being hidden on Taggable Fieldtype. #9606 by @duncanmcclean
- Tweak SuggestsConditionalFields behaviour when dealing with a fields prefix. #9592 by @martyf
- Only run custom validation errors when not precognitive. #9599 by @ryanmitchell
- Fix docblock of FluentTag param method. #9601 by @ajnsn
- Fix pixel gap on relationship fieldtype items and prevent padding issue. #9597 by @robdekort
4.50.0
February 26th, 2024
What's new
- Add
hex_to_rgb
modifier. #9582 by @DanielDarrenJones - Add UI mode option to forms fieldtype config. #9591 by @jacksleight
- First invalid field will be scrolled into view when submitting publish forms. #9577 by @jacksleight
- Add Antlers shorthand parameter value syntax. #9505 by @JohnathonKoster
- Hooks. #9481 by @ryanmitchell
- Add
Entry::findOrFail
. #9506 by @benfurfie
What's fixed
- Fix field conditions in Grid fields. #9586 by @duncanmcclean
- Fix pixel gap on relationship fieldtype items. #9579 by @jasonvarga
- Use static_cache store for nocache. #9527 by @ryanmitchell
- Make tags using old-style __call method compatible with Macroable. #9553 by @SylvesterDamgaard
- Fix
locales
tag inside replicator, bard, and grid. #9566 by @aerni - Add
accepted_if
validation to Bardenable_input_rules
#9555 by @robdekort - Add
accepted_if
validation rule #9557 by @robdekort - Fix modal height UI issue. #9538 by @JohnathonKoster
- Fix arrays being returned by translations. #9525 by @duncanmcclean
- Fix Stache pathing issue on Windows. #9537 by @JohnathonKoster
- Antlers: Resolve values from augmented values when there is more data to process. #9548 by @JohnathonKoster
- Antlers: Stop double-initial execution of tags within conditions. #9504 by @JohnathonKoster
- Fix error in event listener when uploading file in front-end forms. #9542 by @ryanmitchell
- Drop Laravel 6 mail view. #9545 by @duncanmcclean
- Remove any uploaded assets when submission silently fails or validation fails. #9549 by @ryanmitchell
- Check if form request wantsJson. #9533 by @ryanmitchell
- Pass parent field and index down to imported fields. #9550 by @jacksleight
- Fix protection redirect URLs when they contain query parameters. #9543 by @duncanmcclean
- Fix issues when saving entries with
JsonResource::withoutWrapping()
. #9519 by @duncanmcclean
4.49.0
February 16th, 2024
What's new
- Support YouTube Shorts in
embed_code
modifier. #9521 by @mnlmaier - Allow number literals inside Antlers tag parameters. #9503 by @JohnathonKoster
- Add clear value button to popover
date
fieldtype. #9478 by @jacksleight - Add GraphQL type for
group
fieldtype. #9499 by @duncanmcclean - Add PHP
fieldPathPrefix
method. #9080 by @jacksleight
What's improved
- French translations. #9476 by @ebeauchamps
- Improve speed of "Duplicate" action by only searching for descendants if multi-site is enabled. #9528 by @helloiamlukas
- Improve CP page speed by cleaning up some JS event handlers. #9500 by @jasonvarga
What's fixed
- Exclude super when using a custom field. #9536 by @jasonvarga
- Fix table drag handles disappearing. #9522 by @jasonvarga
- Prevent non-images being processed through source preset. #9517 by @duncanmcclean
- Fix numbers not being cast in API filters. #9511 by @jasonvarga
- Fix scrolling in Inline Publish Form on Safari on iOS. #9510 by @duncanmcclean
- Prevent warming redirect URLs. #9509 by @duncanmcclean
- Fix pagination with the
nocache
tag. #9394 by @duncanmcclean - Fix missing translations. #9450 by @peimn
- Fix error from
code
fieldtype when switching sites in global. #9488 by @duncanmcclean - Fix
$authenticatedUser
error with third-party addon events. #9490 by @duncanmcclean - Fix directory separator in
templates
fieldtype on Windows. #9483 by @duncanmcclean - Include
honeypot
in Alpine.js form data. #9498 by @duncanmcclean - Localize entry & term fields in Taxonomy Term GraphQL queries. #9492 by @duncanmcclean
- Make
BlueprintRepository
a singleton. #9489 by @jacksleight - Allow namespace to be passed in
Blueprint::make()
. #9484 by @ryanmitchell - Fix update counter. #9479 by @jasonvarga
- Fix missing updates badge. #9477 by @jasonvarga
- Test suite uses PHPUnit 10. #9529 by @jasonvarga
- Fix Windows tests not running in GitHub Actions. #9482 by @duncanmcclean
4.48.0
February 6th, 2024
What's new
- Ability to customize Echo client configuration. #9464 by @jacksleight
- Tags are macroable. #9466 by @SylvesterDamgaard
- Statamic route views can be implied. #9436 by @jasonvarga
- Add sites to support details output. #9461 by @jasonvarga
What's fixed
- Fix unit translations. #9472 by @jasonvarga
- Remove typo inside UserProvider. #9459 by @jonassiewertsen
- Translate more untranslated strings. #9451 by @peimn
- Fix timeout when using
nocache
tag. #9449 by @duncanmcclean - Revert Stache watcher performance PR. #9448 by @jasonvarga
- Tidy up replicator field styles to match normal fields. #9446 by @duncanmcclean
- Ensure template and termTemplate are accessed correctly in Taxonomy controller. #9444 by @ryanmitchell
4.47.0
January 31st, 2024
What's new
- Allow a custom static caching url store to be specified. #9405 by @ryanmitchell
- Add reset button to color fieldtype. #9419 by @duncanmcclean
- Ability to add inline scripts into the CP. #9386 by @jacksleight
What's improved
- Improve the workflow around enabling Statamic Pro. #9435 by @jesseleite
- Improve collection Stache watcher performance. #9302 by @JohnathonKoster
- French translations. #9402 by @ebeauchamps
What's fixed
- Fix issue with set previews in Bard. #9422 by @duncanmcclean
- Improve UX of field conditions builder for select & toggle fields. #9379 by @duncanmcclean
- Don't set termTemplate and template if they are the defaults. #9421 by @ryanmitchell
- Prevent serialization errors with
@nocache
directive when using Blade view components. #9409 by @duncanmcclean - Fix user wizard error when user blueprint has Bard field. #9416 by @jesseleite
- Hide listing filters when reordering entries. #9420 by @duncanmcclean
- Rename route binding parameter to prevent overlapping. #9415 by @duncanmcclean
- Fix Entries fieldtype tree view on Assets publish form. #9404 by @duncanmcclean
- Fix translations in
nocache
tag. #9400 by @duncanmcclean - Translate dimension conjunction. #9393 by @peimn
4.46.0
January 25th, 2024
What's new
- Allow roles and groups to be database driven. #5686 by @ryanmitchell
- Add console command to import file-based groups and roles into database. #6774 by @ryanmitchell
- SVG images get sanitized upon upload. #9365 by @duncanmcclean
- Allow
.html
to be stripped fromparent_uri
in routes. #9364 by @duncanmcclean
What's improved
- German translations. #9374 by @helloDanuk
What's fixed
- Support data in Eloquent based user groups. #9395 by @jasonvarga
- Revert overzealous file extension renaming feature. #9389 by @jasonvarga
- Make copy reset password link action opt-in. #9390 #9397 by @jasonvarga
- Fix importing fieldsets in custom blueprint namespaces. #9387 by @duncanmcclean
- Catch errors when sending user activation email. #9382 by @duncanmcclean
- Only use site language for form submission validation messages if submitted from front-end. #9383 by @jasonvarga
- Avoid caching URLs with a token. #9381 by @jasonvarga
- Fix user groups/roles querying. #6131 by @ryanmitchell
- Avoid saving icons to field configs. #9372 by @duncanmcclean
- Hide actions on form index/show pages when user is missing relevant permissions. #9371 by @duncanmcclean
- Bard: Only configure placeholder extension when placeholder is provided. #9369 by @duncanmcclean
- Always show slug rengerate button if enabled. #9366 by @jasonvarga
- Fix some translations. #9361 by @peimn
- Fix whereTime affecting the date as well as time. #9360 by @ryanmitchell
- Passthrough Cmd/Ctrl + Enter inside Bard. #9313 by @godismyjudge95
- Support brackets in translation strings in translator helper. #9380 by @jasonvarga
- Bump vite from 4.2.3 to 4.5.2. #9367 by @dependabot
4.45.0
January 18th, 2024
What's new
- Allow search index updates to be queued. #9358 by @jasonvarga
- Autoload addon blueprints. #9324 by @aerni
- Add CC and BCC fields to form email config. #9336 by @godismyjudge95
What's improved
- Prevent handling field previews when previews are disabled. #9353 by @duncanmcclean
- Update entry order and uri by ids. #9350 by @juliawarnke
- Dutch translations. #9347 by @jeroenpeters1986
What's fixed
- Improve Bard cut/copy/pasting sets. #7606 by @jacksleight
- Catch validation exceptions thrown in FormSubmitted events. #9348 by @ryanmitchell
- Allow optional asset fields in form submissions. #9356 by @AndreasSchantl
- Fix error from Relationship Index Fieldtype after toggling column. #9355 by @duncanmcclean
- Prevent creating revision when localizing entry unless revisions are enabled on the collection. #8908 by @duncanmcclean
- Fix "Read Only" text for section fields. #9315 by @duncanmcclean
- Fix additional blueprints in multi-part namespaces. #9325 by @jacksleight
- Prevent Bard causing dirty state issues. #9344 by @duncanmcclean
- Prevent original addon blueprint being deleted when saving. #9326 by @ryanmitchell
- Fix Bard sets being inserted too early. #9216 by @duncanmcclean
- Fix too many redirects on collection. #9318 by @aerni
- Fix Statamic compiled assets not working when running in a subdirectory. #8984 by @singer-d
4.44.0
January 11th, 2024
What's new
- Support custom blueprint namespaces. #8516 by @ryanmitchell
What's improved
- German translations. #9295 by @helloDanuk
What's fixed
- Fix missing checkbox on tree view in the entries field type. #9308 by @duncanmcclean
- Fix spacing around fullscreen button on Stacked Grid. #9307 by @duncanmcclean
- Fix Asset browser firing 2 requests on initial Assets page load. #8981 by @modrictin
- Use correct set_time_limit no limit value. #9297 by @robinvdvleuten
- Fix Bard's sticky toolbar in Live Preview. #9301 by @duncanmcclean
- Fix asset meta file not being deleted with asset. #9300 by @duncanmcclean
- Fix creating entries with
JsonResource::withoutWrapping()
. #9296 by @duncanmcclean
4.43.0
January 9th, 2024
What's new
- Add deleting events. #9227 by @ryanmitchell
- Add
saveQuietly
toLocalizedTerm
. #9278 by @joshuablum - Presets are regenerated after updating focal point. #9019 by @duncanmcclean
- Allow removal of scopes. #9264 by @ryanmitchell
What's fixed
- Fix disabled save button when creating term inside term inside stack. #9152 by @duncanmcclean
- Fix
metaPath
for root assets. #9287 by @duncanmcclean - Prevent corrupt submission file from causing errors. #9282 by @duncanmcclean
- Clear selections when navigating pagination. #9286 by @duncanmcclean
- Avoid custom exception handler for API requests. #9275 by @duncanmcclean
- Fix usage of children tag with multisite and specified url. #9280 by @MedRochon
- Fix mobile issues with Fieldset Listing & Field Settings stack. #9250 by @duncanmcclean
- Prevent updating a term's slug resulting in two Stache terms. #9260 by @ryanmitchell
- Change asset unlink icon. #9204 by @edalzell
- Fix error from static caching invalidator when deleting entries. #9191 by @duncanmcclean
- Throw 404 exception on Taxonomy Term Entries endpoint when term doesn't exist. #9273 by @duncanmcclean
- Replace problematic JSON directive. #9271 by @JohnathonKoster
- Use authenticated user in Git events even when queued. #9225 by @duncanmcclean
- Fix "Update All" in search utility. #9269 by @duncanmcclean
- Prevent users without "edit" permission editing navs. #9265 by @duncanmcclean
- Localize revision dates. #9266 by @jasonvarga
- Use the site locale when auto generating titles. #9261 by @ryanmitchell
- Bump axios from 0.21.4 to 1.6.4 #8974 by @dependabot
4.42.1
January 4th, 2024
What's fixed
- Ensure error message is displayed when uploading large file. #9258 by @duncanmcclean
- Prevent Bard augmentation error after enabling "Save HTML" option. #9198 by @duncanmcclean
- Avoid compiling certain user defined strings. #9256 by @jasonvarga
- Fix an issue with short interpolated variables in Antlers. #9253 by @JohnathonKoster
- Fix issue with AuthServiceProvider and Laravel Octane. #9240 by @nadinengland
- Allow CP Nav to be created each request under Laravel Octane. #9241 by @nadinengland
- Fix Link Fieldtype inside nested Bard. #9252 by @duncanmcclean
- Clear permission cache when setting or removing permissions from a role. #9244 by @aerni
- Bump tj-actions/changed-files from 36 to 41. #9247 by @dependabot
4.42.0
December 18th, 2023
What's improved
- Submission date now uses localized date format #9215 by @mmodler
- French translations #9218 by @ebeauchamps
What's fixed
- Fix nested JSON field handles not passing validation #9217 by @caseydwyer
- Fix null values not being filtered on front-end forms #9212 by @ryanmitchell
- Fix
{{ children }}
tag for collections other than Pages #9210 by @MedRochon - Use
setTimeout
to fix dirty state issue #9213 by @duncanmcclean
4.41.0
December 14th, 2023
What's new
- Ability to configure templates & layouts for taxonomies #8372 by @ryanmitchell
- Add
query_scopes
option to the Assets fieldtype #8459 by @jacksleight
What's improved
- Entries and terms are now provided lazily in search #9171 by @ryanmitchell
- When an entry has an origin, the mount will now be fetched from the origin #9063 by @ryanmitchell
What's fixed
- Fix dirty state issue on the entry publish form #9203 by @vluijkx
- Fix error when a navigation's tree file is missing #9032 by @duncanmcclean
- Asset field now supports mixed permissions #9156 by @edalzell
- Prevent precognitive validation on asset fields #9170 by @ryanmitchell
- Fix stack hover offset on close #9201 by @jacksleight
- Prevent configuring multiple conditions for the same field #9199 by @duncanmcclean
- Fix section showing without any visible fields #9137 by @aerni
- Fix tabs showing without any visible fields #9135 by @edalzell
- Fix template selector on Windows #9197 by @duncanmcclean
- Fix previewing revisions via the Relationship Fieldtype #9190 by @duncanmcclean
- Update the bug report template #9195 by @jelleroorda
- Fix issue with meta being updated wrongly in Link Fieldtype #9189 by @duncanmcclean
- Fix Read Only icon when viewing revisions #9188 by @duncanmcclean
- Fix Global Set without a blueprint breaking the Fieldsets page #9187 by @duncanmcclean
4.40.0
December 11th, 2023
What's new
- Add nocache regions and CSRF to
statamic:nocache.replaced
event. #9167 by @ryanmitchell - Add
collection
to augmented term values. #9070 by @ryanmitchell
What's improved
- Improve CollectionStructure performance. #8800 by @mauricewijnia
- Clarify which changes will stay in sync. #9179 by @duncanmcclean
- German translations. #9164 by @helloDanuk
What's fixed
- Render layout on 403 Forbidden pages. #9180 by @duncanmcclean
- Fix tree view when configuring collection mount. #9128 by @duncanmcclean
- Delete collection tree files when deleting collections. #9183 by @duncanmcclean
- Prevent events being added to an element that doesn't exist when in grid table mode. #9130 by @ryanmitchell
- Use date facade and carbon interface. #9114 by @jasonvarga
- Ensure publish date field can only be in
single
mode. #9178 by @duncanmcclean - Fix template lookup with dots in view path. #9176 by @marijoo
- Ensure field exists before checking if it imports a fieldset. #9175 by @ryanmitchell
- Translate validation attributes when pulled from display. #9169 by @ryanmitchell
- Fix updating localized search index through the CP. #9160 by @ryanmitchell
- If collection is not available on a site, redirect back. #9071 by @ryanmitchell
- Fix Antlers string interpolation checks running Str::contains on objects. #9163 by @JohnathonKoster
- Fix deleting collections with localized entries. #9165 by @duncanmcclean
- Update Laravel Pint. #9181 by @duncanmcclean
- Update contribution guide. #9133 by @joshuablum