Tags: configcat/common-js
Tags
Fix cache expiration-related issues in Auto Polling mode (#106) * Make auto polling loop fault-tolerant + make timing more accurate * Check for expiration on every iteration in Auto Polling mode + allow a tolerance of 500ms to prevent missing fetches due to timer inaccuracy + sync with cache even in offline mode * Fix a few broken tests * Fix CI * npm audit fix * Bump version
More config v6 tests (#102) * Add test for another special case of segment condition logging * Add test for multi-level flag dependency * Add tests for comparison attribute and comparison value trimming * Use valid SDK keys in cache key generation tests * Add tests for comparison attribute conversion to canonical string representation * Simplify EvaluateContext + improve perf. of user attribute retrieval during evaluation + reduce allocations * Set eslint as default formatter for VSCode workspace * Minor corrections * Move isStringArray into Utils * Make line break char sequence configurable in log messages * Align config json error handling of EvaluateLogBuilder with error reporting of RolloutEvaluator * Improve naming * Improve User Object tests * Add a few more test cases * Correct visibility of appendTargetingRuleThenPart * Minor corrections * Correct grammar mistake * Make naming of UserComparator member consistent * Add tests for some number parsing edge cases * Adjust terminology to docs (eliminate the usage of term 'match' in the context of conditions) * Bump version
Minor improvements and fixes (#100) * Don't swallow exceptions when config json deserialization fails * Add types describing the config json schema and use them in the config model builder logic to eliminate loose typing + correct minor errors in the config model types * Fix additional maxInitWaitTime tests by adding a bit of tolerance to timing checks * Fix getKeyAndValueAsync so it doesn't return an unsupported setting value * Bump version * Run tests on Node 20 * Improve message of error 1103 * Fix another occasionally failing test (increase tolerance of timing checks) * Correct the generic parameter constraint of IEvaluationDetails and SettingKey
Prepare v9.0.0 (Catnip) release (#98) * Improve naming (rename apiKey to sdkKey) * Remove deprecated type (ClientReadyState) * Format code & clean up imports * Bump version * Exclude non-source files so they don't pollute autocompletion/intellisense * Improve word choice in intellisense docs * Sync intellisense docs with SDK reference
PreviousNext