Skip to content

Conversation

mangalaman93
Copy link
Member

No description provided.

@Copilot Copilot AI review requested due to automatic review settings May 21, 2025 18:13
@mangalaman93 mangalaman93 requested a review from a team as a code owner May 21, 2025 18:13
@github-actions github-actions bot added area/core internal mechanisms go Pull requests that update Go code labels May 21, 2025
Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR renames all api.v25 references to api.v2 across the codebase to align with the updated versioning.
Key changes:

  • Updated import aliases and type usages from apiv25 to apiv2.
  • Regenerated protobuf bindings and adjusted Makefile to use api.v2.proto.
  • Bumped the dgo/v250 module version in go.mod.

Reviewed Changes

Copilot reviewed 14 out of 14 changed files in this pull request and generated no comments.

Show a summary per file
File Description
worker/import.go Switched all stream API types from v25 to v2.
protos/pb/pb_grpc.pb.go Updated generated gRPC code imports and types.
protos/pb.proto Changed proto import and RPC signature to v2.
protos/Makefile Copied api.v2.proto and updated codegen flags.
go.mod Upgraded dgo/v250 dependency to a v2 prerelease.
edgraph/zero.go Updated gRPC request/response types to v2.
edgraph/server.go Replaced all apiv25 server interfaces with v2.
edgraph/query.go Swapped query RPC types and enums to v2.
edgraph/namespace.go Adjusted namespace RPC types to v2.
edgraph/alter.go Refactored alter request/response types to v2.
dgraph/cmd/dgraphimport/*.go Changed import client and streaming code to v2.
dgraph/cmd/alpha/run.go Updated server registration to use api.v2.

@mangalaman93 mangalaman93 enabled auto-merge (squash) May 21, 2025 18:14
Copy link

trunk-io bot commented May 21, 2025

Running Code Quality on PRs by uploading data to Trunk will soon be removed. You can still run checks on your PRs using trunk-action - see the migration guide for more information.

@mangalaman93 mangalaman93 merged commit 60a0127 into main May 21, 2025
13 checks passed
@mangalaman93 mangalaman93 deleted the aman/v2 branch May 21, 2025 19:41
Copy link

trunk-io bot commented May 21, 2025

Static BadgeStatic BadgeStatic BadgeStatic Badge

View Full Report ↗︎Docs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/core internal mechanisms go Pull requests that update Go code
Development

Successfully merging this pull request may close these issues.

2 participants