Skip to content

feat(kida,store): move latest from kida to @nano_kit/store - #296

Merged
dangreen merged 1 commit into
mainfrom
feat/move-latest-to-store
Oct 18, 2026
Merged

dangreen merged 1 commit into
mainfrom
feat/move-latest-to-store

Conversation

@dangreen

Copy link
Copy Markdown
Member

What

latest moves from kida to @nano_kit/store, next to previous, its pair. Nothing in this repo or in nanoviews calls it, and the core keeps what views and the core itself use: boolean stays for if_, the tasks stay for resolved. @nano_kit/store exports latest as before, so its users see no change. kida and nanoviews/store, which re-exports kida, no longer export it. No stable kida had it: 1.2.0 does not, only the 2.0.0 prereleases do.

The store docs in #271 already import it from @nano_kit/store.

Size

Entry Before After Limit
kida All publics (Gzip) 5478 B 5414 B 5.5 → 5.45 kB
kida All publics (Brotli) 5075 B 5020 B 5.1 → 5.05 kB
@nano_kit/store All publics (Gzip) 6843 B 6846 B 6.85 kB
@nano_kit/store All publics (Brotli) 6298 B 6298 B 6.3 kB

Signal and Popular set are unchanged in both packages.

Verification

oxlint, vitest and tsc --noEmit are clean in kida and @nano_kit/store, with the seven latest tests now in the store spec. size-limit passes in both, and test:types passes in all 18 packages that have it.

`latest` now sits in `@nano_kit/store` next to `previous`, its pair, and the store exports it as before. `kida` no longer exports it, and neither does `nanoviews/store`, which re-exports `kida`: the core keeps what views and the core itself use. No stable `kida` had `latest`, so only the 2.0.0 prereleases lose it.
@codecov

codecov Bot commented Oct 18, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 83.61%. Comparing base (d25b98c) to head (1fad529).

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #296      +/-   ##
==========================================
+ Coverage   83.59%   83.61%   +0.02%     
==========================================
  Files         228      228              
  Lines        4846     4846              
  Branches     1072     1072              
==========================================
+ Hits         4051     4052       +1     
+ Misses        554      553       -1     
  Partials      241      241              

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@dangreen
dangreen merged commit f503e28 into main Oct 18, 2026
11 checks passed
@dangreen
dangreen deleted the feat/move-latest-to-store branch October 18, 2026 13:00
@github-actions github-actions Bot mentioned this pull request Oct 17, 2026
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.

1 participant