-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
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
There are no files selected for viewing
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
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 | ||
|
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 | ||
|