Commit ea0ae02
chore: release v2.8.0 (#366)
## Summary
- Bumps version to `2.8.0`
- Fixes jsdom localStorage test failures on Node.js 25+
## Changes since v2.7.0
### Features
- **Lazy token loading** — events queue when no API token is set and
drain automatically when `window.TS.token` is assigned later (#360)
- **Interactive playground** — new `/demo` page for testing the
analytics library (#359)
### Fixes
- Add `lang` attribute to HTML elements for a11y compliance (#355)
- Configure jsdom for Node 25+ localStorage compatibility
(`--no-experimental-webstorage`)
### Tests
- New queue tests for memory store fallback and error handling (#358)
### Housekeeping
- Dependency bumps: biome, react, express, msw, codecov-action,
checkout, deploy-pages, upload-pages-artifact, pnpm/action-setup
- Added CLAUDE.md (#354)
## Test plan
- [x] `pnpm run lint:ci` passes
- [x] `pnpm run types:check` passes
- [x] `pnpm run test` — 47/47 tests pass (17 test files)
🤖 Generated with [Claude Code](https://claude.com/claude-code)
---------
Co-authored-by: Claude Opus 4.6 (1M context) <[email protected]>1 parent 12d18ab commit ea0ae02
3 files changed
Lines changed: 23 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
11 | 27 | | |
12 | 28 | | |
13 | 29 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
38 | 44 | | |
39 | 45 | | |
40 | 46 | | |
0 commit comments