Oso Cloud CLI

Oso Cloud CLI Changelog

Below is the changelog of our Oso Cloud CLI:

0.19.9

Empty test setup blocks are no longer parse errors.

0.19.8

Fix a bug in the variable renaming functionality in the LSP.

0.19.7

Rename validate-bindings command to validate-local-authorization-config. The new command takes the same arguments.

validate-bindings will be removed in a future release.

0.19.6

  • Support new --fail-fast flag in test and policy commands to stop running tests after the first failure.

0.19.5

Support new Test Fixtures feature to share setup facts between tests:


foo(x: Integer, y: Boolean, z: String) if bar(x, y, z);
test fixture bar {
bar(1, false, "hi");
}
test "foo 1" {
assert_not foo(1, false, "hi");
}
test "foo 2" {
setup { fixture bar; }
assert foo(1, false, "hi");
}
test "foo 3" {
setup { fixture bar; }
assert foo(1, false, "hi");
}

0.19.4

Add initial support for an upcoming language feature to the LSP

0.19.3

  • Improvement to Oso Sync to ensure facts inserted or deleted while the reconcile command is in progress are maintained upon completion
  • Support larger imports on the experimental reconcile command without timing out
  • Add a --timeout option to the reconcile command to configure the timeout

0.19.2

  • Bugfix: in the LSP test runner, handle more != comparisons.

0.19.1

  • Bugfix: in the LSP, handle multi-file policies better.

0.19.0

  • Add a --preview flag for policy updates to return a diff of the changes. See CLI reference for more.
  • Add support for Linux arm64
  • Bugfix: UNION queries in data bindings now validate correctly.

0.18.7

  • Add --summarized-output flag to the experimental reconcile command.

0.18.6

  • Adjust the format of types generated by generate-types so that it's more pleasant to pass union types into the 2.0 TypeScript client.

0.18.5

  • Bugfix: in the LSP, exit the process when there's nothing left to read on stdin. This should prevent orphaned LSP processes when (for example) closing workspaces while using the VSCode extension.

0.18.4

  • Bugfix: in the LSP, clear diagnostics when deleting or closing Polar files.

0.18.3

  • Bugfix: in the LSP, fix several bugs related to running tests.

0.18.2

  • Bugfix: in the LSP, correctly handle deleting Polar files.

0.18.1

  • Bugfix: in the LSP, mark passing tests as hints, rather than informational, so that editors don't display them as problems.

0.18.0

  • Promote the lsp command out of the experimental namespace. This command starts a new Language Server Protocol server for Polar files.
  • Add the ability to run tests and get suggestions on how to fix failing tests via the LSP.

0.17.0

  • Breaking changes in the experimental reconcile command, old versions will no longer work.

0.16.1

  • Add X-Request-ID header to uniquely identify individual API requests; include this ID in error messages for better debugging.

0.16.0

  • Breaking: Policy validation errors and warnings previously went to STDOUT. Now, they go to STDERR. Success messages still go to STDOUT.
  • Added new oso generate-types command to generate rich SDK types from your policy for use in your application. Currently we support TypeScript, with other languages coming soon.