Skip to content

Releases

Waitkit 1.1.1

Choose a tag to compare

@github-actions github-actions released this 01 Dec 05:29
b30e4fd

Highlights

Metadata-only patch. The GitHub repository is now junjuny0227/Waitkit, and every package's repository, bugs, and homepage fields point there. npm compares repository.url with the provenance statement case-sensitively, so this keeps provenance publishing working. No code changed.

All Waitkit packages share one version. They are published to npm when this release is published, with provenance from this repository's publish.yml workflow.

Package npm Changelog
@waitkit/core 1.1.1 CHANGELOG
@waitkit/react 1.1.1 CHANGELOG
@waitkit/msw 1.1.1 CHANGELOG
@waitkit/cli 1.1.1 CHANGELOG
@waitkit/devtools 1.1.1 CHANGELOG
@waitkit/vue 1.1.1 CHANGELOG
@waitkit/svelte 1.1.1 CHANGELOG
@waitkit/angular 1.1.1 CHANGELOG
pnpm add -D @waitkit/core@1.1.1 @waitkit/react@1.1.1

What's Changed

Features

  • GitHub Pages 소개 페이지 추가, apps/example 삭제 by @junjuny0227 in #12

Fixes

  • 저장소 이름 변경(Waitkit)에 맞춰 repository URL 수정 by @junjuny0227 in #13

CI and maintenance

Full Changelog: v1.1.0...v1.1.1

Waitkit 1.1.0

Choose a tag to compare

@github-actions github-actions released this 01 Dec 04:15
4eaadc6

Highlights

Vue, Svelte and Angular. Waitkit now has an adapter for each, built on the same @waitkit/core engine as React, so a rule behaves the same in every framework.

  • @waitkit/vue (Vue 3.3+): waitKitPlugin or provideWaitKit, then useWaitKit() for reactive state and actions, useWaitKitEvent(), and a <WaitKitDevTools> component.
  • @waitkit/svelte (Svelte 4+): createWaitKitStore(controller) for $store state, setWaitKitController / getWaitKitController, and a use:waitKitDevTools action. It ships no .svelte files.
  • @waitkit/angular (Angular 17+): provideWaitKit(controller), injectWaitKit() with a signal of the state, injectWaitKitEvent(), and provideWaitKitDevTools(). Functions only, no decorators.

One DevTools panel for every framework. The floating panel moved to @waitkit/devtools, which needs no framework: mountWaitKitDevTools(controller, options) returns { update, destroy }. Each adapter wraps it, so the panel looks and behaves the same everywhere. @waitkit/react's WaitKitDevTools keeps its name and props.

All Waitkit packages share one version. They are published to npm when this release is published, with provenance from this repository's publish.yml workflow.

Package npm Changelog
@waitkit/core 1.1.0 CHANGELOG
@waitkit/react 1.1.0 CHANGELOG
@waitkit/msw 1.1.0 CHANGELOG
@waitkit/cli 1.1.0 CHANGELOG
@waitkit/devtools 1.1.0 CHANGELOG
@waitkit/vue 1.1.0 CHANGELOG
@waitkit/svelte 1.1.0 CHANGELOG
@waitkit/angular 1.1.0 CHANGELOG
pnpm add -D @waitkit/core@1.1.0 @waitkit/react@1.1.0

What's Changed

Features

  • Vue·Svelte·Angular 어댑터와 프레임워크 무관 DevTools 추가 by @junjuny0227 in #10

CI and maintenance

Full Changelog: v1.0.0...v1.1.0

Waitkit 1.0.0

Choose a tag to compare

@github-actions github-actions released this 27 Nov 08:09
b28a0b6

Highlights

One engine for every adapter. Rule matching, config validation, defaults, and the decision of what happens to a request now live only in @waitkit/core (resolveOutcome, applyOutcome). The fetch interceptor, MSW handlers, React hooks, and CLI all run that same engine, so a rule behaves the same wherever you use it. This is a major release: see the migration guide.

Clearer rules.

  • url strings are path patterns matched against the whole pathname: /api/users/:id, /api/*, or *. Substring matching is gone.
  • Effects are grouped: delay, timeout: { rate, ms }, error: { rate, status, statusText, headers, body }.
  • An invalid config throws WaitKitConfigError listing every issue with its path, and names the replacement for options removed in 1.0.

A controller you can follow. controller.on(type, listener) reports request, match, delayStart, delayEnd, error, settle, and change. Events for one request share an id, and settle says whether it was passed through, failed, timed out, or aborted. Aborting a request cancels its simulated wait. dispose() restores the original fetch.

Redesigned DevTools. Waiting requests show the time left and a progress bar; finished ones show how they ended. The panel collapses to a small launcher with the current scenario, remembers whether it was open, toggles with Alt+Shift+W, and has dark, light, and system themes. It renders in a shadow root, so your app's CSS cannot change it.

MSW 2 and 3. withWaitKit(effects, resolver) uses the same effect shape as core rules and works with both major versions of MSW.

CLI. waitkit init writes a starter config with four scenarios; waitkit validate and waitkit list use the same validator as core and exit with 1 on an invalid config.

Packaging. The libraries ship ESM and CommonJS with type declarations for both, checked with publint and Are the Types Wrong; the CLI ships ESM. Published with npm provenance. Requires Node.js 22.18 or later. Licensed under Apache-2.0 (previously MIT).

All Waitkit packages share one version. They are published to npm when this release is published, with provenance from this repository's publish.yml workflow.

Package npm Changelog
@waitkit/core 1.0.0 CHANGELOG
@waitkit/react 1.0.0 CHANGELOG
@waitkit/msw 1.0.0 CHANGELOG
@waitkit/cli 1.0.0 CHANGELOG
pnpm add -D @waitkit/core@1.0.0 @waitkit/react@1.0.0

What's Changed

Features

  • Waitkit 1.0: core 엔진 통합, DevTools 재설계, 릴리스 자동화 by @junjuny0227 in #8

Documentation

CI and maintenance

Other changes

  • core 시뮬레이션 동작과 이벤트 API 보강 by @junjuny0227 in #2
  • react 패키지 기반 추가 by @junjuny0227 in #3
  • feat: WaitKitDevTools 개발용 컨트롤 패널 추가 by @junjuny0227 in #4
  • feat: MSW handler에 Waitkit 시뮬레이션을 적용하는 @waitkit/msw 추가 by @junjuny0227 in #5
  • feat(core/react/msw): API 일관성·DX·유지보수 개선 (pre-CLI polish) by @junjuny0227 in #6
  • feat: @waitkit/cli 패키지 추가 및 core validate 함수 공개 export by @junjuny0227 in #7

New Contributors

Full Changelog: https://github.com/junjuny0227/waitkit/commits/v1.0.0