Oso Cloud CLI Changelog
Below is the changelog of our Oso Cloud CLI:
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.