Skip to content

Commit 3773134

Browse files
authored
Release 1.14.1 (#968)
* fix cloudevents version Signed-off-by: Albert Callarisa <albert@diagrid.io> * Fix: Run validations with a hardcoded cli and runtime versions Signed-off-by: Albert Callarisa <albert@diagrid.io> * Removed dead link Signed-off-by: Albert Callarisa <albert@diagrid.io> * Fix lint Signed-off-by: Albert Callarisa <albert@diagrid.io> * fix invoke-binding error Signed-off-by: Albert Callarisa <albert@diagrid.io> --------- Signed-off-by: Albert Callarisa <albert@diagrid.io>
1 parent d5be827 commit 3773134

File tree

17 files changed

+26
-36
lines changed

17 files changed

+26
-36
lines changed

.github/workflows/validate_examples.yaml

Lines changed: 3 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,8 @@ jobs:
3737
GOOS: linux
3838
GOARCH: amd64
3939
GOPROXY: https://proxy.golang.org
40-
DAPR_INSTALL_URL: https://raw.githubusercontent.com/dapr/cli/master/install/install.sh
40+
DAPR_RUNTIME_VER: 1.14.5
41+
DAPR_CLI_VER: 1.14.1
4142
DAPR_CLI_REF: ${{ github.event.inputs.daprcli_commit }}
4243
DAPR_REF: ${{ github.event.inputs.daprdapr_commit }}
4344
CHECKOUT_REPO: ${{ github.repository }}
@@ -62,17 +63,6 @@ jobs:
6263
with:
6364
repository: ${{ env.CHECKOUT_REPO }}
6465
ref: ${{ env.CHECKOUT_REF }}
65-
- uses: azure/setup-helm@v4
66-
- name: Determine latest Dapr Runtime version
67-
run: |
68-
helm repo add dapr https://dapr.github.io/helm-charts/ && helm repo update && export RUNTIME_VERSION=$(helm search repo dapr/dapr --devel --versions | awk '/dapr\/dapr/ {print $3; exit}' )
69-
echo "DAPR_RUNTIME_VER=$RUNTIME_VERSION" >> $GITHUB_ENV
70-
echo "Found $RUNTIME_VERSION"
71-
- name: Determine latest Dapr Cli version
72-
run: |
73-
export CLI_VERSION=$(curl "https://api.github.com/repos/dapr/cli/releases?per_page=1&page=1" --header 'authorization: Bearer ${{ secrets.GITHUB_TOKEN }}' | jq '.[0].tag_name'| tr -d '",v')
74-
echo "DAPR_CLI_VER=$CLI_VERSION" >> $GITHUB_ENV
75-
echo "Found $CLI_VERSION"
7666
- name: Set up Python ${{ matrix.python_ver }}
7767
uses: actions/setup-python@v5
7868
with:
@@ -82,7 +72,7 @@ jobs:
8272
python -m pip install --upgrade pip
8373
pip install setuptools wheel twine tox
8474
- name: Set up Dapr CLI
85-
run: wget -q ${{ env.DAPR_INSTALL_URL }} -O - | /bin/bash -s ${{ env.DAPR_CLI_VER }}
75+
run: wget -q https://raw.githubusercontent.com/dapr/cli/master/install/install.sh -O - | /bin/bash -s ${{ env.DAPR_CLI_VER }}
8676
- name: Set up Go ${{ env.GOVER }}
8777
if: env.DAPR_REF != '' || env.DAPR_CLI_REF != ''
8878
uses: actions/setup-go@v5

dapr/actor/runtime/state_manager.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ def ttl_in_seconds(self) -> Optional[int]:
5757
return self._ttl_in_seconds
5858

5959
@ttl_in_seconds.setter
60-
def ttl_in_seconds(self, new_ttl_in_seconds: int) -> None:
60+
def ttl_in_seconds(self, new_ttl_in_seconds: Optional[int]) -> None:
6161
self._ttl_in_seconds = new_ttl_in_seconds
6262

6363

dapr/clients/grpc/_request.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ def __init__(
108108
super(InvokeMethodRequest, self).__init__(())
109109

110110
self._content_type = content_type
111-
self._http_verb = None
111+
self._http_verb: Optional[str] = None
112112
self._http_querystring: Dict[str, str] = {}
113113

114114
self.set_data(data)

dapr/version/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@
1313
limitations under the License.
1414
"""
1515

16-
__version__ = '1.14.0'
16+
__version__ = '1.14.1'
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
dapr-ext-fastapi>=1.14.0
1+
dapr-ext-fastapi>=1.14.1

examples/error_handling/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Example - Error handling
22

3-
This guide demonstrates handling `DaprGrpcError` errors when using the Dapr python-SDK. It's important to note that not all Dapr gRPC status errors are currently captured and transformed into a `DaprGrpcError` by the SDK. Efforts are ongoing to enhance this aspect, and contributions are welcome. For detailed information on error handling in Dapr, refer to the [official documentation](https://docs.dapr.io/reference/errors).
3+
This guide demonstrates handling `DaprGrpcError` errors when using the Dapr python-SDK. It's important to note that not all Dapr gRPC status errors are currently captured and transformed into a `DaprGrpcError` by the SDK. Efforts are ongoing to enhance this aspect, and contributions are welcome.
44

55
The example involves creating a DaprClient and invoking the save_state method.
66
It uses the default configuration from Dapr init in [self-hosted mode](https://github.com/dapr/cli#install-dapr-on-your-local-machine-self-hosted).

examples/invoke-binding/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ sleep: 30
2929
1. Start the kafka containers using docker compose
3030

3131
```bash
32-
docker compose -f ./docker compose-single-kafka.yml up -d
32+
docker compose -f ./docker-compose-single-kafka.yml up -d
3333
```
3434

3535
<!-- END_STEP -->
@@ -91,7 +91,7 @@ dapr stop --app-id receiver
9191
For kafka cleanup, run the following code:
9292

9393
```bash
94-
docker compose -f ./docker compose-single-kafka.yml down
94+
docker compose -f ./docker-compose-single-kafka.yml down
9595
```
9696

9797
<!-- END_STEP -->
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
dapr-ext-grpc >= 1.14.0
2-
dapr >= 1.14.0
1+
dapr-ext-grpc >= 1.14.1
2+
dapr >= 1.14.1
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
dapr-ext-grpc >= 1.14.0
2-
dapr >= 1.14.0
1+
dapr-ext-grpc >= 1.14.1
2+
dapr >= 1.14.1
33
opentelemetry-sdk
44
opentelemetry-instrumentation-grpc
55
opentelemetry-exporter-zipkin

examples/workflow/requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
dapr-ext-workflow>=0.5.0
2-
dapr>=1.14.0
2+
dapr>=1.14.1

0 commit comments

Comments
 (0)