-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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 - d4a269e: Add `filterByFragment` to replace graphql-anywhere's `filter` [graphql-anywhere](https://www.npmjs.com/package/graphql-anywhere) is no longer maintained. However, its `filter` utility is useful for filtering data by a GraphQL document, e.g., a fragment. Therefore, the function was copied to `@comet/admin`. To migrate, replace all `filter` calls with `filterByFragment`: ```diff - import { filter } from "graphql-anywhere"; + import { filterByFragment } from "@comet/admin"; const initialValues: Partial<FormValues> = data?.product ? { - ...filter<GQLProductPriceFormFragment>(productPriceFormFragment, data.product), + ...filterByFragment<GQLProductPriceFormFragment>(productPriceFormFragment, data.product), price: String(data.product.price), } : {}; ``` You can then uninstall the `graphql-anywhere` package: ```bash # In admin/ npm uninstall graphql-anywhere ``` - 52130af: Add `FinalFormFileSelect` component Allows selecting files via the file dialog or using drag-and-drop. - e938254: Add the `useDataGridExcelExport` hook for exporting data from a `DataGrid` to an excel file The hook returns an `exportApi` encompassing: - `exportGrid`: a function to generate and export the excel file - `loading`: a boolean indicating if the export is in progress - `error`: an error when the export has failed ### Patch Changes - a8a098a: muiGridFilterToGql: change fallback operator to 'and' to match MUI default - @comet/[email protected] ## @comet/[email protected] ### Minor Changes - f89af8b: Add `disableHideInMenu` option to `createEditPageNode` to hide the "Hide in menu" checkbox - d4a269e: Add `filterByFragment` to replace graphql-anywhere's `filter` [graphql-anywhere](https://www.npmjs.com/package/graphql-anywhere) is no longer maintained. However, its `filter` utility is useful for filtering data by a GraphQL document, e.g., a fragment. Therefore, the function was copied to `@comet/admin`. To migrate, replace all `filter` calls with `filterByFragment`: ```diff - import { filter } from "graphql-anywhere"; + import { filterByFragment } from "@comet/admin"; const initialValues: Partial<FormValues> = data?.product ? { - ...filter<GQLProductPriceFormFragment>(productPriceFormFragment, data.product), + ...filterByFragment<GQLProductPriceFormFragment>(productPriceFormFragment, data.product), price: String(data.product.price), } : {}; ``` You can then uninstall the `graphql-anywhere` package: ```bash # In admin/ npm uninstall graphql-anywhere ``` - f528bc3: CronJobModule: Show logs for job run ### Patch Changes - d340cab: DAM: Fix the duplicate name check when updating a file Previously, there were two bugs: 1. In the `EditFile` form, the `folderId` wasn't passed to the mutation 2. In `FilesService#updateByEntity`, the duplicate check was always done against the root folder if no `folderId` was passed This caused an error when saving a file in any folder if there was another file with the same name in the root folder. And it was theoretically possible to create two files with the same name in one folder (though this was still prevented by admin-side validation). - Updated dependencies [a8a098a] - Updated dependencies [d4a269e] - Updated dependencies [52130af] - Updated dependencies [e938254] - @comet/[email protected] - @comet/[email protected] - @comet/[email protected] - @comet/[email protected] - @comet/[email protected] - @comet/[email protected] ## @comet/[email protected] ### Minor Changes - 536fdb8: Add `createUserFromIdToken` to `UserService`-interface This allows to override the default implementation of creating the User-Object from the JWT when logging in via `createAuthProxyJwtStrategy` - f528bc3: CronJobModule: Show logs for job run ### Patch Changes - d340cab: DAM: Fix the duplicate name check when updating a file Previously, there were two bugs: 1. In the `EditFile` form, the `folderId` wasn't passed to the mutation 2. In `FilesService#updateByEntity`, the duplicate check was always done against the root folder if no `folderId` was passed This caused an error when saving a file in any folder if there was another file with the same name in the root folder. And it was theoretically possible to create two files with the same name in one folder (though this was still prevented by admin-side validation). - 584d14d: Only return duplicates within the same scope in the `FilesResolver#duplicates` field resolver As a side effect `FilesService#findAllByHash` now accepts an optional scope parameter. - @comet/[email protected] ## @comet/[email protected] ### Minor Changes - 5c1ab80: SeoBlock: Change Open Graph image to recommended size and aspect ratio (`1200x630`) ## @comet/[email protected] ### Patch Changes - Updated dependencies [a8a098a] - Updated dependencies [d4a269e] - Updated dependencies [52130af] - Updated dependencies [e938254] - @comet/[email protected] - @comet/[email protected] ## @comet/[email protected] ### Patch Changes - Updated dependencies [a8a098a] - Updated dependencies [d4a269e] - Updated dependencies [52130af] - Updated dependencies [e938254] - @comet/[email protected] - @comet/[email protected] ## @comet/[email protected] ### Patch Changes - Updated dependencies [a8a098a] - Updated dependencies [d4a269e] - Updated dependencies [52130af] - Updated dependencies [e938254] - @comet/[email protected] ## @comet/[email protected] ### Patch Changes - Updated dependencies [a8a098a] - Updated dependencies [d4a269e] - Updated dependencies [52130af] - Updated dependencies [e938254] - @comet/[email protected] - @comet/[email protected] ## @comet/[email protected] ### Patch Changes - @comet/[email protected] ## @comet/[email protected] ### Patch Changes - Updated dependencies [a8a098a] - Updated dependencies [d4a269e] - Updated dependencies [52130af] - Updated dependencies [e938254] - @comet/[email protected] - @comet/[email protected] ## @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
1 parent
536fdb8
commit 9732556
Showing
43 changed files
with
330 additions
and
224 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,7 @@ | ||
# @comet/admin-babel-preset | ||
|
||
## 6.10.0 | ||
|
||
## 6.9.0 | ||
|
||
## 6.8.0 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,7 @@ | ||
# @comet/admin-icons | ||
|
||
## 6.10.0 | ||
|
||
## 6.9.0 | ||
|
||
## 6.8.0 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,11 @@ | ||
# @comet/admin-theme | ||
|
||
## 6.10.0 | ||
|
||
### Patch Changes | ||
|
||
- @comet/admin-icons@6.10.0 | ||
|
||
## 6.9.0 | ||
|
||
### Patch Changes | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.