[Oso Cloud CLI] 0.19.8
Fix a bug in the variable renaming functionality in the LSP.
[Oso Cloud CLI] 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.
[Oso Cloud CLI] 0.19.6
- Support new
--fail-fast
flag intest
andpolicy
commands to stop running tests after the first failure.
[Oso Cloud CLI] 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");}
[Oso Cloud CLI] 0.19.4
Add initial support for an upcoming language feature to the LSP
[Oso Cloud CLI] 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 thereconcile
command to configure the timeout
[Oso Cloud CLI] 0.19.2
- Bugfix: in the LSP test runner, handle more
!=
comparisons.
[Oso Cloud CLI] 0.19.1
- Bugfix: in the LSP, handle multi-file policies better.
[Oso Cloud CLI] 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.
[Oso Cloud CLI] 0.18.7
- Add
--summarized-output
flag to the experimentalreconcile
command.
[Oso Cloud CLI] 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.
[Oso Cloud CLI] 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.
[Oso Cloud CLI] 0.18.4
- Bugfix: in the LSP, clear diagnostics when deleting or closing Polar files.
[Oso Cloud CLI] 0.18.3
- Bugfix: in the LSP, fix several bugs related to running tests.
[Oso Cloud CLI] 0.18.2
- Bugfix: in the LSP, correctly handle deleting Polar files.
[Oso Cloud CLI] 0.18.1
- Bugfix: in the LSP, mark passing tests as hints, rather than informational, so that editors don't display them as problems.
[Oso Cloud CLI] 0.18.0
- Promote the
lsp
command out of theexperimental
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.
[Oso Cloud CLI] 0.17.0
- Breaking changes in the experimental
reconcile
command, old versions will no longer work.
[Oso Cloud CLI] 0.16.1
- Add
X-Request-ID
header to uniquely identify individual API requests; include this ID in error messages for better debugging.
[Oso Cloud CLI] 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.
[Oso Dev Server] 1.8.7
- Support new
--fail-fast
flag on/policy
and/test_policy
endpoints.
[Oso Dev Server] 1.8.6
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");}
[Oso Dev Server] 1.8.5
- Additional performance improvement for queries generated by local authorization.
[Oso Dev Server] 1.8.4
- Slight performance tweaks to queries generated by local authorization.
[Oso Dev Server] 1.8.3
- Default to running policy tests serially instead of concurrently.
[Oso Dev Server] 1.8.2
- Fix another missing configuration bug for functionality introduced in 1.8.0.
[Oso Dev Server] 1.8.1
- Fix missing configuration bug for functionality introduced in 1.8.0.
[Oso Dev Server] 1.8.0
- Support new internal APIs used by
reconcile
command (since CLI version 0.19.3).
[Oso Dev Server] 1.7.2
- Various improvements to Polar query evaluation, including a bug fix causing certain Local Authorization queries to fail.
[Oso Dev Server] 1.7.1
- Run policy tests concurrently instead of serially.
[Oso Dev Server] 1.7.0
- Support passing in policy files as input to the Oso Dev Server, and
--watch-for-changes
to automatically refresh files.
[Oso Dev Server] 1.6.2
- Various improvements to Polar query evaluation, including a bug fix causing certain Local Authorization queries to fail.
[Oso Dev Server] 1.6.1
Support for larger imports when used with reconcile
.
[Oso Dev Server] 1.6.0
Add support for breaking changes to the experimental reconcile
command.
[Oso Dev Server] 1.5.0
Add support for to-be-released Batch and QueryBuilder APIs.
[Oso Dev Server] 1.4.1
Fix broken configuration option.
[Oso Dev Server] 1.4.0
Add support for to-be-released QueryBuilder API.
[Oso Dev Server] 1.3.2
Add validation for keywords used in global
blocks.
[Oso Dev Server] 1.3.1
Removed undocumented & no longer in-use built-in Float
type.
[Oso Dev Server] 1.3.0
Added endpoints supporting the local check api. See this guide for more info.
[Oso Dev Server] 1.2.0
NOTE: Version 1.2 includes changes to the underlying data schema used by the Oso Dev Server. Any existing data should be deleted + recreated before using this.
In local development, data is stored in $(pwd)/.oso
by default and so
we recommend deleting the .oso
directory if it exists.
Additional fixes:
- Fixes bug where Oso Dev Server was not ensuring writes were persisted before returning, resulting in race conditions and inconsistent response
[NodeJS] oso-cloud 2.0.2
- Internal changes: remove deprecated API method.
[NodeJS] oso-cloud 2.0.1
- Improve error message when using a list filtering method without providing a valid data bindings YAML file.
- More defensively handle non-JSON responses.
[NodeJS] oso-cloud 2.0.0
This release contains several breaking changes. There's a migration guide for upgrading from version 1.x, and don't hesitate to reach out if you run into any issues.
Generate TypeScript types from your policy
See the Node.js Client API for more details.
Simplified Fact Management API
Reduced the number of methods for managing facts in Oso Cloud from five to three:
tell
is nowinsert
.delete
has been upgraded to support wildcard deletions.bulk
,bulkTell
, andbulkDelete
have been replaced with a new transactionalbatch
API.
See the [Centralized Authorization Data API doc] and the migration guide for more details.
Powerful new QueryBuilder API for querying arbitrary rules in your policy
See the API docs and the migration guide for more details.
[NodeJS] oso-cloud 1.7.1
- Add
X-Request-ID
header to uniquely identify individual API requests; include this ID in error messages for better debugging.
[NodeJS] oso-cloud 1.7.0
- Add new
oso.actionsLocal()
method. - Accept
boolean
,bigint
, andnumber
as fact args. These are converted to the appropriate Polar type.
[NodeJS] oso-cloud 1.6.2
- Return an error if the request body is too large without sending a request to Oso Cloud.
[NodeJS] oso-cloud 1.6.1
- Update error message wording: add "Oso Cloud error" prefix.
[NodeJS] oso-cloud 1.6.0
Added support for the local check api:
- Added new
oso.listLocal()
method. - Added new
oso.authorizeLocal()
method. - Added optional
dataBindings
argument to theOso
constructor.
[NodeJS] oso-cloud 1.5.0
Add new oso.bulkActions()
API.
[Python] oso-cloud 2.1.0
- Use Fallback, if configured, for
/api/get
,/api/evaluate_query
, and local check APIs if Oso Cloud returns an error - Use Fallback, if configured, if Oso Cloud returns an HTTP error (400, 5xx)
[Python] oso-cloud 2.0.1
Add support for context fact in local authorization methods
[Python] oso-cloud 2.0.0
This release contains several breaking changes. There's a migration guide for upgrading from version 1.x, and don't hesitate to reach out if you run into any issues.
Simplified Fact Management API
Reduced the number of methods for managing facts in Oso Cloud from five to three:
tell
is nowinsert
.delete
has been upgraded to support wildcard deletions.bulk
,bulkTell
, andbulkDelete
have been replaced with a new transactionalbatch
API.
See the Centralized Authorization Data API doc and the migration guide for more details.
Powerful new QueryBuilder API for querying arbitrary rules in your policy
See the API docs and the migration guide for more details.
[Python] oso-cloud 1.5.1
- Add
X-Request-ID
header to uniquely identify individual API requests; include this ID in error messages for better debugging.
[Python] oso-cloud 1.5.0
- Added new
oso.actions_local()
method. - Accept
bool
andint
as fact args. These are converted to the appropriate Polar type.
[Python] oso-cloud 1.4.1
Update error message wording.
[Python] oso-cloud 1.4.0
Added support for the local check api:
- Added new
oso.list_local()
method. - Added new
oso.authorize_local()
method. - Added optional
data_bindings
argument to theOso
constructor (defaults toNone
).
[Python] oso-cloud 1.3.x
Along with support for fetching policy metadata,
oso-cloud
1.3.0 introduced more specific parameter and return types
for the Python client to be used with typecheckers like mypy
.
Releases 1.3.1 - 1.3.3 addressed bugs or gaps found with the new types that were added.
[.NET] OsoCloud 1.6.1
- Add
X-Request-ID
header to uniquely identify individual API requests; include this ID in error messages for better debugging.
[.NET] OsoCloud 1.6.0
- Added new
oso.ActionsLocal()
method. - Added new
Value
convenience constructors forstring
,long
, andbool
.
[.NET] OsoCloud 1.5.1
- Update error message wording.
- Fix error when fetching missing header.
[.NET] OsoCloud 1.5.0
Added support for the local check api:
- Added new
oso.ListLocal()
method. - Added new
oso.AuthorizeLocal()
method. - Added optional
dataBindings
argument to theOso
constructor.
[Java] oso-cloud 0.5.1
- Add
X-Request-ID
header to uniquely identify individual API requests; include this ID in error messages for better debugging.
[Java] oso-cloud 0.5.0
- Added new
oso.actionsLocal()
method.
[Java] oso-cloud 0.4.1
Removed undocumented & no longer in-use built-in Float
type.
[Java] oso-cloud 0.4.0
Added support for the local check api:
- Added new
oso.listLocal()
method. - Added new
oso.authorizeLocal()
method. - Added optional data bindings argument to
the
Oso
constructor.
[Go] oso v1.7.1
- Add
X-Request-ID
header to uniquely identify individual API requests; include this ID in error messages for better debugging.
[Go] oso v1.7.0
- Added new
oso.ActionsLocal()
method. - Add
Instance
convenience constructors forInteger
andBoolean
[Go] oso v1.6.1
Update error message wording.
[Go] oso v1.6.0
Added support for the local check api:
- Added new
osoClient.listLocal()
method. - Added new
osoClient.AuthorizeLocal()
method. - Added new
oso.NewClientWithDataBindings()
constructor.
[Ruby] oso-cloud 1.7.1
- Add
X-Request-ID
header to uniquely identify individual API requests; include this ID in error messages for better debugging.
[Ruby] oso-cloud 1.7.0
- Added new
oso.actions_local()
method. - Accept
true
,false
, andInteger
values as fact args. These are converted to the appropriate Polar type.
[Ruby] oso-cloud 1.6.0
Added support for the local check api:
- Added new
oso.list_local()
method. - Added new
oso.authorize_local()
method. - Added optional
data_bindings
argument to theOso
constructor (defaults tonil
).
[VSCode Extension] 0.39.1
- Added syntax highlighting for the
extends
keyword.
[VSCode Extension] 0.39.0
- Removed support for the deprecated OSS library.
- Added a dependency on the Oso Cloud CLI for Language Server Protocol support.