Skip to content

Commit a5e384a

Browse files
Merge pull request #1296 from dapr/release-1.17
Release 1.17
2 parents a9e8f56 + fa5d956 commit a5e384a

File tree

281 files changed

+4684
-2768
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

281 files changed

+4684
-2768
lines changed

.github/env/global.env

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
DAPR_CLI_VERSION: 1.16.1
2-
DAPR_RUNTIME_VERSION: 1.16.0
1+
DAPR_CLI_VERSION: 1.17.0
2+
DAPR_RUNTIME_VERSION: 1.17.0
33
DAPR_INSTALL_URL: https://raw.githubusercontent.com/dapr/cli/v${DAPR_CLI_VERSION}/install/
44
DAPR_DEFAULT_IMAGE_REGISTRY: ghcr
55

.github/workflows/validate_csharp_quickstarts.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,15 @@ jobs:
8484
export GITHUB_TOKEN=${{ secrets.GITHUB_TOKEN }}
8585
dapr init --runtime-version=${{ env.DAPR_RUNTIME_VERSION }}
8686
dapr --version
87+
- name: Cache Ollama models
88+
uses: actions/cache@v4
89+
with:
90+
path: ~/.ollama
91+
key: ${{ runner.os }}-ollama-llama3.2
92+
- name: Setup Ollama
93+
uses: ai-action/setup-ollama@v2
94+
- name: Pull Ollama model
95+
run: ollama pull llama3.2:latest
8796
- name: Install utilities dependencies
8897
run: |
8998
echo "PATH=$PATH:$HOME/.local/bin" >> $GITHUB_ENV

.github/workflows/validate_go_quickstarts.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,15 @@ jobs:
8282
export GITHUB_TOKEN=${{ secrets.GITHUB_TOKEN }}
8383
dapr init --runtime-version=${{ env.DAPR_RUNTIME_VERSION }}
8484
dapr --version
85+
- name: Cache Ollama models
86+
uses: actions/cache@v4
87+
with:
88+
path: ~/.ollama
89+
key: ${{ runner.os }}-ollama-llama3.2
90+
- name: Setup Ollama
91+
uses: ai-action/setup-ollama@v2
92+
- name: Pull Ollama model
93+
run: ollama pull llama3.2:latest
8594
- name: Install utilities dependencies
8695
run: |
8796
echo "PATH=$PATH:$HOME/.local/bin" >> $GITHUB_ENV

.github/workflows/validate_java_quickstarts.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,15 @@ jobs:
8383
export GITHUB_TOKEN=${{ secrets.GITHUB_TOKEN }}
8484
dapr init --runtime-version=${{ env.DAPR_RUNTIME_VERSION }}
8585
dapr --version
86+
- name: Cache Ollama models
87+
uses: actions/cache@v4
88+
with:
89+
path: ~/.ollama
90+
key: ${{ runner.os }}-ollama-llama3.2
91+
- name: Setup Ollama
92+
uses: ai-action/setup-ollama@v2
93+
- name: Pull Ollama model
94+
run: ollama pull llama3.2:latest
8695
- name: Install utilities dependencies
8796
run: |
8897
echo "PATH=$PATH:$HOME/.local/bin" >> $GITHUB_ENV

.github/workflows/validate_javascript_quickstarts.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,15 @@ jobs:
7878
export GITHUB_TOKEN=${{ secrets.GITHUB_TOKEN }}
7979
dapr init --runtime-version=${{ env.DAPR_RUNTIME_VERSION }}
8080
dapr --version
81+
- name: Cache Ollama models
82+
uses: actions/cache@v4
83+
with:
84+
path: ~/.ollama
85+
key: ${{ runner.os }}-ollama-llama3.2
86+
- name: Setup Ollama
87+
uses: ai-action/setup-ollama@v2
88+
- name: Pull Ollama model
89+
run: ollama pull llama3.2:latest
8190
- name: Install utilities dependencies
8291
run: |
8392
echo "PATH=$PATH:$HOME/.local/bin" >> $GITHUB_ENV

.github/workflows/validate_python_quickstarts.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,15 @@ jobs:
8686
export GITHUB_TOKEN=${{ secrets.GITHUB_TOKEN }}
8787
dapr init --runtime-version=${{ env.DAPR_RUNTIME_VERSION }}
8888
dapr --version
89+
- name: Cache Ollama models
90+
uses: actions/cache@v4
91+
with:
92+
path: ~/.ollama
93+
key: ${{ runner.os }}-ollama-llama3.2
94+
- name: Setup Ollama
95+
uses: ai-action/setup-ollama@v2
96+
- name: Pull Ollama model
97+
run: ollama pull llama3.2:latest
8998
- name: Install utilities dependencies
9099
run: |
91100
echo "PATH=$PATH:$HOME/.local/bin" >> $GITHUB_ENV

actors/csharp/sdk/README.md

Lines changed: 34 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -50,23 +50,23 @@ dapr run --app-id actorservice --app-port 5001 --app-protocol http --dapr-http-p
5050
Expected output:
5151

5252
```bash
53-
== APP == info: Microsoft.Hosting.Lifetime[14]
54-
== APP == Now listening on: http://localhost:5001
55-
== APP == info: Microsoft.Hosting.Lifetime[0]
56-
== APP == Application started. Press Ctrl+C to shut down.
57-
== APP == info: Microsoft.Hosting.Lifetime[0]
58-
== APP == Hosting environment: Production
59-
== APP == info: Microsoft.Hosting.Lifetime[0]
60-
== APP == info: Microsoft.AspNetCore.Hosting.Diagnostics[1]
61-
== APP == Request starting HTTP/1.1 GET http://127.0.0.1:5001/dapr/config - application/json -
62-
== APP == warn: Microsoft.AspNetCore.HttpsPolicy.HttpsRedirectionMiddleware[3]
63-
== APP == Failed to determine the https port for redirect.
64-
== APP == info: Microsoft.AspNetCore.Routing.EndpointMiddleware[0]
65-
== APP == Executing endpoint 'Dapr Actors Config'
66-
== APP == info: Microsoft.AspNetCore.Routing.EndpointMiddleware[1]
67-
== APP == Executed endpoint 'Dapr Actors Config'
68-
== APP == info: Microsoft.AspNetCore.Hosting.Diagnostics[2]
69-
== APP == Request finished HTTP/1.1 GET http://127.0.0.1:5001/dapr/config - 200 - application/json 30.6175ms
53+
info: Microsoft.Hosting.Lifetime[14]
54+
Now listening on: http://localhost:5001
55+
info: Microsoft.Hosting.Lifetime[0]
56+
Application started. Press Ctrl+C to shut down.
57+
info: Microsoft.Hosting.Lifetime[0]
58+
Hosting environment: Production
59+
info: Microsoft.Hosting.Lifetime[0]
60+
info: Microsoft.AspNetCore.Hosting.Diagnostics[1]
61+
Request starting HTTP/1.1 GET http://127.0.0.1:5001/dapr/config - application/json -
62+
warn: Microsoft.AspNetCore.HttpsPolicy.HttpsRedirectionMiddleware[3]
63+
Failed to determine the https port for redirect.
64+
info: Microsoft.AspNetCore.Routing.EndpointMiddleware[0]
65+
Executing endpoint 'Dapr Actors Config'
66+
info: Microsoft.AspNetCore.Routing.EndpointMiddleware[1]
67+
Executed endpoint 'Dapr Actors Config'
68+
info: Microsoft.AspNetCore.Hosting.Diagnostics[2]
69+
Request finished HTTP/1.1 GET http://127.0.0.1:5001/dapr/config - 200 - application/json 30.6175ms
7070
```
7171

7272
### Step 4: Run the client app
@@ -93,23 +93,23 @@ dapr run --app-id actorclient -- dotnet run
9393
Expected output:
9494

9595
```bash
96-
== APP == Startup up...
97-
== APP == Calling SetDataAsync on SmokeDetectorActor:1...
98-
== APP == Got response: Success
99-
== APP == Calling GetDataAsync on SmokeDetectorActor:1...
100-
== APP == Device 1 state: Location: First Floor, Status: Ready
101-
== APP == Calling SetDataAsync on SmokeDetectorActor:2...
102-
== APP == Got response: Success
103-
== APP == Calling GetDataAsync on SmokeDetectorActor:2...
104-
== APP == Device 2 state: Location: Second Floor, Status: Ready
105-
== APP == Registering the IDs of both Devices...
106-
== APP == Registered devices: 1, 2
107-
== APP == Detecting smoke on Device 1...
108-
== APP == Device 1 state: Location: First Floor, Status: Alarm
109-
== APP == Device 2 state: Location: Second Floor, Status: Alarm
110-
== APP == Sleeping for 16 seconds before checking status again to see reminders fire and clear alarms
111-
== APP == Device 1 state: Location: First Floor, Status: Ready
112-
== APP == Device 2 state: Location: Second Floor, Status: Ready
96+
Startup up...
97+
Calling SetDataAsync on SmokeDetectorActor:1...
98+
Got response: Success
99+
Calling GetDataAsync on SmokeDetectorActor:1...
100+
Device 1 state: Location: First Floor, Status: Ready
101+
Calling SetDataAsync on SmokeDetectorActor:2...
102+
Got response: Success
103+
Calling GetDataAsync on SmokeDetectorActor:2...
104+
Device 2 state: Location: Second Floor, Status: Ready
105+
Registering the IDs of both Devices...
106+
Registered devices: 1, 2
107+
Detecting smoke on Device 1...
108+
Device 1 state: Location: First Floor, Status: Alarm
109+
Device 2 state: Location: Second Floor, Status: Alarm
110+
Sleeping for 16 seconds before checking status again to see reminders fire and clear alarms
111+
Device 1 state: Location: First Floor, Status: Ready
112+
Device 2 state: Location: Second Floor, Status: Ready
113113
```
114114

115115
### Cleanup

actors/csharp/sdk/client/SmartDevice.Client.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
</PropertyGroup>
99

1010
<ItemGroup>
11-
<PackageReference Include="Dapr.Actors" Version="1.16.0" />
11+
<PackageReference Include="Dapr.Actors" Version="1.17.0" />
1212
</ItemGroup>
1313

1414
<ItemGroup>

actors/csharp/sdk/interfaces/SmartDevice.Interfaces.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
</PropertyGroup>
88

99
<ItemGroup>
10-
<PackageReference Include="Dapr.Actors" Version="1.16.0" />
10+
<PackageReference Include="Dapr.Actors" Version="1.17.0" />
1111
</ItemGroup>
1212

1313
</Project>

actors/csharp/sdk/service/SmartDevice.Service.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
</PropertyGroup>
99

1010
<ItemGroup>
11-
<PackageReference Include="Dapr.Actors.AspNetCore" Version="1.16.0" />
11+
<PackageReference Include="Dapr.Actors.AspNetCore" Version="1.17.0" />
1212
</ItemGroup>
1313

1414
<ItemGroup>

0 commit comments

Comments
 (0)