Skip to content

Commit e2f3bde

Browse files
authoredDec 5, 2022
v0.26.4 (#1652)
* add changelog * add java change to changelog * bump versions * rename bump versions script
1 parent afbabdf commit e2f3bde

File tree

19 files changed

+56
-29
lines changed

19 files changed

+56
-29
lines changed
 

‎.github/workflows/publish-docs.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ on:
66
description: "docs s3 path (docs.oso.dev or docs-preview.oso.dev)"
77
oso_version:
88
description: "oso release to build docs for"
9-
default: "0.26.3" # oso_version
9+
default: "0.26.4" # oso_version
1010
flask_oso_version:
1111
description: "flask oso release to build docs for"
1212
default: "0.26.0" # flask_oso_version

‎Cargo.lock

+6-6
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎VERSION

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.26.3
1+
0.26.4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
---
2+
title: Release 2022-12-05
3+
menuTitle: 2022-12-05
4+
any: true
5+
description: >-
6+
Changelog for Release 2022-12-05 (oso 0.26.4) containing new features,
7+
bug fixes, and more.
8+
---
9+
10+
## `oso` 0.26.4
11+
12+
### Python
13+
14+
#### Platform support
15+
16+
- We now publish wheels for Python 3.11 for all supported platforms.
17+
You should now be able to use `pip install oso` to get the
18+
latest Oso package.
19+
20+
Thanks to [`@kkirsche`](https://github.com/kkirsche) help with this!
21+
22+
### Java
23+
24+
#### Other bugs & improvements
25+
- Fixed a potential memory leak in the Java client library.
26+
27+

‎docs/examples/Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ JS_DIR := $(OSO_ROOT)/languages/js
77
RUBY_DIR := $(OSO_ROOT)/languages/ruby
88

99
# Needed for tests
10-
JAVA_PACKAGE_JAR_PATH := $(JAVA_DIR)/oso/target/oso-0.26.3.jar
10+
JAVA_PACKAGE_JAR_PATH := $(JAVA_DIR)/oso/target/oso-0.26.4.jar
1111

1212
# Note: if you are using bundler in a sub-makefile (in a docs test for example),
1313
# you need to add `unexport BUNDLE_GEMFILE` to that makefile. Otherwise this

‎languages/java/oso/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313
<groupId>com.osohq</groupId>
1414
<artifactId>oso</artifactId>
15-
<!-- oso_version --><version>0.26.3</version>
15+
<!-- oso_version --><version>0.26.4</version>
1616

1717
<distributionManagement>
1818
<snapshotRepository>

‎languages/js/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "oso",
3-
"version": "0.26.3",
3+
"version": "0.26.4",
44
"description": "oso authorization library.",
55
"bin": "bin/repl.js",
66
"main": "dist/src/index.js",

‎languages/python/docs/conf.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,8 @@
4242
project = "oso"
4343
copyright = "2020-2021 Oso Security, Inc"
4444
author = "oso"
45-
version = "0.26.3"
46-
release = "0.26.3"
45+
version = "0.26.4"
46+
release = "0.26.4"
4747

4848

4949
# -- General configuration ---------------------------------------------------

‎languages/python/oso/oso/oso.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
"""Core oso functionality"""
22

3-
__version__ = "0.26.3"
3+
__version__ = "0.26.4"
44

55
import os
66
from typing import Any, List, Set, Type

‎languages/ruby/Gemfile.lock

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
PATH
22
remote: .
33
specs:
4-
oso-oso (0.26.3)
4+
oso-oso (0.26.4)
55
ffi (~> 1.0)
66

77
GEM

‎languages/ruby/lib/oso/version.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# frozen_string_literal: true
22

33
module Oso
4-
VERSION = '0.26.3'
4+
VERSION = '0.26.4'
55
end

‎languages/rust/oso-derive/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ license = "Apache-2.0"
66
homepage = "https://github.com/osohq/oso"
77
readme = "README.md"
88

9-
version = "0.26.3"
9+
version = "0.26.4"
1010

1111
edition = "2021"
1212

‎languages/rust/oso/Cargo.toml

+4-4
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ license = "Apache-2.0"
66
name = "oso"
77
readme = "README.md"
88

9-
version = "0.26.3"
9+
version = "0.26.4"
1010

1111
edition = "2021"
1212

@@ -30,8 +30,8 @@ required-features = ["anyhow"]
3030
[dependencies]
3131
impl-trait-for-tuples = "0.2.1"
3232
maplit = "1.0.2"
33-
oso-derive = { path = "../oso-derive", version = "=0.26.3", optional = true }
34-
polar-core = { path = "../../../polar-core", version = "=0.26.3" }
33+
oso-derive = { path = "../oso-derive", version = "=0.26.4", optional = true }
34+
polar-core = { path = "../../../polar-core", version = "=0.26.4" }
3535
thiserror = "1.0.30"
3636
tracing = { version = "0.1.29", features = ["log"] }
3737

@@ -51,7 +51,7 @@ uuid-10 = { package = "uuid", version = ">=1.0.0, <2.0.0", optional = true }
5151
[dev-dependencies]
5252
anyhow = "1.0.44"
5353
criterion = { version = "0.3.5", default-features = false }
54-
oso-derive = { path = "../oso-derive", version = "=0.26.3" }
54+
oso-derive = { path = "../oso-derive", version = "=0.26.4" }
5555
static_assertions = "1.1.0"
5656
tempfile = "3.2.0"
5757
tracing-subscriber = { version = "0.3.1", default-features = false, features = [

‎polar-c-api/Cargo.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "polar-c-api"
3-
version = "0.26.3"
3+
version = "0.26.4"
44
authors = ["Oso Security, Inc. <support@osohq.com>"]
55
edition = "2021"
66

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

1212
[dependencies]
13-
polar-core = { path = "../polar-core", version = "=0.26.3" }
13+
polar-core = { path = "../polar-core", version = "=0.26.4" }
1414
serde = "1.0"
1515
serde_json = "1.0.61"
1616

‎polar-core/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ license = "Apache-2.0"
66
homepage = "https://github.com/osohq/oso"
77
readme = "README.md"
88

9-
version = "0.26.3"
9+
version = "0.26.4"
1010

1111
edition = "2021"
1212

‎polar-language-server/Cargo.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "polar-language-server"
3-
version = "0.26.3"
3+
version = "0.26.4"
44
authors = ["Oso Security, Inc. <support@osohq.com>"]
55
edition = "2021"
66

@@ -12,7 +12,7 @@ bench = false
1212
console_error_panic_hook = "0.1.6"
1313
js-sys = "0.3.53"
1414
lsp-types = "0.90.0"
15-
polar-core = { path = "../polar-core", version = "=0.26.3" }
15+
polar-core = { path = "../polar-core", version = "=0.26.4" }
1616
serde = { version = "1.0", features = ["derive"] }
1717
serde-wasm-bindgen = "0.3.1"
1818
wasm-bindgen = "0.2.76"

‎polar-wasm-api/Cargo.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "polar-wasm-api"
3-
version = "0.26.3"
3+
version = "0.26.4"
44
authors = ["Oso Security, Inc. <support@osohq.com>"]
55
edition = "2021"
66

@@ -11,7 +11,7 @@ bench = false
1111
[dependencies]
1212
console_error_panic_hook = "0.1.6"
1313
js-sys = "0.3.53"
14-
polar-core = { path = "../polar-core", version = "=0.26.3" }
14+
polar-core = { path = "../polar-core", version = "=0.26.4" }
1515
serde = { version = "1.0.119", features = ["rc"] }
1616
serde-wasm-bindgen = "0.3.1"
1717
wasm-bindgen = "0.2.76"
File renamed without changes.

‎vscode/oso/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"private": true,
3-
"version": "0.26.3",
3+
"version": "0.26.4",
44
"name": "oso",
55
"displayName": "Oso",
66
"author": "Oso Security Inc.",

1 commit comments

Comments
 (1)

github-actions[bot] commented on Dec 5, 2022

@github-actions[bot]

Rust Benchmark

Benchmark suite Current: e2f3bde Previous: afbabdf Ratio
rust_get_attribute 57464 ns/iter (± 6279) 59211 ns/iter (± 5998) 0.97
n_plus_one/100 2737317 ns/iter (± 132985) 2808364 ns/iter (± 137733) 0.97
n_plus_one/500 13135099 ns/iter (± 743250) 13481352 ns/iter (± 525422) 0.97
n_plus_one/1000 26496108 ns/iter (± 1180912) 27142395 ns/iter (± 1024130) 0.98
unify_once 1095 ns/iter (± 104) 1180 ns/iter (± 117) 0.93
unify_twice 3007 ns/iter (± 196) 3174 ns/iter (± 245) 0.95
many_rules 70917 ns/iter (± 7453) 76742 ns/iter (± 5440) 0.92
fib/5 638661 ns/iter (± 41185) 689719 ns/iter (± 29639) 0.93
prime/3 21415 ns/iter (± 1619) 22788 ns/iter (± 2359) 0.94
prime/23 21954 ns/iter (± 3603) 22875 ns/iter (± 5049) 0.96
prime/43 21447 ns/iter (± 1620) 22833 ns/iter (± 2006) 0.94
prime/83 22031 ns/iter (± 2559) 22546 ns/iter (± 1984) 0.98
prime/255 20367 ns/iter (± 1740) 20102 ns/iter (± 3489) 1.01
indexed/100 6888 ns/iter (± 1596) 7367 ns/iter (± 1204) 0.93
indexed/500 8606 ns/iter (± 3071) 9340 ns/iter (± 5392) 0.92
indexed/1000 10943 ns/iter (± 1193) 12800 ns/iter (± 2898) 0.85
indexed/10000 20575 ns/iter (± 9010) 33300 ns/iter (± 12971) 0.62
not 6902 ns/iter (± 760) 7609 ns/iter (± 745) 0.91
double_not 14672 ns/iter (± 1401) 15789 ns/iter (± 654) 0.93
De_Morgan_not 9259 ns/iter (± 740) 9861 ns/iter (± 635) 0.94
load_policy 1163891 ns/iter (± 47299) 1210428 ns/iter (± 50642) 0.96
partial_and/1 38443 ns/iter (± 2718) 40373 ns/iter (± 4829) 0.95
partial_and/5 133023 ns/iter (± 9754) 142577 ns/iter (± 10100) 0.93
partial_and/10 252711 ns/iter (± 17863) 267195 ns/iter (± 14387) 0.95
partial_and/20 529486 ns/iter (± 26512) 558836 ns/iter (± 36763) 0.95
partial_and/40 1144861 ns/iter (± 60777) 1227415 ns/iter (± 43714) 0.93
partial_and/80 2755283 ns/iter (± 141282) 2877706 ns/iter (± 133515) 0.96
partial_and/100 3681958 ns/iter (± 105784) 3777149 ns/iter (± 117965) 0.97
partial_rule_depth/1 127857 ns/iter (± 8307) 128907 ns/iter (± 9594) 0.99
partial_rule_depth/5 419040 ns/iter (± 27132) 432249 ns/iter (± 21905) 0.97
partial_rule_depth/10 920318 ns/iter (± 51701) 954393 ns/iter (± 62764) 0.96
partial_rule_depth/20 2669994 ns/iter (± 110575) 2842070 ns/iter (± 103250) 0.94
partial_rule_depth/40 10230144 ns/iter (± 419477) 10790784 ns/iter (± 548601) 0.95
partial_rule_depth/80 64320136 ns/iter (± 2936173) 71284860 ns/iter (± 2298482) 0.90
partial_rule_depth/100 121577677 ns/iter (± 3155642) 128572248 ns/iter (± 3336314) 0.95

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

Please sign in to comment.