diff --git a/.gitignore b/.gitignore index c1d30a9b5a..2cae2b82df 100644 --- a/.gitignore +++ b/.gitignore @@ -4,6 +4,7 @@ node_modules .DS_Store .phpunit.result.cache +.phpunit.cache .php-cs-fixer.cache tests/Fakes/Composer/Package/test-package/composer.json resources/dist diff --git a/CHANGELOG.md b/CHANGELOG.md index a018408982..3aab8bc9f5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,42 @@ # Release Notes +## 4.49.0 (2024-02-16) + +### What's new +- Support YouTube Shorts in `embed_code` modifier. [#9521](https://github.com/statamic/cms/issues/9521) by @mnlmaier +- Allow number literals inside Antlers tag parameters. [#9503](https://github.com/statamic/cms/issues/9503) by @JohnathonKoster +- Add clear value button to popover `date` fieldtype. [#9478](https://github.com/statamic/cms/issues/9478) by @jacksleight +- Add GraphQL type for `group` fieldtype. [#9499](https://github.com/statamic/cms/issues/9499) by @duncanmcclean +- Add PHP `fieldPathPrefix` method. [#9080](https://github.com/statamic/cms/issues/9080) by @jacksleight + +### What's improved +- French translations. [#9476](https://github.com/statamic/cms/issues/9476) by @ebeauchamps +- Improve speed of "Duplicate" action by only searching for descendants if multi-site is enabled. [#9528](https://github.com/statamic/cms/issues/9528) by @helloiamlukas +- Improve CP page speed by cleaning up some JS event handlers. [#9500](https://github.com/statamic/cms/issues/9500) by @jasonvarga + +### What's fixed +- Exclude super when using a custom field. [#9536](https://github.com/statamic/cms/issues/9536) by @jasonvarga +- Fix table drag handles disappearing. [#9522](https://github.com/statamic/cms/issues/9522) by @jasonvarga +- Prevent non-images being processed through source preset. [#9517](https://github.com/statamic/cms/issues/9517) by @duncanmcclean +- Fix numbers not being cast in API filters. [#9511](https://github.com/statamic/cms/issues/9511) by @jasonvarga +- Fix scrolling in Inline Publish Form on Safari on iOS. [#9510](https://github.com/statamic/cms/issues/9510) by @duncanmcclean +- Prevent warming redirect URLs. [#9509](https://github.com/statamic/cms/issues/9509) by @duncanmcclean +- Fix pagination with the `nocache` tag. [#9394](https://github.com/statamic/cms/issues/9394) by @duncanmcclean +- Fix missing translations. [#9450](https://github.com/statamic/cms/issues/9450) by @peimn +- Fix error from `code` fieldtype when switching sites in global. [#9488](https://github.com/statamic/cms/issues/9488) by @duncanmcclean +- Fix `$authenticatedUser` error with third-party addon events. [#9490](https://github.com/statamic/cms/issues/9490) by @duncanmcclean +- Fix directory separator in `templates` fieldtype on Windows. [#9483](https://github.com/statamic/cms/issues/9483) by @duncanmcclean +- Include `honeypot` in Alpine.js form data. [#9498](https://github.com/statamic/cms/issues/9498) by @duncanmcclean +- Localize entry & term fields in Taxonomy Term GraphQL queries. [#9492](https://github.com/statamic/cms/issues/9492) by @duncanmcclean +- Make `BlueprintRepository` a singleton. [#9489](https://github.com/statamic/cms/issues/9489) by @jacksleight +- Allow namespace to be passed in `Blueprint::make()`. [#9484](https://github.com/statamic/cms/issues/9484) by @ryanmitchell +- Fix update counter. [#9479](https://github.com/statamic/cms/issues/9479) by @jasonvarga +- Fix missing updates badge. [#9477](https://github.com/statamic/cms/issues/9477) by @jasonvarga +- Test suite uses PHPUnit 10. [#9529](https://github.com/statamic/cms/issues/9529) by @jasonvarga +- Fix Windows tests not running in GitHub Actions. [#9482](https://github.com/statamic/cms/issues/9482) by @duncanmcclean + + + ## 4.48.0 (2024-02-06) ### What's new diff --git a/composer.json b/composer.json index ced5d7890e..8c867b6f05 100644 --- a/composer.json +++ b/composer.json @@ -43,7 +43,7 @@ "laravel/pint": "^1.0", "mockery/mockery": "^1.3.3", "orchestra/testbench": "^7.0 || ^8.0", - "phpunit/phpunit": "^9.0" + "phpunit/phpunit": "^9.0 || ^10.0" }, "config": { "optimize-autoloader": true, diff --git a/phpunit.xml.dist b/phpunit.xml.dist index e0cf4ba75a..2a6a07aeb8 100644 --- a/phpunit.xml.dist +++ b/phpunit.xml.dist @@ -1,14 +1,12 @@ diff --git a/resources/css/elements/tables.css b/resources/css/elements/tables.css index 46c176ac7b..d0637f9cba 100644 --- a/resources/css/elements/tables.css +++ b/resources/css/elements/tables.css @@ -242,6 +242,7 @@ td.table-drag-handle { @apply w-3 border-r h-full p-2; + min-width: 16px; cursor: grab; background: theme('colors.gray.200') url('../../svg/icons/light/drag-dots.svg') center center no-repeat; background-size: 7px 17px; diff --git a/resources/js/components/Breadcrumb.vue b/resources/js/components/Breadcrumb.vue index 9b85eafbd4..56e6d13119 100644 --- a/resources/js/components/Breadcrumb.vue +++ b/resources/js/components/Breadcrumb.vue @@ -2,7 +2,7 @@ diff --git a/resources/js/components/ResourceDeleter.vue b/resources/js/components/ResourceDeleter.vue index ce8049b28b..76e7fe1845 100644 --- a/resources/js/components/ResourceDeleter.vue +++ b/resources/js/components/ResourceDeleter.vue @@ -45,7 +45,7 @@ export default { }, modalTitle() { - return __('Delete :resource', {resource: this.title}); + return __('Delete :resource', {resource: __(this.title)}); }, modalBody() { diff --git a/resources/js/components/SiteSelector.vue b/resources/js/components/SiteSelector.vue index c999529f9f..163685c202 100644 --- a/resources/js/components/SiteSelector.vue +++ b/resources/js/components/SiteSelector.vue @@ -5,7 +5,7 @@ :value="site" :clearable="false" :searchable="false" - :get-option-label="site => site.name" + :get-option-label="site => __(site.name)" :options="sites" @input="$emit('input', $event)" /> diff --git a/resources/js/components/assets/Browser/Browser.vue b/resources/js/components/assets/Browser/Browser.vue index f26158c5dc..c513dccc3f 100644 --- a/resources/js/components/assets/Browser/Browser.vue +++ b/resources/js/components/assets/Browser/Browser.vue @@ -23,7 +23,7 @@