Releases: vivid-planet/comet
5.9.0
7.3.2
6.17.5
7.3.1
7.3.0
@comet/admin-icons@7.3.0
Minor Changes
Patch Changes
- a1f4c0d: Replace
YouTube
andVimeo
icon with correctly colored versions
@comet/admin@7.3.0
Patch Changes
-
6a1310c: Deprecate FinalForm components where a Field component exists as a simpler alternative
- Use
<AutocompleteField />
instead of<Field component={FinalFormAutocomplete} />
- Use
<CheckboxField />
instead of<Field />
with<FormControlLabel />
and<FinalFormCheckbox />
- Use
<AsyncAutocompleteField />
instead of<Field component={FinalFormAsyncAutocomplete} />
- Use
<AsyncSelectField />
instead of<Field component={FinalFormAsyncSelect} />
- Use
<NumberField />
instead of<Field component={FinalFormNumberInput} />
- Use
<SearchField />
instead of<Field component={FinalFormSearchTextField} />
- Use
<SelectField />
instead of<Field />
with<FinalFormSelect />
- Use
<SwitchField />
instead of<Field />
with<FormControlLabel />
and<FinalFormSwitch />
- Use
<DateField />
instead of<Field component={FinalFormDatePicker} />
- Use
<DateRangeField />
instead of<Field component={FinalFormDateRangePicker} />
- Use
<DateTimeField />
instead of<Field component={FinalFormDateTimePicker} />
- Use
<TimeField />
instead of<Field component={FinalFormTimePicker} />
- Use
<TimeRangeField />
instead of<Field component={FinalFormTimeRangePicker} />
- Use
<ColorField />
instead of<Field component={FinalFormColorPicker} />
- Use
@comet/admin-color-picker@7.3.0
Patch Changes
-
6a1310c: Deprecate FinalForm components where a Field component exists as a simpler alternative
- Use
<AutocompleteField />
instead of<Field component={FinalFormAutocomplete} />
- Use
<CheckboxField />
instead of<Field />
with<FormControlLabel />
and<FinalFormCheckbox />
- Use
<AsyncAutocompleteField />
instead of<Field component={FinalFormAsyncAutocomplete} />
- Use
<AsyncSelectField />
instead of<Field component={FinalFormAsyncSelect} />
- Use
<NumberField />
instead of<Field component={FinalFormNumberInput} />
- Use
<SearchField />
instead of<Field component={FinalFormSearchTextField} />
- Use
<SelectField />
instead of<Field />
with<FinalFormSelect />
- Use
<SwitchField />
instead of<Field />
with<FormControlLabel />
and<FinalFormSwitch />
- Use
<DateField />
instead of<Field component={FinalFormDatePicker} />
- Use
<DateRangeField />
instead of<Field component={FinalFormDateRangePicker} />
- Use
<DateTimeField />
instead of<Field component={FinalFormDateTimePicker} />
- Use
<TimeField />
instead of<Field component={FinalFormTimePicker} />
- Use
<TimeRangeField />
instead of<Field component={FinalFormTimeRangePicker} />
- Use
<ColorField />
instead of<Field component={FinalFormColorPicker} />
- Use
@comet/admin-date-time@7.3.0
Patch Changes
-
6a1310c: Deprecate FinalForm components where a Field component exists as a simpler alternative
- Use
<AutocompleteField />
instead of<Field component={FinalFormAutocomplete} />
- Use
<CheckboxField />
instead of<Field />
with<FormControlLabel />
and<FinalFormCheckbox />
- Use
<AsyncAutocompleteField />
instead of<Field component={FinalFormAsyncAutocomplete} />
- Use
<AsyncSelectField />
instead of<Field component={FinalFormAsyncSelect} />
- Use
<NumberField />
instead of<Field component={FinalFormNumberInput} />
- Use
<SearchField />
instead of<Field component={FinalFormSearchTextField} />
- Use
<SelectField />
instead of<Field />
with<FinalFormSelect />
- Use
<SwitchField />
instead of<Field />
with<FormControlLabel />
and<FinalFormSwitch />
- Use
<DateField />
instead of<Field component={FinalFormDatePicker} />
- Use
<DateRangeField />
instead of<Field component={FinalFormDateRangePicker} />
- Use
<DateTimeField />
instead of<Field component={FinalFormDateTimePicker} />
- Use
<TimeField />
instead of<Field component={FinalFormTimePicker} />
- Use
<TimeRangeField />
instead of<Field component={FinalFormTimeRangePicker} />
- Use
<ColorField />
instead of<Field component={FinalFormColorPicker} />
- Use
@comet/cms-admin@7.3.0
Patch Changes
- 3f1b961: Allow emptying
targetUrl
inExternalLinkBlock
@comet/cms-api@7.3.0
Patch Changes
-
c130adc:
BuildsService
: Start all jobs that match the scope exactlyPreviously, the first job that matched the scope exactly would be started, and the rest would be ignored. This has been fixed so that all jobs that match the scope exactly are started.
@comet/cms-site@7.3.0
Patch Changes
- f2e10ec: Fix a bug where a block's hover-overlay element in the admin preview might persist after the underlying element is moved or resized
6.17.4
7.2.1
@comet/cms-api@7.2.1
Patch Changes
-
c663369: Fix bug in
DamVideoBlock
that caused the block to crash if no video file was selectedThe block used to crash if no video was selected because the
DamVideoBlockTransformerService
returned an empty object.
This left thepreviewImage
state in the adminundefined
causingstate2Output
to fail.
6.17.3
5.8.7
7.2.0
@comet/admin@7.2.0
Minor Changes
-
0fb8d9a: Allow pinning DataGrid columns using the column config when using
DataGridPro
orDataGridPremium
with theusePersistentColumnState
hookconst columns: GridColDef[] = [ { field: "title", pinned: "left", }, // ... other columns { field: "actions", pinned: "right", }, ];
Patch Changes
- 4b267f9: Fix broken export/import of
commonErrorMessages
from the file form field
@comet/admin-theme@7.2.0
Minor Changes
- 9b800c9: Slightly adjust the styling of pinned columns in DataGrid
@comet/cms-site@7.2.0
Minor Changes
-
381aa71: Add
ErrorHandlerProvider
Each block in
BlocksBlock
,OneOfBlock
andListBlock
is wrapped with an error boundary to prevent the whole page from crashing when a single block throws an error.
In production, the broken block is hidden. The application should take care of reporting the error to an error tracking service (e.g., Sentry). In local development, the error is re-thrown.Add an
ErrorHandler
to the root layout:// In src/app/layout.tsx <html> <body className={inter.className}> {/* Other Providers */} <ErrorHandler>{children}</ErrorHandler> </body> </html>
The
ErrorHandler
receives the errors in the application and can report them to the error tracking service.Example ErrorHandler
"use client"; import { ErrorHandlerProvider } from "@comet/cms-site"; import { PropsWithChildren } from "react"; export function ErrorHandler({ children }: PropsWithChildren) { function onError(error: Error, errorInfo: ErrorInfo) { console.error("Error caught by error handler", error, errorInfo.componentStack); if (process.env.NODE_ENV === "development") { throw error; } else { // Report the error to the error tracking service } } return <ErrorHandlerProvider onError={onError}>{children}</ErrorHandlerProvider>; }
@comet/cms-admin@7.2.0
Patch Changes
- 4b267f9: Fix broken export/import of
commonErrorMessages
from the file form field