Releases: ximing/kit
Releases · ximing/kit
Release list
v1.0.0
1.0.0 - 2026-08-19
npm: https://www.npmjs.com/package/@rabjs/kit
Major Changes
- 6eca618: 1.0.0: named exports only, immutable remove, tsdown dual publish, Vite docs, agent skills.
Breaking
- No default export. Every module uses named exports only.
import kit from '@rabjs/kit'no longer works; useimport { chunk } from '@rabjs/kit'orimport * as kit from '@rabjs/kit'. removeis immutable.remove(array, predicate)returns the matching items and does not mutatearray. Leftovers arearray.filterwith the negated predicate, orpartition.RetryOptions.backoffis anumber(retry delay multiplier, default1). The unused'linear' | 'exponential'union is removed.- Node.js
>= 20. Documented support for Node 12 / Chrome 70 is dropped. Target is ES2020 / evergreen browsers.
Added
- Optional
AbortSignalondelay,timeout, andretry. Already-aborted signals reject immediately; abort while waiting clears timers. - Repo-local agent skills under
skills/(using-rabjs-kit,adding-kit-function,migrating-lodash-to-kit), plusAGENTS.mdand generatedllms.txt. - Catalog-first Vite + React documentation site (base path
/kit/) with per-function playground and/zhlocale. - Changesets for versioning and npm publish.
Toolchain
- Build: tsdown unbundle dual ESM + CJS +
.d.ts.package.jsonexportsis generated (exports: true); do not hand-edit it. - Tests: Vitest (v8 coverage, 90% floor). Replaces Jest.
- Docs: Vite 7 + React 19. Replaces the previous docs app.
- Package
"type": "module",sideEffects: false. - Public types no longer use
any(generics /unknownat boundaries). - Array helpers that previously shared a file (
flattenDeep,uniqBy,take,drop,remove) each have their own source file for deep imports.
Release v0.0.3
Release Notes
Version: v0.0.3
Previous Release: v0.0.2
Changes
11c7212 chore: release v0.0.3
b15f9ce chore: remove automatic API documentation generation
This release was automatically created by the Tag Release Workflow.
Full Changelog: v0.0.2...v0.0.3