Skip to content

Commit

Permalink
Bump versions to pick up readme changes.
Browse files Browse the repository at this point in the history
  • Loading branch information
samscott89 committed Dec 18, 2023
1 parent 7b55a59 commit fae0b3b
Show file tree
Hide file tree
Showing 26 changed files with 46 additions and 42 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/publish-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,16 @@ on:
description: "docs s3 path (docs.oso.dev or docs-preview.oso.dev)"
oso_version:
description: "oso release to build docs for"
default: "0.27.0" # oso_version
default: "0.27.1" # oso_version
flask_oso_version:
description: "flask oso release to build docs for"
default: "0.27.0" # flask_oso_version
default: "0.27.1" # flask_oso_version
django_oso_version:
description: "django oso release to build docs for"
default: "0.27.0" # django_oso_version
default: "0.27.1" # django_oso_version
sqlalchemy_oso_version:
description: "sqlalchemy oso release to build docs for"
default: "0.27.0" # sqlalchemy_oso_version
default: "0.27.1" # sqlalchemy_oso_version

# Needed to get an AWS token
permissions:
Expand Down
12 changes: 6 additions & 6 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.27.0
0.27.1
2 changes: 1 addition & 1 deletion docs/content/any/getting-started/deprecation.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ Through this process, we learned a ton about what was good and not so good about
2. This led to unpredictable performance, especially for data filtering use cases
3. The hooks into ORMs (for `sqlalchemy-oso` and `django-oso`) made it easier to set up the Oso library, but querying by way of the ORM also contributed to these performance challenges

Based on feedback from our users, we decided to build Oso Cloud to solve a set of problems that the library doesn’t solve – authorization for microservices. When we built Oso cloud, we wanted to apply what we’ve learned from the library’s API boundary and performance issues. This is what gave rise to the Facts API and Facts data model, respectively. To make this happen, we had a choice: try to refactor the existing library, or start from a clean slate. We chose the latter, which enabled us to leave our technical debt behind. This created a new challenge: ever since that point, we’ve had 2 codebases, 2 sets of libraries, and 2 documentation sites.
Based on feedback from our users, we decided to build [Oso Cloud](https://www.osohq.com/docs) to solve a set of problems that the library doesn’t solve – authorization for microservices. When we built Oso cloud, we wanted to apply what we’ve learned from the library’s API boundary and performance issues. This is what gave rise to the Facts API and Facts data model, respectively. To make this happen, we had a choice: try to refactor the existing library, or start from a clean slate. We chose the latter, which enabled us to leave our technical debt behind. This created a new challenge: ever since that point, we’ve had 2 codebases, 2 sets of libraries, and 2 documentation sites.

This is neither good for our users nor good for us. It’s made it harder for us to maintain the Oso library, to build new features for it, and to support it. We want to fix that, but it’s going to take some time.

Expand Down
2 changes: 1 addition & 1 deletion docs/examples/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ JS_DIR := $(OSO_ROOT)/languages/js
RUBY_DIR := $(OSO_ROOT)/languages/ruby

# Needed for tests
JAVA_PACKAGE_JAR_PATH := $(JAVA_DIR)/oso/target/oso-0.27.0.jar
JAVA_PACKAGE_JAR_PATH := $(JAVA_DIR)/oso/target/oso-0.27.1.jar

# Note: if you are using bundler in a sub-makefile (in a docs test for example),
# you need to add `unexport BUNDLE_GEMFILE` to that makefile. Otherwise this
Expand Down
6 changes: 5 additions & 1 deletion languages/go/README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# Deprecated

We have deprecated the legacy Oso open source library. We have plans for the next open source release and we’re looking forward to getting feedback from the community leading up to that point (please reach out to us in the Slack #help channel). In the meantime, if you’re happy using the Oso open source library now, nothing needs to change – i.e., we are not end-of-lifing (EOL) the library and we’ll continue to provide support and critical bug fixes. (Link to Docs message) (We released a writeup with more context)

# Oso go library

This is the publish repository for the oso go library. It contains prebuilt oso-core
Expand All @@ -10,4 +14,4 @@ All development happens on https://github.com/osohq/oso.
```
import "github.com/osohq/go-oso"
...
```
```
2 changes: 1 addition & 1 deletion languages/java/oso/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

<groupId>com.osohq</groupId>
<artifactId>oso</artifactId>
<!-- oso_version --><version>0.27.0</version>
<!-- oso_version --><version>0.27.1</version>

<distributionManagement>
<snapshotRepository>
Expand Down
2 changes: 1 addition & 1 deletion languages/js/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "oso",
"version": "0.27.0",
"version": "0.27.1",
"description": "oso authorization library.",
"bin": "bin/repl.js",
"main": "dist/src/index.js",
Expand Down
2 changes: 1 addition & 1 deletion languages/python/django-oso/django_oso/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

from .oso import Oso

__version__ = "0.27.0"
__version__ = "0.27.1"

if django.VERSION < (3, 2):
default_app_config = "django_oso.apps.DjangoOsoConfig"
Expand Down
2 changes: 1 addition & 1 deletion languages/python/django-oso/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
oso~=0.27.0
oso~=0.27.1
django>=2.2
4 changes: 2 additions & 2 deletions languages/python/docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@
project = "oso"
copyright = "2020-2021 Oso Security, Inc"
author = "oso"
version = "0.27.0"
release = "0.27.0"
version = "0.27.1"
release = "0.27.1"


# -- General configuration ---------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion languages/python/flask-oso/flask_oso/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
__version__ = "0.27.0"
__version__ = "0.27.1"

from .decorators import authorize, skip_authorization
from .flask_oso import FlaskOso
Expand Down
2 changes: 1 addition & 1 deletion languages/python/flask-oso/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
oso~=0.27.0
oso~=0.27.1
flask==2.1.0
werkzeug==2.0.3
2 changes: 1 addition & 1 deletion languages/python/oso/oso/oso.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
"""Core oso functionality"""

__version__ = "0.27.0"
__version__ = "0.27.1"

import os
from typing import Any, List, Set, Type
Expand Down
2 changes: 1 addition & 1 deletion languages/python/sqlalchemy-oso/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
oso~=0.27.0
oso~=0.27.1
SQLAlchemy>=1.3.17,<1.5
packaging>=21.3,<24.0
2 changes: 1 addition & 1 deletion languages/python/sqlalchemy-oso/sqlalchemy_oso/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
__version__ = "0.27.0"
__version__ = "0.27.1"


from .auth import register_models
Expand Down
2 changes: 1 addition & 1 deletion languages/ruby/Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PATH
remote: .
specs:
oso-oso (0.27.0)
oso-oso (0.27.1)
ffi (~> 1.0)

GEM
Expand Down
2 changes: 1 addition & 1 deletion languages/ruby/lib/oso/version.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# frozen_string_literal: true

module Oso
VERSION = '0.27.0'
VERSION = '0.27.1'
end
2 changes: 1 addition & 1 deletion languages/ruby/oso-oso.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Gem::Specification.new do |spec|
spec.authors = ['Oso Security, Inc.']
spec.email = ['support@osohq.com']
spec.licenses = ['Apache-2.0']
spec.summary = 'Oso authorization library.'
spec.summary = "We have deprecated the legacy Oso open source library. We have plans for the next open source release and we’re looking forward to getting feedback from the community leading up to that point (please reach out to us in the Slack #help channel). In the meantime, if you’re happy using the Oso open source library now, nothing needs to change – i.e., we are not end-of-lifing (EOL) the library and we’ll continue to provide support and critical bug fixes. More context: [here](https://www.osohq.com/docs/oss/getting-started/deprecation.html)."
spec.homepage = 'https://www.osohq.com/'

spec.required_ruby_version = Gem::Requirement.new('>= 2.4.0')
Expand Down
2 changes: 1 addition & 1 deletion languages/rust/oso-derive/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ repository = "https://github.com/osohq/oso"
homepage = "https://www.osohq.com/"
readme = "README.md"

version = "0.27.0"
version = "0.27.1"

edition = "2021"

Expand Down
8 changes: 4 additions & 4 deletions languages/rust/oso/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ license = "Apache-2.0"
name = "oso"
readme = "README.md"

version = "0.27.0"
version = "0.27.1"

edition = "2021"

Expand All @@ -31,8 +31,8 @@ required-features = ["anyhow"]
[dependencies]
impl-trait-for-tuples = "0.2.1"
maplit = "1.0.2"
oso-derive = { path = "../oso-derive", version = "=0.27.0", optional = true }
polar-core = { path = "../../../polar-core", version = "=0.27.0" }
oso-derive = { path = "../oso-derive", version = "=0.27.1", optional = true }
polar-core = { path = "../../../polar-core", version = "=0.27.1" }
thiserror = "1.0.30"
tracing = { version = "0.1.29", features = ["log"] }

Expand All @@ -52,7 +52,7 @@ uuid-10 = { package = "uuid", version = ">=1.0.0, <2.0.0", optional = true }
[dev-dependencies]
anyhow = "1.0.44"
criterion = { version = "0.3.5", default-features = false }
oso-derive = { path = "../oso-derive", version = "=0.27.0" }
oso-derive = { path = "../oso-derive", version = "=0.27.1" }
static_assertions = "1.1.0"
tempfile = "3.2.0"
tracing-subscriber = { version = "0.3.1", default-features = false, features = [
Expand Down
4 changes: 2 additions & 2 deletions polar-c-api/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "polar-c-api"
version = "0.27.0"
version = "0.27.1"
authors = ["Oso Security, Inc. <support@osohq.com>"]
edition = "2021"

Expand All @@ -10,7 +10,7 @@ crate-type = ["lib", "staticlib", "cdylib"]
bench = false

[dependencies]
polar-core = { path = "../polar-core", version = "=0.27.0" }
polar-core = { path = "../polar-core", version = "=0.27.1" }
serde = "1.0"
serde_json = "1.0.61"

Expand Down
2 changes: 1 addition & 1 deletion polar-core/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ repository = "https://github.com/osohq/oso"
homepage = "https://www.osohq.com/"
readme = "README.md"

version = "0.27.0"
version = "0.27.1"

edition = "2021"

Expand Down
4 changes: 2 additions & 2 deletions polar-language-server/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "polar-language-server"
version = "0.27.0"
version = "0.27.1"
authors = ["Oso Security, Inc. <support@osohq.com>"]
edition = "2021"

Expand All @@ -12,7 +12,7 @@ bench = false
console_error_panic_hook = "0.1.6"
js-sys = "0.3.53"
lsp-types = "0.90.0"
polar-core = { path = "../polar-core", version = "=0.27.0" }
polar-core = { path = "../polar-core", version = "=0.27.1" }
serde = { version = "1.0", features = ["derive"] }
serde-wasm-bindgen = "0.3.1"
wasm-bindgen = "0.2.76"
Expand Down
4 changes: 2 additions & 2 deletions polar-wasm-api/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "polar-wasm-api"
version = "0.27.0"
version = "0.27.1"
authors = ["Oso Security, Inc. <support@osohq.com>"]
edition = "2021"

Expand All @@ -11,7 +11,7 @@ bench = false
[dependencies]
console_error_panic_hook = "0.1.6"
js-sys = "0.3.53"
polar-core = { path = "../polar-core", version = "=0.27.0" }
polar-core = { path = "../polar-core", version = "=0.27.1" }
serde = { version = "1.0.119", features = ["rc"] }
serde-wasm-bindgen = "0.3.1"
wasm-bindgen = "0.2.76"
Expand Down
4 changes: 2 additions & 2 deletions vscode/oso/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"private": true,
"version": "0.27.0",
"version": "0.27.1",
"name": "oso",
"displayName": "Oso",
"author": "Oso Security Inc.",
Expand Down Expand Up @@ -117,4 +117,4 @@
"typescript": "^4.4.3",
"vsce": "^2.6.3"
}
}
}

1 comment on commit fae0b3b

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Rust Benchmark

Benchmark suite Current: fae0b3b Previous: 7b55a59 Ratio
rust_get_attribute 28945 ns/iter (± 1060) 29112 ns/iter (± 1670) 0.99
n_plus_one/100 1537279 ns/iter (± 18628) 1525848 ns/iter (± 30067) 1.01
n_plus_one/500 7480341 ns/iter (± 211124) 7383589 ns/iter (± 90204) 1.01
n_plus_one/1000 14801956 ns/iter (± 111503) 14661229 ns/iter (± 78008) 1.01
unify_once 625 ns/iter (± 95) 624 ns/iter (± 1146) 1.00
unify_twice 1731 ns/iter (± 780) 1707 ns/iter (± 25) 1.01
many_rules 38491 ns/iter (± 924) 38288 ns/iter (± 892) 1.01
fib/5 343248 ns/iter (± 5295) 347203 ns/iter (± 4107) 0.99
prime/3 10399 ns/iter (± 420) 10475 ns/iter (± 369) 0.99
prime/23 10394 ns/iter (± 401) 10463 ns/iter (± 409) 0.99
prime/43 10383 ns/iter (± 429) 10480 ns/iter (± 387) 0.99
prime/83 10416 ns/iter (± 539) 10465 ns/iter (± 370) 1.00
prime/255 9346 ns/iter (± 365) 9348 ns/iter (± 384) 1.00
indexed/100 3485 ns/iter (± 396) 3443 ns/iter (± 408) 1.01
indexed/500 3957 ns/iter (± 1351) 3972 ns/iter (± 1075) 1.00
indexed/1000 4364 ns/iter (± 190) 4367 ns/iter (± 205) 1.00
indexed/10000 8218 ns/iter (± 2138) 10300 ns/iter (± 1195) 0.80
not 3991 ns/iter (± 59) 3959 ns/iter (± 48) 1.01
double_not 8452 ns/iter (± 128) 8408 ns/iter (± 149) 1.01
De_Morgan_not 5405 ns/iter (± 106) 5412 ns/iter (± 89) 1.00
load_policy 693344 ns/iter (± 3694) 697378 ns/iter (± 4902) 0.99
partial_and/1 20760 ns/iter (± 588) 20893 ns/iter (± 572) 0.99
partial_and/5 68560 ns/iter (± 2102) 68453 ns/iter (± 2049) 1.00
partial_and/10 128962 ns/iter (± 3689) 129035 ns/iter (± 3927) 1.00
partial_and/20 269867 ns/iter (± 6147) 269522 ns/iter (± 6440) 1.00
partial_and/40 594884 ns/iter (± 6689) 589905 ns/iter (± 7556) 1.01
partial_and/80 1370417 ns/iter (± 13094) 1366519 ns/iter (± 12004) 1.00
partial_and/100 1829377 ns/iter (± 11409) 1815267 ns/iter (± 8963) 1.01
partial_rule_depth/1 62788 ns/iter (± 2486) 62347 ns/iter (± 2250) 1.01
partial_rule_depth/5 215056 ns/iter (± 5534) 214488 ns/iter (± 5728) 1.00
partial_rule_depth/10 485092 ns/iter (± 9413) 484272 ns/iter (± 10098) 1.00
partial_rule_depth/20 1389016 ns/iter (± 22618) 1379811 ns/iter (± 16174) 1.01
partial_rule_depth/40 4958448 ns/iter (± 272270) 4910960 ns/iter (± 25224) 1.01
partial_rule_depth/80 27952753 ns/iter (± 279459) 27141254 ns/iter (± 282770) 1.03
partial_rule_depth/100 50299078 ns/iter (± 594410) 49220520 ns/iter (± 672095) 1.02

This comment was automatically generated by workflow using github-action-benchmark.

Please sign in to comment.