Bring projects, wikis, and teams together with AI. AppFlowy is the AI collaborative workspace where you achieve more without losing control of your data. The leading open source Notion alternative.
Dart blogconfluence-alternativecontent-managementcontent-servicesdocumentationflutternote-takingnotion-alternativeproject-managementtask-managementteam-collaborationwiki
chore: bump protobuf version (#4123)
Richard Shiueeff06a1f742c
diff --git a/frontend/appflowy_flutter/packages/appflowy_backend/pubspec.yaml b/frontend/appflowy_flutter/packages/appflowy_backend/pubspec.yamlindex a2946ad335..6762a3f2db 100644--- a/frontend/appflowy_flutter/packages/appflowy_backend/pubspec.yaml+++ b/frontend/appflowy_flutter/packages/appflowy_backend/pubspec.yaml@@ -13,7 +13,7 @@ dependencies:sdk: flutterffi: ^2.0.2isolates: ^3.0.3+8- protobuf: ^2.0.0+ protobuf: ^3.1.0dartz: ^0.10.1freezed_annotation:logger: ^1.0.0diff --git a/frontend/appflowy_flutter/pubspec.lock b/frontend/appflowy_flutter/pubspec.lockindex 0335f2f77e..8253eb3bfb 100644--- a/frontend/appflowy_flutter/pubspec.lock+++ b/frontend/appflowy_flutter/pubspec.lock@@ -1318,10 +1318,10 @@ packages:dependency: "direct main"description:name: protobuf- sha256: "01dd9bd0fa02548bf2ceee13545d4a0ec6046459d847b6b061d8a27237108a08"+ sha256: "68645b24e0716782e58948f8467fd42a880f255096a821f9e7d0ec625b00c84d"url: "https://pub.dev"source: hosted- version: "2.1.0"+ version: "3.1.0"provider:dependency: "direct main"description:diff --git a/frontend/appflowy_flutter/pubspec.yaml b/frontend/appflowy_flutter/pubspec.yamlindex f5b1e51529..4e5a8192b9 100644--- a/frontend/appflowy_flutter/pubspec.yaml+++ b/frontend/appflowy_flutter/pubspec.yaml@@ -83,7 +83,7 @@ dependencies:hotkey_manager: ^0.1.7fixnum: ^1.1.0flutter_svg: ^2.0.7- protobuf: ^2.1.0+ protobuf: ^3.1.0charcode: ^1.3.1collection: ^1.17.1bloc: ^8.1.2diff --git a/frontend/scripts/docker-buildfiles/Dockerfile b/frontend/scripts/docker-buildfiles/Dockerfileindex 204caf7ab7..dfd5caf638 100644--- a/frontend/scripts/docker-buildfiles/Dockerfile+++ b/frontend/scripts/docker-buildfiles/Dockerfile@@ -44,7 +44,7 @@ RUN curl -sSfL \rm flutter.tar.xzRUN flutter config --enable-linux-desktopRUN flutter doctor-RUN dart pub global activate protoc_plugin 20.0.1+RUN dart pub global activate protoc_plugin 21.1.2# Install build dependencies for AppFlowyRUN yay -S --noconfirm jemalloc4 cargo-make cargo-binstalldiff --git a/frontend/scripts/makefile/protobuf.toml b/frontend/scripts/makefile/protobuf.tomlindex c4be312d32..326b9119cf 100644--- a/frontend/scripts/makefile/protobuf.toml+++ b/frontend/scripts/makefile/protobuf.toml@@ -23,8 +23,7 @@ windows_alias = "install-protobuf-windows"linux_alias = "install-protobuf"[tasks.install-protobuf]-condition_script = [- """+condition_script = ["""if ! command -v protoc-gen-dartthenexit 0@@ -32,8 +31,7 @@ condition_script = [# installedexit 1- """,-]+ """]run_task = { name = ["install_flutter_protobuf_compiler"] }[tasks.install-protobuf-windows]@@ -45,7 +43,7 @@ if is_empty ${ret}endret = which protoc-gen-dartif is_empty ${ret}- exec cmd.exe /c dart pub global activate protoc_plugin 20.0.1+ exec cmd.exe /c dart pub global activate protoc_plugin 21.1.2endret = which protoc-gen-dartif is_empty ${ret}@@ -60,18 +58,13 @@ script_runner = "@duckscript"[tasks.install_flutter_protobuf_compiler]script = """echo "Install protoc_plugin (Dart)"-dart pub global activate protoc_plugin 20.0.1+dart pub global activate protoc_plugin 21.1.2"""script_runner = "@shell"[tasks.install_flutter_protobuf_compiler.linux]script = """echo "Install protoc_plugin (Dart)"-dart pub global activate protoc_plugin 20.0.1+dart pub global activate protoc_plugin 21.1.2"""script_runner = "@shell"-----