Oso Dev Server Changelog
Below is the changelog of our Oso Dev Server:
1.10.4
Explicitly expose port 8080 in the Docker image.
1.10.3
First version available as a Docker image.
1.10.2
Fix "failed to init LogTracer" error that would get printed upon startup.
1.10.1
Fix bug in Local Authorization query builder endpoint.
1.10.0
Add support for test environments for local development. Create new isolated environments with:
curl -X POST http://localhost:8080/test_environment\?copy\=true> { "pub_id": "...", "token": "..." }
1.9.1
Empty test setup blocks are no longer parse errors.
1.9.0
- Support Local Authorization query builder endpoint.
1.8.7
- Support new
--fail-fast
flag on/policy
and/test_policy
endpoints.
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");}
1.8.5
- Additional performance improvement for queries generated by Local Authorization.
1.8.4
- Slight performance tweaks to queries generated by Local Authorization.
1.8.3
- Default to running policy tests serially instead of concurrently.
1.8.2
- Fix another missing configuration bug for functionality introduced in 1.8.0.
1.8.1
- Fix missing configuration bug for functionality introduced in 1.8.0.
1.8.0
- Support new internal APIs used by
reconcile
command (since CLI version 0.19.3).
1.7.2
- Various improvements to Polar query evaluation, including a bug fix causing certain Local Authorization queries to fail.
1.7.1
- Run policy tests concurrently instead of serially.
1.7.0
- Support passing in policy files as input to the Oso Dev Server, and
--watch-for-changes
to automatically refresh files.
1.6.2
- Various improvements to Polar query evaluation, including a bug fix causing certain Local Authorization queries to fail.
1.6.1
Support for larger imports when used with reconcile
.
1.6.0
Add support for breaking changes to the experimental reconcile
command.
1.5.0
Add support for to-be-released Batch and QueryBuilder APIs.
1.4.1
Fix broken configuration option.
1.4.0
Add support for to-be-released QueryBuilder API.
1.3.2
Add validation for keywords used in global
blocks.
1.3.1
Removed undocumented & no longer in-use built-in Float
type.
1.3.0
Added endpoints supporting the local check api. See this guide for more info.
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