oso

Deprecated: See README

APACHE-2.0 License

Downloads
47.1K
Stars
3.5K
Committers
60

Bot releases are visible (Hide)

oso - sqlalchemy-oso 0.27.2 Latest Release

Published by github-actions[bot] 4 months ago

sqlalchemy-oso 0.27.2

oso - oso 0.27.3

Published by github-actions[bot] 9 months ago

oso 0.27.3

Ruby

New features

Linux AArch64 support

You can now run the oso-oso gem in AArch64 Linux environments, including in
Docker on Apple silicon.

Thanks to @jdeff for the contribution!

oso - oso 0.27.2

Published by github-actions[bot] 10 months ago

oso 0.27.2

oso - oso 0.27.1

Published by github-actions[bot] 10 months ago

oso 0.27.1

oso - flask-oso 0.27.0

Published by github-actions[bot] over 1 year ago

flask-oso 0.27.0

oso - django-oso 0.27.0

Published by github-actions[bot] over 1 year ago

django-oso 0.27.0

oso - sqlalchemy-oso 0.27.0

Published by github-actions[bot] over 1 year ago

sqlalchemy-oso 0.27.0

oso - oso 0.27.0

Published by github-actions[bot] over 1 year ago

oso 0.27.0

Core

Other bugs & improvements

  • Removed the development dependency on the AGPL-licensed permute crate,
    replacing it with the MIT-or-Apache-2.0-licensed permutohedron crate.
    Thanks to FinnRG!

Go

New features

Linux ARM64 platform support

Support for using Oso's Go library in Linux ARM64 environments has landed
thanks to omusil24!

Python

Breaking changes

  • Dropped support for end-of-life Python 3.6 and upgraded the Python code to
    3.7+ standards. Thanks to kkirsche for the
    contribution!

Other bugs & improvements

  • Loosened the version constraint on the packaging dependency. Thanks again
    to kkirsche!

Java

Breaking changes

  • Dropped support for end-of-life Java 11.

django-oso 0.27.0

Other bugs & improvements

  • Updated to use automatic AppConfig discovery for Django 3.2+, silencing a
    warning. Thanks to devmonkey22 for the
    contribution!
  • Bumped the minimum required version of the oso dependency.

flask-oso 0.27.0

Bumped the minimum required version of the oso dependency.

sqlalchemy-oso 0.27.0

Other bugs & improvements

  • Fixed crash when trying to look up a non-existent "entity" property. Thanks
    to snstanton for the contribution!
  • Bumped the minimum required version of the oso dependency.
oso - oso 0.26.4

Published by github-actions[bot] almost 2 years ago

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 help with this!

Java

Other bugs & improvements

  • Fixed a potential memory leak in the Java client library.
oso - sqlalchemy-oso 0.26.3

Published by github-actions[bot] about 2 years ago

sqlalchemy-oso 0.26.3

oso - oso 0.26.3

Published by github-actions[bot] about 2 years ago

oso 0.26.3

oso - sqlalchemy-oso 0.26.2

Published by github-actions[bot] about 2 years ago

sqlalchemy-oso 0.26.2

oso - django-oso 0.26.2

Published by github-actions[bot] about 2 years ago

django-oso 0.26.2

oso - oso 0.26.2

Published by github-actions[bot] about 2 years ago

oso - sqlalchemy-oso 0.26.1

Published by github-actions[bot] over 2 years ago

sqlalchemy-oso 0.26.1

oso - django-oso 0.26.1

Published by github-actions[bot] over 2 years ago

django-oso 0.26.1

oso - oso 0.26.1

Published by github-actions[bot] over 2 years ago

oso 0.26.1

oso - oso 0.26.0

Published by github-actions[bot] over 2 years ago

oso 0.26.0

Core

Other bugs & improvements

  • Fixed a bug affecting runtime type checking on nested object attributes.
  • When using data filtering, the list of relations returned to the adapter
    is now topologically sorted.

Go

Breaking changes

This release contains breaking changes. Be sure to follow migration steps
before upgrading.

Updated Go type checking behavior

When evaluating whether a given query variable matches a Go type Polar will now use direct instance comparisons instead of Go's reflect.ConvertibleTo functionality. This change resolves false-positive type checking results where discrete structs with identical sets of fields were considered to be equivalent.

This change has implications for the use of NewTypes in Polar rule definitions. Rules that are defined using NewTypes will now only match instances of the NewType and no longer match the underlying wrapped type.

Rules which consume NewTypes must now be specialized over the NewType directly and not the underlying wrapped type.

type Action string
const (
    View Action = "view"
    Create Action = "create"
    Update Action = "update"
)

Where previously it was possible to utilize this Action type as interchangeable with that of string:

user_has_action(user: User, action: String, resource: Resource) if ...

This rule definition must be rewritten as follows:

user_has_action(user: User, action: Action, resource: Resource) if ...

New Features

Data Filtering for Go

Data filtering is now officially supported for Go! Check out
our docs
for more details and usage information.

Other bugs & improvements

  • Fixed regression in Go mod vendoring. Thank you
    @sourcec0de!

Python

Breaking Changes

@polar_class is deprecated in favor of Oso#register_class

The @polar_class decorator used to register classes with Polar has been deprecated. To register a class with Polar it is now necessary to use the Oso#register_class API.

New data filtering configuration API is now mandatory

The original data filtering configuration API using per-class build_query, exec_query, and combine_query methods
has been removed. Data filtering is now configured through the new Adapter API.

Ruby

Breaking Changes

New data filtering configuration API is now mandatory

The original data filtering configuration API using per-class build_query, exec_query, and combine_query methods
has been removed. Data filtering is now configured through the new Adapter API.

Node.js

Breaking Changes

New data filtering configuration API is now mandatory

The original data filtering configuration API using per-class buildQuery, execQuery, and combineQuery methods
has been removed. Data filtering is now configured through the new Adapter API.

VS Code extension 0.26.0

New features

Configuring which Polar files are treated as part of the same policy

The oso.polarLanguageServer.projectRoots VS Code workspace configuration
setting can be used to control which Polar files in a particular workspace
folder are treated as part of the same Oso policy. For more details, see the
docs
.

oso - sqlalchemy-oso 0.26.0

Published by github-actions[bot] over 2 years ago

sqlalchemy-oso 0.26.0

oso - django-oso 0.26.0

Published by github-actions[bot] over 2 years ago

django-oso 0.26.0

Package Rankings
Top 8.17% on Proxy.golang.org
Top 2.0% on Npmjs.org
Top 10.73% on Conda-forge.org
Top 5.26% on Crates.io
Top 2.22% on Pypi.org
Top 6.52% on Rubygems.org
Badges
Extracted from project README
Development GitHub release (latest SemVer) Go version Maven version NPM version PyPI version RubyGems version Crates.io version Slack Button