Skip to content

Commit

Permalink
release: v0.7.0
Browse files Browse the repository at this point in the history
  • Loading branch information
evansims committed Aug 31, 2024
1 parent bd78c29 commit d49e3aa
Show file tree
Hide file tree
Showing 8 changed files with 13 additions and 9 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

### [0.7.0](https://github.com/openfga/js-sdk/compare/v0.6.3...v0.7.0) (2024-08-30)

- feat: enhancements to OpenTelemetry support (#149)

### [0.6.3](https://github.com/openfga/js-sdk/compare/v0.6.2...v0.6.3) (2024-08-28)

- fix: set the consistency parameter correctly in OpenFgaClient (#143)
Expand Down
4 changes: 2 additions & 2 deletions configuration.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ const DEFAULT_MAX_RETRY = 15;
// default minimum wait period in retry - but will backoff exponentially
const DEFAULT_MIN_WAIT_MS = 100;

const DEFAULT_USER_AGENT = "openfga-sdk js/0.6.3";
const DEFAULT_USER_AGENT = "openfga-sdk js/0.7.0";

export interface RetryParams {
maxRetry?: number;
Expand Down Expand Up @@ -75,7 +75,7 @@ export class Configuration {
* @type {string}
* @memberof Configuration
*/
private static sdkVersion = "0.6.3";
private static sdkVersion = "0.7.0";

/**
* provide the full api URL (e.g. `https://api.fga.example`)
Expand Down
2 changes: 1 addition & 1 deletion example/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ Steps
2. In the Example `package.json` change the `@openfga/sdk` dependency from a semver range like below
```json
"dependencies": {
"@openfga/sdk": "^0.6.3"
"@openfga/sdk": "^0.7.0"
}
```
to a `file:` reference like below
Expand Down
2 changes: 1 addition & 1 deletion example/example1/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"start": "node example1.mjs"
},
"dependencies": {
"@openfga/sdk": "^0.6.3"
"@openfga/sdk": "^0.7.0"
},
"engines": {
"node": ">=16.13.0"
Expand Down
2 changes: 1 addition & 1 deletion example/opentelemetry/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"start": "node --import ./instrumentation.mjs opentelemetry.mjs"
},
"dependencies": {
"@openfga/sdk": "^0.6.3",
"@openfga/sdk": "^0.7.0",
"@opentelemetry/exporter-metrics-otlp-proto": "^0.52.1",
"@opentelemetry/exporter-prometheus": "^0.52.1",
"@opentelemetry/sdk-metrics": "^1.25.1",
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

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

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@openfga/sdk",
"version": "0.6.3",
"version": "0.7.0",
"description": "JavaScript and Node.js SDK for OpenFGA",
"author": "OpenFGA",
"keywords": [
Expand Down
2 changes: 1 addition & 1 deletion telemetry/metrics.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export class TelemetryMetrics {

meter(): Meter {
if (!this._meter) {
this._meter = metrics.getMeter("@openfga/sdk", "0.6.3")
this._meter = metrics.getMeter("@openfga/sdk", "0.7.0")
}
return this._meter;
}
Expand Down

0 comments on commit d49e3aa

Please sign in to comment.