Skip to content

Commit

Permalink
Version Packages (#1422)
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.1.0

### Minor Changes

-   93b3d97: Extend error details in `ErrorDialog`

Previously, uncaught errors in production environments would result in
an "An error occurred" `ErrorDialog`, making the error difficult to
debug.
To improve the reproducibility of an error, we enrich the `ErrorDialog`
with the following `additionalInformation`:

    -   `errorType`: The type of the error, network or server error
    -   `httpStatus`: The HTTP status of the request that failed
    -   `url`: The URL where the error occurred
    -   `timestamp`: The timestamp when the error occurred

This information will be displayed in the `ErrorDialog` if no custom
`userMessage` has been provided.
In addition, a button has been added to allow this information to be
copied to the clipboard.

### Patch Changes

-   21c3093: Fix `saveAction` in `RouterPrompt` of `FinalForm`

The submit mutation wasn't correctly awaited if a `FinalForm` using an
asynchronous validation was saved via the `saveAction` provided in the
`RouterPrompt`.

In practice, this affected `FinalForm`s within an `EditDialog`. The
`EditDialog` closed before the submission was completed. All changes
were omitted. The result of the submission (fail or success) was never
shown.

-   e33cd65: Fix `EditDialog#onAfterSave` not called on form submission

The `onAfterSave` callback was only called when submitting a form inside
an `EditDialog` by clicking the save button, but not when submitting the
form by hitting the enter key.
We fix this by adding the callback to the `EditDialogFormApi` and
calling it after the form has been successfully submitted.

    -   @comet/admin-icons@5.1.0

## @comet/eslint-plugin@5.1.0

### Minor Changes

- ec0582e: Add new ESLint rule to enforce absolute imports when
importing from other modules

For instance, an import `import { AThingInModuleA } from
"../moduleA/AThingInModuleA"` in module `B` needs to be imported as
`import { AThingInModuleA } from "@src/moduleA/AThingInModuleA"`.
The default source root `"./src"` and alias `"@src"` can be changed via
the rule's `sourceRoot` and `sourceRootAlias` options.
This rule will be enforced by `@comet/eslint-config` in the next major
release.

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

### Patch Changes

-   Updated dependencies [21c3093]
-   Updated dependencies [93b3d97]
-   Updated dependencies [e33cd65]
    -   @comet/admin@5.1.0
    -   @comet/admin-icons@5.1.0

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

### Patch Changes

-   Updated dependencies [21c3093]
-   Updated dependencies [93b3d97]
-   Updated dependencies [e33cd65]
    -   @comet/admin@5.1.0
    -   @comet/admin-icons@5.1.0

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

### Patch Changes

-   Updated dependencies [21c3093]
-   Updated dependencies [93b3d97]
-   Updated dependencies [e33cd65]
    -   @comet/admin@5.1.0

## @comet/admin-rte@5.1.0

### Patch Changes

-   @comet/admin-icons@5.1.0

## @comet/admin-theme@5.1.0

### Patch Changes

-   @comet/admin-icons@5.1.0

## @comet/blocks-admin@5.1.0

### Patch Changes

-   Updated dependencies [21c3093]
-   Updated dependencies [93b3d97]
-   Updated dependencies [e33cd65]
    -   @comet/admin@5.1.0
    -   @comet/admin-icons@5.1.0

## @comet/cms-admin@5.1.0

### Patch Changes

- e1d3f00: Prevent false positive save conflicts while editing
documents (e.g. `Page`):

    -   Stop checking for conflicts while saving is in progress
    -   Ensure that all "CheckForChanges" polls are cleared

- 6d69dfa: Fix issue in PixelImageBlock that caused the preview URLs
for files without a file extension in their filename to be invalid

- 21c3093: Improved the EditPageNode dialog ("Page Properties" dialog):

- Execute the asynchronous slug validation less often (increased the
debounce wait time from 200ms to 500ms)
- Cache the slug validation results. Evict the cache on the initial
render of the dialog

-   Updated dependencies [21c3093]

-   Updated dependencies [93b3d97]

-   Updated dependencies [e33cd65]
    -   @comet/admin@5.1.0
    -   @comet/admin-date-time@5.1.0
    -   @comet/admin-icons@5.1.0
    -   @comet/admin-rte@5.1.0
    -   @comet/admin-theme@5.1.0
    -   @comet/blocks-admin@5.1.0

## @comet/cms-api@5.1.0

### Patch Changes

-   @comet/blocks-api@5.1.0

## @comet/eslint-config@5.1.0

### Patch Changes

-   Updated dependencies [ec0582e]
    -   @comet/eslint-plugin@5.1.0

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



## @comet/admin-icons@5.1.0



## @comet/blocks-api@5.1.0



## @comet/cli@5.1.0



## @comet/cms-site@5.1.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 Nov 28, 2023
1 parent e33cd65 commit 76325f4
Show file tree
Hide file tree
Showing 40 changed files with 313 additions and 227 deletions.
9 changes: 0 additions & 9 deletions .changeset/clever-jokes-chew.md

This file was deleted.

8 changes: 0 additions & 8 deletions .changeset/cold-dryers-shout.md

This file was deleted.

9 changes: 0 additions & 9 deletions .changeset/fifty-apricots-count.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/fuzzy-forks-relate.md

This file was deleted.

16 changes: 0 additions & 16 deletions .changeset/honest-garlics-listen.md

This file was deleted.

8 changes: 0 additions & 8 deletions .changeset/spotty-cougars-mate.md

This file was deleted.

8 changes: 0 additions & 8 deletions .changeset/tough-gorillas-travel.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.1.0

## 5.0.0

## 4.7.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.0.0",
"version": "5.1.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.1.0

### Patch Changes

- Updated dependencies [21c30931]
- Updated dependencies [93b3d971]
- Updated dependencies [e33cd652]
- @comet/admin@5.1.0
- @comet/admin-icons@5.1.0

## 5.0.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.0.0",
"version": "5.1.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.0.0",
"@comet/admin-icons": "workspace:^5.0.0",
"@comet/admin": "workspace:^5.1.0",
"@comet/admin-icons": "workspace:^5.1.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.0.0",
"@comet/eslint-config": "workspace:^5.0.0",
"@comet/admin-babel-preset": "workspace:^5.1.0",
"@comet/eslint-config": "workspace:^5.1.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.1.0

### Patch Changes

- Updated dependencies [21c30931]
- Updated dependencies [93b3d971]
- Updated dependencies [e33cd652]
- @comet/admin@5.1.0
- @comet/admin-icons@5.1.0

## 5.0.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.0.0",
"version": "5.1.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.0.0",
"@comet/admin-icons": "workspace:^5.0.0",
"@comet/admin": "workspace:^5.1.0",
"@comet/admin-icons": "workspace:^5.1.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.0.0",
"@comet/eslint-config": "workspace:^5.0.0",
"@comet/admin-babel-preset": "workspace:^5.1.0",
"@comet/eslint-config": "workspace:^5.1.0",
"@mui/material": "^5.0.0",
"@mui/styles": "^5.0.0",
"@types/react": "^17.0",
Expand Down
2 changes: 2 additions & 0 deletions packages/admin/admin-icons/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# @comet/admin-icons

## 5.1.0

## 5.0.0

### Minor Changes
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.0.0",
"version": "5.1.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.0.0",
"@comet/eslint-config": "workspace:^5.0.0",
"@comet/admin-babel-preset": "workspace:^5.1.0",
"@comet/eslint-config": "workspace:^5.1.0",
"@mui/material": "^5.0.0",
"@types/cli-progress": "^3.8.0",
"@types/node": "^18.0.0",
Expand Down
9 changes: 9 additions & 0 deletions packages/admin/admin-react-select/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# @comet/admin-react-select

## 5.1.0

### Patch Changes

- Updated dependencies [21c30931]
- Updated dependencies [93b3d971]
- Updated dependencies [e33cd652]
- @comet/admin@5.1.0

## 5.0.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.0.0",
"version": "5.1.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.0.0",
"@comet/admin": "workspace:^5.1.0",
"classnames": "^2.2.6"
},
"devDependencies": {
"@babel/cli": "^7.17.6",
"@babel/core": "^7.20.12",
"@comet/admin-babel-preset": "workspace:^5.0.0",
"@comet/eslint-config": "workspace:^5.0.0",
"@comet/admin-babel-preset": "workspace:^5.1.0",
"@comet/eslint-config": "workspace:^5.1.0",
"@mui/icons-material": "^5.0.0",
"@mui/material": "^5.0.0",
"@mui/styles": "^5.0.0",
Expand Down
6 changes: 6 additions & 0 deletions packages/admin/admin-rte/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @comet/admin-rte

## 5.1.0

### Patch Changes

- @comet/admin-icons@5.1.0

## 5.0.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.0.0",
"version": "5.1.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.0.0",
"@comet/admin-icons": "workspace:^5.1.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.0.0",
"@comet/eslint-config": "workspace:^5.0.0",
"@comet/admin-babel-preset": "workspace:^5.1.0",
"@comet/eslint-config": "workspace:^5.1.0",
"@mui/icons-material": "^5.0.0",
"@mui/material": "^5.0.0",
"@mui/styles": "^5.0.0",
Expand Down
6 changes: 6 additions & 0 deletions packages/admin/admin-theme/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @comet/admin-theme

## 5.1.0

### Patch Changes

- @comet/admin-icons@5.1.0

## 5.0.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.0.0",
"version": "5.1.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.0.0",
"@comet/admin-icons": "workspace:^5.1.0",
"@mui/utils": "^5.4.1"
},
"devDependencies": {
"@babel/cli": "^7.17.6",
"@babel/core": "^7.20.12",
"@comet/admin-babel-preset": "workspace:^5.0.0",
"@comet/eslint-config": "workspace:^5.0.0",
"@comet/admin-babel-preset": "workspace:^5.1.0",
"@comet/eslint-config": "workspace:^5.1.0",
"@mui/material": "^5.0.0",
"@mui/styles": "^5.0.0",
"@mui/system": "^5.0.0",
Expand Down
32 changes: 32 additions & 0 deletions packages/admin/admin/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,37 @@
# @comet/admin

## 5.1.0

### Minor Changes

- 93b3d971: Extend error details in `ErrorDialog`

Previously, uncaught errors in production environments would result in an "An error occurred" `ErrorDialog`, making the error difficult to debug.
To improve the reproducibility of an error, we enrich the `ErrorDialog` with the following `additionalInformation`:

- `errorType`: The type of the error, network or server error
- `httpStatus`: The HTTP status of the request that failed
- `url`: The URL where the error occurred
- `timestamp`: The timestamp when the error occurred

This information will be displayed in the `ErrorDialog` if no custom `userMessage` has been provided.
In addition, a button has been added to allow this information to be copied to the clipboard.

### Patch Changes

- 21c30931: Fix `saveAction` in `RouterPrompt` of `FinalForm`

The submit mutation wasn't correctly awaited if a `FinalForm` using an asynchronous validation was saved via the `saveAction` provided in the `RouterPrompt`.

In practice, this affected `FinalForm`s within an `EditDialog`. The `EditDialog` closed before the submission was completed. All changes were omitted. The result of the submission (fail or success) was never shown.

- e33cd652: Fix `EditDialog#onAfterSave` not called on form submission

The `onAfterSave` callback was only called when submitting a form inside an `EditDialog` by clicking the save button, but not when submitting the form by hitting the enter key.
We fix this by adding the callback to the `EditDialogFormApi` and calling it after the form has been successfully submitted.

- @comet/admin-icons@5.1.0

## 5.0.0

### Major Changes
Expand Down
8 changes: 4 additions & 4 deletions packages/admin/admin/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@comet/admin",
"version": "5.0.0",
"version": "5.1.0",
"repository": {
"type": "git",
"url": "https://github.com/vivid-planet/comet",
Expand All @@ -27,7 +27,7 @@
"test:watch": "jest --watch"
},
"dependencies": {
"@comet/admin-icons": "workspace:^5.0.0",
"@comet/admin-icons": "workspace:^5.1.0",
"@mui/private-theming": "^5.0.0",
"clsx": "^1.1.1",
"exceljs": "^3.4.0",
Expand All @@ -45,8 +45,8 @@
"@apollo/client": "^3.7.0",
"@babel/cli": "^7.17.6",
"@babel/core": "^7.20.12",
"@comet/admin-babel-preset": "workspace:^5.0.0",
"@comet/eslint-config": "workspace:^5.0.0",
"@comet/admin-babel-preset": "workspace:^5.1.0",
"@comet/eslint-config": "workspace:^5.1.0",
"@emotion/react": "^11.5.0",
"@emotion/styled": "^11.3.0",
"@mui/icons-material": "^5.0.0",
Expand Down
Loading

0 comments on commit 76325f4

Please sign in to comment.