Skip to content

OPA v1 removed ast.BuildAnnotationSet() from the v0 path #7347

Closed
@jalseth

Description

@jalseth

I am working on migrating conftest to support OPA v1. The v1 release of OPA states that the v0 code will remain present to give people time to migrate without breaking builds. However, v1 seems to have removed the BuildAnnotationSet function from the ast package which is preventing me from doing a multi-stage migration.

Before: https://pkg.go.dev/github.com/open-policy-agent/opa@v0.70.0/ast
After: https://pkg.go.dev/github.com/open-policy-agent/opa@v1.0.0/ast

Broken build: https://github.com/open-policy-agent/conftest/actions/runs/13220399393/job/36904640082?pr=1050

cc @anderseknert

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions