Skip to content

Commit

Permalink
Release v5.5.0 (#1565)
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/[email protected]

### Minor Changes

-   bb2c76d: Deprecate `FileUploadInterface` interface

    Use `FileUploadInput` instead.

-   bb2c76d: Deprecate `download` helper

The helper is primarily used to create a `FileUploadInput` (previously
`FileUploadInterface`) input for `FilesService#upload` while creating
fixtures.
However, the name of the helper is too generic to be part of the
package's public API.
Instead, use the newly added
`FileUploadService#createFileUploadInputFromUrl`.

    **Example:**

    ```ts
    @Injectable()
    class ImageFixtureService {
constructor(private readonly filesService: FilesService, private
readonly fileUploadService: FileUploadService) {}

        async generateImage(url: string): Promise<FileInterface> {
const upload = await
this.fileUploadService.createFileUploadInputFromUrl(url);
            return this.filesService.upload(upload, {});
        }
    }
    ```

### Patch Changes

-   @comet/[email protected]

## @comet/[email protected]

### Patch Changes

-   @comet/[email protected]

## @comet/[email protected]

### Patch Changes

-   @comet/[email protected]
-   @comet/[email protected]

## @comet/[email protected]

### Patch Changes

-   @comet/[email protected]
-   @comet/[email protected]

## @comet/[email protected]

### Patch Changes

-   @comet/[email protected]

## @comet/[email protected]

### Patch Changes

-   @comet/[email protected]

## @comet/[email protected]

### Patch Changes

-   @comet/[email protected]

## @comet/[email protected]

### Patch Changes

-   @comet/[email protected]
-   @comet/[email protected]

## @comet/[email protected]

### Patch Changes

-   1b37b1f: Show `additionalToolbarItems` in `ChooseFileDialog`

The `additionalToolbarItems` were only shown inside the `DamPage`, but
not in the `ChooseFileDialog`.
To fix this, use the `additionalToolbarItems` option in
`DamConfigProvider`.
The `additionalToolbarItems` prop of `DamPage` has been deprecated in
favor of this option.

    **Previously:**

    ```tsx
    <DamPage
        // ...
        additionalToolbarItems={<ImportFromExternalDam />}
    />
    ```

    **Now:**

    ```tsx
    <DamConfigProvider
        value={{
            // ...
            additionalToolbarItems: <ImportFromExternalDam />,
        }}
    >
        {/*...*/}
    </DamConfigProvider>
    ```

- 85aa962: Set unhandled dependencies to `undefined` when copying
documents to another scope

This prevents leaks between scopes. In practice, this mostly concerns
links to documents that don't exist in the target scope.

    **Example:**

    -   Page A links to Page B
    -   Page A is copied from Scope A to Scope B
- Link to Page B is removed from Page A by replacing the `id` with
`undefined` (since Page B doesn't exist in Scope B)

**Note:** The link is only retained if both pages are copied in the same
operation.

- c4639be: Clip crop values when cropping an image in the DAM or
`PixelImageBlock`

Previously, negative values could occur, causing the image proxy to fail
on delivery.

    -   @comet/[email protected]
    -   @comet/[email protected]
    -   @comet/[email protected]
    -   @comet/[email protected]
    -   @comet/[email protected]
    -   @comet/[email protected]

## @comet/[email protected]

### Patch Changes

- 80a6d8d: Move import restriction for MUI's `Alert` to correct ESLint
config
    -   @comet/[email protected]

## @comet/[email protected]



## @comet/[email protected]



## @comet/[email protected]



## @comet/[email protected]



## @comet/[email protected]



## @comet/[email protected]

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
  • Loading branch information
github-actions[bot] and github-actions[bot] authored Jan 17, 2024
1 parent 1b37b1f commit 32414d6
Show file tree
Hide file tree
Showing 39 changed files with 254 additions and 201 deletions.
7 changes: 0 additions & 7 deletions .changeset/chilled-boats-camp.md

This file was deleted.

31 changes: 0 additions & 31 deletions .changeset/fifty-chairs-help.md

This file was deleted.

15 changes: 0 additions & 15 deletions .changeset/popular-carrots-move.md

This file was deleted.

7 changes: 0 additions & 7 deletions .changeset/silent-clocks-compete.md

This file was deleted.

23 changes: 0 additions & 23 deletions .changeset/sour-crews-thank.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/tidy-balloons-heal.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.5.0

## 5.4.0

## 5.3.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.4.0",
"version": "5.5.0",
"repository": {
"type": "git",
"url": "https://github.com/vivid-planet/comet",
Expand Down
7 changes: 7 additions & 0 deletions packages/admin/admin-color-picker/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# @comet/admin-color-picker

## 5.5.0

### Patch Changes

- @comet/admin@5.5.0
- @comet/admin-icons@5.5.0

## 5.4.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.4.0",
"version": "5.5.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.4.0",
"@comet/admin-icons": "workspace:^5.4.0",
"@comet/admin": "workspace:^5.5.0",
"@comet/admin-icons": "workspace:^5.5.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.4.0",
"@comet/eslint-config": "workspace:^5.4.0",
"@comet/admin-babel-preset": "workspace:^5.5.0",
"@comet/eslint-config": "workspace:^5.5.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-date-time/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# @comet/admin-date-time

## 5.5.0

### Patch Changes

- @comet/admin@5.5.0
- @comet/admin-icons@5.5.0

## 5.4.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.4.0",
"version": "5.5.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.4.0",
"@comet/admin-icons": "workspace:^5.4.0",
"@comet/admin": "workspace:^5.5.0",
"@comet/admin-icons": "workspace:^5.5.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.4.0",
"@comet/eslint-config": "workspace:^5.4.0",
"@comet/admin-babel-preset": "workspace:^5.5.0",
"@comet/eslint-config": "workspace:^5.5.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.5.0

## 5.4.0

## 5.3.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.4.0",
"version": "5.5.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.4.0",
"@comet/eslint-config": "workspace:^5.4.0",
"@comet/admin-babel-preset": "workspace:^5.5.0",
"@comet/eslint-config": "workspace:^5.5.0",
"@mui/material": "^5.0.0",
"@types/cli-progress": "^3.8.0",
"@types/node": "^18.0.0",
Expand Down
6 changes: 6 additions & 0 deletions packages/admin/admin-react-select/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @comet/admin-react-select

## 5.5.0

### Patch Changes

- @comet/admin@5.5.0

## 5.4.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.4.0",
"version": "5.5.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.4.0",
"@comet/admin": "workspace:^5.5.0",
"classnames": "^2.2.6"
},
"devDependencies": {
"@babel/cli": "^7.17.6",
"@babel/core": "^7.20.12",
"@comet/admin-babel-preset": "workspace:^5.4.0",
"@comet/eslint-config": "workspace:^5.4.0",
"@comet/admin-babel-preset": "workspace:^5.5.0",
"@comet/eslint-config": "workspace:^5.5.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.5.0

### Patch Changes

- @comet/admin-icons@5.5.0

## 5.4.0

### Minor 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.4.0",
"version": "5.5.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.4.0",
"@comet/admin-icons": "workspace:^5.5.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.4.0",
"@comet/eslint-config": "workspace:^5.4.0",
"@comet/admin-babel-preset": "workspace:^5.5.0",
"@comet/eslint-config": "workspace:^5.5.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.5.0

### Patch Changes

- @comet/admin-icons@5.5.0

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

## 5.5.0

### Patch Changes

- @comet/admin-icons@5.5.0

## 5.4.0

### Minor 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.4.0",
"version": "5.5.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.4.0",
"@comet/admin-icons": "workspace:^5.5.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.4.0",
"@comet/eslint-config": "workspace:^5.4.0",
"@comet/admin-babel-preset": "workspace:^5.5.0",
"@comet/eslint-config": "workspace:^5.5.0",
"@emotion/react": "^11.5.0",
"@emotion/styled": "^11.3.0",
"@mui/icons-material": "^5.0.0",
Expand Down
7 changes: 7 additions & 0 deletions packages/admin/blocks-admin/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# @comet/blocks-admin

## 5.5.0

### Patch Changes

- @comet/admin@5.5.0
- @comet/admin-icons@5.5.0

## 5.4.0

### Patch Changes
Expand Down
Loading

0 comments on commit 32414d6

Please sign in to comment.