Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v1 SDK - full move #7192

Open
wants to merge 24 commits into
base: main
Choose a base branch
from

Commits on Nov 21, 2024

  1. Moving (most) source to v1 root dir

    Signed-off-by: Johan Fylling <[email protected]>
    johanfylling committed Nov 21, 2024
    Configuration menu
    Copy the full SHA
    67e8954 View commit details
    Browse the repository at this point in the history
  2. Making v1 the default rego-version

    Signed-off-by: Johan Fylling <[email protected]>
    johanfylling committed Nov 21, 2024
    Configuration menu
    Copy the full SHA
    0f17753 View commit details
    Browse the repository at this point in the history

Commits on Nov 22, 2024

  1. Adding back v0 API to root

    Signed-off-by: Johan Fylling <[email protected]>
    johanfylling committed Nov 22, 2024
    Configuration menu
    Copy the full SHA
    c22d553 View commit details
    Browse the repository at this point in the history

Commits on Nov 24, 2024

  1. Adding tests

    for:
    
    * compiler
    * parser
    * bundle compiler
    * rego SDK
    * OPA SDK
    
    Signed-off-by: Johan Fylling <[email protected]>
    johanfylling committed Nov 24, 2024
    Configuration menu
    Copy the full SHA
    31b5f17 View commit details
    Browse the repository at this point in the history

Commits on Nov 25, 2024

  1. Adding default rego-version to test runner

    Signed-off-by: Johan Fylling <[email protected]>
    johanfylling committed Nov 25, 2024
    Configuration menu
    Copy the full SHA
    f607a52 View commit details
    Browse the repository at this point in the history
  2. Fixing linter issues

    Signed-off-by: Johan Fylling <[email protected]>
    johanfylling committed Nov 25, 2024
    Configuration menu
    Copy the full SHA
    8b86b19 View commit details
    Browse the repository at this point in the history
  3. Adding deprecation notes to packages

    Signed-off-by: Johan Fylling <[email protected]>
    johanfylling committed Nov 25, 2024
    Configuration menu
    Copy the full SHA
    9ecc0d8 View commit details
    Browse the repository at this point in the history
  4. Adding all built-in declarations to ast

    Signed-off-by: Johan Fylling <[email protected]>
    johanfylling committed Nov 25, 2024
    Configuration menu
    Copy the full SHA
    42091b8 View commit details
    Browse the repository at this point in the history
  5. Adding topdown.NewPrintHook()

    Signed-off-by: Johan Fylling <[email protected]>
    johanfylling committed Nov 25, 2024
    Configuration menu
    Copy the full SHA
    ab1fef3 View commit details
    Browse the repository at this point in the history
  6. Applying default rego-version to format.SourceWithOpts()

    Signed-off-by: Johan Fylling <[email protected]>
    johanfylling committed Nov 25, 2024
    Configuration menu
    Copy the full SHA
    893d58f View commit details
    Browse the repository at this point in the history
  7. Merge branch 'main' into rego-v1/sdk_full_move

    Conflicts:
    	ast/builtins.go
    	ast/index.go
    	ast/map.go
    	ast/term.go
    	debug/debugger.go
    	format/format.go
    	rego/rego.go
    	topdown/builtins.go
    	topdown/http.go
    	topdown/query.go
    	types/types.go
    johanfylling committed Nov 25, 2024
    Configuration menu
    Copy the full SHA
    713d18d View commit details
    Browse the repository at this point in the history
  8. Updating Wasm tests

    Signed-off-by: Johan Fylling <[email protected]>
    johanfylling committed Nov 25, 2024
    Configuration menu
    Copy the full SHA
    3698c00 View commit details
    Browse the repository at this point in the history
  9. Updating check-yaml-tests location

    Signed-off-by: Johan Fylling <[email protected]>
    johanfylling committed Nov 25, 2024
    Configuration menu
    Copy the full SHA
    26dad00 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    2556737 View commit details
    Browse the repository at this point in the history
  11. Adding missing bundle for test

    Signed-off-by: Johan Fylling <[email protected]>
    johanfylling committed Nov 25, 2024
    Configuration menu
    Copy the full SHA
    8b4aed0 View commit details
    Browse the repository at this point in the history
  12. Fixing TestWasmE2E

    Signed-off-by: Johan Fylling <[email protected]>
    johanfylling committed Nov 25, 2024
    Configuration menu
    Copy the full SHA
    e9bf88a View commit details
    Browse the repository at this point in the history

Commits on Nov 27, 2024

  1. Updating moke tests

    Signed-off-by: Johan Fylling <[email protected]>
    johanfylling committed Nov 27, 2024
    Configuration menu
    Copy the full SHA
    525527a View commit details
    Browse the repository at this point in the history
  2. Adding ast/compilehelper tests

    Signed-off-by: Johan Fylling <[email protected]>
    johanfylling committed Nov 27, 2024
    Configuration menu
    Copy the full SHA
    5bbce70 View commit details
    Browse the repository at this point in the history

Commits on Nov 28, 2024

  1. Updating cmd tests

    Signed-off-by: Johan Fylling <[email protected]>
    johanfylling committed Nov 28, 2024
    Configuration menu
    Copy the full SHA
    1318f4b View commit details
    Browse the repository at this point in the history
  2. Adding back v0 repl package

    Signed-off-by: Johan Fylling <[email protected]>
    johanfylling committed Nov 28, 2024
    Configuration menu
    Copy the full SHA
    8b531ca View commit details
    Browse the repository at this point in the history

Commits on Nov 29, 2024

  1. Updating tests

    Signed-off-by: Johan Fylling <[email protected]>
    johanfylling committed Nov 29, 2024
    Configuration menu
    Copy the full SHA
    c31fba7 View commit details
    Browse the repository at this point in the history

Commits on Dec 2, 2024

  1. Adding doc to v1 package

    Signed-off-by: Johan Fylling <[email protected]>
    johanfylling committed Dec 2, 2024
    Configuration menu
    Copy the full SHA
    fdb173d View commit details
    Browse the repository at this point in the history
  2. Fixing ast.TypeEnv type alias

    Signed-off-by: Johan Fylling <[email protected]>
    johanfylling committed Dec 2, 2024
    Configuration menu
    Copy the full SHA
    a6b2a0e View commit details
    Browse the repository at this point in the history

Commits on Dec 3, 2024

  1. Fixing v0 API components

    * `ast.ArrayTerm()`: added
    * `ast.SetTerm()`: added
    * `ast.Rule.String()`: inherit rego-version from parent `Module`
    * `bundle.NewReader()`: set default rego-version
    * `bundle.NewCustomReader()`: set default rego-version
    * `loader`: set default rego-version
    * `plugins/logs.ParseConfig()`: added
    
    Signed-off-by: Johan Fylling <[email protected]>
    johanfylling committed Dec 3, 2024
    Configuration menu
    Copy the full SHA
    a2d628c View commit details
    Browse the repository at this point in the history