Skip to content

Commit

Permalink
Update packages
Browse files Browse the repository at this point in the history
  • Loading branch information
lucaslorentz committed Nov 11, 2023
1 parent 0d14ae1 commit 401a8a4
Show file tree
Hide file tree
Showing 34 changed files with 3,139 additions and 2,599 deletions.
4 changes: 2 additions & 2 deletions benchmark/StoragesBenchmark/StoragesBenchmark.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@

<PropertyGroup Condition=" '$(RunConfiguration)' == 'CarWorker' " />
<ItemGroup>
<PackageReference Include="BenchmarkDotNet" Version="0.13.8" />
<PackageReference Include="Microsoft.DurableTask.SqlServer" Version="1.1.1" />
<PackageReference Include="BenchmarkDotNet" Version="0.13.10" />
<PackageReference Include="Microsoft.DurableTask.SqlServer" Version="1.2.1" />
<PackageReference Include="Microsoft.Extensions.Hosting" Version="7.0.1" />
</ItemGroup>
<ItemGroup>
Expand Down
6 changes: 3 additions & 3 deletions samples/BpmnWorker/BpmnWorker.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.ClearScript" Version="7.4.3" />
<PackageReference Include="Microsoft.ClearScript" Version="7.4.4" />
<PackageReference Include="Microsoft.CodeAnalysis.CSharp.Scripting" Version="4.7.0" />
<PackageReference Include="Microsoft.ClearScript.osx-x64" Version="7.4.3" />
<PackageReference Include="Microsoft.ClearScript.osx-arm64" Version="7.4.3" />
<PackageReference Include="Microsoft.ClearScript.osx-x64" Version="7.4.4" />
<PackageReference Include="Microsoft.ClearScript.osx-arm64" Version="7.4.4" />
</ItemGroup>

<ItemGroup>
Expand Down
2 changes: 1 addition & 1 deletion samples/CarWorker/CarWorker.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.Azure.DurableTask.Core" Version="2.14.0" />
<PackageReference Include="Microsoft.Azure.DurableTask.Core" Version="2.15.1" />
</ItemGroup>

<ItemGroup>
Expand Down
2 changes: 1 addition & 1 deletion samples/FlightWorker/FlightWorker.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.Azure.DurableTask.Core" Version="2.14.0" />
<PackageReference Include="Microsoft.Azure.DurableTask.Core" Version="2.15.1" />
</ItemGroup>

<ItemGroup>
Expand Down
2 changes: 1 addition & 1 deletion samples/HotelWorker/HotelWorker.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.Azure.DurableTask.Core" Version="2.14.0" />
<PackageReference Include="Microsoft.Azure.DurableTask.Core" Version="2.15.1" />
</ItemGroup>

<ItemGroup>
Expand Down
2 changes: 1 addition & 1 deletion samples/OrchestrationWorker/OrchestrationWorker.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.Azure.DurableTask.Core" Version="2.14.0" />
<PackageReference Include="Microsoft.Azure.DurableTask.Core" Version="2.15.1" />
</ItemGroup>

<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.Azure.DurableTask.AzureStorage" Version="1.15.0" />
<PackageReference Include="Microsoft.Azure.DurableTask.AzureStorage" Version="1.16.0" />
<PackageReference Include="Microsoft.Extensions.Options.ConfigurationExtensions" Version="7.0.0" />
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.1.1" PrivateAssets="all" />
</ItemGroup>
Expand Down
2 changes: 1 addition & 1 deletion src/LLL.DurableTask.Client/LLL.DurableTask.Client.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.Azure.DurableTask.Core" Version="2.14.0" />
<PackageReference Include="Microsoft.Azure.DurableTask.Core" Version="2.15.1" />
<PackageReference Include="Microsoft.Extensions.DependencyInjection" Version="7.0.0" />
<PackageReference Include="Microsoft.Extensions.Hosting.Abstractions" Version="7.0.0" />
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.1.1" PrivateAssets="all" />
Expand Down
2 changes: 1 addition & 1 deletion src/LLL.DurableTask.Core/LLL.DurableTask.Core.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.Azure.DurableTask.Core" Version="2.14.0" />
<PackageReference Include="Microsoft.Azure.DurableTask.Core" Version="2.15.1" />
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.1.1" PrivateAssets="all" />
</ItemGroup>
</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.EntityFrameworkCore.InMemory" Version="7.0.10" />
<PackageReference Include="Microsoft.EntityFrameworkCore.InMemory" Version="7.0.13" />
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.1.1" PrivateAssets="all" />
</ItemGroup>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="Microsoft.EntityFrameworkCore.Design" Version="7.0.10">
<PackageReference Include="Microsoft.EntityFrameworkCore.Design" Version="7.0.13">
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
<PrivateAssets>all</PrivateAssets>
</PackageReference>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.EntityFrameworkCore.Design" Version="7.0.10">
<PackageReference Include="Microsoft.EntityFrameworkCore.Design" Version="7.0.13">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.1.1" PrivateAssets="all" />
<PackageReference Include="Npgsql.EntityFrameworkCore.PostgreSQL" Version="7.0.4" />
<PackageReference Include="Npgsql.EntityFrameworkCore.PostgreSQL" Version="7.0.11" />
</ItemGroup>

<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@

<ItemGroup>
<ProjectReference Include="..\LLL.DurableTask.EFCore\LLL.DurableTask.EFCore.csproj" />
<PackageReference Include="Microsoft.EntityFrameworkCore.Design" Version="7.0.10">
<PackageReference Include="Microsoft.EntityFrameworkCore.Design" Version="7.0.13">
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
<PrivateAssets>all</PrivateAssets>
</PackageReference>
<PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" Version="7.0.10" />
<PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" Version="7.0.13" />
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.1.1" PrivateAssets="all" />
</ItemGroup>

Expand Down
6 changes: 3 additions & 3 deletions src/LLL.DurableTask.EFCore/LLL.DurableTask.EFCore.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.Azure.DurableTask.Core" Version="2.14.0" />
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="7.0.10" />
<PackageReference Include="Microsoft.EntityFrameworkCore.Relational" Version="7.0.10" />
<PackageReference Include="Microsoft.Azure.DurableTask.Core" Version="2.15.1" />
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="7.0.13" />
<PackageReference Include="Microsoft.EntityFrameworkCore.Relational" Version="7.0.13" />
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.1.1" PrivateAssets="all" />
</ItemGroup>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,16 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.Azure.DurableTask.Core" Version="2.14.0" />
<PackageReference Include="Microsoft.Azure.DurableTask.Core" Version="2.15.1" />
<PackageReference Include="Microsoft.Extensions.DependencyInjection.Abstractions" Version="7.0.0" />
<PackageReference Include="Microsoft.Extensions.Http" Version="7.0.0" />
<PackageReference Include="Grpc.Tools" Version="2.58.0">
<PackageReference Include="Grpc.Tools" Version="2.59.0">
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
<PrivateAssets>all</PrivateAssets>
</PackageReference>
<PackageReference Include="Google.Protobuf" Version="3.24.3" />
<PackageReference Include="Google.Protobuf" Version="3.25.0" />
<PackageReference Include="Grpc.Core" Version="2.46.6" />
<PackageReference Include="Grpc.Net.ClientFactory" Version="2.57.0" />
<PackageReference Include="Grpc.Net.ClientFactory" Version="2.59.0" />
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.1.1" PrivateAssets="all" />
</ItemGroup>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,14 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="Grpc.AspNetCore.Server" Version="2.57.0" />
<PackageReference Include="Grpc.Tools" Version="2.58.0">
<PackageReference Include="Grpc.AspNetCore.Server" Version="2.59.0" />
<PackageReference Include="Grpc.Tools" Version="2.59.0">
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
<PrivateAssets>all</PrivateAssets>
</PackageReference>
<PackageReference Include="Google.Protobuf" Version="3.24.3" />
<PackageReference Include="Google.Protobuf" Version="3.25.0" />
<PackageReference Include="Grpc.Core" Version="2.46.6" />
<PackageReference Include="Microsoft.Azure.DurableTask.Core" Version="2.14.0" />
<PackageReference Include="Microsoft.Azure.DurableTask.Core" Version="2.15.1" />
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.1.1" PrivateAssets="all" />
</ItemGroup>

Expand Down
2 changes: 1 addition & 1 deletion src/LLL.DurableTask.Server/LLL.DurableTask.Server.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.Azure.DurableTask.Core" Version="2.14.0" />
<PackageReference Include="Microsoft.Azure.DurableTask.Core" Version="2.15.1" />
<PackageReference Include="Microsoft.Extensions.Hosting.Abstractions" Version="7.0.0" />
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.1.1" PrivateAssets="all" />
</ItemGroup>
Expand Down
2 changes: 1 addition & 1 deletion src/LLL.DurableTask.Ui/LLL.DurableTask.Ui.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

<ItemGroup>
<FrameworkReference Include="Microsoft.AspNetCore.App" />
<PackageReference Include="Microsoft.Extensions.FileProviders.Embedded" Version="7.0.10" />
<PackageReference Include="Microsoft.Extensions.FileProviders.Embedded" Version="7.0.13" />
</ItemGroup>

<ItemGroup>
Expand Down
55 changes: 28 additions & 27 deletions src/LLL.DurableTask.Ui/app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,37 +4,38 @@
"private": true,
"homepage": ".",
"dependencies": {
"@emotion/react": "^11.10.5",
"@emotion/styled": "^11.10.5",
"@monaco-editor/react": "^4.4.6",
"@mui/icons-material": "^5.11.0",
"@mui/lab": "^5.0.0-alpha.118",
"@mui/material": "^5.11.7",
"@mui/styles": "^5.11.7",
"@tanstack/react-query": "^4.24.4",
"@testing-library/jest-dom": "^5.16.5",
"@testing-library/react": "^13.4.0",
"@testing-library/user-event": "^14.4.3",
"@types/jest": "^29.4.0",
"@types/node": "^18.11.18",
"@types/react": "^18.0.27",
"@types/react-dom": "^18.0.10",
"axios": "^1.3.1",
"immer": "^9.0.19",
"material-ui-confirm": "^3.0.8",
"mobx": "^6.7.0",
"mobx-react-lite": "^3.4.0",
"notistack": "^2.0.8",
"@babel/plugin-proposal-private-property-in-object": "^7.21.11",
"@emotion/react": "^11.11.1",
"@emotion/styled": "^11.11.0",
"@monaco-editor/react": "^4.6.0",
"@mui/icons-material": "^5.14.16",
"@mui/lab": "^5.0.0-alpha.152",
"@mui/material": "^5.14.17",
"@mui/styles": "^5.14.17",
"@tanstack/react-query": "^5.8.1",
"@testing-library/jest-dom": "^6.1.4",
"@testing-library/react": "^14.1.0",
"@testing-library/user-event": "^14.5.1",
"@types/jest": "^29.5.8",
"@types/node": "^20.9.0",
"@types/react": "^18.2.37",
"@types/react-dom": "^18.2.15",
"axios": "^1.6.1",
"immer": "^10.0.3",
"material-ui-confirm": "^3.0.9",
"mobx": "^6.10.2",
"mobx-react-lite": "^4.0.5",
"notistack": "^3.0.1",
"oidc-client": "^1.11.5",
"qs": "^6.11.0",
"qs": "^6.11.2",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-router-dom": "^6.8.0",
"react-router-dom": "^6.18.0",
"react-scripts": "5.0.1",
"react-use": "^17.4.0",
"typescript": "^4.9.5",
"use-debounce": "^9.0.3",
"yup": "^0.32.11"
"typescript": "^5.2.2",
"use-debounce": "^10.0.0",
"yup": "^1.3.2"
},
"scripts": {
"start": "react-scripts start",
Expand All @@ -58,7 +59,7 @@
]
},
"devDependencies": {
"prettier": "2.8.3"
"prettier": "3.0.3"
},
"proxy": "https://localhost:5003"
}
19 changes: 12 additions & 7 deletions src/LLL.DurableTask.Ui/app/src/components/MuiCodeEditor.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,18 @@ import React from "react";

type OmitTextFieldProps = "multiline" | "onChange";

type Props = React.ComponentProps<typeof Editor> &
Omit<TextFieldProps, OmitTextFieldProps> & {
onChange: (newValue: string, e: Event) => void;
};
type EditorProps = React.ComponentProps<typeof Editor>;

type Props = Omit<TextFieldProps, OmitTextFieldProps> & {
editorProps?: EditorProps;
};

const wrappedEditor = React.forwardRef((props: EditorProps, _ref) => {
return <Editor {...props} />;
});

export function MuiCodeEditor(props: Props) {
const { disabled, onChange, ...other } = props;
const { disabled, editorProps, ...other } = props;

return (
<MuiTextField
Expand All @@ -20,9 +25,9 @@ export function MuiCodeEditor(props: Props) {
InputLabelProps={{ shrink: true }}
disabled={disabled}
InputProps={{
inputComponent: Editor as any,
inputComponent: wrappedEditor as any,
inputProps: {
...(props as any),
...(editorProps as any),
options: {
minimap: {
enabled: false,
Expand Down
8 changes: 4 additions & 4 deletions src/LLL.DurableTask.Ui/app/src/components/RefreshButton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,6 @@ export function AutoRefreshButton(props: Props) {
<Button onClick={onClick} title="Refresh">
<Sync />
</Button>
<Button onClick={(e) => setRefreshAnchor(e.currentTarget)}>
{refreshInterval ? `${refreshInterval} seconds` : "Off"}
<ArrowDropDown />
</Button>
<Menu
anchorEl={refreshAnchor}
keepMounted
Expand Down Expand Up @@ -57,6 +53,10 @@ export function AutoRefreshButton(props: Props) {
</MenuItem>
))}
</Menu>
<Button onClick={(e) => setRefreshAnchor(e.currentTarget)}>
{refreshInterval ? `${refreshInterval} seconds` : "Off"}
<ArrowDropDown />
</Button>
</ButtonGroup>
);
}
18 changes: 11 additions & 7 deletions src/LLL.DurableTask.Ui/app/src/form/CodeEditor.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,17 +17,21 @@ type Props = { field: Field<any> } & Omit<
>;

export const CodeEditor = observer((props: Props) => {
const { field, editorProps, ...other } = props;
return (
<MuiCodeEditor
fullWidth
size="small"
{...props}
required={props.field.required}
label={props.field.label}
value={props.field.value ?? ""}
onChange={(value) => (props.field.value = value)}
error={props.field.hasError}
helperText={props.field.errorMessage}
{...other}
required={field.required}
label={field.label}
value={field.value ?? ""}
editorProps={{
...editorProps,
onChange: (value) => (field.value = value),
}}
error={field.hasError}
helperText={field.errorMessage}
/>
);
});
17 changes: 9 additions & 8 deletions src/LLL.DurableTask.Ui/app/src/form/TextField.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,18 +6,19 @@ import { Field } from "./useForm";

export const TextField = observer(
(props: { field: Field<any> } & TextFieldProps) => {
const { field, ...other } = props;
return (
<MuiTextField
fullWidth
size="small"
{...props}
required={props.field.required}
label={props.field.label}
value={props.field.value ?? ""}
onChange={(e: any) => (props.field.value = e.target.value)}
error={props.field.hasError}
helperText={props.field.errorMessage}
{...other}
required={field.required}
label={field.label}
value={field.value ?? ""}
onChange={(e: any) => (field.value = e.target.value)}
error={field.hasError}
helperText={field.errorMessage}
/>
);
}
},
);
Loading

0 comments on commit 401a8a4

Please sign in to comment.