Skip to content

Commit

Permalink
bump and changelog (#1570)
Browse files Browse the repository at this point in the history
* bump and changelog

* cl
  • Loading branch information
saolsen authored May 5, 2022
1 parent dc21165 commit 2656313
Show file tree
Hide file tree
Showing 19 changed files with 47 additions and 38 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.26.0" # oso_version
default: "0.26.1" # 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
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.26.0
0.26.1
18 changes: 18 additions & 0 deletions docs/content/any/project/changelogs/2022-05-04.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
---
title: Release 2022-05-04
menuTitle: 2022-05-04
any: true
description: >-
Changelog for Release 2022-05-04 (oso 0.26.1) containing new features,
bug fixes, and more.
draft: false
---

## `oso` 0.26.1

### Python

#### Other bugs & improvements

- Resolved an `IndexError` exception in `sqlalchemy-oso` Data Filtering. (thanks to @jackdreillyvia for the contribution)
- Resolved a false-negative in `sqlalchemy-oso` Data Filtering when comparing ORM objects. (thanks to @jackdreillyvia for the contribution)
9 changes: 0 additions & 9 deletions docs/content/any/project/changelogs/NEXT.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,6 @@ draft: true

## `RELEASED_PACKAGE_1` NEW_VERSION

### Python

#### Other bugs & improvements

- Resolved an `IndexError` exception in `sqlalchemy-oso` Data Filtering. (thanks to @jackdreillyvia for the contribution)
- Resolved a false-negative in `sqlalchemy-oso` Data Filtering when comparing ORM objects. (thanks to @jackdreillyvia for the contribution)

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

#### Breaking changes
Expand Down Expand Up @@ -47,5 +40,3 @@ Link to [relevant documentation section]().
- 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.26.0.jar
JAVA_PACKAGE_JAR_PATH := $(JAVA_DIR)/oso/target/oso-0.26.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
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.26.0</version>
<!-- oso_version --><version>0.26.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.26.0",
"version": "0.26.1",
"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.26.0"
release = "0.26.0"
version = "0.26.1"
release = "0.26.1"


# -- 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.26.0"
__version__ = "0.26.1"

import os
from typing import List, Any, Set
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.26.0)
oso-oso (0.26.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.26.0'
VERSION = '0.26.1'
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 @@ -6,7 +6,7 @@ license = "Apache-2.0"
homepage = "https://github.com/osohq/oso"
readme = "README.md"

version = "0.26.0"
version = "0.26.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 @@ -6,7 +6,7 @@ license = "Apache-2.0"
name = "oso"
readme = "README.md"

version = "0.26.0"
version = "0.26.1"

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.0", optional = true }
polar-core = { path = "../../../polar-core", version = "=0.26.0" }
oso-derive = { path = "../oso-derive", version = "=0.26.1", optional = true }
polar-core = { path = "../../../polar-core", version = "=0.26.1" }
thiserror = "1.0.30"
tracing = { version = "0.1.29", features = ["log"] }
tracing-subscriber = { version = "0.3.1", default-features = false, features = [
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 = "0.3.5"
oso-derive = { path = "../oso-derive", version = "=0.26.0" }
oso-derive = { path = "../oso-derive", version = "=0.26.1" }
static_assertions = "1.1.0"
tempfile = "3.2.0"

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.26.0"
version = "0.26.1"
authors = ["Oso Security, Inc. <[email protected]>"]
edition = "2021"

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

[dependencies]
polar-core = { path = "../polar-core", version = "=0.26.0" }
polar-core = { path = "../polar-core", version = "=0.26.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 @@ -6,7 +6,7 @@ license = "Apache-2.0"
homepage = "https://github.com/osohq/oso"
readme = "README.md"

version = "0.26.0"
version = "0.26.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.26.0"
version = "0.26.1"
authors = ["Oso Security, Inc. <[email protected]>"]
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.0" }
polar-core = { path = "../polar-core", version = "=0.26.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.26.0"
version = "0.26.1"
authors = ["Oso Security, Inc. <[email protected]>"]
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.0" }
polar-core = { path = "../polar-core", version = "=0.26.1" }
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.26.0",
"version": "0.26.1",
"name": "oso",
"displayName": "Oso",
"author": "Oso Security Inc.",
Expand Down

1 comment on commit 2656313

@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: 2656313 Previous: dc21165 Ratio
rust_get_attribute 48722 ns/iter (± 4625) 45240 ns/iter (± 1934) 1.08
n_plus_one/100 2313728 ns/iter (± 197403) 2221116 ns/iter (± 3116) 1.04
n_plus_one/500 11009053 ns/iter (± 965461) 10714187 ns/iter (± 105314) 1.03
n_plus_one/1000 22020898 ns/iter (± 1358775) 21291231 ns/iter (± 268623) 1.03
unify_once 1002 ns/iter (± 115) 973 ns/iter (± 58) 1.03
unify_twice 2463 ns/iter (± 185) 2541 ns/iter (± 55) 0.97
many_rules 63331 ns/iter (± 5327) 62979 ns/iter (± 1565) 1.01
fib/5 659803 ns/iter (± 45753) 527429 ns/iter (± 8646) 1.25
prime/3 22310 ns/iter (± 1985) 17737 ns/iter (± 784) 1.26
prime/23 21393 ns/iter (± 2679) 17741 ns/iter (± 682) 1.21
prime/43 19205 ns/iter (± 1845) 17763 ns/iter (± 709) 1.08
prime/83 18953 ns/iter (± 1919) 17726 ns/iter (± 1287) 1.07
prime/255 17675 ns/iter (± 2005) 16374 ns/iter (± 592) 1.08
indexed/100 6251 ns/iter (± 1338) 6033 ns/iter (± 632) 1.04
indexed/500 8229 ns/iter (± 2202) 7796 ns/iter (± 1738) 1.06
indexed/1000 9553 ns/iter (± 1424) 9308 ns/iter (± 396) 1.03
indexed/10000 17175 ns/iter (± 7370) 25751 ns/iter (± 2306) 0.67
not 6255 ns/iter (± 1407) 5958 ns/iter (± 103) 1.05
double_not 13788 ns/iter (± 1414) 12411 ns/iter (± 278) 1.11
De_Morgan_not 8936 ns/iter (± 1141) 7952 ns/iter (± 189) 1.12
load_policy 992519 ns/iter (± 58466) 892830 ns/iter (± 4416) 1.11
partial_and/1 33058 ns/iter (± 5952) 31438 ns/iter (± 1490) 1.05
partial_and/5 112084 ns/iter (± 9580) 110480 ns/iter (± 3078) 1.01
partial_and/10 213943 ns/iter (± 20341) 210287 ns/iter (± 3994) 1.02
partial_and/20 440656 ns/iter (± 32959) 428103 ns/iter (± 5997) 1.03
partial_and/40 950423 ns/iter (± 86664) 907485 ns/iter (± 11926) 1.05
partial_and/80 2117439 ns/iter (± 109292) 2042072 ns/iter (± 3620) 1.04
partial_and/100 2909638 ns/iter (± 219224) 2704355 ns/iter (± 16473) 1.08
partial_rule_depth/1 104212 ns/iter (± 74907) 102082 ns/iter (± 4203) 1.02
partial_rule_depth/5 345200 ns/iter (± 26810) 334119 ns/iter (± 5200) 1.03
partial_rule_depth/10 771361 ns/iter (± 47641) 729627 ns/iter (± 11527) 1.06
partial_rule_depth/20 2273777 ns/iter (± 166697) 2045456 ns/iter (± 5573) 1.11
partial_rule_depth/40 8813499 ns/iter (± 668645) 7485127 ns/iter (± 58243) 1.18
partial_rule_depth/80 54004680 ns/iter (± 6030818) 43211500 ns/iter (± 231067) 1.25
partial_rule_depth/100 109201569 ns/iter (± 7090336) 79528105 ns/iter (± 381463) 1.37

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

Please sign in to comment.