Skip to content

Tags: configcat/common-js

Tags

v9.3.1

Toggle v9.3.1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
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

v9.3.0

Toggle v9.3.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
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

v9.2.0

Toggle v9.2.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Add option for detecting changes to flag overrides (#101)

* Add the ability to detect changes to the flag override map

* Move createFlagOverridesFromMap to common-js to reduce redundancy

* Bump version

v9.1.0

Toggle v9.1.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
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

v9.0.0

Toggle v9.0.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
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

v8.2.0

Toggle v8.2.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Prepare v8.2.0 release (#95)

v8.1.1

Toggle v8.1.1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Prepare v8.1.1 release (#91)

* Downgrade TypeScript to v4.0

* Bump version

v8.1.0

Toggle v8.1.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Prepare v8.1.0 release (#90)

* Improve config refresh performance

* Remove unnecessary disposed check (hook subscribers are disconnected on disposal anyway)

* Fix dependency vulnerabilities

* Bump version

v8.0.2

Toggle v8.0.2's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Fix always firing onConfigChanged hook (#87)

* Fix always firing onConfigChanged hook

* Update ConfigServiceBase.ts

* Add test

* Bump version

v8.0.1

Toggle v8.0.1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Minor improvements and fixes (#86)

* Simplify IRolloutEvaluator.evaluate

* Fix return value of getAllValues when one or more settings evaluate with error

* Precalculate millisec interval values

* Bump version