Skip to content

Commit f907b6f

Browse files
Python and TS SDKs updates (#395)
* Python and TS SDKs updates * Node version * More stuff around updating ts sdk
1 parent 7c990d6 commit f907b6f

28 files changed

Lines changed: 71 additions & 71 deletions

File tree

.github/workflows/pre-release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ jobs:
4545
- uses: actions/setup-node@v3
4646
if: github.event.inputs.sdkTypescriptVersion != ''
4747
with:
48-
node-version: "20.x"
48+
node-version: "22.x"
4949
registry-url: "https://registry.npmjs.org"
5050
- name: Bump sdk-typescript
5151
if: github.event.inputs.sdkTypescriptVersion != ''

.github/workflows/test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ jobs:
6868
RESTATE_DISABLE_TELEMETRY: "true"
6969
strategy:
7070
matrix:
71-
node-version: [20.x]
71+
node-version: [22.x]
7272

7373
steps:
7474
- uses: actions/checkout@v3
@@ -98,7 +98,7 @@ jobs:
9898
- name: Setup Node
9999
uses: actions/setup-node@v3
100100
with:
101-
node-version: 20.x
101+
node-version: 22.x
102102

103103
- name: Setup Bun
104104
uses: oven-sh/setup-bun@v1

python/patterns-use-cases/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ readme = "README.md"
99
requires-python = ">=3.11"
1010
dependencies = [
1111
"hypercorn",
12-
"restate-sdk[serde]>=0.16.0",
12+
"restate-sdk[serde]>=1.0.0",
1313
"pydantic",
1414
"httpx",
1515
"stripe",

python/templates/lambda/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ readme = "README.md"
66
requires-python = ">=3.11"
77
dependencies = [
88
"pydantic>=2.10.6",
9-
"restate-sdk[serde]>=0.16.0",
9+
"restate-sdk[serde]>=1.0.0",
1010
]
1111

1212
[tool.hatch.build.targets.wheel]

python/templates/python/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ requires-python = ">=3.11"
77
dependencies = [
88
"hypercorn>=0.17.3",
99
"pydantic>=2.10.6",
10-
"restate-sdk[serde]>=0.16.0",
10+
"restate-sdk[serde]>=1.0.0",
1111
]
1212

1313
[tool.hatch.build.targets.wheel]

python/tutorials/tour-of-orchestration-python/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ requires-python = ">=3.11"
77
dependencies = [
88
"hypercorn>=0.17.3",
99
"pydantic>=2.10.6",
10-
"restate-sdk[serde]>=0.16.0",
10+
"restate-sdk[serde]>=1.0.0",
1111
]
1212

1313
[tool.hatch.build.targets.wheel]

python/tutorials/tour-of-workflows-python/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ dependencies = [
88
"hypercorn>=0.17.3",
99
"pydantic>=2.10.6",
1010
"httpx",
11-
"restate-sdk[serde]>=0.16.0",
11+
"restate-sdk[serde]>=1.0.0",
1212
]
1313

1414
[tool.hatch.build.targets.wheel]

typescript/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# TypeScript Example Catalog
22

33
## Prerequisites
4-
- NodeJS >= v18.17.1
4+
- NodeJS >= v22
55
- npm CLI >= 9.6.7
66

77
## Basics

typescript/basics/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,11 @@
1414
"example-3": "ts-node-dev --transpile-only src/3_workflows.ts"
1515
},
1616
"dependencies": {
17-
"@restatedev/restate-sdk": "^1.14.4",
18-
"@restatedev/restate-sdk-clients": "^1.14.4"
17+
"@restatedev/restate-sdk": "^1.15.0",
18+
"@restatedev/restate-sdk-clients": "^1.15.0"
1919
},
2020
"devDependencies": {
21-
"@types/node": "^20.12.12",
21+
"@types/node": "^22",
2222
"ts-node": "^10.9.2",
2323
"ts-node-dev": "^2.0.0",
2424
"typescript": "^5.0.2"

typescript/end-to-end-applications/ai-image-workflows/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"stable-diffusion-service": "ts-node-dev --watch ./src --respawn --transpile-only src/stable_diffusion.ts"
1313
},
1414
"dependencies": {
15-
"@restatedev/restate-sdk": "^1.14.4",
15+
"@restatedev/restate-sdk": "^1.15.0",
1616
"axios": "^1.6.7",
1717
"axios-retry": "^4.0.0",
1818
"jimp": "^0.22.10",

0 commit comments

Comments
 (0)