From e111451d20361f8e4e677f597dd094fa3a8b6227 Mon Sep 17 00:00:00 2001 From: laxjesse Date: Mon, 5 Dec 2022 14:55:24 -0500 Subject: [PATCH 1/4] add changelog --- .../any/project/changelogs/2022-12-05.md | 22 +++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 docs/content/any/project/changelogs/2022-12-05.md diff --git a/docs/content/any/project/changelogs/2022-12-05.md b/docs/content/any/project/changelogs/2022-12-05.md new file mode 100644 index 0000000000..39d390b684 --- /dev/null +++ b/docs/content/any/project/changelogs/2022-12-05.md @@ -0,0 +1,22 @@ +--- +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! + + From 458071097e2889ec8c3fd58a20fe1304032fcc73 Mon Sep 17 00:00:00 2001 From: laxjesse Date: Mon, 5 Dec 2022 15:14:01 -0500 Subject: [PATCH 2/4] add java change to changelog --- docs/content/any/project/changelogs/2022-12-05.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/docs/content/any/project/changelogs/2022-12-05.md b/docs/content/any/project/changelogs/2022-12-05.md index 39d390b684..a87e639548 100644 --- a/docs/content/any/project/changelogs/2022-12-05.md +++ b/docs/content/any/project/changelogs/2022-12-05.md @@ -19,4 +19,9 @@ description: >- Thanks to [`@kkirsche`](https://github.com/kkirsche) help with this! +### Java + +#### Other bugs & improvements +- Fixed a potential memory leak in the Java client library. + From 31118e5defa6903493d4356310c0b1d2db289cc5 Mon Sep 17 00:00:00 2001 From: laxjesse Date: Mon, 5 Dec 2022 15:24:01 -0500 Subject: [PATCH 3/4] bump versions --- .github/workflows/publish-docs.yml | 2 +- Cargo.lock | 12 ++++++------ VERSION | 2 +- docs/examples/Makefile | 2 +- languages/java/oso/pom.xml | 2 +- languages/js/package.json | 2 +- languages/python/docs/conf.py | 4 ++-- languages/python/oso/oso/oso.py | 2 +- languages/ruby/Gemfile.lock | 2 +- languages/ruby/lib/oso/version.rb | 2 +- languages/rust/oso-derive/Cargo.toml | 2 +- languages/rust/oso/Cargo.toml | 8 ++++---- polar-c-api/Cargo.toml | 4 ++-- polar-core/Cargo.toml | 2 +- polar-language-server/Cargo.toml | 4 ++-- polar-wasm-api/Cargo.toml | 4 ++-- vscode/oso/package.json | 2 +- 17 files changed, 29 insertions(+), 29 deletions(-) diff --git a/.github/workflows/publish-docs.yml b/.github/workflows/publish-docs.yml index 7ec13cd553..5405690d25 100644 --- a/.github/workflows/publish-docs.yml +++ b/.github/workflows/publish-docs.yml @@ -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 diff --git a/Cargo.lock b/Cargo.lock index f926d4a3b7..909077b2cc 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -694,7 +694,7 @@ checksum = "3baf96e39c5359d2eb0dd6ccb42c62b91d9678aa68160d261b9e0ccbf9e9dea9" [[package]] name = "oso" -version = "0.26.3" +version = "0.26.4" dependencies = [ "anyhow", "clap 3.2.23", @@ -718,7 +718,7 @@ dependencies = [ [[package]] name = "oso-derive" -version = "0.26.3" +version = "0.26.4" dependencies = [ "quote", "syn", @@ -832,7 +832,7 @@ dependencies = [ [[package]] name = "polar-c-api" -version = "0.26.3" +version = "0.26.4" dependencies = [ "cbindgen", "polar-core", @@ -842,7 +842,7 @@ dependencies = [ [[package]] name = "polar-core" -version = "0.26.3" +version = "0.26.4" dependencies = [ "criterion", "indoc", @@ -862,7 +862,7 @@ dependencies = [ [[package]] name = "polar-language-server" -version = "0.26.3" +version = "0.26.4" dependencies = [ "console_error_panic_hook", "js-sys", @@ -876,7 +876,7 @@ dependencies = [ [[package]] name = "polar-wasm-api" -version = "0.26.3" +version = "0.26.4" dependencies = [ "console_error_panic_hook", "js-sys", diff --git a/VERSION b/VERSION index 3f45a6442e..12a91df0e0 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -0.26.3 +0.26.4 diff --git a/docs/examples/Makefile b/docs/examples/Makefile index ca68c53e4c..44f689d5b5 100644 --- a/docs/examples/Makefile +++ b/docs/examples/Makefile @@ -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 diff --git a/languages/java/oso/pom.xml b/languages/java/oso/pom.xml index 9b16b7ea28..43fb8960a9 100644 --- a/languages/java/oso/pom.xml +++ b/languages/java/oso/pom.xml @@ -12,7 +12,7 @@ com.osohq oso - 0.26.3 + 0.26.4 diff --git a/languages/js/package.json b/languages/js/package.json index 06a002e979..361222cf2a 100644 --- a/languages/js/package.json +++ b/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", diff --git a/languages/python/docs/conf.py b/languages/python/docs/conf.py index ce4b4ef391..dfcfd326bf 100644 --- a/languages/python/docs/conf.py +++ b/languages/python/docs/conf.py @@ -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 --------------------------------------------------- diff --git a/languages/python/oso/oso/oso.py b/languages/python/oso/oso/oso.py index 51cd9b98db..2881c583d6 100644 --- a/languages/python/oso/oso/oso.py +++ b/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 diff --git a/languages/ruby/Gemfile.lock b/languages/ruby/Gemfile.lock index 0fa7313044..202ff2e020 100644 --- a/languages/ruby/Gemfile.lock +++ b/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 diff --git a/languages/ruby/lib/oso/version.rb b/languages/ruby/lib/oso/version.rb index 39e9b9883d..e4737d8fa1 100644 --- a/languages/ruby/lib/oso/version.rb +++ b/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 diff --git a/languages/rust/oso-derive/Cargo.toml b/languages/rust/oso-derive/Cargo.toml index 5ad2427bf4..c96cb871ab 100644 --- a/languages/rust/oso-derive/Cargo.toml +++ b/languages/rust/oso-derive/Cargo.toml @@ -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" diff --git a/languages/rust/oso/Cargo.toml b/languages/rust/oso/Cargo.toml index c2b875b540..d9d2d1239a 100644 --- a/languages/rust/oso/Cargo.toml +++ b/languages/rust/oso/Cargo.toml @@ -6,7 +6,7 @@ license = "Apache-2.0" name = "oso" readme = "README.md" -version = "0.26.3" +version = "0.26.4" edition = "2021" @@ -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"] } @@ -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 = [ diff --git a/polar-c-api/Cargo.toml b/polar-c-api/Cargo.toml index 3e0dbe3b69..c11448ad99 100644 --- a/polar-c-api/Cargo.toml +++ b/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. "] edition = "2021" @@ -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" diff --git a/polar-core/Cargo.toml b/polar-core/Cargo.toml index c0f040bccc..51ce0d8f7b 100644 --- a/polar-core/Cargo.toml +++ b/polar-core/Cargo.toml @@ -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" diff --git a/polar-language-server/Cargo.toml b/polar-language-server/Cargo.toml index ea87c7d19d..daf7b877c9 100644 --- a/polar-language-server/Cargo.toml +++ b/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. "] edition = "2021" @@ -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" diff --git a/polar-wasm-api/Cargo.toml b/polar-wasm-api/Cargo.toml index 5ef551e6c3..1529562bfa 100644 --- a/polar-wasm-api/Cargo.toml +++ b/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. "] edition = "2021" @@ -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" diff --git a/vscode/oso/package.json b/vscode/oso/package.json index c9c3605682..0deab6cc64 100644 --- a/vscode/oso/package.json +++ b/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.", From b78ad66fe4a70c005a0f924574e7742544df81be Mon Sep 17 00:00:00 2001 From: laxjesse Date: Mon, 5 Dec 2022 15:24:22 -0500 Subject: [PATCH 4/4] rename bump versions script --- scripts/{release => }/bump_versions.py | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename scripts/{release => }/bump_versions.py (100%) diff --git a/scripts/release/bump_versions.py b/scripts/bump_versions.py similarity index 100% rename from scripts/release/bump_versions.py rename to scripts/bump_versions.py