Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes for 0.7.0 release #64

Merged
merged 2 commits into from
Jan 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion java/hello-world-http/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ repositories {
mavenCentral()
}

val restateVersion = "0.6.0"
val restateVersion = "0.7.0"

dependencies {
// Restate SDK
Expand Down
2 changes: 1 addition & 1 deletion java/hello-world-lambda/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ repositories {
mavenCentral()
}

val restateVersion = "0.6.0"
val restateVersion = "0.7.0"

dependencies {
// Restate SDK
Expand Down
2 changes: 1 addition & 1 deletion kotlin/hello-world-http/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ repositories {
mavenCentral()
}

val restateVersion = "0.6.0"
val restateVersion = "0.7.0"

dependencies {
// Restate SDK
Expand Down
2 changes: 1 addition & 1 deletion kotlin/hello-world-lambda-cdk/lambda/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import com.github.jengelman.gradle.plugins.shadow.transformers.Log4j2PluginsCach
import com.github.jengelman.gradle.plugins.shadow.transformers.ServiceFileTransformer
import com.google.protobuf.gradle.id

val restateVersion = "0.6.0"
val restateVersion = "0.7.0"

plugins {
kotlin("jvm") version "1.9.10"
Expand Down
2 changes: 1 addition & 1 deletion kotlin/hello-world-lambda/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ repositories {
mavenCentral()
}

val restateVersion = "0.6.0"
val restateVersion = "0.7.0"

dependencies {
// Restate SDK
Expand Down
2 changes: 1 addition & 1 deletion typescript/ecommerce-store/services/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"dist"
],
"dependencies": {
"@restatedev/restate-sdk": "^0.6.0",
"@restatedev/restate-sdk": "^0.7.0",
"long": "^5.2.1",
"pg": "^8.10.0",
"pg-hstore": "^2.3.4",
Expand Down
2 changes: 1 addition & 1 deletion typescript/food-ordering/services/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"postbundle": "cd ../dist && zip -r index.zip index.js*"
},
"dependencies": {
"@restatedev/restate-sdk": "^0.6.0",
"@restatedev/restate-sdk": "^0.7.0",
"axios": "^1.4.0"
},
"devDependencies": {
Expand Down
125 changes: 105 additions & 20 deletions typescript/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 3 additions & 2 deletions typescript/patterns/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,10 @@
"build": "tsc --noEmitOnError"
},
"dependencies": {
"@restatedev/restate-sdk": "^0.6.0"
"@restatedev/restate-sdk": "^0.7.0",
"node-fetch": "3.3.2"
},
"devDependencies": {
"typescript": "^5.0.2"
}
}
}
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import * as restate from "@restatedev/restate-sdk";
import { randomUUID } from "crypto";
import fetch from "node-fetch";

// ----------------- -----------------
// Idempotency Tokens / Unique Tokens
Expand Down
16 changes: 0 additions & 16 deletions typescript/payment-api/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion typescript/payment-api/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"app-dev": "ts-node-dev --watch ./src --respawn --transpile-only ./src/payment_service.ts"
},
"dependencies": {
"@restatedev/restate-sdk": "^0.6.0"
"@restatedev/restate-sdk": "^0.7.0"
},
"devDependencies": {
"@typescript-eslint/eslint-plugin": "^6.4.0",
Expand Down
2 changes: 1 addition & 1 deletion typescript/payment-api/src/payment_service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ function checkTypes(payment: Payment): Payment {
`Type for amount (${typeof payment.amount}) cannot convert amount to number: ${
payment.amount
}`,
{ cause: e }
{ errorCode: restate.ErrorCodes.INVALID_ARGUMENT }
);
}
}
Expand Down
2 changes: 1 addition & 1 deletion typescript/ticket-reservation/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"dev": "ts-node-dev --respawn --transpile-only ./src/app.ts"
},
"dependencies": {
"@restatedev/restate-sdk": "^0.6.0",
"@restatedev/restate-sdk": "^0.7.0",
"uuid": "^9.0.0"
},
"devDependencies": {
Expand Down
Loading