Skip to content

Commit a76be26

Browse files
committed
Update changelog
1 parent d5ed747 commit a76be26

File tree

6 files changed

+211
-252
lines changed

6 files changed

+211
-252
lines changed

admin-ui/src/modules/common/components/ProviderNameConfiguration.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,8 @@ const ProviderNameConfiguration = ({ configuration, color }) => {
1919
{normalizedJSON &&
2020
normalizedJSON.map((config) => {
2121
const text = `${config.key} | ${formatValue(config.value)}`;
22-
const displayText = text.length > 20 ? `${text.slice(0, 20)}...` : text;
22+
const displayText =
23+
text.length > 20 ? `${text.slice(0, 20)}...` : text;
2324

2425
return (
2526
<Badge

admin-ui/src/modules/forms/components/JSONAreaField.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ const JSONAreaField = ({
7777
onBlur={handleOnBlur}
7878
placeholder={field.placeholder}
7979
autoComplete={field.autoComplete}
80-
value={field.value}
80+
value={field.value}
8181
/>
8282
</FieldWrapper>
8383
);

admin-ui/src/modules/work/hooks/useWork.ts

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -29,14 +29,14 @@ const useWork = ({
2929
...options
3030
}: IWorkQueryVariables & { pollInterval?: number }) => {
3131
const { customProperties } = useUnchainedContext();
32-
const { data, loading, error, previousData } = useQuery<IWorkQuery, IWorkQueryVariables>(
33-
GetWorkQuery(customProperties?.Work),
34-
{
35-
skip: !workId,
36-
variables: { workId },
37-
...options,
38-
},
39-
);
32+
const { data, loading, error, previousData } = useQuery<
33+
IWorkQuery,
34+
IWorkQueryVariables
35+
>(GetWorkQuery(customProperties?.Work), {
36+
skip: !workId,
37+
variables: { workId },
38+
...options,
39+
});
4040

4141
return {
4242
work: data?.work || previousData?.work,

changelog.md

Lines changed: 24 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,26 @@
1+
# Unchained Engine v4.2
2+
3+
## Minor
4+
- Removed obsolete PickMUp delivery provider because it's not compatible anymore with the API of Migros
5+
- Stores Plugin now allows to set the stores without JSON.stringifying the value
6+
- Added various factory methods to simplify plugin development
7+
- Added two new actions viewWorkQueue and viewWork do better control custom ACL cases
8+
- Started to harmonize actions with admin ui permission checker
9+
- Improved DX in examples by handing over the default case of start platform + chat + plugin middlewares for frontify and express
10+
- Added new static landing page when Admin UI package is not installed (used in minimal)
11+
- Various improvements for the Admin UI
12+
13+
## Patch
14+
- Fix tokensCount crashing
15+
- Fix a case where delivery/payment/warehousing providers returned as empty array when using explicit null in queries
16+
- Fix a problem where adding a product to the cart twice led to two order positions when it should just increase the quantity
17+
- Fixed AI image generator to use mime/lite (already used in the project) instead of the "file-type" dependency
18+
- Filter caches are invalidated on startup without blocking server boot
19+
- Nodemailer is now optional, only needed when interception is turned off and MAIL_URL is set.
20+
- Improved findSiblings performance
21+
- Improved searchProducts in assortments performance by using the assortment loader
22+
23+
124
# Unchained Engine v4.1
225

326
## Minor
@@ -9,7 +32,7 @@
932
- Fix catalog price calculation bug with leveled prices #670
1033
- Fix unchained supporting ai@5.0.80+ (breaking change with experimental feature)
1134

12-
# Unchained Engine v4.0.0 ("Tell")
35+
# Unchained Engine v4.0 ("Tell")
1336

1437
This release brings you FerretDB and cloud-hosted MongoDB support (AWS / Azure) via the DocumentDB SDK. You can now run Unchained against a PostgreSQL database: https://ferretdb.com. Be warned, the performance penalty is quite significant currently. Additionally, you can't use `queryString` arguments in queries like `searchProducts` or `countries` at this time.
1538

0 commit comments

Comments
 (0)