Skip to content

Commit 9867b35

Browse files
authored
Merge branch 'statamic:6.x' into 6.x
2 parents ff414fa + 1a7473a commit 9867b35

61 files changed

Lines changed: 1780 additions & 147 deletions

Some content is hidden

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

.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: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,26 @@
11
# Release Notes
22

3+
## 6.8.0 (2026-03-27)
4+
5+
### What's new
6+
- GraphQL API Authentication [#14292](https://github.com/statamic/cms/issues/14292) by @duncanmcclean
7+
- Ability to disable two-factor authentication [#14263](https://github.com/statamic/cms/issues/14263) by @duncanmcclean
8+
- Ability to select the date formatting locale [#14372](https://github.com/statamic/cms/issues/14372) by @jasonvarga
9+
- Number formatter [#14373](https://github.com/statamic/cms/issues/14373) by @jasonvarga
10+
11+
### What's fixed
12+
- Omit application name and URL from support:details [#14359](https://github.com/statamic/cms/issues/14359) by @jasonvarga
13+
- Fix CP Nav active state when trailing slashes are enforced [#14363](https://github.com/statamic/cms/issues/14363) by @duncanmcclean
14+
- Only change date for localizations with an explicit date set [#14362](https://github.com/statamic/cms/issues/14362) by @duncanmcclean
15+
- Bring back responsive button groups [#13336](https://github.com/statamic/cms/issues/13336) by @daun
16+
- Merge external class attrs through twMerge in UI components [#14379](https://github.com/statamic/cms/issues/14379) by @jasonvarga
17+
- Reduce amount of data provided in Assets fieldtype meta [#14366](https://github.com/statamic/cms/issues/14366) by @duncanmcclean
18+
- Filters can only be removed by clicking cross [#14220](https://github.com/statamic/cms/issues/14220) by @jaygeorge
19+
- Bump reka-ui [#14368](https://github.com/statamic/cms/issues/14368) by @jasonvarga
20+
- Bump picomatch from 2.3.1 to 2.3.2 [#14360](https://github.com/statamic/cms/issues/14360) by @dependabot
21+
22+
23+
324
## 6.7.3 (2026-03-25)
425

526
### What's fixed

config/users.php

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -181,6 +181,18 @@
181181

182182
'elevated_session_duration' => 15,
183183

184+
/*
185+
|--------------------------------------------------------------------------
186+
| Two-Factor Authentication
187+
|--------------------------------------------------------------------------
188+
|
189+
| Here you may disable two-factor authentication entirely. This can be
190+
| useful on local or staging environments, or when using OAuth.
191+
|
192+
*/
193+
194+
'two_factor_enabled' => env('STATAMIC_TWO_FACTOR_ENABLED', true),
195+
184196
/*
185197
|--------------------------------------------------------------------------
186198
| Enforce Two-Factor Authentication

lang/en/messages.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -198,6 +198,8 @@
198198
'phpinfo_utility_description' => 'Check PHP configuration settings and installed modules.',
199199
'plus_count_more' => '+ :count more',
200200
'preference_confirm_dirty_navigation_instructions' => 'Whether you should get a warning when trying to leave the page when there are unsaved changes.',
201+
'preference_formatting_locale_invalid' => 'Please enter a valid locale code.',
202+
'preference_formatting_locale_instructions' => 'The locale used for formatting values in the control panel, such as dates and numbers.',
201203
'preference_locale_instructions' => 'The preferred language for the control panel.',
202204
'preference_start_page_instructions' => 'The page to be shown when logging into the control panel.',
203205
'preference_strict_accessibility_instructions' => 'We\'ve designed the control panel with accessibility in mind, aiming to meet WCAG 2.2 guidelines where possible. Enable this option to apply stricter accessibility rules by increasing form border contrast.',

package-lock.json

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

packages/cms/src/api.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ export const {
1414
hooks,
1515
inertia,
1616
keys,
17+
numberFormatter,
1718
permissions,
1819
portals,
1920
preferences,

packages/cms/src/index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ export const {
88
IndexFieldtypeMixin,
99
InlineEditForm,
1010
DateFormatter,
11+
NumberFormatter,
1112
ItemActions,
1213
RelatedItem,
1314
RestoreRevision,

packages/cms/src/ui.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,7 @@ export const {
114114
TabProvider,
115115
Tabs,
116116
TabTrigger,
117+
Text,
117118
Textarea,
118119
TimePicker,
119120
ToggleGroup,

resources/js/api.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ import Reveal from './components/Reveal.js';
1414
import Echo from './components/Echo.js';
1515
import Permission from './components/Permission.js';
1616
import DateFormatter from './components/DateFormatter.js';
17+
import NumberFormatter from './components/NumberFormatter.js';
1718
import CommandPalette from './components/CommandPalette.js';
1819
import ColorMode from './components/ColorMode.js';
1920
import Contrast from './components/Contrast.js';
@@ -39,6 +40,7 @@ export const reveal = new Reveal();
3940
export const echo = new Echo();
4041
export const permissions = new Permission();
4142
export const dateFormatter = new DateFormatter();
43+
export const numberFormatter = new NumberFormatter();
4244
export const commandPalette = new CommandPalette();
4345
export const colorMode = new ColorMode();
4446
export const contrast = new Contrast();

resources/js/bootstrap/cms/core.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ export { default as IndexFieldtype } from '../../components/fieldtypes/index-fie
33
export { default as FieldtypeMixin } from '../../components/fieldtypes/Fieldtype.vue';
44
export { default as IndexFieldtypeMixin } from '../../components/fieldtypes/IndexFieldtype.vue';
55
export { default as DateFormatter } from '../../components/DateFormatter.js';
6+
export { default as NumberFormatter } from '../../components/NumberFormatter.js';
67
export { default as ItemActions } from '../../components/actions/ItemActions.vue';
78
export { default as InlineEditForm } from '../../components/inputs/relationship/InlineEditForm.vue';
89
export { default as RelatedItem } from '../../components/inputs/relationship/Item.vue';

0 commit comments

Comments
 (0)