Skip to content

Commit

Permalink
Version Packages (#1790)
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

- 8ce21f3: SaveBoundary: Submit multiple Savables sequentially instead
of parallel
- 811903e: Disable the content translation feature for disabled input
fields and non-text inputs

### Patch Changes

-   @comet/[email protected]

## @comet/[email protected]

### Minor Changes

-   30d9e0d: Add `createCompositeBlockSelectField` helper function

To simplify the creation of a select field blocks by hiding the verbose
definition of `Form`, `Field` and items.

-   322da38: Add `resolveDependencyPath()` to `BlockMethods` interface

Blocks must now offer a `resolveDependencyPath()` method that returns a
URL path based on the block's `state` and `jsonPath`.
    It can be used to build the URL to a block's edit view.

For most cases, the default implementation of this method should be
sufficient, so you don't have to implement it yourself.
You must only override it manually if your block's admin component
contains special routing logic (e.g. `RouterTabs`).

-   887365c: Add `createCompositeBlockTextField` helper function

To simplify the creation of a text block field by hiding the verbose
definition of `Form` and `Field`.

### Patch Changes

- 811903e: Disable the content translation feature for input fields
where it doesn't make sense
-   Updated dependencies [8ce21f3]
-   Updated dependencies [811903e]
    -   @comet/[email protected]
    -   @comet/[email protected]

## @comet/[email protected]

### Minor Changes

-   2d1b946: createImageLinkBlock: Allow overriding name

This allows using two different `ImageLink` blocks in one application.

    Perform the following steps to override the name:

1. API: Add the name as second argument in the `createImageLinkBlock`
factory:

        ```diff
        const MyCustomImageLinkBlock = createImageLinkBlock(
            { link: InternalLinkBlock },
        +   "MyCustomImageLink"
        );
        ```

2. Admin: Set the `name` option in the `createImageLinkBlock` factory:

        ```diff
        const MyCustomImageLinkBlock = createImageLinkBlock({
            link: InternalLinkBlock,
        +   name: "MyCustomImageLink"
        });
        ```

-   322da38: Add `DependencyInterface`

The `DependencyInterface` must be implemented for entities to be
displayed correctly in the `DependencyList`.
The implementation must then be passed to the
`DependenciesConfigProvider`.

You can use one of the helper methods to implement the `resolvePath()`
method required by `DependencyInterface`:

    -   `createDocumentDependencyMethods()` for documents
    -   `createDependencyMethods()` for all other entities

You can find more information in [the
docs](https://docs.comet-dxp.com/docs/dependencies/).

- 322da38: Add `DependencyList` that can be used to display the
dependencies of an entity in the admin

The `DependencyList` is intended to be used in `Tabs` (as done in the
DAM).

### Patch Changes

- f6c972e: Correctly evaluate the `language`-field of the
`CurrentUser`-object
- 811903e: Disable the content translation feature for input fields
where it doesn't make sense
-   0efae68: Prevent XSS attacks in `isLinkTarget()` validator
-   Updated dependencies [30d9e0d]
-   Updated dependencies [811903e]
-   Updated dependencies [8ce21f3]
-   Updated dependencies [322da38]
-   Updated dependencies [811903e]
-   Updated dependencies [887365c]
    -   @comet/[email protected]
    -   @comet/[email protected]
    -   @comet/[email protected]
    -   @comet/[email protected]
    -   @comet/[email protected]
    -   @comet/[email protected]

## @comet/[email protected]

### Minor Changes

-   9ff9d98: Support using a service in `@ScopedEntity()` decorator

This can be useful when an entity's scope cannot be derived directly
from the passed entity.
For example, a `Page` document's scope is derived by the `PageTreeNode`
the document is attached to, but there is no database relation between
the two entities.

For page tree document types you can use the provided
`PageTreeNodeDocumentEntityScopeService`.

-   955182b: Make permission-check for field-resolvers optional

-   322da38: Add `@EntityInfo()` decorator

Adding `@EntityInfo()` to an entity is necessary to correctly display
dependencies in the admin application.
You can find more information in [the
docs](https://docs.comet-dxp.com/docs/dependencies/).

-   1910551: Log the correct user IP even if the app is behind a proxy

The package [request-ip](https://www.npmjs.com/package/request-ip) is
now used to get the actual user IP even if the app runs behind a proxy.
Previously, the proxy's IP was logged.

-   2d1b946: createImageLinkBlock: Allow overriding name

This allows using two different `ImageLink` blocks in one application.

    Perform the following steps to override the name:

1. API: Add the name as second argument in the `createImageLinkBlock`
factory:

        ```diff
        const MyCustomImageLinkBlock = createImageLinkBlock(
            { link: InternalLinkBlock },
        +   "MyCustomImageLink"
        );
        ```

2. Admin: Set the `name` option in the `createImageLinkBlock` factory:

        ```diff
        const MyCustomImageLinkBlock = createImageLinkBlock({
            link: InternalLinkBlock,
        +   name: "MyCustomImageLink"
        });
        ```

### Patch Changes

-   8568153: API Generator: Add missing `ObjectQuery` import

-   1910551: Remove user name from access log

    We decided to remove the user name because of privacy concerns.

- bfc1a46: API Generator: Correctly support default value for date
fields

- b478a8b: Don't fail in ChangesCheckerInterceptor because of stricter
content scope check

-   Updated dependencies [0efae68]
    -   @comet/[email protected]

## @comet/[email protected]

### Patch Changes

-   Updated dependencies [8ce21f3]
-   Updated dependencies [811903e]
    -   @comet/[email protected]
    -   @comet/[email protected]

## @comet/[email protected]

### Patch Changes

-   Updated dependencies [8ce21f3]
-   Updated dependencies [811903e]
    -   @comet/[email protected]
    -   @comet/[email protected]

## @comet/[email protected]

### Patch Changes

-   Updated dependencies [8ce21f3]
-   Updated dependencies [811903e]
    -   @comet/[email protected]

## @comet/[email protected]

### Patch Changes

-   Updated dependencies [8ce21f3]
-   Updated dependencies [811903e]
    -   @comet/[email protected]
    -   @comet/[email protected]

## @comet/[email protected]

### Patch Changes

-   @comet/[email protected]

## @comet/[email protected]

### Patch Changes

-   0efae68: Prevent XSS attacks in `@IsLinkTarget()` validator

## @comet/[email protected]

### Patch Changes

-   @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 Mar 19, 2024
1 parent 0efae68 commit e7b61ba
Show file tree
Hide file tree
Showing 53 changed files with 379 additions and 302 deletions.
10 changes: 0 additions & 10 deletions .changeset/cuddly-penguins-try.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/curly-lobsters-grin.md

This file was deleted.

7 changes: 0 additions & 7 deletions .changeset/cyan-mayflies-relate.md

This file was deleted.

8 changes: 0 additions & 8 deletions .changeset/cyan-seals-fry.md

This file was deleted.

7 changes: 0 additions & 7 deletions .changeset/eleven-mugs-rule.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/fast-falcons-cry.md

This file was deleted.

6 changes: 0 additions & 6 deletions .changeset/forty-pumas-confess.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/happy-parents-yawn.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/hungry-zebras-visit.md

This file was deleted.

7 changes: 0 additions & 7 deletions .changeset/lovely-bags-heal.md

This file was deleted.

28 changes: 0 additions & 28 deletions .changeset/nervous-tables-tie.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/pink-forks-fold.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/proud-steaks-attend.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/six-lamps-sort.md

This file was deleted.

11 changes: 0 additions & 11 deletions .changeset/six-suns-live.md

This file was deleted.

15 changes: 0 additions & 15 deletions .changeset/smart-colts-drive.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/soft-knives-confess.md

This file was deleted.

8 changes: 0 additions & 8 deletions .changeset/tidy-feet-shop.md

This file was deleted.

7 changes: 0 additions & 7 deletions .changeset/tiny-taxis-behave.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/tough-onions-march.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

## 6.4.0

## 6.3.0

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

## 6.4.0

### Patch Changes

- Updated dependencies [8ce21f34b]
- Updated dependencies [811903e60]
- @comet/admin@6.4.0
- @comet/admin-icons@6.4.0

## 6.3.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": "6.3.0",
"version": "6.4.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:^6.3.0",
"@comet/admin-icons": "workspace:^6.3.0",
"@comet/admin": "workspace:^6.4.0",
"@comet/admin-icons": "workspace:^6.4.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:^6.3.0",
"@comet/eslint-config": "workspace:^6.3.0",
"@comet/admin-babel-preset": "workspace:^6.4.0",
"@comet/eslint-config": "workspace:^6.4.0",
"@mui/icons-material": "^5.0.0",
"@mui/material": "^5.0.0",
"@mui/styles": "^5.0.0",
Expand Down
9 changes: 9 additions & 0 deletions packages/admin/admin-date-time/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# @comet/admin-date-time

## 6.4.0

### Patch Changes

- Updated dependencies [8ce21f34b]
- Updated dependencies [811903e60]
- @comet/admin@6.4.0
- @comet/admin-icons@6.4.0

## 6.3.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": "6.3.0",
"version": "6.4.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:^6.3.0",
"@comet/admin-icons": "workspace:^6.3.0",
"@comet/admin": "workspace:^6.4.0",
"@comet/admin-icons": "workspace:^6.4.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:^6.3.0",
"@comet/eslint-config": "workspace:^6.3.0",
"@comet/admin-babel-preset": "workspace:^6.4.0",
"@comet/eslint-config": "workspace:^6.4.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

## 6.4.0

## 6.3.0

## 6.2.1
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": "6.3.0",
"version": "6.4.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:^6.3.0",
"@comet/eslint-config": "workspace:^6.3.0",
"@comet/admin-babel-preset": "workspace:^6.4.0",
"@comet/eslint-config": "workspace:^6.4.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

## 6.4.0

### Patch Changes

- Updated dependencies [8ce21f34b]
- Updated dependencies [811903e60]
- @comet/admin@6.4.0

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

## 6.4.0

### Patch Changes

- Updated dependencies [8ce21f34b]
- Updated dependencies [811903e60]
- @comet/admin@6.4.0
- @comet/admin-icons@6.4.0

## 6.3.0

### Patch Changes
Expand Down
10 changes: 5 additions & 5 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": "6.3.0",
"version": "6.4.0",
"repository": {
"type": "git",
"url": "https://github.com/vivid-planet/comet",
Expand All @@ -27,8 +27,8 @@
"test:watch": "jest --watch"
},
"dependencies": {
"@comet/admin": "workspace:^6.3.0",
"@comet/admin-icons": "workspace:^6.3.0",
"@comet/admin": "workspace:^6.4.0",
"@comet/admin-icons": "workspace:^6.4.0",
"detect-browser": "^5.2.1",
"draft-js-export-html": "^1.4.1",
"draft-js-import-html": "^1.4.1",
Expand All @@ -38,8 +38,8 @@
"devDependencies": {
"@babel/cli": "^7.17.6",
"@babel/core": "^7.20.12",
"@comet/admin-babel-preset": "workspace:^6.3.0",
"@comet/eslint-config": "workspace:^6.3.0",
"@comet/admin-babel-preset": "workspace:^6.4.0",
"@comet/eslint-config": "workspace:^6.4.0",
"@mui/icons-material": "^5.0.0",
"@mui/material": "^5.0.0",
"@mui/styles": "^5.0.0",
Expand Down
Loading

0 comments on commit e7b61ba

Please sign in to comment.