Skip to content

Commit

Permalink
v0.26.4 (#1652)
Browse files Browse the repository at this point in the history
* add changelog

* add java change to changelog

* bump versions

* rename bump versions script
  • Loading branch information
laxjesse committed Dec 5, 2022
1 parent afbabdf commit e2f3bde
Show file tree
Hide file tree
Showing 19 changed files with 56 additions and 29 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/publish-docs.yml
Expand Up @@ -6,7 +6,7 @@ on:
description: "docs s3 path (docs.oso.dev or docs-preview.oso.dev)"
oso_version:
description: "oso release to build docs for"
default: "0.26.3" # oso_version
default: "0.26.4" # oso_version
flask_oso_version:
description: "flask oso release to build docs for"
default: "0.26.0" # flask_oso_version
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
@@ -1 +1 @@
0.26.3
0.26.4
27 changes: 27 additions & 0 deletions docs/content/any/project/changelogs/2022-12-05.md
@@ -0,0 +1,27 @@
---
title: Release 2022-12-05
menuTitle: 2022-12-05
any: true
description: >-
Changelog for Release 2022-12-05 (oso 0.26.4) containing new features,
bug fixes, and more.
---

## `oso` 0.26.4

### Python

#### Platform support

- We now publish wheels for Python 3.11 for all supported platforms.
You should now be able to use `pip install oso` to get the
latest Oso package.

Thanks to [`@kkirsche`](https://github.com/kkirsche) help with this!

### Java

#### Other bugs & improvements
- Fixed a potential memory leak in the Java client library.


2 changes: 1 addition & 1 deletion docs/examples/Makefile
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.26.3.jar
JAVA_PACKAGE_JAR_PATH := $(JAVA_DIR)/oso/target/oso-0.26.4.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
2 changes: 1 addition & 1 deletion languages/java/oso/pom.xml
Expand Up @@ -12,7 +12,7 @@

<groupId>com.osohq</groupId>
<artifactId>oso</artifactId>
<!-- oso_version --><version>0.26.3</version>
<!-- oso_version --><version>0.26.4</version>

<distributionManagement>
<snapshotRepository>
Expand Down
2 changes: 1 addition & 1 deletion languages/js/package.json
@@ -1,6 +1,6 @@
{
"name": "oso",
"version": "0.26.3",
"version": "0.26.4",
"description": "oso authorization library.",
"bin": "bin/repl.js",
"main": "dist/src/index.js",
Expand Down
4 changes: 2 additions & 2 deletions languages/python/docs/conf.py
Expand Up @@ -42,8 +42,8 @@
project = "oso"
copyright = "2020-2021 Oso Security, Inc"
author = "oso"
version = "0.26.3"
release = "0.26.3"
version = "0.26.4"
release = "0.26.4"


# -- General configuration ---------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion languages/python/oso/oso/oso.py
@@ -1,6 +1,6 @@
"""Core oso functionality"""

__version__ = "0.26.3"
__version__ = "0.26.4"

import os
from typing import Any, List, Set, Type
Expand Down
2 changes: 1 addition & 1 deletion languages/ruby/Gemfile.lock
@@ -1,7 +1,7 @@
PATH
remote: .
specs:
oso-oso (0.26.3)
oso-oso (0.26.4)
ffi (~> 1.0)

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

module Oso
VERSION = '0.26.3'
VERSION = '0.26.4'
end
2 changes: 1 addition & 1 deletion languages/rust/oso-derive/Cargo.toml
Expand Up @@ -6,7 +6,7 @@ license = "Apache-2.0"
homepage = "https://github.com/osohq/oso"
readme = "README.md"

version = "0.26.3"
version = "0.26.4"

edition = "2021"

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

version = "0.26.3"
version = "0.26.4"

edition = "2021"

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

Expand All @@ -51,7 +51,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.26.3" }
oso-derive = { path = "../oso-derive", version = "=0.26.4" }
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
@@ -1,6 +1,6 @@
[package]
name = "polar-c-api"
version = "0.26.3"
version = "0.26.4"
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.26.3" }
polar-core = { path = "../polar-core", version = "=0.26.4" }
serde = "1.0"
serde_json = "1.0.61"

Expand Down
2 changes: 1 addition & 1 deletion polar-core/Cargo.toml
Expand Up @@ -6,7 +6,7 @@ license = "Apache-2.0"
homepage = "https://github.com/osohq/oso"
readme = "README.md"

version = "0.26.3"
version = "0.26.4"

edition = "2021"

Expand Down
4 changes: 2 additions & 2 deletions polar-language-server/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "polar-language-server"
version = "0.26.3"
version = "0.26.4"
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.26.3" }
polar-core = { path = "../polar-core", version = "=0.26.4" }
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
@@ -1,6 +1,6 @@
[package]
name = "polar-wasm-api"
version = "0.26.3"
version = "0.26.4"
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.26.3" }
polar-core = { path = "../polar-core", version = "=0.26.4" }
serde = { version = "1.0.119", features = ["rc"] }
serde-wasm-bindgen = "0.3.1"
wasm-bindgen = "0.2.76"
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion vscode/oso/package.json
@@ -1,6 +1,6 @@
{
"private": true,
"version": "0.26.3",
"version": "0.26.4",
"name": "oso",
"displayName": "Oso",
"author": "Oso Security Inc.",
Expand Down

1 comment on commit e2f3bde

@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: 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.