Skip to content

Commit 531fcae

Browse files
authored
chore(repo): Update protobufs to v22.1.0 (#423)
- Re-generate protobufs using protoc_plugin v22.1.0 - Re-format with Dart 3.7 - Updates `protobuf` dependency throughout - Updates `cedar` and `corks_cedar` dependencies throughout
1 parent 0bea411 commit 531fcae

File tree

164 files changed

+3540
-2841
lines changed

Some content is hidden

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

164 files changed

+3540
-2841
lines changed

.github/workflows/celest_ast.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,4 +33,7 @@ jobs:
3333
run: dart analyze --fatal-infos --fatal-warnings .
3434
- name: Format
3535
working-directory: packages/celest_ast
36-
run: dart format --language-version=latest --set-exit-if-changed .
36+
run: dart format --set-exit-if-changed .
37+
- name: Test
38+
working-directory: packages/celest_ast
39+
run: dart test

.github/workflows/celest_auth.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ jobs:
4242
run: dart analyze --fatal-infos --fatal-warnings
4343
- name: Format
4444
working-directory: packages/celest_auth
45-
run: dart format --language-version=latest --set-exit-if-changed .
45+
run: dart format --set-exit-if-changed .
4646
# - name: Test
4747
# working-directory: packages/celest_auth
4848
# run: dart test

.github/workflows/celest_cloud.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,4 +33,4 @@ jobs:
3333
run: dart analyze --fatal-infos --fatal-warnings .
3434
- name: Format
3535
working-directory: packages/celest_cloud
36-
run: dart format --language-version=latest --set-exit-if-changed .
36+
run: dart format --set-exit-if-changed .

apps/cli/lib/src/commands/cloud/organizations/create_organization_command.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ final class CreateOrganizationCommand extends CloudCreateCommand<Organization> {
4040
return cloud.organizations.create(
4141
organizationId: options.resourceId,
4242
organization: Organization(
43-
annotations: options.annotations,
43+
annotations: options.annotations.entries,
4444
displayName: options.displayName,
4545
primaryRegion: primaryRegion,
4646
),

apps/cli/lib/src/commands/cloud/organizations/update_organization_command.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ final class UpdateOrganizationCommand extends CloudUpdateCommand<Organization> {
2020
return cloud.organizations.update(
2121
organization: Organization(
2222
name: options.resourceId,
23-
annotations: options.annotations,
23+
annotations: options.annotations?.entries,
2424
displayName: options.displayName,
2525
),
2626
updateMask: FieldMask(

apps/cli/lib/src/commands/cloud/project_environments/update_project_environment_command.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ final class UpdateProjectEnvironmentCommand
2222
projectEnvironment: ProjectEnvironment(
2323
name: options.resourceId,
2424
displayName: options.displayName,
25-
annotations: options.annotations,
25+
annotations: options.annotations?.entries,
2626
),
2727
allowMissing: options.allowMissing,
2828
updateMask: FieldMask(

apps/cli/lib/src/commands/cloud/projects/update_project_command.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ final class UpdateProjectCommand extends CloudUpdateCommand<Project> {
2020
return cloud.projects.update(
2121
project: Project(
2222
name: options.resourceId,
23-
annotations: options.annotations,
23+
annotations: options.annotations?.entries,
2424
displayName: options.displayName,
2525
),
2626
updateMask: FieldMask(

apps/cli/pubspec.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ dependencies:
1616
async: ^2.11.0
1717
built_collection: ^5.1.1
1818
built_value: ^8.9.5
19-
cedar: ^0.2.1
19+
cedar: ^0.2.6
2020
celest: ^1.0.0
2121
celest_ast: ^0.1.4
2222
celest_auth: ^1.0.0
@@ -30,7 +30,7 @@ dependencies:
3030
code_builder: ^4.8.0
3131
collection: ^1.18.0
3232
convert: ^3.1.1
33-
corks_cedar: ^0.2.1
33+
corks_cedar: ^0.2.4
3434
crypto: ^3.0.3
3535
dart_console: ^4.1.1
3636
dart_style: ^3.0.0
@@ -62,7 +62,7 @@ dependencies:
6262
platform: ^3.1.3
6363
pool: ^1.5.1
6464
process: ^5.0.1
65-
protobuf: ^3.1.0
65+
protobuf: ^4.0.0
6666
pub_semver: ^2.1.4
6767
pubspec_parse: ^1.2.3
6868
sentry: ^8.5.0

buf.gen.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,7 @@ managed:
44
inputs:
55
- directory: proto
66
plugins:
7-
# TODO: Bump when issues are fixed in generator
8-
- remote: buf.build/protocolbuffers/dart:v21.1.2
7+
- remote: buf.build/protocolbuffers/dart:v22.1.0
98
out: packages/celest_cloud/lib/src/proto
109
include_imports: true
1110
include_wkt: true

packages/celest_ast/CHANGELOG.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
## NEXT
22

3-
- chore: Re-format with Dart 3.8
3+
- chore: Bump Dart SDK constraint to `^3.7.0`
4+
- chore: Re-format with Dart 3.7
45
- chore: Update linter/style preferences
6+
- chore: Update protobufs
57

68
## 0.1.6
79

0 commit comments

Comments
 (0)