From aba53345ff1c9414fcb549a6f73299b615502dd2 Mon Sep 17 00:00:00 2001 From: amplitude-sdk-bot Date: Wed, 31 Jan 2024 19:17:09 +0000 Subject: [PATCH] chore(release): publish v1.8.2 --- CHANGELOG.md | 11 +++++++++++ docs/classes/AmplitudeCookie.html | 8 ++++---- docs/classes/ExperimentClient.html | 8 ++++---- docs/classes/FlagConfigFetcher.html | 8 ++++---- docs/classes/FlagConfigPoller.html | 8 ++++---- docs/classes/InMemoryFlagConfigCache.html | 8 ++++---- docs/classes/LocalEvaluationClient.html | 8 ++++---- docs/classes/RemoteEvaluationClient.html | 8 ++++---- docs/index.html | 8 ++++---- docs/interfaces/FlagConfigCache.html | 8 ++++---- docs/types/AssignmentConfig.html | 8 ++++---- docs/types/ExperimentConfig.html | 8 ++++---- docs/types/ExperimentUser.html | 8 ++++---- docs/types/FetchOptions.html | 8 ++++---- docs/types/FlagConfig.html | 8 ++++---- docs/types/LocalEvaluationConfig.html | 8 ++++---- docs/types/RemoteEvaluationConfig.html | 8 ++++---- docs/types/Variant.html | 8 ++++---- docs/types/Variants.html | 8 ++++---- docs/variables/Defaults.html | 8 ++++---- docs/variables/Experiment.html | 8 ++++---- docs/variables/RemoteEvaluationDefaults.html | 8 ++++---- lerna.json | 2 +- packages/node/CHANGELOG.md | 11 +++++++++++ packages/node/package.json | 2 +- packages/ssr-demo/CHANGELOG.md | 8 ++++++++ packages/ssr-demo/package.json | 4 ++-- 27 files changed, 118 insertions(+), 88 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a2361ef..cc68ec6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,17 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [1.8.2](https://github.com/amplitude/experiment-node-server/compare/v1.8.1...v1.8.2) (2024-01-31) + + +### Bug Fixes + +* Improve remote evaluation fetch retry logic ([#40](https://github.com/amplitude/experiment-node-server/issues/40)) ([525cf0f](https://github.com/amplitude/experiment-node-server/commit/525cf0f48e3ed53cf6f57d42087fbe961315324b)) + + + + + ## [1.8.1](https://github.com/amplitude/experiment-node-server/compare/v1.8.0...v1.8.1) (2024-01-19) diff --git a/docs/classes/AmplitudeCookie.html b/docs/classes/AmplitudeCookie.html index 0344925..8337311 100644 --- a/docs/classes/AmplitudeCookie.html +++ b/docs/classes/AmplitudeCookie.html @@ -1,4 +1,4 @@ -AmplitudeCookie | Experiment JS Server Documentation - v1.8.1
+AmplitudeCookie | Experiment JS Server Documentation - v1.8.2
  • Preparing search index...
  • -
  • The search index is not available
Experiment JS Server Documentation - v1.8.1
+
  • The search index is not available
  • Experiment JS Server Documentation - v1.8.2
    @@ -128,7 +128,7 @@

    Theme

    @@ -6,13 +6,13 @@
    Experiment JS Server Documentation - v1.8.1 +
  • The search index is not available
  • Experiment JS Server Documentation - v1.8.2
    @@ -125,7 +125,7 @@

    Theme

    @@ -6,13 +6,13 @@
    Experiment JS Server Documentation - v1.8.1 +
  • The search index is not available
  • Experiment JS Server Documentation - v1.8.2
    @@ -105,7 +105,7 @@

    Theme

    @@ -6,13 +6,13 @@
    Experiment JS Server Documentation - v1.8.1 +
  • The search index is not available
  • Experiment JS Server Documentation - v1.8.2
    @@ -150,7 +150,7 @@

    Theme

    @@ -6,13 +6,13 @@
    Experiment JS Server Documentation - v1.8.1 +
  • The search index is not available
  • Experiment JS Server Documentation - v1.8.2
    @@ -173,7 +173,7 @@

    Theme

    @@ -6,13 +6,13 @@
    Experiment JS Server Documentation - v1.8.1 +
  • The search index is not available
  • Experiment JS Server Documentation - v1.8.2
    @@ -164,7 +164,7 @@

    Theme

    @@ -6,13 +6,13 @@
    Experiment JS Server Documentation - v1.8.1 +
  • The search index is not available
  • Experiment JS Server Documentation - v1.8.2
    @@ -127,7 +127,7 @@

    Theme

    @@ -6,12 +6,12 @@
    Experiment JS Server Documentation - v1.8.1 +
  • The search index is not available
  • Experiment JS Server Documentation - v1.8.2
    -

    Experiment JS Server Documentation - v1.8.1

    +

    Experiment JS Server Documentation - v1.8.2

    This is the API Reference for the Experiment Node.js Server SDK. For more details on implementing this SDK, view the [documentation] @@ -69,7 +69,7 @@

    Theme

    @@ -6,13 +6,13 @@
    Experiment JS Server Documentation - v1.8.1 +
  • The search index is not available
  • Experiment JS Server Documentation - v1.8.2
    @@ -141,7 +141,7 @@

    Theme

    @@ -6,13 +6,13 @@
    Experiment JS Server Documentation - v1.8.1 +
  • The search index is not available
  • Experiment JS Server Documentation - v1.8.2
    AssignmentConfig: {
        apiKey: string;
        cacheCapacity?: number;
    } & NodeOptions
    @@ -33,7 +33,7 @@

    Theme

    @@ -6,13 +6,13 @@ Experiment JS Server Documentation - v1.8.1 +
  • The search index is not available
  • Experiment JS Server Documentation - v1.8.2
    ExperimentConfig: RemoteEvaluationConfig
    @@ -36,7 +36,7 @@

    Theme

    @@ -6,13 +6,13 @@
    Experiment JS Server Documentation - v1.8.1 +
  • The search index is not available
  • Experiment JS Server Documentation - v1.8.2
    ExperimentUser: {
        carrier?: string;
        city?: string;
        country?: string;
        device_brand?: string;
        device_id?: string;
        device_manufacturer?: string;
        device_model?: string;
        dma?: string;
        group_properties?: {
            [groupType: string]: {
                [groupName: string]: {
                    [propertyName: string]: string | number | boolean | (string | number | boolean)[];
                };
            };
        };
        groups?: {
            [groupType: string]: string[];
        };
        ip_address?: string;
        language?: string;
        library?: string;
        os?: string;
        platform?: string;
        region?: string;
        user_id?: string;
        user_properties?: {
            [propertyName: string]: string | number | boolean | (string | number | boolean)[];
        };
        version?: string;
    }
    @@ -128,7 +128,7 @@

    Theme

    @@ -6,13 +6,13 @@
    Experiment JS Server Documentation - v1.8.1 +
  • The search index is not available
  • Experiment JS Server Documentation - v1.8.2
    FetchOptions: {
        flagKeys?: string[];
    }
    @@ -42,7 +42,7 @@

    Theme

    @@ -6,13 +6,13 @@
    Experiment JS Server Documentation - v1.8.1 +
  • The search index is not available
  • Experiment JS Server Documentation - v1.8.2
    FlagConfig: Record<string, unknown> | EvaluationFlag
    @@ -37,7 +37,7 @@

    Theme

    @@ -6,13 +6,13 @@
    Experiment JS Server Documentation - v1.8.1 +
  • The search index is not available
  • Experiment JS Server Documentation - v1.8.2
    LocalEvaluationConfig: {
        assignmentConfig?: AssignmentConfig;
        bootstrap?: Record<string, FlagConfig>;
        debug?: boolean;
        flagConfigPollingIntervalMillis?: number;
        httpAgent?: https.Agent;
        serverUrl?: string;
    }
    @@ -67,7 +67,7 @@

    Theme

    @@ -6,13 +6,13 @@
    Experiment JS Server Documentation - v1.8.1 +
  • The search index is not available
  • Experiment JS Server Documentation - v1.8.2
    RemoteEvaluationConfig: {
        debug?: boolean;
        fetchRetries?: number;
        fetchRetryBackoffMaxMillis?: number;
        fetchRetryBackoffMinMillis?: number;
        fetchRetryBackoffScalar?: number;
        fetchRetryTimeoutMillis?: number;
        fetchTimeoutMillis?: number;
        httpAgent?: https.Agent;
        serverUrl?: string;
    }
    @@ -74,7 +74,7 @@

    Theme

    @@ -6,13 +6,13 @@
    Experiment JS Server Documentation - v1.8.1 +
  • The search index is not available
  • Experiment JS Server Documentation - v1.8.2
    Variant: {
        key?: string;
        metadata?: Record<string, unknown>;
        payload?: any;
        value?: string;
    }
    @@ -53,7 +53,7 @@

    Theme

    @@ -6,13 +6,13 @@
    Experiment JS Server Documentation - v1.8.1 +
  • The search index is not available
  • Experiment JS Server Documentation - v1.8.2
    Variants: {
        [flagKey: string]: Variant;
    }
    @@ -38,7 +38,7 @@

    Theme

    @@ -6,13 +6,13 @@
    Experiment JS Server Documentation - v1.8.1 +
  • The search index is not available
  • Experiment JS Server Documentation - v1.8.2
    Defaults: ExperimentConfig = ...
    @@ -36,7 +36,7 @@

    Theme

    @@ -6,13 +6,13 @@
    Experiment JS Server Documentation - v1.8.1 +
  • The search index is not available
  • Experiment JS Server Documentation - v1.8.2
    Experiment: {
        initialize: ((apiKey: string, config?: RemoteEvaluationConfig) => ExperimentClient);
        initializeLocal: ((apiKey: string, config?: LocalEvaluationConfig) => LocalEvaluationClient);
        initializeRemote: ((apiKey: string, config?: RemoteEvaluationConfig) => RemoteEvaluationClient);
    } = ...
    @@ -110,7 +110,7 @@

    Theme

    @@ -6,13 +6,13 @@
    Experiment JS Server Documentation - v1.8.1 +
  • The search index is not available
  • Experiment JS Server Documentation - v1.8.2
    RemoteEvaluationDefaults: RemoteEvaluationConfig = ...
    @@ -83,7 +83,7 @@

    Theme