Skip to content

Commit

Permalink
chore(release): Prepare releases (#599)
Browse files Browse the repository at this point in the history
@cerbos/core: 0.12.0
@cerbos/grpc: 0.12.0
@cerbos/http: 0.13.0
@cerbos/lite: 0.3.1-alpha
@cerbos/opentelemetry: 0.2.1

Signed-off-by: Andrew Haines <[email protected]>
  • Loading branch information
haines authored Jul 18, 2023
1 parent e8ce421 commit 413ae33
Show file tree
Hide file tree
Showing 28 changed files with 79 additions and 54 deletions.
2 changes: 1 addition & 1 deletion docs/core.derivedrolesbody.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,5 @@ export interface DerivedRolesBody
| --- | --- | --- | --- |
| [definitions](./core.derivedrolesbody.definitions.md) | | [DerivedRoleDefinition](./core.derivedroledefinition.md)<!-- -->\[\] | The definitions of the derived roles. |
| [name](./core.derivedrolesbody.name.md) | | string | The name to use when importing the set of derived roles. |
| [variables?](./core.derivedrolesbody.variables.md) | | [Variables](./core.variables.md) \| undefined | _(Optional)_ [Variables](https://docs.cerbos.dev/cerbos/prerelease/policies/variables.html) defined for use in conditions. |
| [variables?](./core.derivedrolesbody.variables.md) | | [Variables](./core.variables.md) \| undefined | _(Optional)_ [Variables](https://docs.cerbos.dev/cerbos/latest/policies/variables.html) defined for use in conditions. |

2 changes: 1 addition & 1 deletion docs/core.derivedrolesbody.variables.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

## DerivedRolesBody.variables property

[Variables](https://docs.cerbos.dev/cerbos/prerelease/policies/variables.html) defined for use in conditions.
[Variables](https://docs.cerbos.dev/cerbos/latest/policies/variables.html) defined for use in conditions.

**Signature:**

Expand Down
2 changes: 1 addition & 1 deletion docs/core.exportvariables.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

## ExportVariables interface

A set of [exported variables](https://docs.cerbos.dev/cerbos/prerelease/policies/variables.html#export) to be reused in other policies.
A set of [exported variables](https://docs.cerbos.dev/cerbos/latest/policies/variables.html#export) to be reused in other policies.

**Signature:**

Expand Down
2 changes: 1 addition & 1 deletion docs/core.exportvariablesbody.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

## ExportVariablesBody interface

A set of [exported variables](https://docs.cerbos.dev/cerbos/prerelease/policies/variables.html#export) to be reused in other policies.
A set of [exported variables](https://docs.cerbos.dev/cerbos/latest/policies/variables.html#export) to be reused in other policies.

**Signature:**

Expand Down
6 changes: 3 additions & 3 deletions docs/core.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,8 @@ Common types used by the [gRPC](./grpc.md) and [HTTP](./http.md) client librarie
| [DisablePoliciesResponse](./core.disablepoliciesresponse.md) | The outcome of disabling policies. |
| [EnablePoliciesRequest](./core.enablepoliciesrequest.md) | Input to [Client.enablePolicies()](./core.client.enablepolicies.md)<!-- -->. |
| [EnablePoliciesResponse](./core.enablepoliciesresponse.md) | The outcome of enabling policies. |
| [ExportVariables](./core.exportvariables.md) | A set of [exported variables](https://docs.cerbos.dev/cerbos/prerelease/policies/variables.html#export) to be reused in other policies. |
| [ExportVariablesBody](./core.exportvariablesbody.md) | A set of [exported variables](https://docs.cerbos.dev/cerbos/prerelease/policies/variables.html#export) to be reused in other policies. |
| [ExportVariables](./core.exportvariables.md) | A set of [exported variables](https://docs.cerbos.dev/cerbos/latest/policies/variables.html#export) to be reused in other policies. |
| [ExportVariablesBody](./core.exportvariablesbody.md) | A set of [exported variables](https://docs.cerbos.dev/cerbos/latest/policies/variables.html#export) to be reused in other policies. |
| [GetPoliciesRequest](./core.getpoliciesrequest.md) | Input to [Client.getPolicies()](./core.client.getpolicies.md)<!-- -->. |
| [GetPoliciesResponse](./core.getpoliciesresponse.md) | Fetched policies. |
| [GetSchemasRequest](./core.getschemasrequest.md) | Input to [Client.getSchemas()](./core.client.getschemas.md)<!-- -->. |
Expand Down Expand Up @@ -98,7 +98,7 @@ Common types used by the [gRPC](./grpc.md) and [HTTP](./http.md) client librarie
| [SchemaRefs](./core.schemarefs.md) | References to schemas to be used to validate principal and resource attributes. |
| [ServerInfo](./core.serverinfo.md) | Information about the Cerbos policy decision point (PDP) server. |
| [ValidationError](./core.validationerror.md) | An error that occurred while validating the principal or resource attributes against a schema. |
| [Variables](./core.variables.md) | [Variables](https://docs.cerbos.dev/cerbos/prerelease/policies/variables.html) defined for use in policy conditions. |
| [Variables](./core.variables.md) | [Variables](https://docs.cerbos.dev/cerbos/latest/policies/variables.html) defined for use in policy conditions. |

## Variables

Expand Down
2 changes: 1 addition & 1 deletion docs/core.principalpolicybody.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,6 @@ export interface PrincipalPolicyBody
| [principal](./core.principalpolicybody.principal.md) | | string | The ID of the principal to whom the policy applies. |
| [rules](./core.principalpolicybody.rules.md) | | [PrincipalRule](./core.principalrule.md)<!-- -->\[\] | Rules defining the overrides that apply to the principal. |
| [scope?](./core.principalpolicybody.scope.md) | | string | _(Optional)_ [Scope](https://docs.cerbos.dev/cerbos/latest/policies/scoped_policies.html) of the policy. |
| [variables?](./core.principalpolicybody.variables.md) | | [Variables](./core.variables.md) \| undefined | _(Optional)_ [Variables](https://docs.cerbos.dev/cerbos/prerelease/policies/variables.html) defined for use in conditions. |
| [variables?](./core.principalpolicybody.variables.md) | | [Variables](./core.variables.md) \| undefined | _(Optional)_ [Variables](https://docs.cerbos.dev/cerbos/latest/policies/variables.html) defined for use in conditions. |
| [version](./core.principalpolicybody.version.md) | | string | The version of the policy. |

2 changes: 1 addition & 1 deletion docs/core.principalpolicybody.variables.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

## PrincipalPolicyBody.variables property

[Variables](https://docs.cerbos.dev/cerbos/prerelease/policies/variables.html) defined for use in conditions.
[Variables](https://docs.cerbos.dev/cerbos/latest/policies/variables.html) defined for use in conditions.

**Signature:**

Expand Down
2 changes: 1 addition & 1 deletion docs/core.resourcepolicybody.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,6 @@ export interface ResourcePolicyBody
| [rules](./core.resourcepolicybody.rules.md) | | [ResourceRule](./core.resourcerule.md)<!-- -->\[\] | Rules defining the actions that can be performed on the resource. |
| [schemas?](./core.resourcepolicybody.schemas.md) | | [SchemaRefs](./core.schemarefs.md) \| undefined | _(Optional)_ [Schemas](https://docs.cerbos.dev/cerbos/latest/policies/schemas.html) for principal and resource attributes. |
| [scope?](./core.resourcepolicybody.scope.md) | | string | _(Optional)_ [Scope](https://docs.cerbos.dev/cerbos/latest/policies/scoped_policies.html) of the policy. |
| [variables?](./core.resourcepolicybody.variables.md) | | [Variables](./core.variables.md) \| undefined | _(Optional)_ [Variables](https://docs.cerbos.dev/cerbos/prerelease/policies/variables.html) defined for use in conditions. |
| [variables?](./core.resourcepolicybody.variables.md) | | [Variables](./core.variables.md) \| undefined | _(Optional)_ [Variables](https://docs.cerbos.dev/cerbos/latest/policies/variables.html) defined for use in conditions. |
| [version](./core.resourcepolicybody.version.md) | | string | The version of the policy. |

2 changes: 1 addition & 1 deletion docs/core.resourcepolicybody.variables.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

## ResourcePolicyBody.variables property

[Variables](https://docs.cerbos.dev/cerbos/prerelease/policies/variables.html) defined for use in conditions.
[Variables](https://docs.cerbos.dev/cerbos/latest/policies/variables.html) defined for use in conditions.

**Signature:**

Expand Down
2 changes: 1 addition & 1 deletion docs/core.variables.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

## Variables interface

[Variables](https://docs.cerbos.dev/cerbos/prerelease/policies/variables.html) defined for use in policy conditions.
[Variables](https://docs.cerbos.dev/cerbos/latest/policies/variables.html) defined for use in policy conditions.

**Signature:**

Expand Down
28 changes: 14 additions & 14 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 7 additions & 2 deletions packages/core/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,16 @@
## [Unreleased]

No notable changes.

## [0.12.0] - 2023-07-18

### Added

- Support for filtering [`Client.listPolicies`](../../docs/core.client.listpolicies.md) results by policy name, scope, and version ([#568](https://github.com/cerbos/cerbos-sdk-javascript/pull/568))

Requires a policy decision point server running Cerbos 0.29+.

- Support for [exporting and importing variable sets](https://docs.cerbos.dev/cerbos/prerelease/policies/variables.html) in policies ([#598](https://github.com/cerbos/cerbos-sdk-javascript/pull/598))
- Support for [exporting and importing variable sets](https://docs.cerbos.dev/cerbos/latest/policies/variables.html) in policies ([#598](https://github.com/cerbos/cerbos-sdk-javascript/pull/598))

Requires a policy decision point server running Cerbos 0.29+.

Expand Down Expand Up @@ -103,7 +107,8 @@

- Common types for gRPC and HTTP clients ([#73](https://github.com/cerbos/cerbos-sdk-javascript/pull/73))

[unreleased]: https://github.com/cerbos/cerbos-sdk-javascript/compare/@cerbos/[email protected]
[unreleased]: https://github.com/cerbos/cerbos-sdk-javascript/compare/@cerbos/[email protected]
[0.12.0]: https://github.com/cerbos/cerbos-sdk-javascript/compare/@cerbos/[email protected]...@cerbos/[email protected]
[0.11.0]: https://github.com/cerbos/cerbos-sdk-javascript/compare/@cerbos/[email protected]...@cerbos/[email protected]
[0.10.0]: https://github.com/cerbos/cerbos-sdk-javascript/compare/@cerbos/[email protected]...@cerbos/[email protected]
[0.9.1]: https://github.com/cerbos/cerbos-sdk-javascript/compare/@cerbos/[email protected]...@cerbos/[email protected]
Expand Down
2 changes: 1 addition & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@cerbos/core",
"version": "0.11.0",
"version": "0.12.0",
"description": "Common types used by the @cerbos/grpc and @cerbos/http client libraries",
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion packages/core/src/types/external/DerivedRolesBody.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export interface DerivedRolesBody {
definitions: DerivedRoleDefinition[];

/**
* {@link https://docs.cerbos.dev/cerbos/prerelease/policies/variables.html | Variables} defined for use in conditions.
* {@link https://docs.cerbos.dev/cerbos/latest/policies/variables.html | Variables} defined for use in conditions.
*
* @remarks
* Requires the Cerbos policy decision point server to be at least v0.29.
Expand Down
2 changes: 1 addition & 1 deletion packages/core/src/types/external/ExportVariables.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import type { ExportVariablesBody } from "./ExportVariablesBody";
import type { PolicyBase } from "./PolicyBase";

/**
* A set of {@link https://docs.cerbos.dev/cerbos/prerelease/policies/variables.html#export | exported variables}
* A set of {@link https://docs.cerbos.dev/cerbos/latest/policies/variables.html#export | exported variables}
* to be reused in other policies.
*
* @remarks
Expand Down
2 changes: 1 addition & 1 deletion packages/core/src/types/external/ExportVariablesBody.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* A set of {@link https://docs.cerbos.dev/cerbos/prerelease/policies/variables.html#export | exported variables}
* A set of {@link https://docs.cerbos.dev/cerbos/latest/policies/variables.html#export | exported variables}
* to be reused in other policies.
*
* @remarks
Expand Down
2 changes: 1 addition & 1 deletion packages/core/src/types/external/PrincipalPolicyBody.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ export interface PrincipalPolicyBody {
scope?: string;

/**
* {@link https://docs.cerbos.dev/cerbos/prerelease/policies/variables.html | Variables} defined for use in conditions.
* {@link https://docs.cerbos.dev/cerbos/latest/policies/variables.html | Variables} defined for use in conditions.
*
* @remarks
* Requires the Cerbos policy decision point server to be at least v0.29.
Expand Down
2 changes: 1 addition & 1 deletion packages/core/src/types/external/ResourcePolicyBody.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ export interface ResourcePolicyBody {
schemas?: SchemaRefs | undefined;

/**
* {@link https://docs.cerbos.dev/cerbos/prerelease/policies/variables.html | Variables} defined for use in conditions.
* {@link https://docs.cerbos.dev/cerbos/latest/policies/variables.html | Variables} defined for use in conditions.
*
* @remarks
* Requires the Cerbos policy decision point server to be at least v0.29.
Expand Down
2 changes: 1 addition & 1 deletion packages/core/src/types/external/Variables.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* {@link https://docs.cerbos.dev/cerbos/prerelease/policies/variables.html | Variables} defined for use in policy conditions.
* {@link https://docs.cerbos.dev/cerbos/latest/policies/variables.html | Variables} defined for use in policy conditions.
*
* @public
*/
Expand Down
9 changes: 7 additions & 2 deletions packages/grpc/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,16 @@
## [Unreleased]

No notable changes.

## [0.12.0] - 2023-07-18

### Added

- Support for filtering [`Client.listPolicies`](../../docs/core.client.listpolicies.md) results by policy name, scope, and version ([#568](https://github.com/cerbos/cerbos-sdk-javascript/pull/568))

Requires a policy decision point server running Cerbos 0.29+.

- Support for [exporting and importing variable sets](https://docs.cerbos.dev/cerbos/prerelease/policies/variables.html) in policies ([#598](https://github.com/cerbos/cerbos-sdk-javascript/pull/598))
- Support for [exporting and importing variable sets](https://docs.cerbos.dev/cerbos/latest/policies/variables.html) in policies ([#598](https://github.com/cerbos/cerbos-sdk-javascript/pull/598))

Requires a policy decision point server running Cerbos 0.29+.

Expand Down Expand Up @@ -138,7 +142,8 @@

- Separate gRPC client for server-side Node.js applications ([#73](https://github.com/cerbos/cerbos-sdk-javascript/pull/73))

[unreleased]: https://github.com/cerbos/cerbos-sdk-javascript/compare/@cerbos/[email protected]
[unreleased]: https://github.com/cerbos/cerbos-sdk-javascript/compare/@cerbos/[email protected]
[0.12.0]: https://github.com/cerbos/cerbos-sdk-javascript/compare/@cerbos/[email protected]...@cerbos/[email protected]
[0.11.0]: https://github.com/cerbos/cerbos-sdk-javascript/compare/@cerbos/[email protected]...@cerbos/[email protected]
[0.10.0]: https://github.com/cerbos/cerbos-sdk-javascript/compare/@cerbos/[email protected]...@cerbos/[email protected]
[0.9.2]: https://github.com/cerbos/cerbos-sdk-javascript/compare/@cerbos/[email protected]...@cerbos/[email protected]
Expand Down
4 changes: 2 additions & 2 deletions packages/grpc/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@cerbos/grpc",
"version": "0.11.0",
"version": "0.12.0",
"description": "Client library for interacting with the Cerbos policy decision point over gRPC from server-side Node.js applications",
"repository": {
"type": "git",
Expand All @@ -26,7 +26,7 @@
"src/**/*.ts"
],
"dependencies": {
"@cerbos/core": "^0.11.0",
"@cerbos/core": "^0.12.0",
"@grpc/grpc-js": "^1.8.18",
"long": "^5.2.3",
"protobufjs": "^7.2.4"
Expand Down
9 changes: 7 additions & 2 deletions packages/http/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,16 @@
## [Unreleased]

No notable changes.

## [0.13.0] - 2023-07-18

### Added

- Support for filtering [`Client.listPolicies`](../../docs/core.client.listpolicies.md) results by policy name, scope, and version ([#568](https://github.com/cerbos/cerbos-sdk-javascript/pull/568))

Requires a policy decision point server running Cerbos 0.29+.

- Support for [exporting and importing variable sets](https://docs.cerbos.dev/cerbos/prerelease/policies/variables.html) in policies ([#598](https://github.com/cerbos/cerbos-sdk-javascript/pull/598))
- Support for [exporting and importing variable sets](https://docs.cerbos.dev/cerbos/latest/policies/variables.html) in policies ([#598](https://github.com/cerbos/cerbos-sdk-javascript/pull/598))

Requires a policy decision point server running Cerbos 0.29+.

Expand Down Expand Up @@ -121,7 +125,8 @@

- Separate HTTP client for browser-based applications ([#73](https://github.com/cerbos/cerbos-sdk-javascript/pull/73))

[unreleased]: https://github.com/cerbos/cerbos-sdk-javascript/compare/@cerbos/[email protected]
[unreleased]: https://github.com/cerbos/cerbos-sdk-javascript/compare/@cerbos/[email protected]
[0.13.0]: https://github.com/cerbos/cerbos-sdk-javascript/compare/@cerbos/[email protected]...@cerbos/[email protected]
[0.12.0]: https://github.com/cerbos/cerbos-sdk-javascript/compare/@cerbos/[email protected]...@cerbos/[email protected]
[0.11.0]: https://github.com/cerbos/cerbos-sdk-javascript/compare/@cerbos/[email protected]...@cerbos/[email protected]
[0.10.1]: https://github.com/cerbos/cerbos-sdk-javascript/compare/@cerbos/[email protected]...@cerbos/[email protected]
Expand Down
4 changes: 2 additions & 2 deletions packages/http/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@cerbos/http",
"version": "0.12.0",
"version": "0.13.0",
"description": "Client library for interacting with the Cerbos policy decision point over HTTP from browser-based applications",
"repository": {
"type": "git",
Expand All @@ -26,7 +26,7 @@
"src/**/*.ts"
],
"dependencies": {
"@cerbos/core": "^0.11.0",
"@cerbos/core": "^0.12.0",
"abab": "^2.0.6",
"qs": "^6.11.2"
},
Expand Down
7 changes: 6 additions & 1 deletion packages/lite/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
## [Unreleased]

No notable changes.

## [0.3.1-alpha] - 2023-07-18

### Removed

- Unused generated code ([#606](https://github.com/cerbos/cerbos-sdk-javascript/pull/606))
Expand Down Expand Up @@ -40,7 +44,8 @@

- Lite client for interacting with a WebAssembly Cerbos policy bundle ([#249](https://github.com/cerbos/cerbos-sdk-javascript/pull/249))

[unreleased]: https://github.com/cerbos/cerbos-sdk-javascript/compare/@cerbos/[email protected]
[unreleased]: https://github.com/cerbos/cerbos-sdk-javascript/compare/@cerbos/[email protected]
[0.3.1-alpha]: https://github.com/cerbos/cerbos-sdk-javascript/compare/@cerbos/[email protected]...@cerbos/[email protected]
[0.3.0-alpha]: https://github.com/cerbos/cerbos-sdk-javascript/compare/@cerbos/[email protected]...@cerbos/[email protected]
[0.2.2-alpha]: https://github.com/cerbos/cerbos-sdk-javascript/compare/@cerbos/[email protected]...@cerbos/[email protected]
[0.2.1-alpha]: https://github.com/cerbos/cerbos-sdk-javascript/compare/@cerbos/[email protected]...@cerbos/[email protected]
Expand Down
4 changes: 2 additions & 2 deletions packages/lite/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@cerbos/lite",
"version": "0.3.0-alpha",
"version": "0.3.1-alpha",
"description": "Client library for interacting with WebAssembly Cerbos policy bundles from server-side Node.js and browser-based applications",
"repository": {
"type": "git",
Expand All @@ -26,6 +26,6 @@
"src/**/*.ts"
],
"dependencies": {
"@cerbos/core": "^0.11.0"
"@cerbos/core": "^0.12.0"
}
}
Loading

0 comments on commit 413ae33

Please sign in to comment.