@keepkit/core 0.13.0 → 0.14.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +2 -2
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -36,7 +36,7 @@ const list = useKeepList({
36
36
 
37
37
  保存対象の公開状態は`KeepItem.status`(`expired`、`removed`、`private`など)と`statusReason`で保持できます。`KeepProvider`の`validateItem` / `resolveItem`を指定すると、引数なしの`revalidateItems()`で検証できます。`revalidateItems`に`removeStatuses`を渡すと検出したアイテムを保存一覧から削除します。`SyncStorageAdapter`は`userId`、`tenantId`、`maxRetries`、`retryDelayMs`、`retryBackoff`に対応し、`retrySync()`で失敗後の同期を再開できます。
38
38
 
39
- v0.13.0では、`encodeKeepListQuery` / `decodeKeepListQuery`によるURL状態codec、`createScopedStorageAdapter`によるユーザー/テナント分離、`createKeepKitPreset({ mode: "local" | "sync" | "backup" })`による標準構成も利用できます。`createAuthenticatedSyncKit`で認証付き同期とscope切り替えを構成できます。Reactでは`KeepProvider`の`autoRevalidation`、`removeItemWithUndo` / `undoLastRemoval`を利用できます。
39
+ v0.14.0では、`encodeKeepListQuery` / `decodeKeepListQuery`によるURL状態codec、`createScopedStorageAdapter`によるユーザー/テナント分離、`createKeepKitPreset({ mode: "local" | "sync" | "backup" })`による標準構成も利用できます。`createAuthenticatedSyncKit`で認証付き同期とscope切り替えを構成できます。Reactでは`KeepProvider`の`autoRevalidation`、`removeItemWithUndo` / `undoLastRemoval`を利用できます。
40
40
 
41
41
  `createAuthenticatedSyncKit`は、リクエストごとの`getAuthToken`、注入可能なpush/pull transport、401/403時の再認証callback、永続オフラインキュー、`setScope`による安全なユーザー/テナント切替を提供します。詳細は[`examples/authenticated-sync`](../../examples/authenticated-sync/README.md)を参照してください。
42
42
 
@@ -79,7 +79,7 @@ Use `@keepkit/core/core` for framework-neutral code, `@keepkit/core/react` for R
79
79
 
80
80
  `KeepItem.status` and `statusReason` preserve source availability such as `expired`, `removed`, and `private`. Configure `KeepProvider` with `validateItem` / `resolveItem` to make `revalidateItems()` use those hooks by default. Pass `removeStatuses` to remove detected items from storage. `SyncStorageAdapter` supports scoped queues with `userId` and `tenantId`, configurable retries/backoff, and explicit `retrySync()` recovery.
81
81
 
82
- In v0.13.0, use `encodeKeepListQuery` / `decodeKeepListQuery` for URL state, `createScopedStorageAdapter` for user/tenant isolation, and `createKeepKitPreset({ mode: "local" | "sync" | "backup" })` for the standard setup. `createAuthenticatedSyncKit` composes token-aware sync and scope switching. React bindings include provider `autoRevalidation` and `removeItemWithUndo` / `undoLastRemoval`.
82
+ In v0.14.0, use `encodeKeepListQuery` / `decodeKeepListQuery` for URL state, `createScopedStorageAdapter` for user/tenant isolation, and `createKeepKitPreset({ mode: "local" | "sync" | "backup" })` for the standard setup. `createAuthenticatedSyncKit` composes token-aware sync and scope switching. React bindings include provider `autoRevalidation` and `removeItemWithUndo` / `undoLastRemoval`.
83
83
 
84
84
  `createAuthenticatedSyncKit` provides a per-request `getAuthToken`, injectable push/pull transport, 401/403 reauthentication callbacks, persistent offline queues, and `setScope` for safe user or tenant changes. See [`examples/authenticated-sync`](../../examples/authenticated-sync/README.md) for a recipe.
85
85
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@keepkit/core",
3
- "version": "0.13.0",
3
+ "version": "0.14.0",
4
4
  "description": "A flexible save-and-collect toolkit for React apps.",
5
5
  "type": "module",
6
6
  "license": "MIT",