Skip to content

Commit

Permalink
Release v5.2
Browse files Browse the repository at this point in the history
This PR was opened by the [Changesets
release](https://github.com/changesets/action) GitHub action. When
you're ready to do a release, you can merge this and the packages will
be published to npm automatically. If you're not ready to do a release
yet, that's fine, whenever you add more changesets to main, this PR will
be updated.


# Releases
## @comet/admin@5.2.0

### Minor Changes

- 0bed4e7: Add optional `hasConflict` prop to `SaveButton`,
`FinalFormSaveButton` and `FinalFormSaveSplitButton`

    If set to `true`, a new "conflict" display state is triggered.
You should pass the `hasConflict` prop returned by `useSaveConflict()`,
`useSaveConflictQuery()` and `useFormSaveConflict()`.

### Patch Changes

- 25daac0: Avoid remount of `RouterTab` with `forceRender={true}` when
`RouterTabs` are used inside a `Stack`
-   Updated dependencies [9fc7d47]
    -   @comet/admin-icons@5.2.0

## @comet/admin-icons@5.2.0

### Minor Changes

- 9fc7d47: Add new icons from the Comet UX library. Replace existing
icons with new versions. Mark icons Pool, Pool2, Vignette1, Vignette2,
Betrieb, LogischeFilter as deprecated.

## @comet/blocks-admin@5.2.0

### Minor Changes

-   824ea66: Improve layout selection UX in `createColumnsBlock`

Hide select when there's only one layout for a specific number of
columns

### Patch Changes

- 3702bb2: Infer additional item fields in `BlocksBlock` and
`ListBlock`

Additional fields in the `item` prop of `AdditionalItemContextMenuItems`
and `AdditionalItemContent` will be typed correctly if the
`additionalItemFields` option is strongly typed.

-   Updated dependencies [25daac0]

-   Updated dependencies [0bed4e7]

-   Updated dependencies [9fc7d47]
    -   @comet/admin@5.2.0
    -   @comet/admin-icons@5.2.0

## @comet/cms-admin@5.2.0

### Minor Changes

-   0bed4e7: Improve the `SaveConflictDialog`

    -   extend the text in the dialog to explain
        -   what happened
        -   what the next steps are
        -   what can be done to avoid conflicts
    -   make the button labels more precise
    -   once the save dialog is closed
        -   stop polling
        -   mark the save button red and with an error icon

- 0bed4e7: `useSaveConflict()`, `useSaveConflictQuery()` and
`useFormSaveConflict()` now return a `hasConflict` prop

    If `hasConflict` is true, a save conflict has been detected.
You should pass `hasConflict` on to `SaveButton`, `FinalFormSaveButton`
or `FinalFormSaveSplitButton`. The button will then display a "conflict"
state.

- 0bed4e7: Admin Generator: In the generated form, the `hasConflict`
prop is passed from the `useFormSaveConflict()` hook to the
`FinalFormSaveSplitButton`

- 6fda5a5: CRUD Generator: Change the file ending of the private
sibling GraphQL files from `.gql.tsx` to `.gql.ts`

    The GraphQL files do not contain JSX.
    Regenerate the files to apply this change to a project.

### Patch Changes

-   Updated dependencies [25daac0]
-   Updated dependencies [0bed4e7]
-   Updated dependencies [9fc7d47]
-   Updated dependencies [3702bb2]
-   Updated dependencies [824ea66]
    -   @comet/admin@5.2.0
    -   @comet/admin-icons@5.2.0
    -   @comet/blocks-admin@5.2.0
    -   @comet/admin-date-time@5.2.0
    -   @comet/admin-rte@5.2.0
    -   @comet/admin-theme@5.2.0

## @comet/cms-api@5.2.0

### Minor Changes

- bbc0a0a: Add access logging to log information about the request to
standard output. The log contains information about the requester and
the request itself. This can be useful for fulfilling legal requirements
regarding data integrity or for forensics.

    There are two ways to integrate logging into an application:

    **First option: Use the default implementation**

    ```ts
    imports: [
        ...
        AccessLogModule,
        ...
    ]
    ```

    **Second option: Configure logging**

Use the `shouldLogRequest` to prevent logging for specific requests. For
instance, one may filter requests for system users.

    ```ts
    imports: [
        ...
        AccessLogModule.forRoot({
            shouldLogRequest: ({user, req}) => {
                // do something
                return true; //or false
            },
        }),
        ...
    ]
    ```

More information can be found in the documentation under 'Authentication
> Access Logging'.

### Patch Changes

- 1a170b9: API Generator: Use correct type for `where` when
`getFindCondition` service method is not used
- 6b240a0: CRUD Generator: Correctly support `type: "text"` fields in
input
    -   @comet/blocks-api@5.2.0

## @comet/cms-site@5.2.0

### Minor Changes

- 6244d6c: Add the `YouTubeVideoBlock` to the `@comet/cms-site`
package.

## @comet/admin-color-picker@5.2.0

### Patch Changes

-   Updated dependencies [25daac0]
-   Updated dependencies [0bed4e7]
-   Updated dependencies [9fc7d47]
    -   @comet/admin@5.2.0
    -   @comet/admin-icons@5.2.0

## @comet/admin-date-time@5.2.0

### Patch Changes

-   Updated dependencies [25daac0]
-   Updated dependencies [0bed4e7]
-   Updated dependencies [9fc7d47]
    -   @comet/admin@5.2.0
    -   @comet/admin-icons@5.2.0

## @comet/admin-react-select@5.2.0

### Patch Changes

-   Updated dependencies [25daac0]
-   Updated dependencies [0bed4e7]
    -   @comet/admin@5.2.0

## @comet/admin-rte@5.2.0

### Patch Changes

-   Updated dependencies [9fc7d47]
    -   @comet/admin-icons@5.2.0

## @comet/admin-theme@5.2.0

### Patch Changes

-   Updated dependencies [9fc7d47]
    -   @comet/admin-icons@5.2.0

## @comet/eslint-config@5.2.0

### Patch Changes

-   @comet/eslint-plugin@5.2.0

## @comet/admin-babel-preset@5.2.0



## @comet/blocks-api@5.2.0



## @comet/cli@5.2.0



## @comet/eslint-plugin@5.2.0

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
  • Loading branch information
github-actions[bot] and github-actions[bot] authored Dec 13, 2023
1 parent 48a3b46 commit e8158b0
Show file tree
Hide file tree
Showing 46 changed files with 336 additions and 316 deletions.
15 changes: 0 additions & 15 deletions .changeset/beige-ghosts-invent.md

This file was deleted.

8 changes: 0 additions & 8 deletions .changeset/big-socks-whisper.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/breezy-scissors-warn.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/fair-clouds-poke.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/four-cherries-chew.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/fuzzy-doors-tie.md

This file was deleted.

8 changes: 0 additions & 8 deletions .changeset/fuzzy-islands-pay.md

This file was deleted.

8 changes: 0 additions & 8 deletions .changeset/little-hounds-promise.md

This file was deleted.

36 changes: 0 additions & 36 deletions .changeset/olive-comics-knock.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/real-cars-impress.md

This file was deleted.

7 changes: 0 additions & 7 deletions .changeset/silly-lemons-compete.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/strange-jars-do.md

This file was deleted.

7 changes: 0 additions & 7 deletions .changeset/yellow-dots-listen.md

This file was deleted.

2 changes: 2 additions & 0 deletions packages/admin/admin-babel-preset/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# @comet/admin-babel-preset

## 5.2.0

## 5.1.0

## 5.0.0
Expand Down
2 changes: 1 addition & 1 deletion packages/admin/admin-babel-preset/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@comet/admin-babel-preset",
"version": "5.1.0",
"version": "5.2.0",
"repository": {
"type": "git",
"url": "https://github.com/vivid-planet/comet",
Expand Down
10 changes: 10 additions & 0 deletions packages/admin/admin-color-picker/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
# @comet/admin-color-picker

## 5.2.0

### Patch Changes

- Updated dependencies [25daac07]
- Updated dependencies [0bed4e7c]
- Updated dependencies [9fc7d474]
- @comet/admin@5.2.0
- @comet/admin-icons@5.2.0

## 5.1.0

### Patch Changes
Expand Down
10 changes: 5 additions & 5 deletions packages/admin/admin-color-picker/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@comet/admin-color-picker",
"version": "5.1.0",
"version": "5.2.0",
"repository": {
"type": "git",
"url": "https://github.com/vivid-planet/comet",
Expand All @@ -25,8 +25,8 @@
"start:types": "tsc --project ./tsconfig.json --emitDeclarationOnly --watch --preserveWatchOutput"
},
"dependencies": {
"@comet/admin": "workspace:^5.1.0",
"@comet/admin-icons": "workspace:^5.1.0",
"@comet/admin": "workspace:^5.2.0",
"@comet/admin-icons": "workspace:^5.2.0",
"clsx": "^1.1.1",
"react-colorful": "^5.5.1",
"tinycolor2": "^1.4.1",
Expand All @@ -35,8 +35,8 @@
"devDependencies": {
"@babel/cli": "^7.17.6",
"@babel/core": "^7.20.12",
"@comet/admin-babel-preset": "workspace:^5.1.0",
"@comet/eslint-config": "workspace:^5.1.0",
"@comet/admin-babel-preset": "workspace:^5.2.0",
"@comet/eslint-config": "workspace:^5.2.0",
"@mui/icons-material": "^5.0.0",
"@mui/material": "^5.0.0",
"@mui/styles": "^5.0.0",
Expand Down
10 changes: 10 additions & 0 deletions packages/admin/admin-date-time/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
# @comet/admin-date-time

## 5.2.0

### Patch Changes

- Updated dependencies [25daac07]
- Updated dependencies [0bed4e7c]
- Updated dependencies [9fc7d474]
- @comet/admin@5.2.0
- @comet/admin-icons@5.2.0

## 5.1.0

### Patch Changes
Expand Down
10 changes: 5 additions & 5 deletions packages/admin/admin-date-time/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@comet/admin-date-time",
"version": "5.1.0",
"version": "5.2.0",
"repository": {
"type": "git",
"url": "https://github.com/vivid-planet/comet",
Expand All @@ -25,8 +25,8 @@
"start:types": "tsc --project ./tsconfig.json --emitDeclarationOnly --watch --preserveWatchOutput"
},
"dependencies": {
"@comet/admin": "workspace:^5.1.0",
"@comet/admin-icons": "workspace:^5.1.0",
"@comet/admin": "workspace:^5.2.0",
"@comet/admin-icons": "workspace:^5.2.0",
"@mui/utils": "^5.4.1",
"clsx": "^1.1.1",
"date-fns": "^2.28.0",
Expand All @@ -35,8 +35,8 @@
"devDependencies": {
"@babel/cli": "^7.17.6",
"@babel/core": "^7.20.12",
"@comet/admin-babel-preset": "workspace:^5.1.0",
"@comet/eslint-config": "workspace:^5.1.0",
"@comet/admin-babel-preset": "workspace:^5.2.0",
"@comet/eslint-config": "workspace:^5.2.0",
"@mui/material": "^5.0.0",
"@mui/styles": "^5.0.0",
"@types/react": "^17.0",
Expand Down
6 changes: 6 additions & 0 deletions packages/admin/admin-icons/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @comet/admin-icons

## 5.2.0

### Minor Changes

- 9fc7d474: Add new icons from the Comet UX library. Replace existing icons with new versions. Mark icons Pool, Pool2, Vignette1, Vignette2, Betrieb, LogischeFilter as deprecated.

## 5.1.0

## 5.0.0
Expand Down
6 changes: 3 additions & 3 deletions packages/admin/admin-icons/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@comet/admin-icons",
"version": "5.1.0",
"version": "5.2.0",
"repository": {
"type": "git",
"url": "https://github.com/vivid-planet/comet",
Expand All @@ -24,8 +24,8 @@
"devDependencies": {
"@babel/cli": "^7.17.6",
"@babel/core": "^7.20.12",
"@comet/admin-babel-preset": "workspace:^5.1.0",
"@comet/eslint-config": "workspace:^5.1.0",
"@comet/admin-babel-preset": "workspace:^5.2.0",
"@comet/eslint-config": "workspace:^5.2.0",
"@mui/material": "^5.0.0",
"@types/cli-progress": "^3.8.0",
"@types/node": "^18.0.0",
Expand Down
8 changes: 8 additions & 0 deletions packages/admin/admin-react-select/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# @comet/admin-react-select

## 5.2.0

### Patch Changes

- Updated dependencies [25daac07]
- Updated dependencies [0bed4e7c]
- @comet/admin@5.2.0

## 5.1.0

### Patch Changes
Expand Down
8 changes: 4 additions & 4 deletions packages/admin/admin-react-select/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@comet/admin-react-select",
"version": "5.1.0",
"version": "5.2.0",
"repository": {
"type": "git",
"url": "https://github.com/vivid-planet/comet",
Expand All @@ -25,14 +25,14 @@
"start:types": "tsc --project ./tsconfig.json --emitDeclarationOnly --watch --preserveWatchOutput"
},
"dependencies": {
"@comet/admin": "workspace:^5.1.0",
"@comet/admin": "workspace:^5.2.0",
"classnames": "^2.2.6"
},
"devDependencies": {
"@babel/cli": "^7.17.6",
"@babel/core": "^7.20.12",
"@comet/admin-babel-preset": "workspace:^5.1.0",
"@comet/eslint-config": "workspace:^5.1.0",
"@comet/admin-babel-preset": "workspace:^5.2.0",
"@comet/eslint-config": "workspace:^5.2.0",
"@mui/icons-material": "^5.0.0",
"@mui/material": "^5.0.0",
"@mui/styles": "^5.0.0",
Expand Down
7 changes: 7 additions & 0 deletions packages/admin/admin-rte/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# @comet/admin-rte

## 5.2.0

### Patch Changes

- Updated dependencies [9fc7d474]
- @comet/admin-icons@5.2.0

## 5.1.0

### Patch Changes
Expand Down
8 changes: 4 additions & 4 deletions packages/admin/admin-rte/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@comet/admin-rte",
"version": "5.1.0",
"version": "5.2.0",
"repository": {
"type": "git",
"url": "https://github.com/vivid-planet/comet",
Expand All @@ -25,16 +25,16 @@
"start:types": "tsc --project ./tsconfig.json --emitDeclarationOnly --watch --preserveWatchOutput"
},
"dependencies": {
"@comet/admin-icons": "workspace:^5.1.0",
"@comet/admin-icons": "workspace:^5.2.0",
"detect-browser": "^5.2.1",
"draftjs-conductor": "^3.0.0",
"immutable": "~3.7.4"
},
"devDependencies": {
"@babel/cli": "^7.17.6",
"@babel/core": "^7.20.12",
"@comet/admin-babel-preset": "workspace:^5.1.0",
"@comet/eslint-config": "workspace:^5.1.0",
"@comet/admin-babel-preset": "workspace:^5.2.0",
"@comet/eslint-config": "workspace:^5.2.0",
"@mui/icons-material": "^5.0.0",
"@mui/material": "^5.0.0",
"@mui/styles": "^5.0.0",
Expand Down
7 changes: 7 additions & 0 deletions packages/admin/admin-theme/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# @comet/admin-theme

## 5.2.0

### Patch Changes

- Updated dependencies [9fc7d474]
- @comet/admin-icons@5.2.0

## 5.1.0

### Patch Changes
Expand Down
8 changes: 4 additions & 4 deletions packages/admin/admin-theme/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@comet/admin-theme",
"version": "5.1.0",
"version": "5.2.0",
"repository": {
"type": "git",
"url": "https://github.com/vivid-planet/comet",
Expand All @@ -25,14 +25,14 @@
"start:types": "tsc --project ./tsconfig.json --emitDeclarationOnly --watch --preserveWatchOutput"
},
"dependencies": {
"@comet/admin-icons": "workspace:^5.1.0",
"@comet/admin-icons": "workspace:^5.2.0",
"@mui/utils": "^5.4.1"
},
"devDependencies": {
"@babel/cli": "^7.17.6",
"@babel/core": "^7.20.12",
"@comet/admin-babel-preset": "workspace:^5.1.0",
"@comet/eslint-config": "workspace:^5.1.0",
"@comet/admin-babel-preset": "workspace:^5.2.0",
"@comet/eslint-config": "workspace:^5.2.0",
"@mui/material": "^5.0.0",
"@mui/styles": "^5.0.0",
"@mui/system": "^5.0.0",
Expand Down
Loading

0 comments on commit e8158b0

Please sign in to comment.