Skip to content

chore(deps): Update dependencies#112

Merged
oguzhand95 merged 1 commit intocerbos:mainfrom
oguzhand95:deps
Apr 8, 2025
Merged

chore(deps): Update dependencies#112
oguzhand95 merged 1 commit intocerbos:mainfrom
oguzhand95:deps

Conversation

@oguzhand95
Copy link
Copy Markdown
Member

@oguzhand95 oguzhand95 commented Feb 26, 2025

The code generator for the php language doesn't work with proto2. We were able to generate php code required in the SDK until protovalidate migrated from proto3 to proto2 in bufbuild/protovalidate#246.

Communicating with the buf team, I've learned a new feature exclude_types to be introduced which basically excludes any types you specified with it.

Updated buf.gen.yaml with exclude_types:

version: v2

plugins:
  - remote: buf.build/protocolbuffers/php:v30.2
    out: ./src
    exclude_types:
      - buf.validate

  - remote: buf.build/grpc/php:v1.71.0
    out: ./src
    exclude_types:
      - buf.validate

Also this PR updates some dependencies and introduces support for php 8.4 while removing support for php 8.3.

Signed-off-by: Oğuzhan Durgun <oguzhandurgun95@gmail.com>
@oguzhand95 oguzhand95 marked this pull request as ready for review April 7, 2025 22:08
@oguzhand95 oguzhand95 merged commit a985475 into cerbos:main Apr 8, 2025
11 checks passed
@oguzhand95 oguzhand95 deleted the deps branch April 8, 2025 07:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants