Skip to content

chore: upgrade common lib and set release v3.18.1#277

Merged
bertilhatt merged 5 commits intomainfrom
typo/release-v3.18.1
Mar 27, 2026
Merged

chore: upgrade common lib and set release v3.18.1#277
bertilhatt merged 5 commits intomainfrom
typo/release-v3.18.1

Conversation

@typotter
Copy link
Copy Markdown
Collaborator

@typotter typotter commented Mar 25, 2026

Release v3.18.1

Bug Fix

Dependency Updates

Security Fix

Other

Version Bump

Patch bump — bug fix, dependency updates, and a security fix; no new features or breaking changes.

Checklist

  • CI passes
  • Version in package.json is correct

…ng construction

Class field initializers for `size` and `[Symbol.toStringTag]` called
`this.getCache()` before the constructor body assigned `this.localStorageKey`,
causing `localStorage.getItem("undefined")`. If that key held non-JSON data,
`JSON.parse` threw and the SDK failed to initialize.

Convert both to getters so they no longer eagerly read localStorage during
construction. This also fixes a secondary bug where `size` was a stale
snapshot that never updated after mutations.

FFESUPPORT-610

Made-with: Cursor
@typotter typotter changed the base branch from main to fix/local-storage-shim-undefined-key March 27, 2026 02:05
@typotter typotter requested a review from bertilhatt March 27, 2026 02:05
@typotter typotter force-pushed the typo/release-v3.18.1 branch from 3efc02e to 95821db Compare March 27, 2026 02:07
@typotter typotter changed the title chore: release v3.18.1 chore: upgrade common lib and set release v3.18.1 Mar 27, 2026
@typotter typotter force-pushed the typo/release-v3.18.1 branch from 4bbd7b9 to 172f859 Compare March 27, 2026 02:28
@typotter typotter requested a review from sameerank March 27, 2026 02:33
Base automatically changed from fix/local-storage-shim-undefined-key to main March 27, 2026 09:45
@typotter typotter marked this pull request as ready for review March 27, 2026 11:52
@bertilhatt bertilhatt merged commit 348db70 into main Mar 27, 2026
8 checks passed
@bertilhatt bertilhatt deleted the typo/release-v3.18.1 branch March 27, 2026 12:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants