-
Notifications
You must be signed in to change notification settings - Fork 25
fix(telemetry): support TypeScript exactOptionalPropertyTypes compiler option #270
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,55 @@ | ||
| # To learn more about how to use Nix to configure your environment | ||
| # see: https://firebase.google.com/docs/studio/customize-workspace | ||
| { pkgs, ... }: { | ||
| # Which nixpkgs channel to use. | ||
| channel = "stable-24.05"; # or "unstable" | ||
|
|
||
| # Use https://search.nixos.org/packages to find packages | ||
| packages = [ | ||
| # pkgs.go | ||
| # pkgs.python311 | ||
| # pkgs.python311Packages.pip | ||
| # pkgs.nodejs_20 | ||
| # pkgs.nodePackages.nodemon | ||
| ]; | ||
|
|
||
| # Sets environment variables in the workspace | ||
| env = {}; | ||
| idx = { | ||
| # Search for the extensions you want on https://open-vsx.org/ and use "publisher.id" | ||
| extensions = [ | ||
| # "vscodevim.vim" | ||
| ]; | ||
|
|
||
| # Enable previews | ||
| previews = { | ||
| enable = true; | ||
| previews = { | ||
| # web = { | ||
| # # Example: run "npm run dev" with PORT set to IDX's defined port for previews, | ||
| # # and show it in IDX's web preview panel | ||
| # command = ["npm" "run" "dev"]; | ||
| # manager = "web"; | ||
| # env = { | ||
| # # Environment variables to set for your server | ||
| # PORT = "$PORT"; | ||
| # }; | ||
| # }; | ||
| }; | ||
| }; | ||
|
|
||
| # Workspace lifecycle hooks | ||
| workspace = { | ||
| # Runs when a workspace is first created | ||
| onCreate = { | ||
| # Example: install JS dependencies from NPM | ||
| # npm-install = "npm install"; | ||
| }; | ||
| # Runs when the workspace is (re)started | ||
| onStart = { | ||
| # Example: start a background task to watch and re-build backend code | ||
| # watch-backend = "npm run watch-backend"; | ||
| }; | ||
| }; | ||
| }; | ||
| } |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -20,8 +20,15 @@ | |
| The client now supports setting `conflict` on `ClientWriteRequestOpts` to control behavior when writing duplicate tuples or deleting non-existent tuples. This feature requires OpenFGA server [v1.10.0](https://github.com/openfga/openfga/releases/tag/v1.10.0) or later. | ||
| See [Conflict Options for Write Operations](./README.md#conflict-options-for-write-operations) for more. | ||
|
|
||
| ### Bug Fixes | ||
|
|
||
| - fix(telemetry): support TypeScript exactOptionalPropertyTypes compiler option | ||
|
|
||
|
|
||
| ## v0.9.0 | ||
|
|
||
|
|
||
|
|
||
| ### [v0.9.0](https://github.com/openfga/js-sdk/compare/v0.8.1...v0.9.0) (2025-06-04) | ||
|
Comment on lines
+25
to
32
|
||
|
|
||
| - feat: support client assertion for client credentials authentication (#228) | ||
|
|
||
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -32,9 +32,10 @@ export interface TelemetryMetricConfig { | |||||
| * @property {Record<TelemetryMetric, TelemetryMetricConfig>} metrics - A record mapping telemetry metrics to their configurations. | ||||||
|
||||||
| * @property {Record<TelemetryMetric, TelemetryMetricConfig>} metrics - A record mapping telemetry metrics to their configurations. | |
| * @property {Partial<Record<TelemetryMetric, TelemetryMetricConfig>> | undefined} metrics - An optional record mapping telemetry metrics to their configurations. |
Copilot
AI
Feb 10, 2026
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This file is marked as auto-generated ("DO NOT EDIT"). If telemetry/configuration.ts is regenerated as part of the build/release process, this manual type tweak is likely to be overwritten. Consider applying the change in the OpenAPI Generator input/templates (or whatever generation step produces this file) so the fix persists across regenerations.
| metrics?: Partial<Record<TelemetryMetric, TelemetryMetricConfig>> | undefined; | |
| metrics?: Partial<Record<TelemetryMetric, TelemetryMetricConfig>>; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This changelog entry is currently placed under the v0.9.1 section (after the v0.9.1 bullets). If this telemetry fix is intended for a future release, it should go under the Unreleased section (or the correct version section), otherwise it will read as if it shipped in v0.9.1.