Oso Cloud CLI Changelog
Below is the changelog of our Oso Cloud CLI:
0.26.0
- LSP: add support for running iffassertions in policy tests; add a code action to fix failingiffassertions.
- Oso Sync: Promote reconcilefromexperimental;oso-cloud experimental reconcilewill continue to work but will be removed in a future release. Current users should switch tooso-cloud reconcile. Existing configuration yaml files should continue to work with the non-experimentalreconcile; however, the non-experimental variant is stricter when evaluating the yaml and rejects unknown fields. Refer to Sync Data for full specifications.
0.25.0
- Condense output of generate-types. Remove fact types which are expressed by other fact types.
0.24.0
- Added --contextoption toauthorize-local,list-local, andactions-local
0.23.0
- Introduced go-to-definitionandfind referencessupport in the LSP.
0.22.2
- Pin the GitHub runner used for compiling linux-arm64builds to ensure we're linking to an older version of libc (2.35).
0.22.1
- Fixed an issue in the LSP which would raise an error in multiroot workspaces.
0.22.0
- Support outputting resource block declarations when generating TypeScript types.
- Customize type generation output with --includeflag. Defaults tofacts,queriesto be backwards-compatible, use--include facts,queries,resourcesto output types based on resource blocks too.
0.21.0
- Add an optional --quietflag to theoso-cloud testcommand, to suppress non-test specific output (e.g. loading policy).
- Test failures from running oso-cloud testare now grouped by test name.
0.20.1
Add a --watch flag to the oso-cloud test command, which will watch all provided files for changes
and automatically rerun tests if any file changes.
0.20.0
Add support for using the reconcile command with MongoDB
and CSV file data sources.
0.19.10
Add additional context to HTTP errors.
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-fastflag intestandpolicycommands 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
reconcilecommand is in progress are maintained upon completion
- Support larger imports on the experimental reconcilecommand without timing out
- Add a --timeoutoption to thereconcilecommand 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 --previewflag for policy updates to return a diff of the changes. See CLI reference for more.
- Add support for Linux arm64
- Bugfix: UNIONqueries in data bindings now validate correctly.
0.18.7
- Add --summarized-outputflag to the experimentalreconcilecommand.
0.18.6
- Adjust the format of types generated by generate-typesso 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 lspcommand out of theexperimentalnamespace. 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 reconcilecommand, old versions will no longer work.
0.16.1
- Add X-Request-IDheader 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-typescommand to generate rich SDK types from your policy for use in your application. Currently we support TypeScript, with other languages coming soon.