From 1123c2eb6e7155bcf047d45371639f84aada9c3a Mon Sep 17 00:00:00 2001 From: Evan Sims Date: Fri, 30 Aug 2024 20:03:35 -0500 Subject: [PATCH 1/2] release: v0.7.0 --- CHANGELOG.md | 8 ++++++++ configuration.ts | 4 ++-- example/README.md | 2 +- example/example1/package.json | 2 +- package-lock.json | 4 ++-- package.json | 2 +- 6 files changed, 15 insertions(+), 7 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 71458df..606ba9d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,13 @@ # Changelog +## v0.7.0 + +### [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) + +## v0.6.3 + ### [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) diff --git a/configuration.ts b/configuration.ts index a9755d4..36fb0ce 100644 --- a/configuration.ts +++ b/configuration.ts @@ -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; @@ -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`) diff --git a/example/README.md b/example/README.md index 33afebb..35456e1 100644 --- a/example/README.md +++ b/example/README.md @@ -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 diff --git a/example/example1/package.json b/example/example1/package.json index 8c21cbc..9835006 100644 --- a/example/example1/package.json +++ b/example/example1/package.json @@ -9,7 +9,7 @@ "start": "node example1.mjs" }, "dependencies": { - "@openfga/sdk": "^0.6.3" + "@openfga/sdk": "^0.7.0" }, "engines": { "node": ">=16.13.0" diff --git a/package-lock.json b/package-lock.json index b8ce6b7..13e41bc 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@openfga/sdk", - "version": "0.6.3", + "version": "0.7.0", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@openfga/sdk", - "version": "0.6.3", + "version": "0.7.0", "license": "Apache-2.0", "dependencies": { "@opentelemetry/api": "^1.9.0", diff --git a/package.json b/package.json index c6fa2ba..9d3bedb 100644 --- a/package.json +++ b/package.json @@ -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": [ From a1dfc438f8e70a14971ba6c5f6ceef29ccae637f Mon Sep 17 00:00:00 2001 From: Evan Sims Date: Fri, 27 Sep 2024 13:06:05 -0500 Subject: [PATCH 2/2] Update CHANGELOG.md --- CHANGELOG.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 606ba9d..42776e4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,7 +4,11 @@ ### [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) +- feat!: enhancements to OpenTelemetry support (#149) + +BREAKING CHANGE: + +This version changes the way in which telemetry is configured and reported. See #149 for additional information. ## v0.6.3