Skip to content

Commit

Permalink
0.27.2 (#1736)
Browse files Browse the repository at this point in the history
* Reset NEXT.md

* Add 0.27.2 changelog

* Bump version

* cargo build

* Fix formatting
  • Loading branch information
gj authored Dec 20, 2023
1 parent c277b53 commit c75e520
Show file tree
Hide file tree
Showing 21 changed files with 56 additions and 36 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/publish-docs.yml
Original file line number Diff line number Diff line change
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.27.1" # oso_version
default: "0.27.2" # oso_version
flask_oso_version:
description: "flask oso release to build docs for"
default: "0.27.1" # 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
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.27.1
0.27.2
2 changes: 1 addition & 1 deletion docs/content/any/project/changelogs/2022-12-05.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ description: >-
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!
Thanks to [`@kkirsche`](https://github.com/kkirsche) for help with this!

#### Other bugs & improvements

Expand Down
2 changes: 1 addition & 1 deletion docs/content/any/project/changelogs/2023-12-18.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@ description: >-
draft: false
---

## `oso`` 0.27.1
## `oso` 0.27.1

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).
20 changes: 20 additions & 0 deletions docs/content/any/project/changelogs/2023-12-20.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
title: Release 2023-12-20
menuTitle: 2023-12-20
any: true
description: >-
Changelog for Release 2023-12-20 (oso 0.27.2) containing new features, bug
fixes, and more.
draft: true
---

## `oso` 0.27.2

### Python

#### New features

##### Python 3.12 Support

Thanks to [`@kkirsche`](https://github.com/kkirsche), the Oso library now
works on Python 3.12.
10 changes: 5 additions & 5 deletions docs/content/any/project/changelogs/NEXT.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ description: >-
draft: true
---

## `oso` NEW_VERSION
## `RELEASED_PACKAGE_1` NEW_VERSION

### Core
### LANGUAGE (e.g., 'Core' or 'Python' or 'Node.js')

#### Breaking changes

Expand All @@ -37,6 +37,6 @@ Link to [relevant documentation section]().

#### Other bugs & improvements

- Thank you to [`FinnRG`](https://github.com/FinnRG) and
[`onalante-msft`](https://github.com/onalante-msft) for updating dependencies
across the core, the C API crate, and the Rust language library.
- Bulleted list
- Of smaller improvements
- Potentially with doc [links]().
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.1.jar
JAVA_PACKAGE_JAR_PATH := $(JAVA_DIR)/oso/target/oso-0.27.2.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
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.1</version>
<!-- oso_version --><version>0.27.2</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.1",
"version": "0.27.2",
"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
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.1"
release = "0.27.1"
version = "0.27.2"
release = "0.27.2"


# -- General configuration ---------------------------------------------------
Expand Down
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.1"
__version__ = "0.27.2"

import os
from typing import Any, List, Set, Type
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.1)
oso-oso (0.27.2)
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.1'
VERSION = '0.27.2'
end
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.1"
version = "0.27.2"

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.1"
version = "0.27.2"

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.1", optional = true }
polar-core = { path = "../../../polar-core", version = "=0.27.1" }
oso-derive = { path = "../oso-derive", version = "=0.27.2", optional = true }
polar-core = { path = "../../../polar-core", version = "=0.27.2" }
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.1" }
oso-derive = { path = "../oso-derive", version = "=0.27.2" }
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.1"
version = "0.27.2"
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.1" }
polar-core = { path = "../polar-core", version = "=0.27.2" }
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.1"
version = "0.27.2"

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.1"
version = "0.27.2"
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.1" }
polar-core = { path = "../polar-core", version = "=0.27.2" }
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.1"
version = "0.27.2"
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.1" }
polar-core = { path = "../polar-core", version = "=0.27.2" }
serde = { version = "1.0.119", features = ["rc"] }
serde-wasm-bindgen = "0.3.1"
wasm-bindgen = "0.2.76"
Expand Down
2 changes: 1 addition & 1 deletion vscode/oso/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"private": true,
"version": "0.27.1",
"version": "0.27.2",
"name": "oso",
"displayName": "Oso",
"author": "Oso Security Inc.",
Expand Down

1 comment on commit c75e520

@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: c75e520 Previous: c277b53 Ratio
rust_get_attribute 28635 ns/iter (± 882) 29406 ns/iter (± 873) 0.97
n_plus_one/100 1519505 ns/iter (± 21923) 1562608 ns/iter (± 32037) 0.97
n_plus_one/500 7342693 ns/iter (± 307359) 7571758 ns/iter (± 72293) 0.97
n_plus_one/1000 14615357 ns/iter (± 313331) 15061323 ns/iter (± 91592) 0.97
unify_once 632 ns/iter (± 303) 621 ns/iter (± 1397) 1.02
unify_twice 1735 ns/iter (± 62) 1733 ns/iter (± 21) 1.00
many_rules 38136 ns/iter (± 1006) 38978 ns/iter (± 967) 0.98
fib/5 344496 ns/iter (± 5687) 346722 ns/iter (± 5193) 0.99
prime/3 10339 ns/iter (± 408) 10379 ns/iter (± 401) 1.00
prime/23 10402 ns/iter (± 396) 10367 ns/iter (± 379) 1.00
prime/43 10368 ns/iter (± 389) 10366 ns/iter (± 361) 1.00
prime/83 10347 ns/iter (± 459) 10391 ns/iter (± 374) 1.00
prime/255 9289 ns/iter (± 351) 9239 ns/iter (± 362) 1.01
indexed/100 3429 ns/iter (± 453) 3493 ns/iter (± 373) 0.98
indexed/500 3908 ns/iter (± 1511) 3973 ns/iter (± 871) 0.98
indexed/1000 4435 ns/iter (± 229) 4471 ns/iter (± 223) 0.99
indexed/10000 12246 ns/iter (± 3251) 9244 ns/iter (± 3193) 1.32
not 4029 ns/iter (± 579) 4000 ns/iter (± 561) 1.01
double_not 8471 ns/iter (± 173) 8487 ns/iter (± 133) 1.00
De_Morgan_not 5487 ns/iter (± 92) 5425 ns/iter (± 103) 1.01
load_policy 706762 ns/iter (± 13797) 694755 ns/iter (± 18800) 1.02
partial_and/1 20879 ns/iter (± 540) 20723 ns/iter (± 581) 1.01
partial_and/5 68892 ns/iter (± 1850) 68749 ns/iter (± 1856) 1.00
partial_and/10 129249 ns/iter (± 8416) 129729 ns/iter (± 3742) 1.00
partial_and/20 270101 ns/iter (± 5504) 269310 ns/iter (± 5335) 1.00
partial_and/40 590077 ns/iter (± 12863) 588626 ns/iter (± 8318) 1.00
partial_and/80 1358887 ns/iter (± 15842) 1360072 ns/iter (± 15604) 1.00
partial_and/100 1815391 ns/iter (± 16736) 1815872 ns/iter (± 30070) 1.00
partial_rule_depth/1 62335 ns/iter (± 2188) 62249 ns/iter (± 2270) 1.00
partial_rule_depth/5 213979 ns/iter (± 5541) 214951 ns/iter (± 5199) 1.00
partial_rule_depth/10 487069 ns/iter (± 9129) 483655 ns/iter (± 9403) 1.01
partial_rule_depth/20 1378005 ns/iter (± 26735) 1378092 ns/iter (± 25656) 1.00
partial_rule_depth/40 4913844 ns/iter (± 33362) 4932050 ns/iter (± 46496) 1.00
partial_rule_depth/80 27767464 ns/iter (± 1410960) 27431730 ns/iter (± 247395) 1.01
partial_rule_depth/100 49676116 ns/iter (± 627745) 49205424 ns/iter (± 588649) 1.01

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

Please sign in to comment.