diff --git a/.changeset/big-impalas-tap.md b/.changeset/big-impalas-tap.md deleted file mode 100644 index 41e74d826def..000000000000 --- a/.changeset/big-impalas-tap.md +++ /dev/null @@ -1,28 +0,0 @@ ---- -'@data-client/normalizr': patch ---- - -Add /imm exports path for handling ImmutableJS state - -#### MemoCache - -```ts -import { MemoCache } from '@data-client/normalizr'; -import { MemoPolicy } from '@data-client/normalizr/imm'; - -const memo = new MemoCache(MemoPolicy); - -// entities is an ImmutableJS Map -const value = MemoCache.denormalize(Todo, '1', entities); -``` - -#### denormalize - -non-memoized denormalize - -```ts -import { denormalize } from '@data-client/normalizr/imm'; - -// entities is an ImmutableJS Map -const value = denormalize(Todo, '1', entities); -``` \ No newline at end of file diff --git a/.changeset/brave-bats-itch.md b/.changeset/brave-bats-itch.md deleted file mode 100644 index e8dfbefe7cdd..000000000000 --- a/.changeset/brave-bats-itch.md +++ /dev/null @@ -1,9 +0,0 @@ ---- -'@data-client/normalizr': minor ---- - -BREAKING CHANGE: Denormalize always transforms immutablejs entities into the class - -Previously using ImmutableJS structures when calling denormalize() would maintain -nested schemas as immutablejs structures still. Now everything is converted to normal JS. -This is how the types have always been specified. diff --git a/.changeset/chilly-towns-run.md b/.changeset/chilly-towns-run.md deleted file mode 100644 index e224ba654164..000000000000 --- a/.changeset/chilly-towns-run.md +++ /dev/null @@ -1,27 +0,0 @@ ---- -'@data-client/vue': minor ---- - -Never wrap renderDataCompose().result in ref. Just passthrough the return value directly. Always. - -### Before -```ts -const { result, cleanup } = await renderDataCompose(() => - useSuspense(CoolerArticleResource.get, { id: payload.id }), -); - -const articleRef = await result.value; -expect(articleRef.value.title).toBe(payload.title); -expect(articleRef.value.content).toBe(payload.content); -``` - -### After -```ts -const { result, cleanup } = await renderDataCompose(() => - useSuspense(CoolerArticleResource.get, { id: payload.id }), -); - -const articleRef = await result; -expect(articleRef.value.title).toBe(payload.title); -expect(articleRef.value.content).toBe(payload.content); -``` \ No newline at end of file diff --git a/.changeset/clever-geckos-smash.md b/.changeset/clever-geckos-smash.md deleted file mode 100644 index 21b07f92a9b0..000000000000 --- a/.changeset/clever-geckos-smash.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@data-client/vue': patch ---- - -Fixed race condition in useSuspense() where args change while initial suspense is not complete diff --git a/.changeset/clever-houses-beam.md b/.changeset/clever-houses-beam.md deleted file mode 100644 index de00afc41ad5..000000000000 --- a/.changeset/clever-houses-beam.md +++ /dev/null @@ -1,11 +0,0 @@ ---- -'@data-client/core': patch ---- - -Add @data-client/core/mock - -New exports: -- `MockController` - Controller wrapper for mocking endpoints -- `collapseFixture` - Resolves fixture responses (handles function responses) -- `createFixtureMap` - Separates fixtures into static map and interceptors -- Types: `MockProps`, `Fixture`, `SuccessFixture`, `ErrorFixture`, `Interceptor`, `ResponseInterceptor`, `FetchInterceptor`, `FixtureEndpoint`, `SuccessFixtureEndpoint`, `ErrorFixtureEndpoint` diff --git a/.changeset/cold-walls-like.md b/.changeset/cold-walls-like.md deleted file mode 100644 index 406600556ad3..000000000000 --- a/.changeset/cold-walls-like.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -'@data-client/core': patch -'@data-client/react': patch ---- - -Fix controller.get and controller.getQueryMeta 'state' argument types diff --git a/.changeset/cuddly-masks-yawn.md b/.changeset/cuddly-masks-yawn.md deleted file mode 100644 index 38d8c4042a05..000000000000 --- a/.changeset/cuddly-masks-yawn.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@data-client/vue': minor ---- - -@data-client/vue first release diff --git a/.changeset/dirty-regions-dance.md b/.changeset/dirty-regions-dance.md deleted file mode 100644 index 05b10bfb7902..000000000000 --- a/.changeset/dirty-regions-dance.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@data-client/vue': patch ---- - -Only run manager start/stop for app lifecycle - not every component mount diff --git a/.changeset/forty-masks-join.md b/.changeset/forty-masks-join.md deleted file mode 100644 index 8c0742b95ecb..000000000000 --- a/.changeset/forty-masks-join.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -'@data-client/endpoint': patch -'@data-client/graphql': patch -'@data-client/rest': patch ---- - -Fix: ensure string id in Entity set when process returns undefined (meaning INVALID) diff --git a/.changeset/gentle-heads-rule.md b/.changeset/gentle-heads-rule.md deleted file mode 100644 index 62bd3dbb2731..000000000000 --- a/.changeset/gentle-heads-rule.md +++ /dev/null @@ -1,68 +0,0 @@ ---- -'@data-client/vue': patch ---- - -Add MockPlugin - -Example usage: - -```ts -import { createApp } from 'vue'; -import { DataClientPlugin } from '@data-client/vue'; -import { MockPlugin } from '@data-client/vue/test'; - -const app = createApp(App); -app.use(DataClientPlugin); -app.use(MockPlugin, { - fixtures: [ - { - endpoint: MyResource.get, - args: [{ id: 1 }], - response: { id: 1, name: 'Test' }, - }, - ], -}); -app.mount('#app'); -``` - -Interceptors allow dynamic responses based on request arguments: - -```ts -app.use(MockPlugin, { - fixtures: [ - { - endpoint: MyResource.get, - response: (...args) => { - const [{ id }] = args; - return { - id, - name: `Dynamic ${id}`, - }; - }, - }, - ], -}); -``` - -Interceptors can also maintain state across calls: - -```ts -const interceptorData = { count: 0 }; - -app.use(MockPlugin, { - fixtures: [ - { - endpoint: MyResource.get, - response: function (this: { count: number }, ...args) { - this.count++; - const [{ id }] = args; - return { - id, - name: `Call ${this.count}`, - }; - }, - }, - ], - getInitialInterceptorData: () => interceptorData, -}); -``` diff --git a/.changeset/giant-cycles-follow.md b/.changeset/giant-cycles-follow.md deleted file mode 100644 index 09a601f79875..000000000000 --- a/.changeset/giant-cycles-follow.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -'@data-client/vue': patch ---- - -renderDataClient -> renderDataCompose - -This keeps naming conventions closer to the React version \ No newline at end of file diff --git a/.changeset/grumpy-dogs-decide.md b/.changeset/grumpy-dogs-decide.md deleted file mode 100644 index 0aad634d55fd..000000000000 --- a/.changeset/grumpy-dogs-decide.md +++ /dev/null @@ -1,36 +0,0 @@ ---- -'@data-client/react': minor ---- - -BREAKING CHANGE: useDebounce() returns [val, isPending] - -This was previously exported in `@data-client/react/next` to make migrations easy. This will -still be available there. - -#### Before - -```ts -import { useDebounce } from '@data-client/react'; -const debouncedQuery = useDebounce(query, 100); -``` - -#### After - -```ts -import { useDebounce } from '@data-client/react'; -const [debouncedQuery] = useDebounce(query, 100); -``` - -#### Before - -```ts -import { useDebounce } from '@data-client/react/next'; -const [debouncedQuery, isPending] = useDebounce(query, 100); -``` - -#### After - -```ts -import { useDebounce } from '@data-client/react'; -const [debouncedQuery, isPending] = useDebounce(query, 100); -``` \ No newline at end of file diff --git a/.changeset/icy-hairs-go.md b/.changeset/icy-hairs-go.md deleted file mode 100644 index b9bdc532b71e..000000000000 --- a/.changeset/icy-hairs-go.md +++ /dev/null @@ -1,28 +0,0 @@ ---- -'@data-client/vue': minor ---- - -`renderDataCompose()` awaits until the composable runs - -### Before - -```ts -const { result, cleanup } = renderDataCompose(() => - useCache(CoolerArticleResource.get, { id: payload.id }), -); - -// Wait for initial render -await waitForNextUpdate(); - -expect(result.current).toBeDefined(); -``` - -### After - -```ts -const { result, cleanup } = await renderDataCompose(() => - useCache(CoolerArticleResource.get, { id: payload.id }), -); - -expect(result.value).toBeDefined(); -``` \ No newline at end of file diff --git a/.changeset/kind-garlics-poke.md b/.changeset/kind-garlics-poke.md deleted file mode 100644 index 20a4fe1b7273..000000000000 --- a/.changeset/kind-garlics-poke.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@data-client/vue': minor ---- - -`renderDataCompose().result` is now simply passes the composable result if it's a ref, or wraps it as computable ref diff --git a/.changeset/large-walls-accept.md b/.changeset/large-walls-accept.md deleted file mode 100644 index 082bb6c042a2..000000000000 --- a/.changeset/large-walls-accept.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -'@data-client/endpoint': patch -'@data-client/graphql': patch -'@data-client/rest': patch ---- - -fix: Collection.remove with Unions \ No newline at end of file diff --git a/.changeset/legal-files-fly.md b/.changeset/legal-files-fly.md deleted file mode 100644 index b59f2aa1981e..000000000000 --- a/.changeset/legal-files-fly.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -'@data-client/normalizr': minor ---- - -BREAKING: denormalize no longer detects ImmutableJS state - -Use `/imm` exports to handle ImmutableJS state - -#### Before - -```ts -import { MemoCache, denormalize } from '@data-client/normalizr'; - -const memo = new MemoCache(); -``` - -#### After - -```ts -import { MemoCache } from '@data-client/normalizr'; -import { MemoPolicy, denormalize } from '@data-client/normalizr/imm'; - -const memo = new MemoCache(MemoPolicy); -``` diff --git a/.changeset/lucky-paws-jog.md b/.changeset/lucky-paws-jog.md deleted file mode 100644 index 6863e7483025..000000000000 --- a/.changeset/lucky-paws-jog.md +++ /dev/null @@ -1,16 +0,0 @@ ---- -'@data-client/rest': patch ---- - -Fix `getPage` types when paginationField is in body - -```ts -const ep = new RestEndpoint({ - path: '/rpc', - method: 'POST', - body: {} as { page?: number; method: string }, - paginationField: 'page', -}); -// Before: ep.getPage({ page: 2 }, { method: 'get' }) ❌ -// After: ep.getPage({ page: 2, method: 'get' }) ✓ -``` diff --git a/.changeset/major-boxes-glow.md b/.changeset/major-boxes-glow.md deleted file mode 100644 index 262b40d0f24a..000000000000 --- a/.changeset/major-boxes-glow.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -'@data-client/normalizr': minor -'@data-client/endpoint': minor -'@data-client/rest': minor -'@data-client/graphql': minor ---- - -Add delegate.INVALID to queryKey - -This is used in schema.All.queryKey(). - -#### Before - -```ts -queryKey(args: any, unvisit: any, delegate: IQueryDelegate): any { - if (!found) return INVALID; -} -``` - -#### After - -```ts -queryKey(args: any, unvisit: any, delegate: IQueryDelegate): any { - if (!found) return delegate.INVALID; -} -``` diff --git a/.changeset/open-shrimps-warn.md b/.changeset/open-shrimps-warn.md deleted file mode 100644 index 423b862f1887..000000000000 --- a/.changeset/open-shrimps-warn.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -'@data-client/normalizr': minor -'@data-client/endpoint': minor -'@data-client/rest': minor -'@data-client/graphql': minor ---- - -Add delegate.invalidate() to normalization - -#### Before - -```ts -normalize( - input: any, - parent: any, - key: string | undefined, - args: any[], - visit: (...args: any) => any, - delegate: INormalizeDelegate, -): string { - delegate.setEntity(this as any, pk, INVALID); -} -``` - -#### After - -```ts -normalize( - input: any, - parent: any, - key: string | undefined, - args: any[], - visit: (...args: any) => any, - delegate: INormalizeDelegate, -): string { - delegate.invalidate(this as any, pk); -} -``` \ No newline at end of file diff --git a/.changeset/pink-waves-judge.md b/.changeset/pink-waves-judge.md deleted file mode 100644 index c4538cc41312..000000000000 --- a/.changeset/pink-waves-judge.md +++ /dev/null @@ -1,17 +0,0 @@ ---- -'@data-client/endpoint': patch -'@data-client/graphql': patch -'@data-client/rest': patch ---- - -Add Collection.remove - -```ts -ctrl.set(MyResource.getList.schema.remove, { id }); -``` - -```ts -const removeItem = MyResource.delete.extend({ - schema: MyResource.getList.schema.remove -}) -``` \ No newline at end of file diff --git a/.changeset/plenty-regions-visit.md b/.changeset/plenty-regions-visit.md deleted file mode 100644 index 68b502b3438c..000000000000 --- a/.changeset/plenty-regions-visit.md +++ /dev/null @@ -1,27 +0,0 @@ ---- -'@data-client/normalizr': patch -'@data-client/endpoint': patch -'@data-client/react': patch -'@data-client/core': patch -'@data-client/rest': patch -'@data-client/graphql': patch ---- - -Normalize delegate.invalidate() first argument only has `key` param. - -`indexes` optional param no longer provided as it was never used. - - -```ts -normalize( - input: any, - parent: any, - key: string | undefined, - args: any[], - visit: (...args: any) => any, - delegate: INormalizeDelegate, -): string { - delegate.invalidate({ key: this._entity.key }, pk); - return pk; -} -``` \ No newline at end of file diff --git a/.changeset/plenty-sloths-battle.md b/.changeset/plenty-sloths-battle.md deleted file mode 100644 index b3518ce988ae..000000000000 --- a/.changeset/plenty-sloths-battle.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -'@data-client/vue': patch ---- - -renderDataClient -> mountDataClient -renderDataComposable -> renderDataClient \ No newline at end of file diff --git a/.changeset/poor-jobs-turn.md b/.changeset/poor-jobs-turn.md deleted file mode 100644 index a39580602188..000000000000 --- a/.changeset/poor-jobs-turn.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -'@data-client/normalizr': minor ---- - -BREAKING CHANGE: MemoCache.query() and MemoCache.buildQueryKey() take state as one argument - -#### Before - -```ts -this.memo.buildQueryKey( - schema, - args, - state.entities, - state.indexes, - key, -); -``` - - -#### After - -```ts -this.memo.buildQueryKey( - schema, - args, - state, - key, -); -``` - -#### Before - -```ts -this.memo.query(schema, args, state.entities, state.indexes); -``` - -#### After - -```ts -this.memo.query(schema, args, state); -``` \ No newline at end of file diff --git a/.changeset/proud-insects-smile.md b/.changeset/proud-insects-smile.md deleted file mode 100644 index 4d4999da6293..000000000000 --- a/.changeset/proud-insects-smile.md +++ /dev/null @@ -1,49 +0,0 @@ ---- -'@data-client/normalizr': minor -'@data-client/endpoint': minor -'@data-client/core': minor -'@data-client/graphql': minor -'@data-client/react': minor -'@data-client/rest': minor ---- - -BREAKING CHANGE: schema.normalize(...args, addEntity, getEntity, checkLoop) -> schema.normalize(...args, delegate) - -We consolidate all 'callback' functions during recursion calls into a single 'delegate' argument. - -```ts -/** Helpers during schema.normalize() */ -export interface INormalizeDelegate { - /** Action meta-data for this normalize call */ - readonly meta: { fetchedAt: number; date: number; expiresAt: number }; - /** Gets any previously normalized entity from store */ - getEntity: GetEntity; - /** Updates an entity using merge lifecycles when it has previously been set */ - mergeEntity( - schema: Mergeable & { indexes?: any }, - pk: string, - incomingEntity: any, - ): void; - /** Sets an entity overwriting any previously set values */ - setEntity( - schema: { key: string; indexes?: any }, - pk: string, - entity: any, - meta?: { fetchedAt: number; date: number; expiresAt: number }, - ): void; - /** Returns true when we're in a cycle, so we should not continue recursing */ - checkLoop(key: string, pk: string, input: object): boolean; -} -``` - -#### Before - -```ts -addEntity(this, processedEntity, id); -``` - -#### After - -```ts -delegate.mergeEntity(this, id, processedEntity); -``` \ No newline at end of file diff --git a/.changeset/proud-rooms-pick.md b/.changeset/proud-rooms-pick.md deleted file mode 100644 index 2e4361dfe8c4..000000000000 --- a/.changeset/proud-rooms-pick.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@data-client/vue': patch ---- - -Make composables reactive to computed props diff --git a/.changeset/proud-taxes-bake.md b/.changeset/proud-taxes-bake.md deleted file mode 100644 index 7861fbb90a2a..000000000000 --- a/.changeset/proud-taxes-bake.md +++ /dev/null @@ -1,42 +0,0 @@ ---- -'@data-client/normalizr': minor -'@data-client/endpoint': minor ---- - -delegate.getEntity(key) -> delegate.getEntities(this.key) - -Return value is a restricted interface with keys() and entries() iterator methods. -This applies to both schema.queryKey and schema.normalize method delegates. - -```ts -const entities = delegate.getEntities(key); - -// foreach on keys -for (const key of entities.keys()) {} -// Object.keys() (convert to array) -return [...entities.keys()]; -// foreach on full entry -for (const [key, entity] of entities.entries()) {} -``` - -#### Before - -```ts -const entities = delegate.getEntity(this.key); -if (entities) - Object.keys(entities).forEach(collectionPk => { - if (!filterCollections(JSON.parse(collectionPk))) return; - delegate.mergeEntity(this, collectionPk, normalizedValue); - }); -``` - -#### After - -```ts -const entities = delegate.getEntities(this.key); -if (entities) - for (const collectionKey of entities.keys()) { - if (!filterCollections(JSON.parse(collectionKey))) continue; - delegate.mergeEntity(this, collectionKey, normalizedValue); - } -``` \ No newline at end of file diff --git a/.changeset/shiny-olives-behave.md b/.changeset/shiny-olives-behave.md deleted file mode 100644 index 7e6dddb88ad9..000000000000 --- a/.changeset/shiny-olives-behave.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@data-client/endpoint': patch ---- - -fix: export types needed for EntityMixin diff --git a/.changeset/shy-bugs-melt.md b/.changeset/shy-bugs-melt.md deleted file mode 100644 index 6f75427977e2..000000000000 --- a/.changeset/shy-bugs-melt.md +++ /dev/null @@ -1,28 +0,0 @@ ---- -'@data-client/rest': patch ---- - -Add RestEndpoint.remove - -Creates a PATCH endpoint that both removes an entity from a Collection and updates the entity with the provided body data. - -```ts -const getTodos = new RestEndpoint({ - path: '/todos', - schema: new schema.Collection([Todo]), -}); - -// Removes Todo from collection AND updates it with new data -await ctrl.fetch(getTodos.remove, {}, { id: '123', title: 'Done', completed: true }); -``` - -```ts -// Remove user from group list and update their group -await ctrl.fetch( - UserResource.getList.remove, - { group: 'five' }, - { id: 2, username: 'user2', group: 'newgroup' } -); -// User is removed from the 'five' group list -// AND the user entity is updated with group: 'newgroup' -``` diff --git a/.changeset/sixty-monkeys-open.md b/.changeset/sixty-monkeys-open.md deleted file mode 100644 index 5693a0ecae32..000000000000 --- a/.changeset/sixty-monkeys-open.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -'@data-client/normalizr': minor -'@data-client/react': minor -'@data-client/core': minor ---- - -state.entityMeta -> state.entitiesMeta diff --git a/.changeset/small-wasps-win.md b/.changeset/small-wasps-win.md deleted file mode 100644 index 9e4c40cbb55c..000000000000 --- a/.changeset/small-wasps-win.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@data-client/vue': patch ---- - -Add useCache() diff --git a/.changeset/smart-dodos-hear.md b/.changeset/smart-dodos-hear.md deleted file mode 100644 index 524304af1349..000000000000 --- a/.changeset/smart-dodos-hear.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@data-client/img': patch ---- - -Update readme example to useSuspense() diff --git a/.changeset/sour-horses-give.md b/.changeset/sour-horses-give.md deleted file mode 100644 index 7bb77527def9..000000000000 --- a/.changeset/sour-horses-give.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -'@data-client/core': minor -'@data-client/test': minor ---- - -Change NetworkManager bookkeeping data structure for inflight fetches - -BREAKING CHANGE: NetworkManager.fetched, NetworkManager.rejectors, NetworkManager.resolvers, NetworkManager.fetchedAt - -> NetworkManager.fetching - - -#### Before - -```ts -if (action.key in this.fetched) -``` - -#### After - -```ts -if (this.fetching.has(action.key)) -``` \ No newline at end of file diff --git a/.changeset/stale-socks-accept.md b/.changeset/stale-socks-accept.md deleted file mode 100644 index 6180a04613bf..000000000000 --- a/.changeset/stale-socks-accept.md +++ /dev/null @@ -1,18 +0,0 @@ ---- -'@data-client/normalizr': minor ---- - -MemoCache.query returns `{ data, paths }` just like denormalize. `data` could be INVALID - -#### Before - -```ts -return this.memo.query(schema, args, state); -``` - -#### After - -```ts -const { data } = this.memo.query(schema, args, state); -return typeof data === 'symbol' ? undefined : (data as any); -``` \ No newline at end of file diff --git a/.changeset/ten-lions-retire.md b/.changeset/ten-lions-retire.md deleted file mode 100644 index c1d0f26c37c1..000000000000 --- a/.changeset/ten-lions-retire.md +++ /dev/null @@ -1,9 +0,0 @@ ---- -'@data-client/normalizr': patch -'@data-client/core': patch -'@data-client/react': patch ---- - -Improve performance of get/denormalize for small responses - -- 10-20% performance improvement due to removing immutablejs check for every call \ No newline at end of file diff --git a/.changeset/thirty-dolls-wear.md b/.changeset/thirty-dolls-wear.md deleted file mode 100644 index 506d293b8a86..000000000000 --- a/.changeset/thirty-dolls-wear.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@data-client/vue': patch ---- - -Update README with MockPlugin diff --git a/.changeset/thirty-islands-hope.md b/.changeset/thirty-islands-hope.md deleted file mode 100644 index 68c5d1c102f6..000000000000 --- a/.changeset/thirty-islands-hope.md +++ /dev/null @@ -1,8 +0,0 @@ ---- -'@data-client/endpoint': patch ---- - -Fix: schema.All() polymorphic handling of Invalidated entities - -In case an Entity is invalidated, schema.All will continue to properly -filter it out of its list. \ No newline at end of file diff --git a/.changeset/tiny-wolves-thank.md b/.changeset/tiny-wolves-thank.md deleted file mode 100644 index bc9e971a8f7c..000000000000 --- a/.changeset/tiny-wolves-thank.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@data-client/vue': patch ---- - -Improve dependency injection console message diff --git a/.changeset/tough-areas-show.md b/.changeset/tough-areas-show.md deleted file mode 100644 index 255e85185a7d..000000000000 --- a/.changeset/tough-areas-show.md +++ /dev/null @@ -1,9 +0,0 @@ ---- -'@data-client/endpoint': minor -'@data-client/graphql': minor -'@data-client/rest': minor ---- - -Remove `INVALID` symbol export - -Schemas can use delegate.invalidate() in normalize() or return delegate.INVALID in queryKey(). \ No newline at end of file diff --git a/.changeset/tricky-olives-wash.md b/.changeset/tricky-olives-wash.md deleted file mode 100644 index cf7a20254c22..000000000000 --- a/.changeset/tricky-olives-wash.md +++ /dev/null @@ -1,12 +0,0 @@ ---- -'@data-client/vue': minor ---- - -Add useDLE() - -```ts -const { date, loading, error } = useDLE( - CoolerArticleResource.get, - computed(() => (props.id !== null ? { id: props.id } : null)), -); -``` \ No newline at end of file diff --git a/.changeset/two-bees-scream.md b/.changeset/two-bees-scream.md deleted file mode 100644 index a8422c9b3481..000000000000 --- a/.changeset/two-bees-scream.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -'@data-client/test': minor -'@data-client/img': minor ---- - -Support 0.15 of @data-client/react diff --git a/.changeset/weak-grapes-kiss.md b/.changeset/weak-grapes-kiss.md deleted file mode 100644 index 69e5aedfdb78..000000000000 --- a/.changeset/weak-grapes-kiss.md +++ /dev/null @@ -1,25 +0,0 @@ ---- -'@data-client/endpoint': patch -'@data-client/rest': patch -'@data-client/graphql': patch ---- - -Unions can query() without type discriminator - -#### Before -```tsx -// @ts-expect-error -const event = useQuery(EventUnion, { id }); -// event is undefined -const newsEvent = useQuery(EventUnion, { id, type: 'news' }); -// newsEvent is found -``` - -#### After - -```tsx -const event = useQuery(EventUnion, { id }); -// event is found -const newsEvent = useQuery(EventUnion, { id, type: 'news' }); -// newsEvent is found -``` \ No newline at end of file diff --git a/.changeset/wicked-bags-appear.md b/.changeset/wicked-bags-appear.md deleted file mode 100644 index 0f0e970c1c41..000000000000 --- a/.changeset/wicked-bags-appear.md +++ /dev/null @@ -1,43 +0,0 @@ ---- -'@data-client/normalizr': minor -'@data-client/endpoint': minor -'@data-client/core': minor -'@data-client/graphql': minor -'@data-client/react': minor -'@data-client/rest': minor ---- - -BREAKING CHANGE: schema.queryKey(args, queryKey, getEntity, getIndex) -> schema.queryKey(args, unvisit, delegate) -BREAKING CHANGE: delegate.getIndex() returns the index directly, rather than object. - -We consolidate all 'callback' functions during recursion calls into a single 'delegate' argument. - -Our recursive call is renamed from queryKey to unvisit, and does not require the last two arguments. - -```ts -/** Accessors to the currently processing state while building query */ -export interface IQueryDelegate { - getEntity: GetEntity; - getIndex: GetIndex; -} -``` - -#### Before - -```ts -queryKey(args, queryKey, getEntity, getIndex) { - getIndex(schema.key, indexName, value)[value]; - getEntity(this.key, id); - return queryKey(this.schema, args, getEntity, getIndex); -} -``` - -#### After - -```ts -queryKey(args, unvisit, delegate) { - delegate.getIndex(schema.key, indexName, value); - delegate.getEntity(this.key, id); - return unvisit(this.schema, args); -} -``` diff --git a/.changeset/wicked-feet-cheat.md b/.changeset/wicked-feet-cheat.md deleted file mode 100644 index 4fee53442d54..000000000000 --- a/.changeset/wicked-feet-cheat.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -'@data-client/endpoint': patch -'@data-client/react': patch -'@data-client/rest': patch ---- - -Include GPT link badge in readme diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index c648dfc46850..04308f274f0f 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -33,4 +33,4 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} NPM_TOKEN: ${{ secrets.NPM_TOKEN }} - YARN_NPM_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} \ No newline at end of file + YARN_NPM_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} diff --git a/examples/benchmark/CHANGELOG.md b/examples/benchmark/CHANGELOG.md index 0201158adc44..d832617e3c7a 100644 --- a/examples/benchmark/CHANGELOG.md +++ b/examples/benchmark/CHANGELOG.md @@ -1,5 +1,48 @@ # example-benchmark +## 0.4.75-beta-20251116224907-3174fe59b114d2037762a6458f5576d23e483ba4 + +### Patch Changes + +- Updated dependencies [[`ad3964d`](https://github.com/reactive/data-client/commit/ad3964d65d245c459809f64afe17ebdf5fda5042)]: + - @data-client/core@0.15.1-beta-20251116224907-3174fe59b114d2037762a6458f5576d23e483ba4 + - @data-client/endpoint@0.15.1-beta-20251110013913-ef632c49a03da67187b6097fe8154893cd930d30 + +## 0.4.75-beta-20251110013913-ef632c49a03da67187b6097fe8154893cd930d30 + +### Patch Changes + +- Updated dependencies [[`ef632c4`](https://github.com/reactive/data-client/commit/ef632c49a03da67187b6097fe8154893cd930d30)]: + - @data-client/endpoint@0.15.1-beta-20251110013913-ef632c49a03da67187b6097fe8154893cd930d30 + - @data-client/core@0.15.0-beta-20251022142546-a457d1596871fb28f1a91f2531cc259db4d55a9c + - @data-client/normalizr@0.15.0-beta-20251006024044-92bd01c4976f2921993b8c9f1e4dbb87af87ba7b + +## 0.4.75-beta-20251022142546-a457d1596871fb28f1a91f2531cc259db4d55a9c + +### Patch Changes + +- Updated dependencies [[`a457d15`](https://github.com/reactive/data-client/commit/a457d1596871fb28f1a91f2531cc259db4d55a9c)]: + - @data-client/core@0.15.0-beta-20251022142546-a457d1596871fb28f1a91f2531cc259db4d55a9c + - @data-client/endpoint@0.15.0-beta-20251022010821-0e5f6bd2963b6deecb68b5febe71cdd3b10c801a + +## 0.4.75-beta-20251022010821-0e5f6bd2963b6deecb68b5febe71cdd3b10c801a + +### Patch Changes + +- Updated dependencies [[`e2fff91`](https://github.com/reactive/data-client/commit/e2fff911e21864620dba8d9470142af9130aafed)]: + - @data-client/endpoint@0.15.0-beta-20251022010821-0e5f6bd2963b6deecb68b5febe71cdd3b10c801a + - @data-client/core@0.15.0-beta-20251006024044-92bd01c4976f2921993b8c9f1e4dbb87af87ba7b + - @data-client/normalizr@0.15.0-beta-20251006024044-92bd01c4976f2921993b8c9f1e4dbb87af87ba7b + +## 0.4.75-beta-20251006024044-92bd01c4976f2921993b8c9f1e4dbb87af87ba7b + +### Patch Changes + +- Updated dependencies [[`4dde1d6`](https://github.com/reactive/data-client/commit/4dde1d616e38d59b645573b12bbaba2f9cac7895), [`246cde6`](https://github.com/reactive/data-client/commit/246cde6dbeca59eafd10e59d8cd05a6f232fb219), [`1f491a9`](https://github.com/reactive/data-client/commit/1f491a9e0082dca64ad042aaf7d377e17f459ae7), [`1f491a9`](https://github.com/reactive/data-client/commit/1f491a9e0082dca64ad042aaf7d377e17f459ae7), [`4dde1d6`](https://github.com/reactive/data-client/commit/4dde1d616e38d59b645573b12bbaba2f9cac7895), [`939a4b0`](https://github.com/reactive/data-client/commit/939a4b01127ea1df9b4653931593487e4b0c23a2), [`939a4b0`](https://github.com/reactive/data-client/commit/939a4b01127ea1df9b4653931593487e4b0c23a2), [`ba31c9b`](https://github.com/reactive/data-client/commit/ba31c9b2d3c4ec5620bb64e49daf9b18994b9290), [`fcb7d7d`](https://github.com/reactive/data-client/commit/fcb7d7db8061c2a7e12632071ecb9c6ddd8d154f), [`66e1906`](https://github.com/reactive/data-client/commit/66e19064d21225c70639f3b4799e54c259ce6905), [`1f491a9`](https://github.com/reactive/data-client/commit/1f491a9e0082dca64ad042aaf7d377e17f459ae7), [`4dde1d6`](https://github.com/reactive/data-client/commit/4dde1d616e38d59b645573b12bbaba2f9cac7895), [`bab907c`](https://github.com/reactive/data-client/commit/bab907ce824c0f7da961d74c9fb8b64ce7c95141), [`4939456`](https://github.com/reactive/data-client/commit/4939456598c213ee81c1abef476a1aaccd19f82d), [`d44d36a`](https://github.com/reactive/data-client/commit/d44d36a7de0a18817486c4f723bf2f0e86ac9677), [`25b153a`](https://github.com/reactive/data-client/commit/25b153a9d80db1bcd17ab5558dfa13b333f112b8), [`4dde1d6`](https://github.com/reactive/data-client/commit/4dde1d616e38d59b645573b12bbaba2f9cac7895), [`5699005`](https://github.com/reactive/data-client/commit/5699005700206306bc70ff8237bf7ceaac241b82), [`939a4b0`](https://github.com/reactive/data-client/commit/939a4b01127ea1df9b4653931593487e4b0c23a2), [`fcb7d7d`](https://github.com/reactive/data-client/commit/fcb7d7db8061c2a7e12632071ecb9c6ddd8d154f), [`1f491a9`](https://github.com/reactive/data-client/commit/1f491a9e0082dca64ad042aaf7d377e17f459ae7), [`35552c7`](https://github.com/reactive/data-client/commit/35552c716e3b688d69212654f9f95a05ea26a7f8)]: + - @data-client/normalizr@0.15.0-beta-20251006024044-92bd01c4976f2921993b8c9f1e4dbb87af87ba7b + - @data-client/core@0.15.0-beta-20251006024044-92bd01c4976f2921993b8c9f1e4dbb87af87ba7b + - @data-client/endpoint@0.15.0-beta-20251006024044-92bd01c4976f2921993b8c9f1e4dbb87af87ba7b + ## 0.4.74 ### Patch Changes diff --git a/examples/benchmark/package.json b/examples/benchmark/package.json index 3fd347e68153..5fe3ac94da4d 100644 --- a/examples/benchmark/package.json +++ b/examples/benchmark/package.json @@ -1,6 +1,6 @@ { "name": "example-benchmark", - "version": "0.4.74", + "version": "0.4.75-beta-20251116224907-3174fe59b114d2037762a6458f5576d23e483ba4", "description": "Benchmark for normalizr", "main": "index.js", "author": "Nathaniel Tucker", diff --git a/examples/coin-app/CHANGELOG.md b/examples/coin-app/CHANGELOG.md index 5e5179197da6..bcb53373a312 100644 --- a/examples/coin-app/CHANGELOG.md +++ b/examples/coin-app/CHANGELOG.md @@ -1,5 +1,45 @@ # coinbase-lite +## 0.0.10-beta-20251201012906-ff2853c5a0da93a503b2b606c8fc724625b79308 + +### Patch Changes + +- Updated dependencies [[`63ee107`](https://github.com/reactive/data-client/commit/63ee107be9d559e6ccbcb2f9c6fd7bf83165e551)]: + - @data-client/rest@0.15.1-beta-20251201012906-ff2853c5a0da93a503b2b606c8fc724625b79308 + +## 0.0.10-beta-20251116224907-3174fe59b114d2037762a6458f5576d23e483ba4 + +### Patch Changes + +- Updated dependencies [[`8be3b17`](https://github.com/reactive/data-client/commit/8be3b1725707c4bcbf0fdd6e72ddd78d85fd125f)]: + - @data-client/rest@0.15.1-beta-20251116224907-3174fe59b114d2037762a6458f5576d23e483ba4 + +## 0.0.10-beta-20251022142546-a457d1596871fb28f1a91f2531cc259db4d55a9c + +### Patch Changes + +- Updated dependencies [[`a457d15`](https://github.com/reactive/data-client/commit/a457d1596871fb28f1a91f2531cc259db4d55a9c)]: + - @data-client/img@0.15.0-beta-20251022142546-a457d1596871fb28f1a91f2531cc259db4d55a9c + - @data-client/react@0.15.0-beta-20251022142546-a457d1596871fb28f1a91f2531cc259db4d55a9c + - @data-client/rest@0.15.0-beta-20251022142546-a457d1596871fb28f1a91f2531cc259db4d55a9c + +## 0.0.10-beta-20251022010821-0e5f6bd2963b6deecb68b5febe71cdd3b10c801a + +### Patch Changes + +- Updated dependencies [[`e2fff91`](https://github.com/reactive/data-client/commit/e2fff911e21864620dba8d9470142af9130aafed)]: + - @data-client/rest@0.15.0-beta-20251022010821-0e5f6bd2963b6deecb68b5febe71cdd3b10c801a + - @data-client/react@0.15.0-beta-20251006024044-92bd01c4976f2921993b8c9f1e4dbb87af87ba7b + +## 0.0.10-beta-20251006024044-92bd01c4976f2921993b8c9f1e4dbb87af87ba7b + +### Patch Changes + +- Updated dependencies [[`1f491a9`](https://github.com/reactive/data-client/commit/1f491a9e0082dca64ad042aaf7d377e17f459ae7), [`1f491a9`](https://github.com/reactive/data-client/commit/1f491a9e0082dca64ad042aaf7d377e17f459ae7), [`997ca20`](https://github.com/reactive/data-client/commit/997ca209d36e8503ab7684bccc6ddc29d179a0b5), [`939a4b0`](https://github.com/reactive/data-client/commit/939a4b01127ea1df9b4653931593487e4b0c23a2), [`939a4b0`](https://github.com/reactive/data-client/commit/939a4b01127ea1df9b4653931593487e4b0c23a2), [`ba31c9b`](https://github.com/reactive/data-client/commit/ba31c9b2d3c4ec5620bb64e49daf9b18994b9290), [`fcb7d7d`](https://github.com/reactive/data-client/commit/fcb7d7db8061c2a7e12632071ecb9c6ddd8d154f), [`1f491a9`](https://github.com/reactive/data-client/commit/1f491a9e0082dca64ad042aaf7d377e17f459ae7), [`4939456`](https://github.com/reactive/data-client/commit/4939456598c213ee81c1abef476a1aaccd19f82d), [`b978362`](https://github.com/reactive/data-client/commit/b97836216eb9e8d9a403dd1ed88797f2db777dbb), [`4dde1d6`](https://github.com/reactive/data-client/commit/4dde1d616e38d59b645573b12bbaba2f9cac7895), [`939a4b0`](https://github.com/reactive/data-client/commit/939a4b01127ea1df9b4653931593487e4b0c23a2), [`769cb78`](https://github.com/reactive/data-client/commit/769cb78966aed032c90864c701dae2bac0cc1e4d), [`fcb7d7d`](https://github.com/reactive/data-client/commit/fcb7d7db8061c2a7e12632071ecb9c6ddd8d154f), [`1f491a9`](https://github.com/reactive/data-client/commit/1f491a9e0082dca64ad042aaf7d377e17f459ae7), [`35552c7`](https://github.com/reactive/data-client/commit/35552c716e3b688d69212654f9f95a05ea26a7f8)]: + - @data-client/react@0.15.0-beta-20251006024044-92bd01c4976f2921993b8c9f1e4dbb87af87ba7b + - @data-client/rest@0.15.0-beta-20251006024044-92bd01c4976f2921993b8c9f1e4dbb87af87ba7b + - @data-client/img@0.15.0-beta-20251006024044-92bd01c4976f2921993b8c9f1e4dbb87af87ba7b + ## 0.0.9 ### Patch Changes diff --git a/examples/coin-app/package.json b/examples/coin-app/package.json index dd0c64280208..c493df0ecbed 100644 --- a/examples/coin-app/package.json +++ b/examples/coin-app/package.json @@ -1,6 +1,6 @@ { "name": "coinbase-lite", - "version": "0.0.9", + "version": "0.0.10-beta-20251201012906-ff2853c5a0da93a503b2b606c8fc724625b79308", "packageManager": "yarn@4.12.0", "description": "Coin App", "scripts": { @@ -46,7 +46,7 @@ "@babel/runtime-corejs3": "7.28.4", "@data-client/img": "0.15.1-beta-20251110151417-8913a49d898f6c7d69e1964d68f19daf68565bef", "@data-client/react": "0.15.0-beta-20251022142546-a457d1596871fb28f1a91f2531cc259db4d55a9c", - "@data-client/rest": "0.15.1-beta-20251110013913-ef632c49a03da67187b6097fe8154893cd930d30", + "@data-client/rest": "0.15.1-beta-20251201012906-ff2853c5a0da93a503b2b606c8fc724625b79308", "core-js": "3.47.0", "d3": "7.9.0", "history": "*", diff --git a/examples/nextjs/package.json b/examples/nextjs/package.json index 1d587832275d..377960cf42da 100644 --- a/examples/nextjs/package.json +++ b/examples/nextjs/package.json @@ -19,8 +19,8 @@ "@anansi/babel-preset": "^6.1.6", "@babel/core": "^7.24.7", "@babel/runtime-corejs3": "^7.26.10", - "@data-client/react": "^0.14.0", - "@data-client/rest": "^0.14.0", + "@data-client/react": "workspace:*", + "@data-client/rest": "workspace:*", "@number-flow/react": "^0.5.0", "@types/node": "24.10.1", "@types/react": "19.2.7", diff --git a/examples/normalizr-github/CHANGELOG.md b/examples/normalizr-github/CHANGELOG.md index d0b246c77c8a..b867beb63d94 100644 --- a/examples/normalizr-github/CHANGELOG.md +++ b/examples/normalizr-github/CHANGELOG.md @@ -1,5 +1,29 @@ # normalizr-github-example +## 0.1.51-beta-20251110013913-ef632c49a03da67187b6097fe8154893cd930d30 + +### Patch Changes + +- Updated dependencies [[`ef632c4`](https://github.com/reactive/data-client/commit/ef632c49a03da67187b6097fe8154893cd930d30)]: + - @data-client/endpoint@0.15.1-beta-20251110013913-ef632c49a03da67187b6097fe8154893cd930d30 + - @data-client/normalizr@0.15.0-beta-20251006024044-92bd01c4976f2921993b8c9f1e4dbb87af87ba7b + +## 0.1.51-beta-20251022010821-0e5f6bd2963b6deecb68b5febe71cdd3b10c801a + +### Patch Changes + +- Updated dependencies [[`e2fff91`](https://github.com/reactive/data-client/commit/e2fff911e21864620dba8d9470142af9130aafed)]: + - @data-client/endpoint@0.15.0-beta-20251022010821-0e5f6bd2963b6deecb68b5febe71cdd3b10c801a + - @data-client/normalizr@0.15.0-beta-20251006024044-92bd01c4976f2921993b8c9f1e4dbb87af87ba7b + +## 0.1.51-beta-20251006024044-92bd01c4976f2921993b8c9f1e4dbb87af87ba7b + +### Patch Changes + +- Updated dependencies [[`4dde1d6`](https://github.com/reactive/data-client/commit/4dde1d616e38d59b645573b12bbaba2f9cac7895), [`246cde6`](https://github.com/reactive/data-client/commit/246cde6dbeca59eafd10e59d8cd05a6f232fb219), [`1f491a9`](https://github.com/reactive/data-client/commit/1f491a9e0082dca64ad042aaf7d377e17f459ae7), [`4dde1d6`](https://github.com/reactive/data-client/commit/4dde1d616e38d59b645573b12bbaba2f9cac7895), [`939a4b0`](https://github.com/reactive/data-client/commit/939a4b01127ea1df9b4653931593487e4b0c23a2), [`939a4b0`](https://github.com/reactive/data-client/commit/939a4b01127ea1df9b4653931593487e4b0c23a2), [`ba31c9b`](https://github.com/reactive/data-client/commit/ba31c9b2d3c4ec5620bb64e49daf9b18994b9290), [`fcb7d7d`](https://github.com/reactive/data-client/commit/fcb7d7db8061c2a7e12632071ecb9c6ddd8d154f), [`66e1906`](https://github.com/reactive/data-client/commit/66e19064d21225c70639f3b4799e54c259ce6905), [`1f491a9`](https://github.com/reactive/data-client/commit/1f491a9e0082dca64ad042aaf7d377e17f459ae7), [`4dde1d6`](https://github.com/reactive/data-client/commit/4dde1d616e38d59b645573b12bbaba2f9cac7895), [`bab907c`](https://github.com/reactive/data-client/commit/bab907ce824c0f7da961d74c9fb8b64ce7c95141), [`4939456`](https://github.com/reactive/data-client/commit/4939456598c213ee81c1abef476a1aaccd19f82d), [`25b153a`](https://github.com/reactive/data-client/commit/25b153a9d80db1bcd17ab5558dfa13b333f112b8), [`4dde1d6`](https://github.com/reactive/data-client/commit/4dde1d616e38d59b645573b12bbaba2f9cac7895), [`5699005`](https://github.com/reactive/data-client/commit/5699005700206306bc70ff8237bf7ceaac241b82), [`939a4b0`](https://github.com/reactive/data-client/commit/939a4b01127ea1df9b4653931593487e4b0c23a2), [`fcb7d7d`](https://github.com/reactive/data-client/commit/fcb7d7db8061c2a7e12632071ecb9c6ddd8d154f), [`1f491a9`](https://github.com/reactive/data-client/commit/1f491a9e0082dca64ad042aaf7d377e17f459ae7), [`35552c7`](https://github.com/reactive/data-client/commit/35552c716e3b688d69212654f9f95a05ea26a7f8)]: + - @data-client/normalizr@0.15.0-beta-20251006024044-92bd01c4976f2921993b8c9f1e4dbb87af87ba7b + - @data-client/endpoint@0.15.0-beta-20251006024044-92bd01c4976f2921993b8c9f1e4dbb87af87ba7b + ## 0.1.50 ### Patch Changes diff --git a/examples/normalizr-github/package.json b/examples/normalizr-github/package.json index 55183f6c72af..0c60d101e1c9 100644 --- a/examples/normalizr-github/package.json +++ b/examples/normalizr-github/package.json @@ -1,6 +1,6 @@ { "name": "normalizr-github-example", - "version": "0.1.50", + "version": "0.1.51-beta-20251110013913-ef632c49a03da67187b6097fe8154893cd930d30", "description": "And example of using Normalizr with github", "main": "index.js", "author": "Paul Armstrong", diff --git a/examples/normalizr-redux/CHANGELOG.md b/examples/normalizr-redux/CHANGELOG.md index e4801ba8088c..4ec7dbfe788a 100644 --- a/examples/normalizr-redux/CHANGELOG.md +++ b/examples/normalizr-redux/CHANGELOG.md @@ -1,5 +1,29 @@ # normalizr-redux-example +## 0.1.49-beta-20251110013913-ef632c49a03da67187b6097fe8154893cd930d30 + +### Patch Changes + +- Updated dependencies [[`ef632c4`](https://github.com/reactive/data-client/commit/ef632c49a03da67187b6097fe8154893cd930d30)]: + - @data-client/endpoint@0.15.1-beta-20251110013913-ef632c49a03da67187b6097fe8154893cd930d30 + - @data-client/normalizr@0.15.0-beta-20251006024044-92bd01c4976f2921993b8c9f1e4dbb87af87ba7b + +## 0.1.49-beta-20251022010821-0e5f6bd2963b6deecb68b5febe71cdd3b10c801a + +### Patch Changes + +- Updated dependencies [[`e2fff91`](https://github.com/reactive/data-client/commit/e2fff911e21864620dba8d9470142af9130aafed)]: + - @data-client/endpoint@0.15.0-beta-20251022010821-0e5f6bd2963b6deecb68b5febe71cdd3b10c801a + - @data-client/normalizr@0.15.0-beta-20251006024044-92bd01c4976f2921993b8c9f1e4dbb87af87ba7b + +## 0.1.49-beta-20251006024044-92bd01c4976f2921993b8c9f1e4dbb87af87ba7b + +### Patch Changes + +- Updated dependencies [[`4dde1d6`](https://github.com/reactive/data-client/commit/4dde1d616e38d59b645573b12bbaba2f9cac7895), [`246cde6`](https://github.com/reactive/data-client/commit/246cde6dbeca59eafd10e59d8cd05a6f232fb219), [`1f491a9`](https://github.com/reactive/data-client/commit/1f491a9e0082dca64ad042aaf7d377e17f459ae7), [`4dde1d6`](https://github.com/reactive/data-client/commit/4dde1d616e38d59b645573b12bbaba2f9cac7895), [`939a4b0`](https://github.com/reactive/data-client/commit/939a4b01127ea1df9b4653931593487e4b0c23a2), [`939a4b0`](https://github.com/reactive/data-client/commit/939a4b01127ea1df9b4653931593487e4b0c23a2), [`ba31c9b`](https://github.com/reactive/data-client/commit/ba31c9b2d3c4ec5620bb64e49daf9b18994b9290), [`fcb7d7d`](https://github.com/reactive/data-client/commit/fcb7d7db8061c2a7e12632071ecb9c6ddd8d154f), [`66e1906`](https://github.com/reactive/data-client/commit/66e19064d21225c70639f3b4799e54c259ce6905), [`1f491a9`](https://github.com/reactive/data-client/commit/1f491a9e0082dca64ad042aaf7d377e17f459ae7), [`4dde1d6`](https://github.com/reactive/data-client/commit/4dde1d616e38d59b645573b12bbaba2f9cac7895), [`bab907c`](https://github.com/reactive/data-client/commit/bab907ce824c0f7da961d74c9fb8b64ce7c95141), [`4939456`](https://github.com/reactive/data-client/commit/4939456598c213ee81c1abef476a1aaccd19f82d), [`25b153a`](https://github.com/reactive/data-client/commit/25b153a9d80db1bcd17ab5558dfa13b333f112b8), [`4dde1d6`](https://github.com/reactive/data-client/commit/4dde1d616e38d59b645573b12bbaba2f9cac7895), [`5699005`](https://github.com/reactive/data-client/commit/5699005700206306bc70ff8237bf7ceaac241b82), [`939a4b0`](https://github.com/reactive/data-client/commit/939a4b01127ea1df9b4653931593487e4b0c23a2), [`fcb7d7d`](https://github.com/reactive/data-client/commit/fcb7d7db8061c2a7e12632071ecb9c6ddd8d154f), [`1f491a9`](https://github.com/reactive/data-client/commit/1f491a9e0082dca64ad042aaf7d377e17f459ae7), [`35552c7`](https://github.com/reactive/data-client/commit/35552c716e3b688d69212654f9f95a05ea26a7f8)]: + - @data-client/normalizr@0.15.0-beta-20251006024044-92bd01c4976f2921993b8c9f1e4dbb87af87ba7b + - @data-client/endpoint@0.15.0-beta-20251006024044-92bd01c4976f2921993b8c9f1e4dbb87af87ba7b + ## 0.1.48 ### Patch Changes diff --git a/examples/normalizr-redux/package.json b/examples/normalizr-redux/package.json index 464e134ebed5..8015095cf2f9 100644 --- a/examples/normalizr-redux/package.json +++ b/examples/normalizr-redux/package.json @@ -1,6 +1,6 @@ { "name": "normalizr-redux-example", - "version": "0.1.48", + "version": "0.1.49-beta-20251110013913-ef632c49a03da67187b6097fe8154893cd930d30", "description": "And example of using Normalizr with Redux", "main": "index.js", "author": "Paul Armstrong", diff --git a/examples/normalizr-relationships/CHANGELOG.md b/examples/normalizr-relationships/CHANGELOG.md index 21c1fc06e3a3..01f501a53411 100644 --- a/examples/normalizr-relationships/CHANGELOG.md +++ b/examples/normalizr-relationships/CHANGELOG.md @@ -1,5 +1,29 @@ # normalizr-relationships +## 0.1.51-beta-20251110013913-ef632c49a03da67187b6097fe8154893cd930d30 + +### Patch Changes + +- Updated dependencies [[`ef632c4`](https://github.com/reactive/data-client/commit/ef632c49a03da67187b6097fe8154893cd930d30)]: + - @data-client/endpoint@0.15.1-beta-20251110013913-ef632c49a03da67187b6097fe8154893cd930d30 + - @data-client/normalizr@0.15.0-beta-20251006024044-92bd01c4976f2921993b8c9f1e4dbb87af87ba7b + +## 0.1.51-beta-20251022010821-0e5f6bd2963b6deecb68b5febe71cdd3b10c801a + +### Patch Changes + +- Updated dependencies [[`e2fff91`](https://github.com/reactive/data-client/commit/e2fff911e21864620dba8d9470142af9130aafed)]: + - @data-client/endpoint@0.15.0-beta-20251022010821-0e5f6bd2963b6deecb68b5febe71cdd3b10c801a + - @data-client/normalizr@0.15.0-beta-20251006024044-92bd01c4976f2921993b8c9f1e4dbb87af87ba7b + +## 0.1.51-beta-20251006024044-92bd01c4976f2921993b8c9f1e4dbb87af87ba7b + +### Patch Changes + +- Updated dependencies [[`4dde1d6`](https://github.com/reactive/data-client/commit/4dde1d616e38d59b645573b12bbaba2f9cac7895), [`246cde6`](https://github.com/reactive/data-client/commit/246cde6dbeca59eafd10e59d8cd05a6f232fb219), [`1f491a9`](https://github.com/reactive/data-client/commit/1f491a9e0082dca64ad042aaf7d377e17f459ae7), [`4dde1d6`](https://github.com/reactive/data-client/commit/4dde1d616e38d59b645573b12bbaba2f9cac7895), [`939a4b0`](https://github.com/reactive/data-client/commit/939a4b01127ea1df9b4653931593487e4b0c23a2), [`939a4b0`](https://github.com/reactive/data-client/commit/939a4b01127ea1df9b4653931593487e4b0c23a2), [`ba31c9b`](https://github.com/reactive/data-client/commit/ba31c9b2d3c4ec5620bb64e49daf9b18994b9290), [`fcb7d7d`](https://github.com/reactive/data-client/commit/fcb7d7db8061c2a7e12632071ecb9c6ddd8d154f), [`66e1906`](https://github.com/reactive/data-client/commit/66e19064d21225c70639f3b4799e54c259ce6905), [`1f491a9`](https://github.com/reactive/data-client/commit/1f491a9e0082dca64ad042aaf7d377e17f459ae7), [`4dde1d6`](https://github.com/reactive/data-client/commit/4dde1d616e38d59b645573b12bbaba2f9cac7895), [`bab907c`](https://github.com/reactive/data-client/commit/bab907ce824c0f7da961d74c9fb8b64ce7c95141), [`4939456`](https://github.com/reactive/data-client/commit/4939456598c213ee81c1abef476a1aaccd19f82d), [`25b153a`](https://github.com/reactive/data-client/commit/25b153a9d80db1bcd17ab5558dfa13b333f112b8), [`4dde1d6`](https://github.com/reactive/data-client/commit/4dde1d616e38d59b645573b12bbaba2f9cac7895), [`5699005`](https://github.com/reactive/data-client/commit/5699005700206306bc70ff8237bf7ceaac241b82), [`939a4b0`](https://github.com/reactive/data-client/commit/939a4b01127ea1df9b4653931593487e4b0c23a2), [`fcb7d7d`](https://github.com/reactive/data-client/commit/fcb7d7db8061c2a7e12632071ecb9c6ddd8d154f), [`1f491a9`](https://github.com/reactive/data-client/commit/1f491a9e0082dca64ad042aaf7d377e17f459ae7), [`35552c7`](https://github.com/reactive/data-client/commit/35552c716e3b688d69212654f9f95a05ea26a7f8)]: + - @data-client/normalizr@0.15.0-beta-20251006024044-92bd01c4976f2921993b8c9f1e4dbb87af87ba7b + - @data-client/endpoint@0.15.0-beta-20251006024044-92bd01c4976f2921993b8c9f1e4dbb87af87ba7b + ## 0.1.50 ### Patch Changes diff --git a/examples/normalizr-relationships/package.json b/examples/normalizr-relationships/package.json index 384e505252c3..4dd5211dd034 100644 --- a/examples/normalizr-relationships/package.json +++ b/examples/normalizr-relationships/package.json @@ -1,6 +1,6 @@ { "name": "normalizr-relationships", - "version": "0.1.50", + "version": "0.1.51-beta-20251110013913-ef632c49a03da67187b6097fe8154893cd930d30", "description": "And example of using Normalizr with relationships", "main": "index.js", "author": "Paul Armstrong", diff --git a/examples/test-bundlesize/CHANGELOG.md b/examples/test-bundlesize/CHANGELOG.md new file mode 100644 index 000000000000..0eaf334b70dc --- /dev/null +++ b/examples/test-bundlesize/CHANGELOG.md @@ -0,0 +1,58 @@ +# test-bundlesize + +## 0.1.1-beta-20251201012906-ff2853c5a0da93a503b2b606c8fc724625b79308 + +### Patch Changes + +- Updated dependencies [[`63ee107`](https://github.com/reactive/data-client/commit/63ee107be9d559e6ccbcb2f9c6fd7bf83165e551)]: + - @data-client/rest@0.15.1-beta-20251201012906-ff2853c5a0da93a503b2b606c8fc724625b79308 + - @data-client/react@0.15.0-beta-20251022142546-a457d1596871fb28f1a91f2531cc259db4d55a9c + +## 0.1.1-beta-20251116224907-3174fe59b114d2037762a6458f5576d23e483ba4 + +### Patch Changes + +- Updated dependencies [[`8be3b17`](https://github.com/reactive/data-client/commit/8be3b1725707c4bcbf0fdd6e72ddd78d85fd125f)]: + - @data-client/rest@0.15.1-beta-20251116224907-3174fe59b114d2037762a6458f5576d23e483ba4 + - @data-client/react@0.15.0-beta-20251022142546-a457d1596871fb28f1a91f2531cc259db4d55a9c + +## 0.1.1-beta-20251110151417-8913a49d898f6c7d69e1964d68f19daf68565bef + +### Patch Changes + +- Updated dependencies [[`8913a49`](https://github.com/reactive/data-client/commit/8913a49d898f6c7d69e1964d68f19daf68565bef)]: + - @data-client/img@0.15.1-beta-20251110151417-8913a49d898f6c7d69e1964d68f19daf68565bef + +## 0.1.1-beta-20251110013913-ef632c49a03da67187b6097fe8154893cd930d30 + +### Patch Changes + +- Updated dependencies [[`ef632c4`](https://github.com/reactive/data-client/commit/ef632c49a03da67187b6097fe8154893cd930d30)]: + - @data-client/rest@0.15.1-beta-20251110013913-ef632c49a03da67187b6097fe8154893cd930d30 + - @data-client/react@0.15.0-beta-20251022142546-a457d1596871fb28f1a91f2531cc259db4d55a9c + +## 0.1.1-beta-20251022142546-a457d1596871fb28f1a91f2531cc259db4d55a9c + +### Patch Changes + +- Updated dependencies [[`a457d15`](https://github.com/reactive/data-client/commit/a457d1596871fb28f1a91f2531cc259db4d55a9c)]: + - @data-client/img@0.15.0-beta-20251022142546-a457d1596871fb28f1a91f2531cc259db4d55a9c + - @data-client/react@0.15.0-beta-20251022142546-a457d1596871fb28f1a91f2531cc259db4d55a9c + - @data-client/rest@0.15.0-beta-20251022142546-a457d1596871fb28f1a91f2531cc259db4d55a9c + +## 0.1.1-beta-20251022010821-0e5f6bd2963b6deecb68b5febe71cdd3b10c801a + +### Patch Changes + +- Updated dependencies [[`e2fff91`](https://github.com/reactive/data-client/commit/e2fff911e21864620dba8d9470142af9130aafed)]: + - @data-client/rest@0.15.0-beta-20251022010821-0e5f6bd2963b6deecb68b5febe71cdd3b10c801a + - @data-client/react@0.15.0-beta-20251006024044-92bd01c4976f2921993b8c9f1e4dbb87af87ba7b + +## 0.1.1-beta-20251006024044-92bd01c4976f2921993b8c9f1e4dbb87af87ba7b + +### Patch Changes + +- Updated dependencies [[`1f491a9`](https://github.com/reactive/data-client/commit/1f491a9e0082dca64ad042aaf7d377e17f459ae7), [`1f491a9`](https://github.com/reactive/data-client/commit/1f491a9e0082dca64ad042aaf7d377e17f459ae7), [`997ca20`](https://github.com/reactive/data-client/commit/997ca209d36e8503ab7684bccc6ddc29d179a0b5), [`939a4b0`](https://github.com/reactive/data-client/commit/939a4b01127ea1df9b4653931593487e4b0c23a2), [`939a4b0`](https://github.com/reactive/data-client/commit/939a4b01127ea1df9b4653931593487e4b0c23a2), [`ba31c9b`](https://github.com/reactive/data-client/commit/ba31c9b2d3c4ec5620bb64e49daf9b18994b9290), [`fcb7d7d`](https://github.com/reactive/data-client/commit/fcb7d7db8061c2a7e12632071ecb9c6ddd8d154f), [`1f491a9`](https://github.com/reactive/data-client/commit/1f491a9e0082dca64ad042aaf7d377e17f459ae7), [`4939456`](https://github.com/reactive/data-client/commit/4939456598c213ee81c1abef476a1aaccd19f82d), [`b978362`](https://github.com/reactive/data-client/commit/b97836216eb9e8d9a403dd1ed88797f2db777dbb), [`4dde1d6`](https://github.com/reactive/data-client/commit/4dde1d616e38d59b645573b12bbaba2f9cac7895), [`939a4b0`](https://github.com/reactive/data-client/commit/939a4b01127ea1df9b4653931593487e4b0c23a2), [`769cb78`](https://github.com/reactive/data-client/commit/769cb78966aed032c90864c701dae2bac0cc1e4d), [`fcb7d7d`](https://github.com/reactive/data-client/commit/fcb7d7db8061c2a7e12632071ecb9c6ddd8d154f), [`1f491a9`](https://github.com/reactive/data-client/commit/1f491a9e0082dca64ad042aaf7d377e17f459ae7), [`35552c7`](https://github.com/reactive/data-client/commit/35552c716e3b688d69212654f9f95a05ea26a7f8)]: + - @data-client/react@0.15.0-beta-20251006024044-92bd01c4976f2921993b8c9f1e4dbb87af87ba7b + - @data-client/rest@0.15.0-beta-20251006024044-92bd01c4976f2921993b8c9f1e4dbb87af87ba7b + - @data-client/img@0.15.0-beta-20251006024044-92bd01c4976f2921993b8c9f1e4dbb87af87ba7b diff --git a/examples/test-bundlesize/package.json b/examples/test-bundlesize/package.json index 1aa183b62c0b..de0183d7960d 100644 --- a/examples/test-bundlesize/package.json +++ b/examples/test-bundlesize/package.json @@ -1,6 +1,6 @@ { "name": "test-bundlesize", - "version": "0.1.0", + "version": "0.1.1-beta-20251201012906-ff2853c5a0da93a503b2b606c8fc724625b79308", "packageManager": "yarn@4.12.0", "description": "Testing Bundled Size", "scripts": { diff --git a/packages/core/CHANGELOG.md b/packages/core/CHANGELOG.md index 3422ddf2937a..52881abbe146 100644 --- a/packages/core/CHANGELOG.md +++ b/packages/core/CHANGELOG.md @@ -1,5 +1,150 @@ # @data-client/core +## 0.15.1-beta-20251116224907-3174fe59b114d2037762a6458f5576d23e483ba4 + +### Patch Changes + +- [#3622](https://github.com/reactive/data-client/pull/3622) [`ad3964d`](https://github.com/reactive/data-client/commit/ad3964d65d245c459809f64afe17ebdf5fda5042) Thanks [@ntucker](https://github.com/ntucker)! - Add @data-client/core/mock + + New exports: + - `MockController` - Controller wrapper for mocking endpoints + - `collapseFixture` - Resolves fixture responses (handles function responses) + - `createFixtureMap` - Separates fixtures into static map and interceptors + - Types: `MockProps`, `Fixture`, `SuccessFixture`, `ErrorFixture`, `Interceptor`, `ResponseInterceptor`, `FetchInterceptor`, `FixtureEndpoint`, `SuccessFixtureEndpoint`, `ErrorFixtureEndpoint` + +## 0.15.0-beta-20251022142546-a457d1596871fb28f1a91f2531cc259db4d55a9c + +### Patch Changes + +- [`a457d15`](https://github.com/reactive/data-client/commit/a457d1596871fb28f1a91f2531cc259db4d55a9c) Thanks [@ntucker](https://github.com/ntucker)! - Republish to fix dependency refernces + +## 0.15.0-beta-20251006024044-92bd01c4976f2921993b8c9f1e4dbb87af87ba7b + +### Minor Changes + +- [#3449](https://github.com/reactive/data-client/pull/3449) [`1f491a9`](https://github.com/reactive/data-client/commit/1f491a9e0082dca64ad042aaf7d377e17f459ae7) Thanks [@ntucker](https://github.com/ntucker)! - BREAKING CHANGE: schema.normalize(...args, addEntity, getEntity, checkLoop) -> schema.normalize(...args, delegate) + + We consolidate all 'callback' functions during recursion calls into a single 'delegate' argument. + + ```ts + /** Helpers during schema.normalize() */ + export interface INormalizeDelegate { + /** Action meta-data for this normalize call */ + readonly meta: { fetchedAt: number; date: number; expiresAt: number }; + /** Gets any previously normalized entity from store */ + getEntity: GetEntity; + /** Updates an entity using merge lifecycles when it has previously been set */ + mergeEntity( + schema: Mergeable & { indexes?: any }, + pk: string, + incomingEntity: any, + ): void; + /** Sets an entity overwriting any previously set values */ + setEntity( + schema: { key: string; indexes?: any }, + pk: string, + entity: any, + meta?: { fetchedAt: number; date: number; expiresAt: number }, + ): void; + /** Returns true when we're in a cycle, so we should not continue recursing */ + checkLoop(key: string, pk: string, input: object): boolean; + } + ``` + + #### Before + + ```ts + addEntity(this, processedEntity, id); + ``` + + #### After + + ```ts + delegate.mergeEntity(this, id, processedEntity); + ``` + +- [#3451](https://github.com/reactive/data-client/pull/3451) [`4939456`](https://github.com/reactive/data-client/commit/4939456598c213ee81c1abef476a1aaccd19f82d) Thanks [@ntucker](https://github.com/ntucker)! - state.entityMeta -> state.entitiesMeta + +- [#3394](https://github.com/reactive/data-client/pull/3394) [`d44d36a`](https://github.com/reactive/data-client/commit/d44d36a7de0a18817486c4f723bf2f0e86ac9677) Thanks [@ntucker](https://github.com/ntucker)! - Change NetworkManager bookkeeping data structure for inflight fetches + + BREAKING CHANGE: NetworkManager.fetched, NetworkManager.rejectors, NetworkManager.resolvers, NetworkManager.fetchedAt + -> NetworkManager.fetching + + #### Before + + ```ts + if (action.key in this.fetched) + ``` + + #### After + + ```ts + if (this.fetching.has(action.key)) + ``` + +- [#3449](https://github.com/reactive/data-client/pull/3449) [`1f491a9`](https://github.com/reactive/data-client/commit/1f491a9e0082dca64ad042aaf7d377e17f459ae7) Thanks [@ntucker](https://github.com/ntucker)! - BREAKING CHANGE: schema.queryKey(args, queryKey, getEntity, getIndex) -> schema.queryKey(args, unvisit, delegate) + BREAKING CHANGE: delegate.getIndex() returns the index directly, rather than object. + + We consolidate all 'callback' functions during recursion calls into a single 'delegate' argument. + + Our recursive call is renamed from queryKey to unvisit, and does not require the last two arguments. + + ```ts + /** Accessors to the currently processing state while building query */ + export interface IQueryDelegate { + getEntity: GetEntity; + getIndex: GetIndex; + } + ``` + + #### Before + + ```ts + queryKey(args, queryKey, getEntity, getIndex) { + getIndex(schema.key, indexName, value)[value]; + getEntity(this.key, id); + return queryKey(this.schema, args, getEntity, getIndex); + } + ``` + + #### After + + ```ts + queryKey(args, unvisit, delegate) { + delegate.getIndex(schema.key, indexName, value); + delegate.getEntity(this.key, id); + return unvisit(this.schema, args); + } + ``` + +### Patch Changes + +- [#3449](https://github.com/reactive/data-client/pull/3449) [`1f491a9`](https://github.com/reactive/data-client/commit/1f491a9e0082dca64ad042aaf7d377e17f459ae7) Thanks [@ntucker](https://github.com/ntucker)! - Fix controller.get and controller.getQueryMeta 'state' argument types + +- [#3558](https://github.com/reactive/data-client/pull/3558) [`fcb7d7d`](https://github.com/reactive/data-client/commit/fcb7d7db8061c2a7e12632071ecb9c6ddd8d154f) Thanks [@ntucker](https://github.com/ntucker)! - Normalize delegate.invalidate() first argument only has `key` param. + + `indexes` optional param no longer provided as it was never used. + + ```ts + normalize( + input: any, + parent: any, + key: string | undefined, + args: any[], + visit: (...args: any) => any, + delegate: INormalizeDelegate, + ): string { + delegate.invalidate({ key: this._entity.key }, pk); + return pk; + } + ``` + +- [#3468](https://github.com/reactive/data-client/pull/3468) [`4dde1d6`](https://github.com/reactive/data-client/commit/4dde1d616e38d59b645573b12bbaba2f9cac7895) Thanks [@ntucker](https://github.com/ntucker)! - Improve performance of get/denormalize for small responses + - 10-20% performance improvement due to removing immutablejs check for every call + +- Updated dependencies [[`4dde1d6`](https://github.com/reactive/data-client/commit/4dde1d616e38d59b645573b12bbaba2f9cac7895), [`246cde6`](https://github.com/reactive/data-client/commit/246cde6dbeca59eafd10e59d8cd05a6f232fb219), [`4dde1d6`](https://github.com/reactive/data-client/commit/4dde1d616e38d59b645573b12bbaba2f9cac7895), [`939a4b0`](https://github.com/reactive/data-client/commit/939a4b01127ea1df9b4653931593487e4b0c23a2), [`939a4b0`](https://github.com/reactive/data-client/commit/939a4b01127ea1df9b4653931593487e4b0c23a2), [`fcb7d7d`](https://github.com/reactive/data-client/commit/fcb7d7db8061c2a7e12632071ecb9c6ddd8d154f), [`66e1906`](https://github.com/reactive/data-client/commit/66e19064d21225c70639f3b4799e54c259ce6905), [`1f491a9`](https://github.com/reactive/data-client/commit/1f491a9e0082dca64ad042aaf7d377e17f459ae7), [`4dde1d6`](https://github.com/reactive/data-client/commit/4dde1d616e38d59b645573b12bbaba2f9cac7895), [`4939456`](https://github.com/reactive/data-client/commit/4939456598c213ee81c1abef476a1aaccd19f82d), [`25b153a`](https://github.com/reactive/data-client/commit/25b153a9d80db1bcd17ab5558dfa13b333f112b8), [`4dde1d6`](https://github.com/reactive/data-client/commit/4dde1d616e38d59b645573b12bbaba2f9cac7895), [`1f491a9`](https://github.com/reactive/data-client/commit/1f491a9e0082dca64ad042aaf7d377e17f459ae7)]: + - @data-client/normalizr@0.15.0-beta-20251006024044-92bd01c4976f2921993b8c9f1e4dbb87af87ba7b + ## 0.14.24 ### Patch Changes @@ -266,7 +411,6 @@ - [`d84b43c`](https://github.com/reactive/data-client/commit/d84b43cf728d714da7182f2c19b39f49e0ec0366) Thanks [@ntucker](https://github.com/ntucker)! - Move NetworkManager missing detection to initialization (applyManager()) - [`06df291`](https://github.com/reactive/data-client/commit/06df291a1f1d91afa331310dfb8319bc8d1a3ba8) Thanks [@ntucker](https://github.com/ntucker)! - Reorder action members for easier debuggability - - `key` at top - easiest to read 'subject' - `response` or `value` after - 'object' being set @@ -581,7 +725,6 @@ ``` BREAKING CHANGE: - - actionTypes.SET_TYPE -> actionTypes.SET_RESPONSE_TYPE - SetAction -> SetResponseAction @@ -759,7 +902,6 @@ ### Patch Changes - [`2e169b7`](https://github.com/reactive/data-client/commit/2e169b705e4f8e2eea8005291a0e76e9d11764a4) Thanks [@ntucker](https://github.com/ntucker)! - Fix schema.All denormalize INVALID case should also work when class name mangling is performed in production builds - - `unvisit()` always returns `undefined` with `undefined` as input. - `All` returns INVALID from `queryKey()` to invalidate what was previously a special case in `unvisit()` (when there is no table entry for the given entity) @@ -780,7 +922,6 @@ ### Minor Changes - [#2912](https://github.com/reactive/data-client/pull/2912) [`922be79`](https://github.com/reactive/data-client/commit/922be79169a3eeea8e336eee519c165431ead474) Thanks [@ntucker](https://github.com/ntucker)! - BREAKING CHANGE: `null` inputs are no longer filtered from Array or Object - - `[]` and [schema.Array](https://dataclient.io/rest/api/Array) now behave in the same manner. - `null` values are now consistently handled everywhere (being retained). - These were already being retained in [nested Entities](https://dataclient.io/rest/guides/relational-data#nesting) @@ -817,7 +958,6 @@ ### Patch Changes - [#2818](https://github.com/reactive/data-client/pull/2818) [`fc0092883f`](https://github.com/reactive/data-client/commit/fc0092883f5af42a5d270250482b7f0ba9845e95) Thanks [@ntucker](https://github.com/ntucker)! - Fix unpkg bundles and update names - - Client packages namespace into RDC - @data-client/react - RDC - @data-client/core - RDC.Core @@ -901,7 +1041,6 @@ legacy compatibility. - [#2784](https://github.com/reactive/data-client/pull/2784) [`c535f6c0ac`](https://github.com/reactive/data-client/commit/c535f6c0ac915b5242c1c7694308b7ee7aab16a1) Thanks [@ntucker](https://github.com/ntucker)! - BREAKING CHANGES: - - DELETE removed -> INVALIDATE - drop all support for legacy schemas - entity.expiresAt removed @@ -911,7 +1050,6 @@ - [#2782](https://github.com/reactive/data-client/pull/2782) [`d3343d42b9`](https://github.com/reactive/data-client/commit/d3343d42b970d075eda201cb85d201313120807c) Thanks [@ntucker](https://github.com/ntucker)! - Remove all 'receive' action names (use 'set' instead) BREAKING CHANGE: - - remove ReceiveAction - ReceiveTypes -> SetTypes - remove Controller.receive Controller.receiveError diff --git a/packages/core/package.json b/packages/core/package.json index 08867ae05970..43e0a136d915 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -1,6 +1,6 @@ { "name": "@data-client/core", - "version": "0.14.24", + "version": "0.15.1-beta-20251116224907-3174fe59b114d2037762a6458f5576d23e483ba4", "description": "Async State Management without the Management. REST, GraphQL, SSE, Websockets, Fetch", "sideEffects": false, "main": "dist/index.js", diff --git a/packages/endpoint/CHANGELOG.md b/packages/endpoint/CHANGELOG.md index 05396a0319eb..28e5f98406d4 100644 --- a/packages/endpoint/CHANGELOG.md +++ b/packages/endpoint/CHANGELOG.md @@ -1,5 +1,257 @@ # @data-client/endpoint +## 0.15.1-beta-20251110013913-ef632c49a03da67187b6097fe8154893cd930d30 + +### Patch Changes + +- [`ef632c4`](https://github.com/reactive/data-client/commit/ef632c49a03da67187b6097fe8154893cd930d30) Thanks [@ntucker](https://github.com/ntucker)! - Bump version minor to replace bad publish + +## 0.15.0-beta-20251022010821-0e5f6bd2963b6deecb68b5febe71cdd3b10c801a + +### Patch Changes + +- [`e2fff91`](https://github.com/reactive/data-client/commit/e2fff911e21864620dba8d9470142af9130aafed) Thanks [@ntucker](https://github.com/ntucker)! - fix: Collection.remove with Unions + +## 0.15.0-beta-20251006024044-92bd01c4976f2921993b8c9f1e4dbb87af87ba7b + +### Minor Changes + +- [#3461](https://github.com/reactive/data-client/pull/3461) [`939a4b0`](https://github.com/reactive/data-client/commit/939a4b01127ea1df9b4653931593487e4b0c23a2) Thanks [@ntucker](https://github.com/ntucker)! - Add delegate.INVALID to queryKey + + This is used in schema.All.queryKey(). + + #### Before + + ```ts + queryKey(args: any, unvisit: any, delegate: IQueryDelegate): any { + if (!found) return INVALID; + } + ``` + + #### After + + ```ts + queryKey(args: any, unvisit: any, delegate: IQueryDelegate): any { + if (!found) return delegate.INVALID; + } + ``` + +- [#3461](https://github.com/reactive/data-client/pull/3461) [`939a4b0`](https://github.com/reactive/data-client/commit/939a4b01127ea1df9b4653931593487e4b0c23a2) Thanks [@ntucker](https://github.com/ntucker)! - Add delegate.invalidate() to normalization + + #### Before + + ```ts + normalize( + input: any, + parent: any, + key: string | undefined, + args: any[], + visit: (...args: any) => any, + delegate: INormalizeDelegate, + ): string { + delegate.setEntity(this as any, pk, INVALID); + } + ``` + + #### After + + ```ts + normalize( + input: any, + parent: any, + key: string | undefined, + args: any[], + visit: (...args: any) => any, + delegate: INormalizeDelegate, + ): string { + delegate.invalidate(this as any, pk); + } + ``` + +- [#3449](https://github.com/reactive/data-client/pull/3449) [`1f491a9`](https://github.com/reactive/data-client/commit/1f491a9e0082dca64ad042aaf7d377e17f459ae7) Thanks [@ntucker](https://github.com/ntucker)! - BREAKING CHANGE: schema.normalize(...args, addEntity, getEntity, checkLoop) -> schema.normalize(...args, delegate) + + We consolidate all 'callback' functions during recursion calls into a single 'delegate' argument. + + ```ts + /** Helpers during schema.normalize() */ + export interface INormalizeDelegate { + /** Action meta-data for this normalize call */ + readonly meta: { fetchedAt: number; date: number; expiresAt: number }; + /** Gets any previously normalized entity from store */ + getEntity: GetEntity; + /** Updates an entity using merge lifecycles when it has previously been set */ + mergeEntity( + schema: Mergeable & { indexes?: any }, + pk: string, + incomingEntity: any, + ): void; + /** Sets an entity overwriting any previously set values */ + setEntity( + schema: { key: string; indexes?: any }, + pk: string, + entity: any, + meta?: { fetchedAt: number; date: number; expiresAt: number }, + ): void; + /** Returns true when we're in a cycle, so we should not continue recursing */ + checkLoop(key: string, pk: string, input: object): boolean; + } + ``` + + #### Before + + ```ts + addEntity(this, processedEntity, id); + ``` + + #### After + + ```ts + delegate.mergeEntity(this, id, processedEntity); + ``` + +- [#3468](https://github.com/reactive/data-client/pull/3468) [`4dde1d6`](https://github.com/reactive/data-client/commit/4dde1d616e38d59b645573b12bbaba2f9cac7895) Thanks [@ntucker](https://github.com/ntucker)! - delegate.getEntity(key) -> delegate.getEntities(this.key) + + Return value is a restricted interface with keys() and entries() iterator methods. + This applies to both schema.queryKey and schema.normalize method delegates. + + ```ts + const entities = delegate.getEntities(key); + + // foreach on keys + for (const key of entities.keys()) { + } + // Object.keys() (convert to array) + return [...entities.keys()]; + // foreach on full entry + for (const [key, entity] of entities.entries()) { + } + ``` + + #### Before + + ```ts + const entities = delegate.getEntity(this.key); + if (entities) + Object.keys(entities).forEach(collectionPk => { + if (!filterCollections(JSON.parse(collectionPk))) return; + delegate.mergeEntity(this, collectionPk, normalizedValue); + }); + ``` + + #### After + + ```ts + const entities = delegate.getEntities(this.key); + if (entities) + for (const collectionKey of entities.keys()) { + if (!filterCollections(JSON.parse(collectionKey))) continue; + delegate.mergeEntity(this, collectionKey, normalizedValue); + } + ``` + +- [#3461](https://github.com/reactive/data-client/pull/3461) [`939a4b0`](https://github.com/reactive/data-client/commit/939a4b01127ea1df9b4653931593487e4b0c23a2) Thanks [@ntucker](https://github.com/ntucker)! - Remove `INVALID` symbol export + + Schemas can use delegate.invalidate() in normalize() or return delegate.INVALID in queryKey(). + +- [#3449](https://github.com/reactive/data-client/pull/3449) [`1f491a9`](https://github.com/reactive/data-client/commit/1f491a9e0082dca64ad042aaf7d377e17f459ae7) Thanks [@ntucker](https://github.com/ntucker)! - BREAKING CHANGE: schema.queryKey(args, queryKey, getEntity, getIndex) -> schema.queryKey(args, unvisit, delegate) + BREAKING CHANGE: delegate.getIndex() returns the index directly, rather than object. + + We consolidate all 'callback' functions during recursion calls into a single 'delegate' argument. + + Our recursive call is renamed from queryKey to unvisit, and does not require the last two arguments. + + ```ts + /** Accessors to the currently processing state while building query */ + export interface IQueryDelegate { + getEntity: GetEntity; + getIndex: GetIndex; + } + ``` + + #### Before + + ```ts + queryKey(args, queryKey, getEntity, getIndex) { + getIndex(schema.key, indexName, value)[value]; + getEntity(this.key, id); + return queryKey(this.schema, args, getEntity, getIndex); + } + ``` + + #### After + + ```ts + queryKey(args, unvisit, delegate) { + delegate.getIndex(schema.key, indexName, value); + delegate.getEntity(this.key, id); + return unvisit(this.schema, args); + } + ``` + +### Patch Changes + +- [#3449](https://github.com/reactive/data-client/pull/3449) [`1f491a9`](https://github.com/reactive/data-client/commit/1f491a9e0082dca64ad042aaf7d377e17f459ae7) Thanks [@ntucker](https://github.com/ntucker)! - Fix: ensure string id in Entity set when process returns undefined (meaning INVALID) + +- [#3560](https://github.com/reactive/data-client/pull/3560) [`ba31c9b`](https://github.com/reactive/data-client/commit/ba31c9b2d3c4ec5620bb64e49daf9b18994b9290) Thanks [@ntucker](https://github.com/ntucker)! - Add Collection.remove + + ```ts + ctrl.set(MyResource.getList.schema.remove, { id }); + ``` + + ```ts + const removeItem = MyResource.delete.extend({ + schema: MyResource.getList.schema.remove, + }); + ``` + +- [#3558](https://github.com/reactive/data-client/pull/3558) [`fcb7d7d`](https://github.com/reactive/data-client/commit/fcb7d7db8061c2a7e12632071ecb9c6ddd8d154f) Thanks [@ntucker](https://github.com/ntucker)! - Normalize delegate.invalidate() first argument only has `key` param. + + `indexes` optional param no longer provided as it was never used. + + ```ts + normalize( + input: any, + parent: any, + key: string | undefined, + args: any[], + visit: (...args: any) => any, + delegate: INormalizeDelegate, + ): string { + delegate.invalidate({ key: this._entity.key }, pk); + return pk; + } + ``` + +- [#3480](https://github.com/reactive/data-client/pull/3480) [`bab907c`](https://github.com/reactive/data-client/commit/bab907ce824c0f7da961d74c9fb8b64ce7c95141) Thanks [@Tomaszal](https://github.com/Tomaszal)! - fix: export types needed for EntityMixin + +- [#3501](https://github.com/reactive/data-client/pull/3501) [`5699005`](https://github.com/reactive/data-client/commit/5699005700206306bc70ff8237bf7ceaac241b82) Thanks [@ntucker](https://github.com/ntucker)! - Fix: schema.All() polymorphic handling of Invalidated entities + + In case an Entity is invalidated, schema.All will continue to properly + filter it out of its list. + +- [#3558](https://github.com/reactive/data-client/pull/3558) [`fcb7d7d`](https://github.com/reactive/data-client/commit/fcb7d7db8061c2a7e12632071ecb9c6ddd8d154f) Thanks [@ntucker](https://github.com/ntucker)! - Unions can query() without type discriminator + + #### Before + + ```tsx + // @ts-expect-error + const event = useQuery(EventUnion, { id }); + // event is undefined + const newsEvent = useQuery(EventUnion, { id, type: 'news' }); + // newsEvent is found + ``` + + #### After + + ```tsx + const event = useQuery(EventUnion, { id }); + // event is found + const newsEvent = useQuery(EventUnion, { id, type: 'news' }); + // newsEvent is found + ``` + +- [`35552c7`](https://github.com/reactive/data-client/commit/35552c716e3b688d69212654f9f95a05ea26a7f8) Thanks [@ntucker](https://github.com/ntucker)! - Include GPT link badge in readme + ## 0.14.25 ### Patch Changes @@ -315,7 +567,6 @@ ### Patch Changes - [#3017](https://github.com/reactive/data-client/pull/3017) [`ce164d2`](https://github.com/reactive/data-client/commit/ce164d286c8afcb2593a86abbf23948a08aa40ba) Thanks [@ntucker](https://github.com/ntucker)! - Queries pass-through suspense rather than ever being undefined - - [useSuspense()](https://dataclient.io/docs/api/useSuspense) return values will not be nullable - [useQuery()](https://dataclient.io/docs/api/useQuery) will still be nullable due to it handling `INVALID` as `undefined` return - [Query.process](https://dataclient.io/rest/api/Query#process) does not need to handle nullable cases @@ -488,7 +739,6 @@ ### Patch Changes - [`2e169b7`](https://github.com/reactive/data-client/commit/2e169b705e4f8e2eea8005291a0e76e9d11764a4) Thanks [@ntucker](https://github.com/ntucker)! - Fix schema.All denormalize INVALID case should also work when class name mangling is performed in production builds - - `unvisit()` always returns `undefined` with `undefined` as input. - `All` returns INVALID from `queryKey()` to invalidate what was previously a special case in `unvisit()` (when there is no table entry for the given entity) @@ -579,7 +829,6 @@ ### Minor Changes - [#2912](https://github.com/reactive/data-client/pull/2912) [`922be79`](https://github.com/reactive/data-client/commit/922be79169a3eeea8e336eee519c165431ead474) Thanks [@ntucker](https://github.com/ntucker)! - BREAKING CHANGE: `null` inputs are no longer filtered from Array or Object - - `[]` and [schema.Array](https://dataclient.io/rest/api/Array) now behave in the same manner. - `null` values are now consistently handled everywhere (being retained). - These were already being retained in [nested Entities](https://dataclient.io/rest/guides/relational-data#nesting) @@ -623,7 +872,6 @@ ### Patch Changes - [#2818](https://github.com/reactive/data-client/pull/2818) [`fc0092883f`](https://github.com/reactive/data-client/commit/fc0092883f5af42a5d270250482b7f0ba9845e95) Thanks [@ntucker](https://github.com/ntucker)! - Fix unpkg bundles and update names - - Client packages namespace into RDC - @data-client/react - RDC - @data-client/core - RDC.Core @@ -656,7 +904,6 @@ - [`664d3eacff`](https://github.com/reactive/data-client/commit/664d3eacff08c3c75e8ed7c3ccc64ee21faa6f7f) Thanks [@ntucker](https://github.com/ntucker)! - Remove dev warning for old versions of client - [#2799](https://github.com/reactive/data-client/pull/2799) [`26a3843d1b`](https://github.com/reactive/data-client/commit/26a3843d1b61900c385d8626d7062d6f0424c137) Thanks [@ntucker](https://github.com/ntucker)! - Removed some forms of automatic entity validation - - Now allow missing schemas making it easier to declare partials - Removed logic for certain keys found out of defaults @@ -669,7 +916,6 @@ ### Minor Changes - [#2784](https://github.com/reactive/data-client/pull/2784) [`c535f6c0ac`](https://github.com/reactive/data-client/commit/c535f6c0ac915b5242c1c7694308b7ee7aab16a1) Thanks [@ntucker](https://github.com/ntucker)! - BREAKING CHANGES: - - DELETE removed -> INVALIDATE - drop all support for legacy schemas - entity.expiresAt removed diff --git a/packages/endpoint/package.json b/packages/endpoint/package.json index 6348053d6d2b..afec48b5c544 100644 --- a/packages/endpoint/package.json +++ b/packages/endpoint/package.json @@ -1,6 +1,6 @@ { "name": "@data-client/endpoint", - "version": "0.14.25", + "version": "0.15.1-beta-20251110013913-ef632c49a03da67187b6097fe8154893cd930d30", "description": "Declarative Network Interface Definitions", "homepage": "https://dataclient.io/docs/guides/custom-protocol", "keywords": [ diff --git a/packages/graphql/CHANGELOG.md b/packages/graphql/CHANGELOG.md index 6267173bc208..75793def5681 100644 --- a/packages/graphql/CHANGELOG.md +++ b/packages/graphql/CHANGELOG.md @@ -1,5 +1,226 @@ # @data-client/graphql +## 0.15.1-beta-20251110013913-ef632c49a03da67187b6097fe8154893cd930d30 + +### Patch Changes + +- [`ef632c4`](https://github.com/reactive/data-client/commit/ef632c49a03da67187b6097fe8154893cd930d30) Thanks [@ntucker](https://github.com/ntucker)! - Bump version minor to replace bad publish + +- Updated dependencies [[`ef632c4`](https://github.com/reactive/data-client/commit/ef632c49a03da67187b6097fe8154893cd930d30)]: + - @data-client/endpoint@0.15.1-beta-20251110013913-ef632c49a03da67187b6097fe8154893cd930d30 + +## 0.15.0-beta-20251022142546-a457d1596871fb28f1a91f2531cc259db4d55a9c + +### Patch Changes + +- [`a457d15`](https://github.com/reactive/data-client/commit/a457d1596871fb28f1a91f2531cc259db4d55a9c) Thanks [@ntucker](https://github.com/ntucker)! - Republish to fix dependency refernces + +- Updated dependencies []: + - @data-client/endpoint@0.15.0-beta-20251022010821-0e5f6bd2963b6deecb68b5febe71cdd3b10c801a + +## 0.15.0-beta-20251022010821-0e5f6bd2963b6deecb68b5febe71cdd3b10c801a + +### Patch Changes + +- [`e2fff91`](https://github.com/reactive/data-client/commit/e2fff911e21864620dba8d9470142af9130aafed) Thanks [@ntucker](https://github.com/ntucker)! - fix: Collection.remove with Unions + +- Updated dependencies [[`e2fff91`](https://github.com/reactive/data-client/commit/e2fff911e21864620dba8d9470142af9130aafed)]: + - @data-client/endpoint@0.15.0-beta-20251022010821-0e5f6bd2963b6deecb68b5febe71cdd3b10c801a + +## 0.15.0-beta-20251006024044-92bd01c4976f2921993b8c9f1e4dbb87af87ba7b + +### Minor Changes + +- [#3461](https://github.com/reactive/data-client/pull/3461) [`939a4b0`](https://github.com/reactive/data-client/commit/939a4b01127ea1df9b4653931593487e4b0c23a2) Thanks [@ntucker](https://github.com/ntucker)! - Add delegate.INVALID to queryKey + + This is used in schema.All.queryKey(). + + #### Before + + ```ts + queryKey(args: any, unvisit: any, delegate: IQueryDelegate): any { + if (!found) return INVALID; + } + ``` + + #### After + + ```ts + queryKey(args: any, unvisit: any, delegate: IQueryDelegate): any { + if (!found) return delegate.INVALID; + } + ``` + +- [#3461](https://github.com/reactive/data-client/pull/3461) [`939a4b0`](https://github.com/reactive/data-client/commit/939a4b01127ea1df9b4653931593487e4b0c23a2) Thanks [@ntucker](https://github.com/ntucker)! - Add delegate.invalidate() to normalization + + #### Before + + ```ts + normalize( + input: any, + parent: any, + key: string | undefined, + args: any[], + visit: (...args: any) => any, + delegate: INormalizeDelegate, + ): string { + delegate.setEntity(this as any, pk, INVALID); + } + ``` + + #### After + + ```ts + normalize( + input: any, + parent: any, + key: string | undefined, + args: any[], + visit: (...args: any) => any, + delegate: INormalizeDelegate, + ): string { + delegate.invalidate(this as any, pk); + } + ``` + +- [#3449](https://github.com/reactive/data-client/pull/3449) [`1f491a9`](https://github.com/reactive/data-client/commit/1f491a9e0082dca64ad042aaf7d377e17f459ae7) Thanks [@ntucker](https://github.com/ntucker)! - BREAKING CHANGE: schema.normalize(...args, addEntity, getEntity, checkLoop) -> schema.normalize(...args, delegate) + + We consolidate all 'callback' functions during recursion calls into a single 'delegate' argument. + + ```ts + /** Helpers during schema.normalize() */ + export interface INormalizeDelegate { + /** Action meta-data for this normalize call */ + readonly meta: { fetchedAt: number; date: number; expiresAt: number }; + /** Gets any previously normalized entity from store */ + getEntity: GetEntity; + /** Updates an entity using merge lifecycles when it has previously been set */ + mergeEntity( + schema: Mergeable & { indexes?: any }, + pk: string, + incomingEntity: any, + ): void; + /** Sets an entity overwriting any previously set values */ + setEntity( + schema: { key: string; indexes?: any }, + pk: string, + entity: any, + meta?: { fetchedAt: number; date: number; expiresAt: number }, + ): void; + /** Returns true when we're in a cycle, so we should not continue recursing */ + checkLoop(key: string, pk: string, input: object): boolean; + } + ``` + + #### Before + + ```ts + addEntity(this, processedEntity, id); + ``` + + #### After + + ```ts + delegate.mergeEntity(this, id, processedEntity); + ``` + +- [#3461](https://github.com/reactive/data-client/pull/3461) [`939a4b0`](https://github.com/reactive/data-client/commit/939a4b01127ea1df9b4653931593487e4b0c23a2) Thanks [@ntucker](https://github.com/ntucker)! - Remove `INVALID` symbol export + + Schemas can use delegate.invalidate() in normalize() or return delegate.INVALID in queryKey(). + +- [#3449](https://github.com/reactive/data-client/pull/3449) [`1f491a9`](https://github.com/reactive/data-client/commit/1f491a9e0082dca64ad042aaf7d377e17f459ae7) Thanks [@ntucker](https://github.com/ntucker)! - BREAKING CHANGE: schema.queryKey(args, queryKey, getEntity, getIndex) -> schema.queryKey(args, unvisit, delegate) + BREAKING CHANGE: delegate.getIndex() returns the index directly, rather than object. + + We consolidate all 'callback' functions during recursion calls into a single 'delegate' argument. + + Our recursive call is renamed from queryKey to unvisit, and does not require the last two arguments. + + ```ts + /** Accessors to the currently processing state while building query */ + export interface IQueryDelegate { + getEntity: GetEntity; + getIndex: GetIndex; + } + ``` + + #### Before + + ```ts + queryKey(args, queryKey, getEntity, getIndex) { + getIndex(schema.key, indexName, value)[value]; + getEntity(this.key, id); + return queryKey(this.schema, args, getEntity, getIndex); + } + ``` + + #### After + + ```ts + queryKey(args, unvisit, delegate) { + delegate.getIndex(schema.key, indexName, value); + delegate.getEntity(this.key, id); + return unvisit(this.schema, args); + } + ``` + +### Patch Changes + +- [#3449](https://github.com/reactive/data-client/pull/3449) [`1f491a9`](https://github.com/reactive/data-client/commit/1f491a9e0082dca64ad042aaf7d377e17f459ae7) Thanks [@ntucker](https://github.com/ntucker)! - Fix: ensure string id in Entity set when process returns undefined (meaning INVALID) + +- [#3560](https://github.com/reactive/data-client/pull/3560) [`ba31c9b`](https://github.com/reactive/data-client/commit/ba31c9b2d3c4ec5620bb64e49daf9b18994b9290) Thanks [@ntucker](https://github.com/ntucker)! - Add Collection.remove + + ```ts + ctrl.set(MyResource.getList.schema.remove, { id }); + ``` + + ```ts + const removeItem = MyResource.delete.extend({ + schema: MyResource.getList.schema.remove, + }); + ``` + +- [#3558](https://github.com/reactive/data-client/pull/3558) [`fcb7d7d`](https://github.com/reactive/data-client/commit/fcb7d7db8061c2a7e12632071ecb9c6ddd8d154f) Thanks [@ntucker](https://github.com/ntucker)! - Normalize delegate.invalidate() first argument only has `key` param. + + `indexes` optional param no longer provided as it was never used. + + ```ts + normalize( + input: any, + parent: any, + key: string | undefined, + args: any[], + visit: (...args: any) => any, + delegate: INormalizeDelegate, + ): string { + delegate.invalidate({ key: this._entity.key }, pk); + return pk; + } + ``` + +- [#3558](https://github.com/reactive/data-client/pull/3558) [`fcb7d7d`](https://github.com/reactive/data-client/commit/fcb7d7db8061c2a7e12632071ecb9c6ddd8d154f) Thanks [@ntucker](https://github.com/ntucker)! - Unions can query() without type discriminator + + #### Before + + ```tsx + // @ts-expect-error + const event = useQuery(EventUnion, { id }); + // event is undefined + const newsEvent = useQuery(EventUnion, { id, type: 'news' }); + // newsEvent is found + ``` + + #### After + + ```tsx + const event = useQuery(EventUnion, { id }); + // event is found + const newsEvent = useQuery(EventUnion, { id, type: 'news' }); + // newsEvent is found + ``` + +- Updated dependencies [[`1f491a9`](https://github.com/reactive/data-client/commit/1f491a9e0082dca64ad042aaf7d377e17f459ae7), [`939a4b0`](https://github.com/reactive/data-client/commit/939a4b01127ea1df9b4653931593487e4b0c23a2), [`939a4b0`](https://github.com/reactive/data-client/commit/939a4b01127ea1df9b4653931593487e4b0c23a2), [`ba31c9b`](https://github.com/reactive/data-client/commit/ba31c9b2d3c4ec5620bb64e49daf9b18994b9290), [`fcb7d7d`](https://github.com/reactive/data-client/commit/fcb7d7db8061c2a7e12632071ecb9c6ddd8d154f), [`1f491a9`](https://github.com/reactive/data-client/commit/1f491a9e0082dca64ad042aaf7d377e17f459ae7), [`4dde1d6`](https://github.com/reactive/data-client/commit/4dde1d616e38d59b645573b12bbaba2f9cac7895), [`bab907c`](https://github.com/reactive/data-client/commit/bab907ce824c0f7da961d74c9fb8b64ce7c95141), [`5699005`](https://github.com/reactive/data-client/commit/5699005700206306bc70ff8237bf7ceaac241b82), [`939a4b0`](https://github.com/reactive/data-client/commit/939a4b01127ea1df9b4653931593487e4b0c23a2), [`fcb7d7d`](https://github.com/reactive/data-client/commit/fcb7d7db8061c2a7e12632071ecb9c6ddd8d154f), [`1f491a9`](https://github.com/reactive/data-client/commit/1f491a9e0082dca64ad042aaf7d377e17f459ae7), [`35552c7`](https://github.com/reactive/data-client/commit/35552c716e3b688d69212654f9f95a05ea26a7f8)]: + - @data-client/endpoint@0.15.0-beta-20251006024044-92bd01c4976f2921993b8c9f1e4dbb87af87ba7b + ## 0.14.25 ### Patch Changes @@ -355,7 +576,6 @@ ### Patch Changes - [#3017](https://github.com/reactive/data-client/pull/3017) [`ce164d2`](https://github.com/reactive/data-client/commit/ce164d286c8afcb2593a86abbf23948a08aa40ba) Thanks [@ntucker](https://github.com/ntucker)! - Queries pass-through suspense rather than ever being undefined - - [useSuspense()](https://dataclient.io/docs/api/useSuspense) return values will not be nullable - [useQuery()](https://dataclient.io/docs/api/useQuery) will still be nullable due to it handling `INVALID` as `undefined` return - [Query.process](https://dataclient.io/rest/api/Query#process) does not need to handle nullable cases @@ -560,7 +780,6 @@ ### Patch Changes - [#2818](https://github.com/reactive/data-client/pull/2818) [`fc0092883f`](https://github.com/reactive/data-client/commit/fc0092883f5af42a5d270250482b7f0ba9845e95) Thanks [@ntucker](https://github.com/ntucker)! - Fix unpkg bundles and update names - - Client packages namespace into RDC - @data-client/react - RDC - @data-client/core - RDC.Core @@ -600,7 +819,6 @@ - [`664d3eacff`](https://github.com/reactive/data-client/commit/664d3eacff08c3c75e8ed7c3ccc64ee21faa6f7f) Thanks [@ntucker](https://github.com/ntucker)! - Remove dev warning for old versions of client - [#2799](https://github.com/reactive/data-client/pull/2799) [`26a3843d1b`](https://github.com/reactive/data-client/commit/26a3843d1b61900c385d8626d7062d6f0424c137) Thanks [@ntucker](https://github.com/ntucker)! - Removed some forms of automatic entity validation - - Now allow missing schemas making it easier to declare partials - Removed logic for certain keys found out of defaults diff --git a/packages/graphql/package.json b/packages/graphql/package.json index 12a1e29131b7..3bc69db60468 100644 --- a/packages/graphql/package.json +++ b/packages/graphql/package.json @@ -1,6 +1,6 @@ { "name": "@data-client/graphql", - "version": "0.14.25", + "version": "0.15.1-beta-20251110013913-ef632c49a03da67187b6097fe8154893cd930d30", "description": "Quickly define typed GraphQL resources and endpoints", "homepage": "https://dataclient.io/docs/graphql", "repository": { diff --git a/packages/img/CHANGELOG.md b/packages/img/CHANGELOG.md index 2102fc416b8f..2d28c15f57ac 100644 --- a/packages/img/CHANGELOG.md +++ b/packages/img/CHANGELOG.md @@ -1,5 +1,35 @@ # @data-client/img +## 0.15.1-beta-20251110151417-8913a49d898f6c7d69e1964d68f19daf68565bef + +### Patch Changes + +- [`8913a49`](https://github.com/reactive/data-client/commit/8913a49d898f6c7d69e1964d68f19daf68565bef) Thanks [@ntucker](https://github.com/ntucker)! - Bump version minor to replace bad publish + +## 0.15.0-beta-20251022142546-a457d1596871fb28f1a91f2531cc259db4d55a9c + +### Patch Changes + +- [`a457d15`](https://github.com/reactive/data-client/commit/a457d1596871fb28f1a91f2531cc259db4d55a9c) Thanks [@ntucker](https://github.com/ntucker)! - Republish to fix dependency refernces + +- Updated dependencies [[`a457d15`](https://github.com/reactive/data-client/commit/a457d1596871fb28f1a91f2531cc259db4d55a9c)]: + - @data-client/react@0.15.0-beta-20251022142546-a457d1596871fb28f1a91f2531cc259db4d55a9c + - @data-client/endpoint@0.15.0-beta-20251022010821-0e5f6bd2963b6deecb68b5febe71cdd3b10c801a + +## 0.15.0-beta-20251006024044-92bd01c4976f2921993b8c9f1e4dbb87af87ba7b + +### Minor Changes + +- [`769cb78`](https://github.com/reactive/data-client/commit/769cb78966aed032c90864c701dae2bac0cc1e4d) Thanks [@ntucker](https://github.com/ntucker)! - Support 0.15 of @data-client/react + +### Patch Changes + +- [`b978362`](https://github.com/reactive/data-client/commit/b97836216eb9e8d9a403dd1ed88797f2db777dbb) Thanks [@ntucker](https://github.com/ntucker)! - Update readme example to useSuspense() + +- Updated dependencies [[`1f491a9`](https://github.com/reactive/data-client/commit/1f491a9e0082dca64ad042aaf7d377e17f459ae7), [`1f491a9`](https://github.com/reactive/data-client/commit/1f491a9e0082dca64ad042aaf7d377e17f459ae7), [`997ca20`](https://github.com/reactive/data-client/commit/997ca209d36e8503ab7684bccc6ddc29d179a0b5), [`939a4b0`](https://github.com/reactive/data-client/commit/939a4b01127ea1df9b4653931593487e4b0c23a2), [`939a4b0`](https://github.com/reactive/data-client/commit/939a4b01127ea1df9b4653931593487e4b0c23a2), [`ba31c9b`](https://github.com/reactive/data-client/commit/ba31c9b2d3c4ec5620bb64e49daf9b18994b9290), [`fcb7d7d`](https://github.com/reactive/data-client/commit/fcb7d7db8061c2a7e12632071ecb9c6ddd8d154f), [`1f491a9`](https://github.com/reactive/data-client/commit/1f491a9e0082dca64ad042aaf7d377e17f459ae7), [`4dde1d6`](https://github.com/reactive/data-client/commit/4dde1d616e38d59b645573b12bbaba2f9cac7895), [`bab907c`](https://github.com/reactive/data-client/commit/bab907ce824c0f7da961d74c9fb8b64ce7c95141), [`4939456`](https://github.com/reactive/data-client/commit/4939456598c213ee81c1abef476a1aaccd19f82d), [`4dde1d6`](https://github.com/reactive/data-client/commit/4dde1d616e38d59b645573b12bbaba2f9cac7895), [`5699005`](https://github.com/reactive/data-client/commit/5699005700206306bc70ff8237bf7ceaac241b82), [`939a4b0`](https://github.com/reactive/data-client/commit/939a4b01127ea1df9b4653931593487e4b0c23a2), [`fcb7d7d`](https://github.com/reactive/data-client/commit/fcb7d7db8061c2a7e12632071ecb9c6ddd8d154f), [`1f491a9`](https://github.com/reactive/data-client/commit/1f491a9e0082dca64ad042aaf7d377e17f459ae7), [`35552c7`](https://github.com/reactive/data-client/commit/35552c716e3b688d69212654f9f95a05ea26a7f8)]: + - @data-client/react@0.15.0-beta-20251006024044-92bd01c4976f2921993b8c9f1e4dbb87af87ba7b + - @data-client/endpoint@0.15.0-beta-20251006024044-92bd01c4976f2921993b8c9f1e4dbb87af87ba7b + ## 0.14.21 ### Patch Changes @@ -128,7 +158,6 @@ ### Patch Changes - [#2818](https://github.com/reactive/data-client/pull/2818) [`fc0092883f`](https://github.com/reactive/data-client/commit/fc0092883f5af42a5d270250482b7f0ba9845e95) Thanks [@ntucker](https://github.com/ntucker)! - Fix unpkg bundles and update names - - Client packages namespace into RDC - @data-client/react - RDC - @data-client/core - RDC.Core diff --git a/packages/img/package.json b/packages/img/package.json index 9cf234341e7e..d74c4e68c60c 100644 --- a/packages/img/package.json +++ b/packages/img/package.json @@ -1,6 +1,6 @@ { "name": "@data-client/img", - "version": "0.14.21", + "version": "0.15.1-beta-20251110151417-8913a49d898f6c7d69e1964d68f19daf68565bef", "description": "Suspenseful images", "homepage": "https://dataclient.io/docs/guides/img-media#just-images", "repository": { @@ -78,7 +78,7 @@ "@data-client/endpoint": "workspace:^" }, "peerDependencies": { - "@data-client/react": "^0.1.0 || ^0.2.0 || ^0.3.0 || ^0.4.0 || ^0.5.0 || ^0.7.0 || ^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^0.14.0 || ^0.15.0", + "@data-client/react": "0.15.0-beta-20251022142546-a457d1596871fb28f1a91f2531cc259db4d55a9c", "@types/react": "^16.14.0 || ^17.0.0 || ^18.0.0-0 || ^19.0.0", "react": "^16.14.0 || ^17.0.0 || ^18.0.0-0 || ^19.0.0" }, diff --git a/packages/normalizr/CHANGELOG.md b/packages/normalizr/CHANGELOG.md index 63f8e4f4e4b8..eaadddeac66b 100644 --- a/packages/normalizr/CHANGELOG.md +++ b/packages/normalizr/CHANGELOG.md @@ -1,5 +1,295 @@ # Change Log +## 0.15.0-beta-20251006024044-92bd01c4976f2921993b8c9f1e4dbb87af87ba7b + +### Minor Changes + +- [#3421](https://github.com/reactive/data-client/pull/3421) [`246cde6`](https://github.com/reactive/data-client/commit/246cde6dbeca59eafd10e59d8cd05a6f232fb219) Thanks [@ntucker](https://github.com/ntucker)! - BREAKING CHANGE: Denormalize always transforms immutablejs entities into the class + + Previously using ImmutableJS structures when calling denormalize() would maintain + nested schemas as immutablejs structures still. Now everything is converted to normal JS. + This is how the types have always been specified. + +- [#3468](https://github.com/reactive/data-client/pull/3468) [`4dde1d6`](https://github.com/reactive/data-client/commit/4dde1d616e38d59b645573b12bbaba2f9cac7895) Thanks [@ntucker](https://github.com/ntucker)! - BREAKING: denormalize no longer detects ImmutableJS state + + Use `/imm` exports to handle ImmutableJS state + + #### Before + + ```ts + import { MemoCache, denormalize } from '@data-client/normalizr'; + + const memo = new MemoCache(); + ``` + + #### After + + ```ts + import { MemoCache } from '@data-client/normalizr'; + import { MemoPolicy, denormalize } from '@data-client/normalizr/imm'; + + const memo = new MemoCache(MemoPolicy); + ``` + +- [#3461](https://github.com/reactive/data-client/pull/3461) [`939a4b0`](https://github.com/reactive/data-client/commit/939a4b01127ea1df9b4653931593487e4b0c23a2) Thanks [@ntucker](https://github.com/ntucker)! - Add delegate.INVALID to queryKey + + This is used in schema.All.queryKey(). + + #### Before + + ```ts + queryKey(args: any, unvisit: any, delegate: IQueryDelegate): any { + if (!found) return INVALID; + } + ``` + + #### After + + ```ts + queryKey(args: any, unvisit: any, delegate: IQueryDelegate): any { + if (!found) return delegate.INVALID; + } + ``` + +- [#3461](https://github.com/reactive/data-client/pull/3461) [`939a4b0`](https://github.com/reactive/data-client/commit/939a4b01127ea1df9b4653931593487e4b0c23a2) Thanks [@ntucker](https://github.com/ntucker)! - Add delegate.invalidate() to normalization + + #### Before + + ```ts + normalize( + input: any, + parent: any, + key: string | undefined, + args: any[], + visit: (...args: any) => any, + delegate: INormalizeDelegate, + ): string { + delegate.setEntity(this as any, pk, INVALID); + } + ``` + + #### After + + ```ts + normalize( + input: any, + parent: any, + key: string | undefined, + args: any[], + visit: (...args: any) => any, + delegate: INormalizeDelegate, + ): string { + delegate.invalidate(this as any, pk); + } + ``` + +- [#3454](https://github.com/reactive/data-client/pull/3454) [`66e1906`](https://github.com/reactive/data-client/commit/66e19064d21225c70639f3b4799e54c259ce6905) Thanks [@ntucker](https://github.com/ntucker)! - BREAKING CHANGE: MemoCache.query() and MemoCache.buildQueryKey() take state as one argument + + #### Before + + ```ts + this.memo.buildQueryKey(schema, args, state.entities, state.indexes, key); + ``` + + #### After + + ```ts + this.memo.buildQueryKey(schema, args, state, key); + ``` + + #### Before + + ```ts + this.memo.query(schema, args, state.entities, state.indexes); + ``` + + #### After + + ```ts + this.memo.query(schema, args, state); + ``` + +- [#3449](https://github.com/reactive/data-client/pull/3449) [`1f491a9`](https://github.com/reactive/data-client/commit/1f491a9e0082dca64ad042aaf7d377e17f459ae7) Thanks [@ntucker](https://github.com/ntucker)! - BREAKING CHANGE: schema.normalize(...args, addEntity, getEntity, checkLoop) -> schema.normalize(...args, delegate) + + We consolidate all 'callback' functions during recursion calls into a single 'delegate' argument. + + ```ts + /** Helpers during schema.normalize() */ + export interface INormalizeDelegate { + /** Action meta-data for this normalize call */ + readonly meta: { fetchedAt: number; date: number; expiresAt: number }; + /** Gets any previously normalized entity from store */ + getEntity: GetEntity; + /** Updates an entity using merge lifecycles when it has previously been set */ + mergeEntity( + schema: Mergeable & { indexes?: any }, + pk: string, + incomingEntity: any, + ): void; + /** Sets an entity overwriting any previously set values */ + setEntity( + schema: { key: string; indexes?: any }, + pk: string, + entity: any, + meta?: { fetchedAt: number; date: number; expiresAt: number }, + ): void; + /** Returns true when we're in a cycle, so we should not continue recursing */ + checkLoop(key: string, pk: string, input: object): boolean; + } + ``` + + #### Before + + ```ts + addEntity(this, processedEntity, id); + ``` + + #### After + + ```ts + delegate.mergeEntity(this, id, processedEntity); + ``` + +- [#3468](https://github.com/reactive/data-client/pull/3468) [`4dde1d6`](https://github.com/reactive/data-client/commit/4dde1d616e38d59b645573b12bbaba2f9cac7895) Thanks [@ntucker](https://github.com/ntucker)! - delegate.getEntity(key) -> delegate.getEntities(this.key) + + Return value is a restricted interface with keys() and entries() iterator methods. + This applies to both schema.queryKey and schema.normalize method delegates. + + ```ts + const entities = delegate.getEntities(key); + + // foreach on keys + for (const key of entities.keys()) { + } + // Object.keys() (convert to array) + return [...entities.keys()]; + // foreach on full entry + for (const [key, entity] of entities.entries()) { + } + ``` + + #### Before + + ```ts + const entities = delegate.getEntity(this.key); + if (entities) + Object.keys(entities).forEach(collectionPk => { + if (!filterCollections(JSON.parse(collectionPk))) return; + delegate.mergeEntity(this, collectionPk, normalizedValue); + }); + ``` + + #### After + + ```ts + const entities = delegate.getEntities(this.key); + if (entities) + for (const collectionKey of entities.keys()) { + if (!filterCollections(JSON.parse(collectionKey))) continue; + delegate.mergeEntity(this, collectionKey, normalizedValue); + } + ``` + +- [#3451](https://github.com/reactive/data-client/pull/3451) [`4939456`](https://github.com/reactive/data-client/commit/4939456598c213ee81c1abef476a1aaccd19f82d) Thanks [@ntucker](https://github.com/ntucker)! - state.entityMeta -> state.entitiesMeta + +- [#3372](https://github.com/reactive/data-client/pull/3372) [`25b153a`](https://github.com/reactive/data-client/commit/25b153a9d80db1bcd17ab5558dfa13b333f112b8) Thanks [@ntucker](https://github.com/ntucker)! - MemoCache.query returns `{ data, paths }` just like denormalize. `data` could be INVALID + + #### Before + + ```ts + return this.memo.query(schema, args, state); + ``` + + #### After + + ```ts + const { data } = this.memo.query(schema, args, state); + return typeof data === 'symbol' ? undefined : (data as any); + ``` + +- [#3449](https://github.com/reactive/data-client/pull/3449) [`1f491a9`](https://github.com/reactive/data-client/commit/1f491a9e0082dca64ad042aaf7d377e17f459ae7) Thanks [@ntucker](https://github.com/ntucker)! - BREAKING CHANGE: schema.queryKey(args, queryKey, getEntity, getIndex) -> schema.queryKey(args, unvisit, delegate) + BREAKING CHANGE: delegate.getIndex() returns the index directly, rather than object. + + We consolidate all 'callback' functions during recursion calls into a single 'delegate' argument. + + Our recursive call is renamed from queryKey to unvisit, and does not require the last two arguments. + + ```ts + /** Accessors to the currently processing state while building query */ + export interface IQueryDelegate { + getEntity: GetEntity; + getIndex: GetIndex; + } + ``` + + #### Before + + ```ts + queryKey(args, queryKey, getEntity, getIndex) { + getIndex(schema.key, indexName, value)[value]; + getEntity(this.key, id); + return queryKey(this.schema, args, getEntity, getIndex); + } + ``` + + #### After + + ```ts + queryKey(args, unvisit, delegate) { + delegate.getIndex(schema.key, indexName, value); + delegate.getEntity(this.key, id); + return unvisit(this.schema, args); + } + ``` + +### Patch Changes + +- [#3468](https://github.com/reactive/data-client/pull/3468) [`4dde1d6`](https://github.com/reactive/data-client/commit/4dde1d616e38d59b645573b12bbaba2f9cac7895) Thanks [@ntucker](https://github.com/ntucker)! - Add /imm exports path for handling ImmutableJS state + + #### MemoCache + + ```ts + import { MemoCache } from '@data-client/normalizr'; + import { MemoPolicy } from '@data-client/normalizr/imm'; + + const memo = new MemoCache(MemoPolicy); + + // entities is an ImmutableJS Map + const value = MemoCache.denormalize(Todo, '1', entities); + ``` + + #### denormalize + + non-memoized denormalize + + ```ts + import { denormalize } from '@data-client/normalizr/imm'; + + // entities is an ImmutableJS Map + const value = denormalize(Todo, '1', entities); + ``` + +- [#3558](https://github.com/reactive/data-client/pull/3558) [`fcb7d7d`](https://github.com/reactive/data-client/commit/fcb7d7db8061c2a7e12632071ecb9c6ddd8d154f) Thanks [@ntucker](https://github.com/ntucker)! - Normalize delegate.invalidate() first argument only has `key` param. + + `indexes` optional param no longer provided as it was never used. + + ```ts + normalize( + input: any, + parent: any, + key: string | undefined, + args: any[], + visit: (...args: any) => any, + delegate: INormalizeDelegate, + ): string { + delegate.invalidate({ key: this._entity.key }, pk); + return pk; + } + ``` + +- [#3468](https://github.com/reactive/data-client/pull/3468) [`4dde1d6`](https://github.com/reactive/data-client/commit/4dde1d616e38d59b645573b12bbaba2f9cac7895) Thanks [@ntucker](https://github.com/ntucker)! - Improve performance of get/denormalize for small responses + - 10-20% performance improvement due to removing immutablejs check for every call + ## 0.14.22 ### Patch Changes @@ -238,7 +528,6 @@ ### Minor Changes - [`2e169b7`](https://github.com/reactive/data-client/commit/2e169b705e4f8e2eea8005291a0e76e9d11764a4) Thanks [@ntucker](https://github.com/ntucker)! - Fix schema.All denormalize INVALID case should also work when class name mangling is performed in production builds - - `unvisit()` always returns `undefined` with `undefined` as input. - `All` returns INVALID from `queryKey()` to invalidate what was previously a special case in `unvisit()` (when there is no table entry for the given entity) @@ -440,7 +729,6 @@ ### Minor Changes - [#2912](https://github.com/reactive/data-client/pull/2912) [`922be79`](https://github.com/reactive/data-client/commit/922be79169a3eeea8e336eee519c165431ead474) Thanks [@ntucker](https://github.com/ntucker)! - BREAKING CHANGE: `null` inputs are no longer filtered from Array or Object - - `[]` and [schema.Array](https://dataclient.io/rest/api/Array) now behave in the same manner. - `null` values are now consistently handled everywhere (being retained). - These were already being retained in [nested Entities](https://dataclient.io/rest/guides/relational-data#nesting) @@ -469,7 +757,6 @@ ### Patch Changes - [#2818](https://github.com/reactive/data-client/pull/2818) [`fc0092883f`](https://github.com/reactive/data-client/commit/fc0092883f5af42a5d270250482b7f0ba9845e95) Thanks [@ntucker](https://github.com/ntucker)! - Fix unpkg bundles and update names - - Client packages namespace into RDC - @data-client/react - RDC - @data-client/core - RDC.Core @@ -494,7 +781,6 @@ ### Minor Changes - [#2784](https://github.com/reactive/data-client/pull/2784) [`c535f6c0ac`](https://github.com/reactive/data-client/commit/c535f6c0ac915b5242c1c7694308b7ee7aab16a1) Thanks [@ntucker](https://github.com/ntucker)! - BREAKING CHANGES: - - DELETE removed -> INVALIDATE - drop all support for legacy schemas - entity.expiresAt removed diff --git a/packages/normalizr/package.json b/packages/normalizr/package.json index 708fcf9cb0d6..02330f793b25 100644 --- a/packages/normalizr/package.json +++ b/packages/normalizr/package.json @@ -1,6 +1,6 @@ { "name": "@data-client/normalizr", - "version": "0.14.22", + "version": "0.15.0-beta-20251006024044-92bd01c4976f2921993b8c9f1e4dbb87af87ba7b", "description": "Normalizes and denormalizes JSON according to schema for Redux and Flux applications", "homepage": "https://dataclient.io/docs/concepts/normalization", "keywords": [ diff --git a/packages/react/CHANGELOG.md b/packages/react/CHANGELOG.md index b4c21df345f2..a87927cb4293 100644 --- a/packages/react/CHANGELOG.md +++ b/packages/react/CHANGELOG.md @@ -1,5 +1,159 @@ # @data-client/react +## 0.15.0-beta-20251022142546-a457d1596871fb28f1a91f2531cc259db4d55a9c + +### Patch Changes + +- [`a457d15`](https://github.com/reactive/data-client/commit/a457d1596871fb28f1a91f2531cc259db4d55a9c) Thanks [@ntucker](https://github.com/ntucker)! - Republish to fix dependency refernces + +- Updated dependencies [[`a457d15`](https://github.com/reactive/data-client/commit/a457d1596871fb28f1a91f2531cc259db4d55a9c)]: + - @data-client/core@0.15.0-beta-20251022142546-a457d1596871fb28f1a91f2531cc259db4d55a9c + +## 0.15.0-beta-20251006024044-92bd01c4976f2921993b8c9f1e4dbb87af87ba7b + +### Minor Changes + +- [#3459](https://github.com/reactive/data-client/pull/3459) [`997ca20`](https://github.com/reactive/data-client/commit/997ca209d36e8503ab7684bccc6ddc29d179a0b5) Thanks [@ntucker](https://github.com/ntucker)! - BREAKING CHANGE: useDebounce() returns [val, isPending] + + This was previously exported in `@data-client/react/next` to make migrations easy. This will + still be available there. + + #### Before + + ```ts + import { useDebounce } from '@data-client/react'; + const debouncedQuery = useDebounce(query, 100); + ``` + + #### After + + ```ts + import { useDebounce } from '@data-client/react'; + const [debouncedQuery] = useDebounce(query, 100); + ``` + + #### Before + + ```ts + import { useDebounce } from '@data-client/react/next'; + const [debouncedQuery, isPending] = useDebounce(query, 100); + ``` + + #### After + + ```ts + import { useDebounce } from '@data-client/react'; + const [debouncedQuery, isPending] = useDebounce(query, 100); + ``` + +- [#3449](https://github.com/reactive/data-client/pull/3449) [`1f491a9`](https://github.com/reactive/data-client/commit/1f491a9e0082dca64ad042aaf7d377e17f459ae7) Thanks [@ntucker](https://github.com/ntucker)! - BREAKING CHANGE: schema.normalize(...args, addEntity, getEntity, checkLoop) -> schema.normalize(...args, delegate) + + We consolidate all 'callback' functions during recursion calls into a single 'delegate' argument. + + ```ts + /** Helpers during schema.normalize() */ + export interface INormalizeDelegate { + /** Action meta-data for this normalize call */ + readonly meta: { fetchedAt: number; date: number; expiresAt: number }; + /** Gets any previously normalized entity from store */ + getEntity: GetEntity; + /** Updates an entity using merge lifecycles when it has previously been set */ + mergeEntity( + schema: Mergeable & { indexes?: any }, + pk: string, + incomingEntity: any, + ): void; + /** Sets an entity overwriting any previously set values */ + setEntity( + schema: { key: string; indexes?: any }, + pk: string, + entity: any, + meta?: { fetchedAt: number; date: number; expiresAt: number }, + ): void; + /** Returns true when we're in a cycle, so we should not continue recursing */ + checkLoop(key: string, pk: string, input: object): boolean; + } + ``` + + #### Before + + ```ts + addEntity(this, processedEntity, id); + ``` + + #### After + + ```ts + delegate.mergeEntity(this, id, processedEntity); + ``` + +- [#3451](https://github.com/reactive/data-client/pull/3451) [`4939456`](https://github.com/reactive/data-client/commit/4939456598c213ee81c1abef476a1aaccd19f82d) Thanks [@ntucker](https://github.com/ntucker)! - state.entityMeta -> state.entitiesMeta + +- [#3449](https://github.com/reactive/data-client/pull/3449) [`1f491a9`](https://github.com/reactive/data-client/commit/1f491a9e0082dca64ad042aaf7d377e17f459ae7) Thanks [@ntucker](https://github.com/ntucker)! - BREAKING CHANGE: schema.queryKey(args, queryKey, getEntity, getIndex) -> schema.queryKey(args, unvisit, delegate) + BREAKING CHANGE: delegate.getIndex() returns the index directly, rather than object. + + We consolidate all 'callback' functions during recursion calls into a single 'delegate' argument. + + Our recursive call is renamed from queryKey to unvisit, and does not require the last two arguments. + + ```ts + /** Accessors to the currently processing state while building query */ + export interface IQueryDelegate { + getEntity: GetEntity; + getIndex: GetIndex; + } + ``` + + #### Before + + ```ts + queryKey(args, queryKey, getEntity, getIndex) { + getIndex(schema.key, indexName, value)[value]; + getEntity(this.key, id); + return queryKey(this.schema, args, getEntity, getIndex); + } + ``` + + #### After + + ```ts + queryKey(args, unvisit, delegate) { + delegate.getIndex(schema.key, indexName, value); + delegate.getEntity(this.key, id); + return unvisit(this.schema, args); + } + ``` + +### Patch Changes + +- [#3449](https://github.com/reactive/data-client/pull/3449) [`1f491a9`](https://github.com/reactive/data-client/commit/1f491a9e0082dca64ad042aaf7d377e17f459ae7) Thanks [@ntucker](https://github.com/ntucker)! - Fix controller.get and controller.getQueryMeta 'state' argument types + +- [#3558](https://github.com/reactive/data-client/pull/3558) [`fcb7d7d`](https://github.com/reactive/data-client/commit/fcb7d7db8061c2a7e12632071ecb9c6ddd8d154f) Thanks [@ntucker](https://github.com/ntucker)! - Normalize delegate.invalidate() first argument only has `key` param. + + `indexes` optional param no longer provided as it was never used. + + ```ts + normalize( + input: any, + parent: any, + key: string | undefined, + args: any[], + visit: (...args: any) => any, + delegate: INormalizeDelegate, + ): string { + delegate.invalidate({ key: this._entity.key }, pk); + return pk; + } + ``` + +- [#3468](https://github.com/reactive/data-client/pull/3468) [`4dde1d6`](https://github.com/reactive/data-client/commit/4dde1d616e38d59b645573b12bbaba2f9cac7895) Thanks [@ntucker](https://github.com/ntucker)! - Improve performance of get/denormalize for small responses + - 10-20% performance improvement due to removing immutablejs check for every call + +- [`35552c7`](https://github.com/reactive/data-client/commit/35552c716e3b688d69212654f9f95a05ea26a7f8) Thanks [@ntucker](https://github.com/ntucker)! - Include GPT link badge in readme + +- Updated dependencies [[`1f491a9`](https://github.com/reactive/data-client/commit/1f491a9e0082dca64ad042aaf7d377e17f459ae7), [`fcb7d7d`](https://github.com/reactive/data-client/commit/fcb7d7db8061c2a7e12632071ecb9c6ddd8d154f), [`1f491a9`](https://github.com/reactive/data-client/commit/1f491a9e0082dca64ad042aaf7d377e17f459ae7), [`4939456`](https://github.com/reactive/data-client/commit/4939456598c213ee81c1abef476a1aaccd19f82d), [`d44d36a`](https://github.com/reactive/data-client/commit/d44d36a7de0a18817486c4f723bf2f0e86ac9677), [`4dde1d6`](https://github.com/reactive/data-client/commit/4dde1d616e38d59b645573b12bbaba2f9cac7895), [`1f491a9`](https://github.com/reactive/data-client/commit/1f491a9e0082dca64ad042aaf7d377e17f459ae7)]: + - @data-client/core@0.15.0-beta-20251006024044-92bd01c4976f2921993b8c9f1e4dbb87af87ba7b + ## 0.14.25 ### Patch Changes @@ -408,7 +562,6 @@ - [`d84b43c`](https://github.com/reactive/data-client/commit/d84b43cf728d714da7182f2c19b39f49e0ec0366) Thanks [@ntucker](https://github.com/ntucker)! - Move NetworkManager missing detection to initialization (applyManager()) - [`06df291`](https://github.com/reactive/data-client/commit/06df291a1f1d91afa331310dfb8319bc8d1a3ba8) Thanks [@ntucker](https://github.com/ntucker)! - Reorder action members for easier debuggability - - `key` at top - easiest to read 'subject' - `response` or `value` after - 'object' being set @@ -734,7 +887,6 @@ ``` BREAKING CHANGE: - - actionTypes.SET_TYPE -> actionTypes.SET_RESPONSE_TYPE - SetAction -> SetResponseAction @@ -1169,7 +1321,6 @@ ### Patch Changes - [`2e169b7`](https://github.com/reactive/data-client/commit/2e169b705e4f8e2eea8005291a0e76e9d11764a4) Thanks [@ntucker](https://github.com/ntucker)! - Fix schema.All denormalize INVALID case should also work when class name mangling is performed in production builds - - `unvisit()` always returns `undefined` with `undefined` as input. - `All` returns INVALID from `queryKey()` to invalidate what was previously a special case in `unvisit()` (when there is no table entry for the given entity) @@ -1190,7 +1341,6 @@ ### Minor Changes - [#2912](https://github.com/reactive/data-client/pull/2912) [`922be79`](https://github.com/reactive/data-client/commit/922be79169a3eeea8e336eee519c165431ead474) Thanks [@ntucker](https://github.com/ntucker)! - BREAKING CHANGE: `null` inputs are no longer filtered from Array or Object - - `[]` and [schema.Array](https://dataclient.io/rest/api/Array) now behave in the same manner. - `null` values are now consistently handled everywhere (being retained). - These were already being retained in [nested Entities](https://dataclient.io/rest/guides/relational-data#nesting) @@ -1245,7 +1395,6 @@ ### Patch Changes - [#2818](https://github.com/reactive/data-client/pull/2818) [`fc0092883f`](https://github.com/reactive/data-client/commit/fc0092883f5af42a5d270250482b7f0ba9845e95) Thanks [@ntucker](https://github.com/ntucker)! - Fix unpkg bundles and update names - - Client packages namespace into RDC - @data-client/react - RDC - @data-client/core - RDC.Core @@ -1357,7 +1506,6 @@ ``` - [#2784](https://github.com/reactive/data-client/pull/2784) [`c535f6c0ac`](https://github.com/reactive/data-client/commit/c535f6c0ac915b5242c1c7694308b7ee7aab16a1) Thanks [@ntucker](https://github.com/ntucker)! - BREAKING CHANGES: - - DELETE removed -> INVALIDATE - drop all support for legacy schemas - entity.expiresAt removed @@ -1367,7 +1515,6 @@ - [#2782](https://github.com/reactive/data-client/pull/2782) [`d3343d42b9`](https://github.com/reactive/data-client/commit/d3343d42b970d075eda201cb85d201313120807c) Thanks [@ntucker](https://github.com/ntucker)! - Remove all 'receive' action names (use 'set' instead) BREAKING CHANGE: - - remove ReceiveAction - ReceiveTypes -> SetTypes - remove Controller.receive Controller.receiveError diff --git a/packages/react/package.json b/packages/react/package.json index c78559bae1e9..1f5058b2c16f 100644 --- a/packages/react/package.json +++ b/packages/react/package.json @@ -1,6 +1,6 @@ { "name": "@data-client/react", - "version": "0.14.25", + "version": "0.15.0-beta-20251022142546-a457d1596871fb28f1a91f2531cc259db4d55a9c", "description": "Async State Management without the Management. REST, GraphQL, SSE, Websockets, Fetch", "homepage": "https://dataclient.io", "repository": { diff --git a/packages/rest/CHANGELOG.md b/packages/rest/CHANGELOG.md index 46f019d836cc..943576f9ca86 100644 --- a/packages/rest/CHANGELOG.md +++ b/packages/rest/CHANGELOG.md @@ -1,5 +1,281 @@ # @data-client/rest +## 0.15.1-beta-20251201012906-ff2853c5a0da93a503b2b606c8fc724625b79308 + +### Patch Changes + +- [#3635](https://github.com/reactive/data-client/pull/3635) [`63ee107`](https://github.com/reactive/data-client/commit/63ee107be9d559e6ccbcb2f9c6fd7bf83165e551) Thanks [@ntucker](https://github.com/ntucker)! - Fix `getPage` types when paginationField is in body + + ```ts + const ep = new RestEndpoint({ + path: '/rpc', + method: 'POST', + body: {} as { page?: number; method: string }, + paginationField: 'page', + }); + // Before: ep.getPage({ page: 2 }, { method: 'get' }) ❌ + // After: ep.getPage({ page: 2, method: 'get' }) ✓ + ``` + +## 0.15.1-beta-20251116224907-3174fe59b114d2037762a6458f5576d23e483ba4 + +### Patch Changes + +- [#3623](https://github.com/reactive/data-client/pull/3623) [`8be3b17`](https://github.com/reactive/data-client/commit/8be3b1725707c4bcbf0fdd6e72ddd78d85fd125f) Thanks [@ntucker](https://github.com/ntucker)! - Add RestEndpoint.remove + + Creates a PATCH endpoint that both removes an entity from a Collection and updates the entity with the provided body data. + + ```ts + const getTodos = new RestEndpoint({ + path: '/todos', + schema: new schema.Collection([Todo]), + }); + + // Removes Todo from collection AND updates it with new data + await ctrl.fetch( + getTodos.remove, + {}, + { id: '123', title: 'Done', completed: true }, + ); + ``` + + ```ts + // Remove user from group list and update their group + await ctrl.fetch( + UserResource.getList.remove, + { group: 'five' }, + { id: 2, username: 'user2', group: 'newgroup' }, + ); + // User is removed from the 'five' group list + // AND the user entity is updated with group: 'newgroup' + ``` + +- Updated dependencies []: + - @data-client/endpoint@0.15.1-beta-20251110013913-ef632c49a03da67187b6097fe8154893cd930d30 + +## 0.15.1-beta-20251110013913-ef632c49a03da67187b6097fe8154893cd930d30 + +### Patch Changes + +- [`ef632c4`](https://github.com/reactive/data-client/commit/ef632c49a03da67187b6097fe8154893cd930d30) Thanks [@ntucker](https://github.com/ntucker)! - Bump version minor to replace bad publish + +- Updated dependencies [[`ef632c4`](https://github.com/reactive/data-client/commit/ef632c49a03da67187b6097fe8154893cd930d30)]: + - @data-client/endpoint@0.15.1-beta-20251110013913-ef632c49a03da67187b6097fe8154893cd930d30 + +## 0.15.0-beta-20251022142546-a457d1596871fb28f1a91f2531cc259db4d55a9c + +### Patch Changes + +- [`a457d15`](https://github.com/reactive/data-client/commit/a457d1596871fb28f1a91f2531cc259db4d55a9c) Thanks [@ntucker](https://github.com/ntucker)! - Republish to fix dependency refernces + +- Updated dependencies []: + - @data-client/endpoint@0.15.0-beta-20251022010821-0e5f6bd2963b6deecb68b5febe71cdd3b10c801a + +## 0.15.0-beta-20251022010821-0e5f6bd2963b6deecb68b5febe71cdd3b10c801a + +### Patch Changes + +- [`e2fff91`](https://github.com/reactive/data-client/commit/e2fff911e21864620dba8d9470142af9130aafed) Thanks [@ntucker](https://github.com/ntucker)! - fix: Collection.remove with Unions + +- Updated dependencies [[`e2fff91`](https://github.com/reactive/data-client/commit/e2fff911e21864620dba8d9470142af9130aafed)]: + - @data-client/endpoint@0.15.0-beta-20251022010821-0e5f6bd2963b6deecb68b5febe71cdd3b10c801a + +## 0.15.0-beta-20251006024044-92bd01c4976f2921993b8c9f1e4dbb87af87ba7b + +### Minor Changes + +- [#3461](https://github.com/reactive/data-client/pull/3461) [`939a4b0`](https://github.com/reactive/data-client/commit/939a4b01127ea1df9b4653931593487e4b0c23a2) Thanks [@ntucker](https://github.com/ntucker)! - Add delegate.INVALID to queryKey + + This is used in schema.All.queryKey(). + + #### Before + + ```ts + queryKey(args: any, unvisit: any, delegate: IQueryDelegate): any { + if (!found) return INVALID; + } + ``` + + #### After + + ```ts + queryKey(args: any, unvisit: any, delegate: IQueryDelegate): any { + if (!found) return delegate.INVALID; + } + ``` + +- [#3461](https://github.com/reactive/data-client/pull/3461) [`939a4b0`](https://github.com/reactive/data-client/commit/939a4b01127ea1df9b4653931593487e4b0c23a2) Thanks [@ntucker](https://github.com/ntucker)! - Add delegate.invalidate() to normalization + + #### Before + + ```ts + normalize( + input: any, + parent: any, + key: string | undefined, + args: any[], + visit: (...args: any) => any, + delegate: INormalizeDelegate, + ): string { + delegate.setEntity(this as any, pk, INVALID); + } + ``` + + #### After + + ```ts + normalize( + input: any, + parent: any, + key: string | undefined, + args: any[], + visit: (...args: any) => any, + delegate: INormalizeDelegate, + ): string { + delegate.invalidate(this as any, pk); + } + ``` + +- [#3449](https://github.com/reactive/data-client/pull/3449) [`1f491a9`](https://github.com/reactive/data-client/commit/1f491a9e0082dca64ad042aaf7d377e17f459ae7) Thanks [@ntucker](https://github.com/ntucker)! - BREAKING CHANGE: schema.normalize(...args, addEntity, getEntity, checkLoop) -> schema.normalize(...args, delegate) + + We consolidate all 'callback' functions during recursion calls into a single 'delegate' argument. + + ```ts + /** Helpers during schema.normalize() */ + export interface INormalizeDelegate { + /** Action meta-data for this normalize call */ + readonly meta: { fetchedAt: number; date: number; expiresAt: number }; + /** Gets any previously normalized entity from store */ + getEntity: GetEntity; + /** Updates an entity using merge lifecycles when it has previously been set */ + mergeEntity( + schema: Mergeable & { indexes?: any }, + pk: string, + incomingEntity: any, + ): void; + /** Sets an entity overwriting any previously set values */ + setEntity( + schema: { key: string; indexes?: any }, + pk: string, + entity: any, + meta?: { fetchedAt: number; date: number; expiresAt: number }, + ): void; + /** Returns true when we're in a cycle, so we should not continue recursing */ + checkLoop(key: string, pk: string, input: object): boolean; + } + ``` + + #### Before + + ```ts + addEntity(this, processedEntity, id); + ``` + + #### After + + ```ts + delegate.mergeEntity(this, id, processedEntity); + ``` + +- [#3461](https://github.com/reactive/data-client/pull/3461) [`939a4b0`](https://github.com/reactive/data-client/commit/939a4b01127ea1df9b4653931593487e4b0c23a2) Thanks [@ntucker](https://github.com/ntucker)! - Remove `INVALID` symbol export + + Schemas can use delegate.invalidate() in normalize() or return delegate.INVALID in queryKey(). + +- [#3449](https://github.com/reactive/data-client/pull/3449) [`1f491a9`](https://github.com/reactive/data-client/commit/1f491a9e0082dca64ad042aaf7d377e17f459ae7) Thanks [@ntucker](https://github.com/ntucker)! - BREAKING CHANGE: schema.queryKey(args, queryKey, getEntity, getIndex) -> schema.queryKey(args, unvisit, delegate) + BREAKING CHANGE: delegate.getIndex() returns the index directly, rather than object. + + We consolidate all 'callback' functions during recursion calls into a single 'delegate' argument. + + Our recursive call is renamed from queryKey to unvisit, and does not require the last two arguments. + + ```ts + /** Accessors to the currently processing state while building query */ + export interface IQueryDelegate { + getEntity: GetEntity; + getIndex: GetIndex; + } + ``` + + #### Before + + ```ts + queryKey(args, queryKey, getEntity, getIndex) { + getIndex(schema.key, indexName, value)[value]; + getEntity(this.key, id); + return queryKey(this.schema, args, getEntity, getIndex); + } + ``` + + #### After + + ```ts + queryKey(args, unvisit, delegate) { + delegate.getIndex(schema.key, indexName, value); + delegate.getEntity(this.key, id); + return unvisit(this.schema, args); + } + ``` + +### Patch Changes + +- [#3449](https://github.com/reactive/data-client/pull/3449) [`1f491a9`](https://github.com/reactive/data-client/commit/1f491a9e0082dca64ad042aaf7d377e17f459ae7) Thanks [@ntucker](https://github.com/ntucker)! - Fix: ensure string id in Entity set when process returns undefined (meaning INVALID) + +- [#3560](https://github.com/reactive/data-client/pull/3560) [`ba31c9b`](https://github.com/reactive/data-client/commit/ba31c9b2d3c4ec5620bb64e49daf9b18994b9290) Thanks [@ntucker](https://github.com/ntucker)! - Add Collection.remove + + ```ts + ctrl.set(MyResource.getList.schema.remove, { id }); + ``` + + ```ts + const removeItem = MyResource.delete.extend({ + schema: MyResource.getList.schema.remove, + }); + ``` + +- [#3558](https://github.com/reactive/data-client/pull/3558) [`fcb7d7d`](https://github.com/reactive/data-client/commit/fcb7d7db8061c2a7e12632071ecb9c6ddd8d154f) Thanks [@ntucker](https://github.com/ntucker)! - Normalize delegate.invalidate() first argument only has `key` param. + + `indexes` optional param no longer provided as it was never used. + + ```ts + normalize( + input: any, + parent: any, + key: string | undefined, + args: any[], + visit: (...args: any) => any, + delegate: INormalizeDelegate, + ): string { + delegate.invalidate({ key: this._entity.key }, pk); + return pk; + } + ``` + +- [#3558](https://github.com/reactive/data-client/pull/3558) [`fcb7d7d`](https://github.com/reactive/data-client/commit/fcb7d7db8061c2a7e12632071ecb9c6ddd8d154f) Thanks [@ntucker](https://github.com/ntucker)! - Unions can query() without type discriminator + + #### Before + + ```tsx + // @ts-expect-error + const event = useQuery(EventUnion, { id }); + // event is undefined + const newsEvent = useQuery(EventUnion, { id, type: 'news' }); + // newsEvent is found + ``` + + #### After + + ```tsx + const event = useQuery(EventUnion, { id }); + // event is found + const newsEvent = useQuery(EventUnion, { id, type: 'news' }); + // newsEvent is found + ``` + +- [`35552c7`](https://github.com/reactive/data-client/commit/35552c716e3b688d69212654f9f95a05ea26a7f8) Thanks [@ntucker](https://github.com/ntucker)! - Include GPT link badge in readme + +- Updated dependencies [[`1f491a9`](https://github.com/reactive/data-client/commit/1f491a9e0082dca64ad042aaf7d377e17f459ae7), [`939a4b0`](https://github.com/reactive/data-client/commit/939a4b01127ea1df9b4653931593487e4b0c23a2), [`939a4b0`](https://github.com/reactive/data-client/commit/939a4b01127ea1df9b4653931593487e4b0c23a2), [`ba31c9b`](https://github.com/reactive/data-client/commit/ba31c9b2d3c4ec5620bb64e49daf9b18994b9290), [`fcb7d7d`](https://github.com/reactive/data-client/commit/fcb7d7db8061c2a7e12632071ecb9c6ddd8d154f), [`1f491a9`](https://github.com/reactive/data-client/commit/1f491a9e0082dca64ad042aaf7d377e17f459ae7), [`4dde1d6`](https://github.com/reactive/data-client/commit/4dde1d616e38d59b645573b12bbaba2f9cac7895), [`bab907c`](https://github.com/reactive/data-client/commit/bab907ce824c0f7da961d74c9fb8b64ce7c95141), [`5699005`](https://github.com/reactive/data-client/commit/5699005700206306bc70ff8237bf7ceaac241b82), [`939a4b0`](https://github.com/reactive/data-client/commit/939a4b01127ea1df9b4653931593487e4b0c23a2), [`fcb7d7d`](https://github.com/reactive/data-client/commit/fcb7d7db8061c2a7e12632071ecb9c6ddd8d154f), [`1f491a9`](https://github.com/reactive/data-client/commit/1f491a9e0082dca64ad042aaf7d377e17f459ae7), [`35552c7`](https://github.com/reactive/data-client/commit/35552c716e3b688d69212654f9f95a05ea26a7f8)]: + - @data-client/endpoint@0.15.0-beta-20251006024044-92bd01c4976f2921993b8c9f1e4dbb87af87ba7b + ## 0.14.25 ### Patch Changes @@ -480,7 +756,6 @@ ### Patch Changes - [#3017](https://github.com/reactive/data-client/pull/3017) [`ce164d2`](https://github.com/reactive/data-client/commit/ce164d286c8afcb2593a86abbf23948a08aa40ba) Thanks [@ntucker](https://github.com/ntucker)! - Queries pass-through suspense rather than ever being undefined - - [useSuspense()](https://dataclient.io/docs/api/useSuspense) return values will not be nullable - [useQuery()](https://dataclient.io/docs/api/useQuery) will still be nullable due to it handling `INVALID` as `undefined` return - [Query.process](https://dataclient.io/rest/api/Query#process) does not need to handle nullable cases @@ -629,7 +904,6 @@ ### Patch Changes - [`2e169b7`](https://github.com/reactive/data-client/commit/2e169b705e4f8e2eea8005291a0e76e9d11764a4) Thanks [@ntucker](https://github.com/ntucker)! - Fix schema.All denormalize INVALID case should also work when class name mangling is performed in production builds - - `unvisit()` always returns `undefined` with `undefined` as input. - `All` returns INVALID from `queryKey()` to invalidate what was previously a special case in `unvisit()` (when there is no table entry for the given entity) @@ -745,7 +1019,6 @@ ### Patch Changes - [#2818](https://github.com/reactive/data-client/pull/2818) [`fc0092883f`](https://github.com/reactive/data-client/commit/fc0092883f5af42a5d270250482b7f0ba9845e95) Thanks [@ntucker](https://github.com/ntucker)! - Fix unpkg bundles and update names - - Client packages namespace into RDC - @data-client/react - RDC - @data-client/core - RDC.Core @@ -785,7 +1058,6 @@ - [`664d3eacff`](https://github.com/reactive/data-client/commit/664d3eacff08c3c75e8ed7c3ccc64ee21faa6f7f) Thanks [@ntucker](https://github.com/ntucker)! - Remove dev warning for old versions of client - [#2799](https://github.com/reactive/data-client/pull/2799) [`26a3843d1b`](https://github.com/reactive/data-client/commit/26a3843d1b61900c385d8626d7062d6f0424c137) Thanks [@ntucker](https://github.com/ntucker)! - Removed some forms of automatic entity validation - - Now allow missing schemas making it easier to declare partials - Removed logic for certain keys found out of defaults diff --git a/packages/rest/package.json b/packages/rest/package.json index 672e2a36fad7..63339116f57a 100644 --- a/packages/rest/package.json +++ b/packages/rest/package.json @@ -1,6 +1,6 @@ { "name": "@data-client/rest", - "version": "0.14.25", + "version": "0.15.1-beta-20251201012906-ff2853c5a0da93a503b2b606c8fc724625b79308", "description": "Quickly define typed REST resources and endpoints", "homepage": "https://dataclient.io/rest", "repository": { diff --git a/packages/test/CHANGELOG.md b/packages/test/CHANGELOG.md index 4d8251c10107..b278cd3f9dbd 100644 --- a/packages/test/CHANGELOG.md +++ b/packages/test/CHANGELOG.md @@ -1,5 +1,40 @@ # @data-client/test +## 0.15.0-beta-20251022142546-a457d1596871fb28f1a91f2531cc259db4d55a9c + +### Patch Changes + +- Updated dependencies [[`a457d15`](https://github.com/reactive/data-client/commit/a457d1596871fb28f1a91f2531cc259db4d55a9c)]: + - @data-client/react@0.15.0-beta-20251022142546-a457d1596871fb28f1a91f2531cc259db4d55a9c + +## 0.15.0-beta-20251006024044-92bd01c4976f2921993b8c9f1e4dbb87af87ba7b + +### Minor Changes + +- [#3394](https://github.com/reactive/data-client/pull/3394) [`d44d36a`](https://github.com/reactive/data-client/commit/d44d36a7de0a18817486c4f723bf2f0e86ac9677) Thanks [@ntucker](https://github.com/ntucker)! - Change NetworkManager bookkeeping data structure for inflight fetches + + BREAKING CHANGE: NetworkManager.fetched, NetworkManager.rejectors, NetworkManager.resolvers, NetworkManager.fetchedAt + -> NetworkManager.fetching + + #### Before + + ```ts + if (action.key in this.fetched) + ``` + + #### After + + ```ts + if (this.fetching.has(action.key)) + ``` + +- [`769cb78`](https://github.com/reactive/data-client/commit/769cb78966aed032c90864c701dae2bac0cc1e4d) Thanks [@ntucker](https://github.com/ntucker)! - Support 0.15 of @data-client/react + +### Patch Changes + +- Updated dependencies [[`1f491a9`](https://github.com/reactive/data-client/commit/1f491a9e0082dca64ad042aaf7d377e17f459ae7), [`997ca20`](https://github.com/reactive/data-client/commit/997ca209d36e8503ab7684bccc6ddc29d179a0b5), [`fcb7d7d`](https://github.com/reactive/data-client/commit/fcb7d7db8061c2a7e12632071ecb9c6ddd8d154f), [`1f491a9`](https://github.com/reactive/data-client/commit/1f491a9e0082dca64ad042aaf7d377e17f459ae7), [`4939456`](https://github.com/reactive/data-client/commit/4939456598c213ee81c1abef476a1aaccd19f82d), [`4dde1d6`](https://github.com/reactive/data-client/commit/4dde1d616e38d59b645573b12bbaba2f9cac7895), [`1f491a9`](https://github.com/reactive/data-client/commit/1f491a9e0082dca64ad042aaf7d377e17f459ae7), [`35552c7`](https://github.com/reactive/data-client/commit/35552c716e3b688d69212654f9f95a05ea26a7f8)]: + - @data-client/react@0.15.0-beta-20251006024044-92bd01c4976f2921993b8c9f1e4dbb87af87ba7b + ## 0.14.22 ### Patch Changes diff --git a/packages/test/package.json b/packages/test/package.json index b83a6932e7b4..c1a96977e231 100644 --- a/packages/test/package.json +++ b/packages/test/package.json @@ -1,6 +1,6 @@ { "name": "@data-client/test", - "version": "0.14.22", + "version": "0.15.0-beta-20251022142546-a457d1596871fb28f1a91f2531cc259db4d55a9c", "description": "Testing utilities for Data Client", "homepage": "https://dataclient.io/docs/guides/storybook", "repository": { @@ -121,7 +121,7 @@ "@testing-library/react-native": "^13.0.0" }, "peerDependencies": { - "@data-client/react": "^0.12.15 || ^0.13.0 || ^0.14.0 || ^0.15.0", + "@data-client/react": "0.15.0-beta-20251022142546-a457d1596871fb28f1a91f2531cc259db4d55a9c", "@testing-library/react-hooks": "^8.0.0", "@types/react": "^16.14.0 || ^17.0.0 || ^18.0.0 || ^19.0.0-0 || ^19.0.0", "@types/react-dom": "*", diff --git a/packages/vue/CHANGELOG.md b/packages/vue/CHANGELOG.md new file mode 100644 index 000000000000..41fa2b27b026 --- /dev/null +++ b/packages/vue/CHANGELOG.md @@ -0,0 +1,188 @@ +# @data-client/vue + +## 0.3.2-beta-20251201012906-ff2853c5a0da93a503b2b606c8fc724625b79308 + +### Patch Changes + +- [`1c945bb`](https://github.com/reactive/data-client/commit/1c945bbc4cd290a186914f16b9afd9e7501198ed) Thanks [@ntucker](https://github.com/ntucker)! - Update README with MockPlugin + +- [`b03fa99`](https://github.com/reactive/data-client/commit/b03fa99f1327e91ffad840b90d4ac5ef05a358d3) Thanks [@ntucker](https://github.com/ntucker)! - Improve dependency injection console message + +## 0.3.2-beta-20251116224907-3174fe59b114d2037762a6458f5576d23e483ba4 + +### Patch Changes + +- [#3622](https://github.com/reactive/data-client/pull/3622) [`ad3964d`](https://github.com/reactive/data-client/commit/ad3964d65d245c459809f64afe17ebdf5fda5042) Thanks [@ntucker](https://github.com/ntucker)! - Add MockPlugin + + Example usage: + + ```ts + import { createApp } from 'vue'; + import { DataClientPlugin } from '@data-client/vue'; + import { MockPlugin } from '@data-client/vue/test'; + + const app = createApp(App); + app.use(DataClientPlugin); + app.use(MockPlugin, { + fixtures: [ + { + endpoint: MyResource.get, + args: [{ id: 1 }], + response: { id: 1, name: 'Test' }, + }, + ], + }); + app.mount('#app'); + ``` + + Interceptors allow dynamic responses based on request arguments: + + ```ts + app.use(MockPlugin, { + fixtures: [ + { + endpoint: MyResource.get, + response: (...args) => { + const [{ id }] = args; + return { + id, + name: `Dynamic ${id}`, + }; + }, + }, + ], + }); + ``` + + Interceptors can also maintain state across calls: + + ```ts + const interceptorData = { count: 0 }; + + app.use(MockPlugin, { + fixtures: [ + { + endpoint: MyResource.get, + response: function (this: { count: number }, ...args) { + this.count++; + const [{ id }] = args; + return { + id, + name: `Call ${this.count}`, + }; + }, + }, + ], + getInitialInterceptorData: () => interceptorData, + }); + ``` + +- Updated dependencies [[`ad3964d`](https://github.com/reactive/data-client/commit/ad3964d65d245c459809f64afe17ebdf5fda5042)]: + - @data-client/core@0.15.1-beta-20251116224907-3174fe59b114d2037762a6458f5576d23e483ba4 + +## 0.2.0-beta-20251026233651-4c1d5c9084df801287cc120cd7a9c77b9bbe96e0 + +### Minor Changes + +- [`733091f`](https://github.com/reactive/data-client/commit/733091f09b503ef7bb7d435a1d86dd7cbcfd96bb) Thanks [@ntucker](https://github.com/ntucker)! - Never wrap renderDataCompose().result in ref. Just passthrough the return value directly. Always. + + ### Before + + ```ts + const { result, cleanup } = await renderDataCompose(() => + useSuspense(CoolerArticleResource.get, { id: payload.id }), + ); + + const articleRef = await result.value; + expect(articleRef.value.title).toBe(payload.title); + expect(articleRef.value.content).toBe(payload.content); + ``` + + ### After + + ```ts + const { result, cleanup } = await renderDataCompose(() => + useSuspense(CoolerArticleResource.get, { id: payload.id }), + ); + + const articleRef = await result; + expect(articleRef.value.title).toBe(payload.title); + expect(articleRef.value.content).toBe(payload.content); + ``` + +- [#3591](https://github.com/reactive/data-client/pull/3591) [`aecd59b`](https://github.com/reactive/data-client/commit/aecd59becae7fb722eee4bd5035f2a654e75d5d8) Thanks [@ntucker](https://github.com/ntucker)! - `renderDataCompose()` awaits until the composable runs + + ### Before + + ```ts + const { result, cleanup } = renderDataCompose(() => + useCache(CoolerArticleResource.get, { id: payload.id }), + ); + + // Wait for initial render + await waitForNextUpdate(); + + expect(result.current).toBeDefined(); + ``` + + ### After + + ```ts + const { result, cleanup } = await renderDataCompose(() => + useCache(CoolerArticleResource.get, { id: payload.id }), + ); + + expect(result.value).toBeDefined(); + ``` + +- [#3591](https://github.com/reactive/data-client/pull/3591) [`aecd59b`](https://github.com/reactive/data-client/commit/aecd59becae7fb722eee4bd5035f2a654e75d5d8) Thanks [@ntucker](https://github.com/ntucker)! - `renderDataCompose().result` is now simply passes the composable result if it's a ref, or wraps it as computable ref + +- [#3592](https://github.com/reactive/data-client/pull/3592) [`4c9465b`](https://github.com/reactive/data-client/commit/4c9465bdcb139d79ca7205925e93fc45d37f3281) Thanks [@ntucker](https://github.com/ntucker)! - Add useDLE() + + ```ts + const { date, loading, error } = useDLE( + CoolerArticleResource.get, + computed(() => (props.id !== null ? { id: props.id } : null)), + ); + ``` + +### Patch Changes + +- [`d52fa38`](https://github.com/reactive/data-client/commit/d52fa38115950db8d3f3fde2d364c9f0ad8aaf65) Thanks [@ntucker](https://github.com/ntucker)! - Fixed race condition in useSuspense() where args change while initial suspense is not complete + +- [`eae4fe4`](https://github.com/reactive/data-client/commit/eae4fe4004ff506a020fac0ca7b322d7eda0aac2) Thanks [@ntucker](https://github.com/ntucker)! - renderDataClient -> renderDataCompose + + This keeps naming conventions closer to the React version + +## 0.2.0-beta-20251026024409-a1c466cfd7aac770879b584acaac40fa61d01b61 + +### Patch Changes + +- [#3584](https://github.com/reactive/data-client/pull/3584) [`6809480`](https://github.com/reactive/data-client/commit/68094805498056ff3353507478908b87bb03209a) Thanks [@ntucker](https://github.com/ntucker)! - Only run manager start/stop for app lifecycle - not every component mount + +- [#3585](https://github.com/reactive/data-client/pull/3585) [`7408964`](https://github.com/reactive/data-client/commit/7408964419152da48cfb4ac13221aa1009796bea) Thanks [@ntucker](https://github.com/ntucker)! - renderDataClient -> mountDataClient + renderDataComposable -> renderDataClient + +- [#3585](https://github.com/reactive/data-client/pull/3585) [`7408964`](https://github.com/reactive/data-client/commit/7408964419152da48cfb4ac13221aa1009796bea) Thanks [@ntucker](https://github.com/ntucker)! - Make composables reactive to computed props + +- [#3585](https://github.com/reactive/data-client/pull/3585) [`7408964`](https://github.com/reactive/data-client/commit/7408964419152da48cfb4ac13221aa1009796bea) Thanks [@ntucker](https://github.com/ntucker)! - Add useCache() + +## 0.2.0-beta-20251022142546-a457d1596871fb28f1a91f2531cc259db4d55a9c + +### Patch Changes + +- [`a457d15`](https://github.com/reactive/data-client/commit/a457d1596871fb28f1a91f2531cc259db4d55a9c) Thanks [@ntucker](https://github.com/ntucker)! - Republish to fix dependency refernces + +- Updated dependencies [[`a457d15`](https://github.com/reactive/data-client/commit/a457d1596871fb28f1a91f2531cc259db4d55a9c)]: + - @data-client/core@0.15.0-beta-20251022142546-a457d1596871fb28f1a91f2531cc259db4d55a9c + +## 0.2.0-beta-20251022010821-0e5f6bd2963b6deecb68b5febe71cdd3b10c801a + +### Minor Changes + +- [`354b44c`](https://github.com/reactive/data-client/commit/354b44ca60a95cca64619d19c3314090d8edb29e) Thanks [@ntucker](https://github.com/ntucker)! - @data-client/vue first release + +### Patch Changes + +- Updated dependencies []: + - @data-client/core@0.15.0-beta-20251006024044-92bd01c4976f2921993b8c9f1e4dbb87af87ba7b diff --git a/packages/vue/package.json b/packages/vue/package.json index d72ff600c106..7ecf1864713a 100644 --- a/packages/vue/package.json +++ b/packages/vue/package.json @@ -1,6 +1,6 @@ { "name": "@data-client/vue", - "version": "0.3.1", + "version": "0.3.2-beta-20251201012906-ff2853c5a0da93a503b2b606c8fc724625b79308", "description": "Async State Management without the Management. REST, GraphQL, SSE, Websockets, Fetch", "homepage": "https://dataclient.io", "repository": { diff --git a/yarn.lock b/yarn.lock index 3b9071d8addf..5ccedaa46392 100644 --- a/yarn.lock +++ b/yarn.lock @@ -993,7 +993,7 @@ __metadata: languageName: node linkType: hard -"@babel/parser@npm:^7.1.0, @babel/parser@npm:^7.14.7, @babel/parser@npm:^7.20.7, @babel/parser@npm:^7.23.9, @babel/parser@npm:^7.25.3, @babel/parser@npm:^7.25.9, @babel/parser@npm:^7.27.2, @babel/parser@npm:^7.28.5": +"@babel/parser@npm:^7.1.0, @babel/parser@npm:^7.14.7, @babel/parser@npm:^7.20.7, @babel/parser@npm:^7.23.9, @babel/parser@npm:^7.25.3, @babel/parser@npm:^7.25.9, @babel/parser@npm:^7.27.2, @babel/parser@npm:^7.28.3, @babel/parser@npm:^7.28.5": version: 7.28.5 resolution: "@babel/parser@npm:7.28.5" dependencies: @@ -2254,7 +2254,7 @@ __metadata: languageName: node linkType: hard -"@babel/runtime-corejs3@npm:7.28.4, @babel/runtime-corejs3@npm:^7.25.9, @babel/runtime-corejs3@npm:^7.26.0, @babel/runtime-corejs3@npm:^7.26.7": +"@babel/runtime-corejs3@npm:7.28.4": version: 7.28.4 resolution: "@babel/runtime-corejs3@npm:7.28.4" dependencies: @@ -2263,10 +2263,22 @@ __metadata: languageName: node linkType: hard +"@babel/runtime-corejs3@npm:^7.25.9, @babel/runtime-corejs3@npm:^7.26.0, @babel/runtime-corejs3@npm:^7.26.7": + version: 7.26.7 + resolution: "@babel/runtime-corejs3@npm:7.26.7" + dependencies: + core-js-pure: "npm:^3.30.2" + regenerator-runtime: "npm:^0.14.0" + checksum: 10c0/399855ab2a1ef21364683a1a40a3280be71dbfee587c90fb57fce4508a783a846f925b7d5509bba3521674f44f76b4f8d31eb8a32e13dc333cdacd34c31f5119 + languageName: node + linkType: hard + "@babel/runtime@npm:^7.1.2, @babel/runtime@npm:^7.10.3, @babel/runtime@npm:^7.12.13, @babel/runtime@npm:^7.12.5, @babel/runtime@npm:^7.13.8, @babel/runtime@npm:^7.20.0, @babel/runtime@npm:^7.25.0, @babel/runtime@npm:^7.25.9, @babel/runtime@npm:^7.5.5, @babel/runtime@npm:^7.7.6, @babel/runtime@npm:^7.8.4": - version: 7.28.4 - resolution: "@babel/runtime@npm:7.28.4" - checksum: 10c0/792ce7af9750fb9b93879cc9d1db175701c4689da890e6ced242ea0207c9da411ccf16dc04e689cc01158b28d7898c40d75598f4559109f761c12ce01e959bf7 + version: 7.26.9 + resolution: "@babel/runtime@npm:7.26.9" + dependencies: + regenerator-runtime: "npm:^0.14.0" + checksum: 10c0/e8517131110a6ec3a7360881438b85060e49824e007f4a64b5dfa9192cf2bb5c01e84bfc109f02d822c7edb0db926928dd6b991e3ee460b483fb0fac43152d9b languageName: node linkType: hard @@ -2335,11 +2347,11 @@ __metadata: languageName: node linkType: hard -"@changesets/apply-release-plan@npm:^7.0.14": - version: 7.0.14 - resolution: "@changesets/apply-release-plan@npm:7.0.14" +"@changesets/apply-release-plan@npm:^7.0.13": + version: 7.0.13 + resolution: "@changesets/apply-release-plan@npm:7.0.13" dependencies: - "@changesets/config": "npm:^3.1.2" + "@changesets/config": "npm:^3.1.1" "@changesets/get-version-range-type": "npm:^0.4.0" "@changesets/git": "npm:^3.0.4" "@changesets/should-skip-package": "npm:^0.1.2" @@ -2352,7 +2364,7 @@ __metadata: prettier: "npm:^2.7.1" resolve-from: "npm:^5.0.0" semver: "npm:^7.5.3" - checksum: 10c0/097c7ebcec758966b6728696498d59cfac23271aba2a56824ee307be1eefb2d0c6974aef1be4841e20b3458546ffacfd108c1afbf3acc512d6c3a4e30fa28622 + checksum: 10c0/940f13bc09816f534f912559471af77c29eb31fcfa10a255bdc772573def9fb3ee24e3db710ac1ebbd70a90b03b667d63e535a13c580a150f3730c3798827a01 languageName: node linkType: hard @@ -2380,35 +2392,35 @@ __metadata: linkType: hard "@changesets/changelog-github@npm:^0.5.0": - version: 0.5.2 - resolution: "@changesets/changelog-github@npm:0.5.2" + version: 0.5.1 + resolution: "@changesets/changelog-github@npm:0.5.1" dependencies: - "@changesets/get-github-info": "npm:^0.7.0" + "@changesets/get-github-info": "npm:^0.6.0" "@changesets/types": "npm:^6.1.0" dotenv: "npm:^8.1.0" - checksum: 10c0/c2dbf767f7f18f44539d92f7fd0f42ef6fc33d8f3583a0cd2a558fe8242a4f2db178bf77497c73780652afbae55704b14c32dd33f4d61ebdf28113a0af08f19b + checksum: 10c0/0ce02d3d7d6bedf86ca2a2bf88ab304ee0f4d5e491edd912769d9420386702876c17850f739f59fe6f90da690e11803cb2047eeef3a6abf411604c7ccab375fb languageName: node linkType: hard "@changesets/cli@npm:^2.26.1": - version: 2.29.8 - resolution: "@changesets/cli@npm:2.29.8" + version: 2.29.7 + resolution: "@changesets/cli@npm:2.29.7" dependencies: - "@changesets/apply-release-plan": "npm:^7.0.14" + "@changesets/apply-release-plan": "npm:^7.0.13" "@changesets/assemble-release-plan": "npm:^6.0.9" "@changesets/changelog-git": "npm:^0.2.1" - "@changesets/config": "npm:^3.1.2" + "@changesets/config": "npm:^3.1.1" "@changesets/errors": "npm:^0.2.0" "@changesets/get-dependents-graph": "npm:^2.1.3" - "@changesets/get-release-plan": "npm:^4.0.14" + "@changesets/get-release-plan": "npm:^4.0.13" "@changesets/git": "npm:^3.0.4" "@changesets/logger": "npm:^0.1.1" "@changesets/pre": "npm:^2.0.2" - "@changesets/read": "npm:^0.6.6" + "@changesets/read": "npm:^0.6.5" "@changesets/should-skip-package": "npm:^0.1.2" "@changesets/types": "npm:^6.1.0" "@changesets/write": "npm:^0.4.0" - "@inquirer/external-editor": "npm:^1.0.2" + "@inquirer/external-editor": "npm:^1.0.0" "@manypkg/get-packages": "npm:^1.1.3" ansi-colors: "npm:^4.1.3" ci-info: "npm:^3.7.0" @@ -2424,13 +2436,13 @@ __metadata: term-size: "npm:^2.1.0" bin: changeset: bin.js - checksum: 10c0/85c32814698403f1634b649d96b8b32f04fa7f2065e455df672c0b39e9a2dc3a05538b82496536ac00aabf7810dfa68ff8049fa4f618e50ed00a29ceb302a7b5 + checksum: 10c0/a868fd39ace25993714f8b80ebb08529e0aba5446266e18edee9e5fd34d529ef6f8fcb7f53fc5831ab99c5721762fe06198aade304799792f1f79b9d37600d04 languageName: node linkType: hard -"@changesets/config@npm:^3.1.2": - version: 3.1.2 - resolution: "@changesets/config@npm:3.1.2" +"@changesets/config@npm:^3.1.1": + version: 3.1.1 + resolution: "@changesets/config@npm:3.1.1" dependencies: "@changesets/errors": "npm:^0.2.0" "@changesets/get-dependents-graph": "npm:^2.1.3" @@ -2439,7 +2451,7 @@ __metadata: "@manypkg/get-packages": "npm:^1.1.3" fs-extra: "npm:^7.0.1" micromatch: "npm:^4.0.8" - checksum: 10c0/76065383cd5b7595f95ad7dc4aacfa74dd4ebb2ef956c30ea97e6f09b87b2e73b870676e7b294290b6cf9b1777983526bc8d3bb58dedd37dfa8a5ddbb02ebe1a + checksum: 10c0/e6e529ca9525d1550cc2155a01a477c5b923e084985cb5cb15b6efc06da543c2faf623dd67d305688ffa8a8fc9d48f1ba74ad6653ce230183e40f10ffaa0c2dc languageName: node linkType: hard @@ -2464,27 +2476,27 @@ __metadata: languageName: node linkType: hard -"@changesets/get-github-info@npm:^0.7.0": - version: 0.7.0 - resolution: "@changesets/get-github-info@npm:0.7.0" +"@changesets/get-github-info@npm:^0.6.0": + version: 0.6.0 + resolution: "@changesets/get-github-info@npm:0.6.0" dependencies: dataloader: "npm:^1.4.0" node-fetch: "npm:^2.5.0" - checksum: 10c0/3a4e497a0d05ea9cb1a17d2193f13d865d2dab8dc6e9162c63c2ffa2719338c27bfa897481feed9abf484075a27284e8c050210cff7b7dedde6a18303440e4d8 + checksum: 10c0/21fde8a8cb48091a8ea8be37defbc0dca5defe10a097025968b273076657f354032803a5db31ffe0fa86ab089383faa981ab674489d31e38bf7bc4dcf981ad79 languageName: node linkType: hard -"@changesets/get-release-plan@npm:^4.0.14": - version: 4.0.14 - resolution: "@changesets/get-release-plan@npm:4.0.14" +"@changesets/get-release-plan@npm:^4.0.13": + version: 4.0.13 + resolution: "@changesets/get-release-plan@npm:4.0.13" dependencies: "@changesets/assemble-release-plan": "npm:^6.0.9" - "@changesets/config": "npm:^3.1.2" + "@changesets/config": "npm:^3.1.1" "@changesets/pre": "npm:^2.0.2" - "@changesets/read": "npm:^0.6.6" + "@changesets/read": "npm:^0.6.5" "@changesets/types": "npm:^6.1.0" "@manypkg/get-packages": "npm:^1.1.3" - checksum: 10c0/24a15056955fc3967e023f058fa6c1e7550f3aad5c299264307a09b6d312868715684595bdb45a79c3f25fc809a70582be39861f3ae958d392b89a234f65b670 + checksum: 10c0/908fea784ced29764e02065da6d3d0f1e6590d1c8ac77504efe5879ef183de7a01b2da0be210caa28fc10159125da10540f4bcb6917d371988e50c5b984edd07 languageName: node linkType: hard @@ -2517,13 +2529,13 @@ __metadata: languageName: node linkType: hard -"@changesets/parse@npm:^0.4.2": - version: 0.4.2 - resolution: "@changesets/parse@npm:0.4.2" +"@changesets/parse@npm:^0.4.1": + version: 0.4.1 + resolution: "@changesets/parse@npm:0.4.1" dependencies: "@changesets/types": "npm:^6.1.0" - js-yaml: "npm:^4.1.1" - checksum: 10c0/fdc1c99e01257e194a5ff59213993158deae9f84a66f5444a636645ff2655f67b6031589bab796a8c3ed653220d3c55fd62a6af2504a7c54bb541ac573119c5d + js-yaml: "npm:^3.13.1" + checksum: 10c0/8caf73b48addb1add246f0287f0dcbd47ca0444b33f251b6208dad36de9c21d2654f0ae0527e5bf14b075be23144b59f48a36e2d87850fb7c004050f07461fdc languageName: node linkType: hard @@ -2539,18 +2551,18 @@ __metadata: languageName: node linkType: hard -"@changesets/read@npm:^0.6.6": - version: 0.6.6 - resolution: "@changesets/read@npm:0.6.6" +"@changesets/read@npm:^0.6.5": + version: 0.6.5 + resolution: "@changesets/read@npm:0.6.5" dependencies: "@changesets/git": "npm:^3.0.4" "@changesets/logger": "npm:^0.1.1" - "@changesets/parse": "npm:^0.4.2" + "@changesets/parse": "npm:^0.4.1" "@changesets/types": "npm:^6.1.0" fs-extra: "npm:^7.0.1" p-filter: "npm:^2.1.0" picocolors: "npm:^1.1.0" - checksum: 10c0/a0a503061764bb391e00a37df1251c90356cf46519663dd517e58bc170c290f591abc1cff44569c88c87083360a36e2d756afcf7537b8725f4decfd915f838d3 + checksum: 10c0/0f32c7eb8fd58db09f02236f3f45290d995f93ea73fbbe889d4c0407975bf6b9f43389def0af93c86f18adc202f91bc2a79d05da2d7dde7c6f9fe916afc692af languageName: node linkType: hard @@ -3287,7 +3299,7 @@ __metadata: react: "npm:^19.0.0" rollup-plugins: "workspace:*" peerDependencies: - "@data-client/react": ^0.1.0 || ^0.2.0 || ^0.3.0 || ^0.4.0 || ^0.5.0 || ^0.7.0 || ^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^0.14.0 || ^0.15.0 + "@data-client/react": 0.15.0-beta-20251022142546-a457d1596871fb28f1a91f2531cc259db4d55a9c "@types/react": ^16.14.0 || ^17.0.0 || ^18.0.0-0 || ^19.0.0 react: ^16.14.0 || ^17.0.0 || ^18.0.0-0 || ^19.0.0 peerDependenciesMeta: @@ -3384,18 +3396,7 @@ __metadata: languageName: unknown linkType: soft -"@data-client/rest@npm:0.15.1-beta-20251110013913-ef632c49a03da67187b6097fe8154893cd930d30": - version: 0.15.1-beta-20251110013913-ef632c49a03da67187b6097fe8154893cd930d30 - resolution: "@data-client/rest@npm:0.15.1-beta-20251110013913-ef632c49a03da67187b6097fe8154893cd930d30" - dependencies: - "@babel/runtime": "npm:^7.20.0" - "@data-client/endpoint": "npm:^0.15.1-beta-20251110013913-ef632c49a03da67187b6097fe8154893cd930d30" - path-to-regexp: "npm:^6.3.0" - checksum: 10c0/bfd4933d07435db6904e2d6f106889783fa03f01ef57d2383c681ee682077b760bc5b5b12b7629962732a18013f98b44ac1316c8928fc6a3e9ef54fd47ba14fa - languageName: node - linkType: hard - -"@data-client/rest@workspace:*, @data-client/rest@workspace:packages/rest": +"@data-client/rest@npm:0.15.1-beta-20251201012906-ff2853c5a0da93a503b2b606c8fc724625b79308, @data-client/rest@workspace:*, @data-client/rest@workspace:packages/rest": version: 0.0.0-use.local resolution: "@data-client/rest@workspace:packages/rest" dependencies: @@ -3434,7 +3435,7 @@ __metadata: react-test-renderer: "npm:*" rollup-plugins: "workspace:*" peerDependencies: - "@data-client/react": ^0.12.15 || ^0.13.0 || ^0.14.0 || ^0.15.0 + "@data-client/react": 0.15.0-beta-20251022142546-a457d1596871fb28f1a91f2531cc259db4d55a9c "@testing-library/react-hooks": ^8.0.0 "@types/react": ^16.14.0 || ^17.0.0 || ^18.0.0 || ^19.0.0-0 || ^19.0.0 "@types/react-dom": "*" @@ -3562,6 +3563,29 @@ __metadata: languageName: node linkType: hard +"@docusaurus/babel@npm:3.9.1": + version: 3.9.1 + resolution: "@docusaurus/babel@npm:3.9.1" + dependencies: + "@babel/core": "npm:^7.25.9" + "@babel/generator": "npm:^7.25.9" + "@babel/plugin-syntax-dynamic-import": "npm:^7.8.3" + "@babel/plugin-transform-runtime": "npm:^7.25.9" + "@babel/preset-env": "npm:^7.25.9" + "@babel/preset-react": "npm:^7.25.9" + "@babel/preset-typescript": "npm:^7.25.9" + "@babel/runtime": "npm:^7.25.9" + "@babel/runtime-corejs3": "npm:^7.25.9" + "@babel/traverse": "npm:^7.25.9" + "@docusaurus/logger": "npm:3.9.1" + "@docusaurus/utils": "npm:3.9.1" + babel-plugin-dynamic-import-node: "npm:^2.3.3" + fs-extra: "npm:^11.1.1" + tslib: "npm:^2.6.0" + checksum: 10c0/ded99bd9e1c20cd354ba90d20e793fc49ec01aea98fe323e30a88487df3abe49ee2542463de772b5dc8c6ca9893da14e7f69a4ed1240eb248dbe505c67416650 + languageName: node + linkType: hard + "@docusaurus/babel@npm:3.9.2": version: 3.9.2 resolution: "@docusaurus/babel@npm:3.9.2" @@ -3585,6 +3609,43 @@ __metadata: languageName: node linkType: hard +"@docusaurus/bundler@npm:3.9.1": + version: 3.9.1 + resolution: "@docusaurus/bundler@npm:3.9.1" + dependencies: + "@babel/core": "npm:^7.25.9" + "@docusaurus/babel": "npm:3.9.1" + "@docusaurus/cssnano-preset": "npm:3.9.1" + "@docusaurus/logger": "npm:3.9.1" + "@docusaurus/types": "npm:3.9.1" + "@docusaurus/utils": "npm:3.9.1" + babel-loader: "npm:^9.2.1" + clean-css: "npm:^5.3.3" + copy-webpack-plugin: "npm:^11.0.0" + css-loader: "npm:^6.11.0" + css-minimizer-webpack-plugin: "npm:^5.0.1" + cssnano: "npm:^6.1.2" + file-loader: "npm:^6.2.0" + html-minifier-terser: "npm:^7.2.0" + mini-css-extract-plugin: "npm:^2.9.2" + null-loader: "npm:^4.0.1" + postcss: "npm:^8.5.4" + postcss-loader: "npm:^7.3.4" + postcss-preset-env: "npm:^10.2.1" + terser-webpack-plugin: "npm:^5.3.9" + tslib: "npm:^2.6.0" + url-loader: "npm:^4.1.1" + webpack: "npm:^5.95.0" + webpackbar: "npm:^6.0.1" + peerDependencies: + "@docusaurus/faster": "*" + peerDependenciesMeta: + "@docusaurus/faster": + optional: true + checksum: 10c0/57214dd3103eb1a9d70a98acee216af5c0cce2ac5709d75d4eebc890d90b521bc6bddbf499499258a4cdb5b09bc6fb445859be4fc97e2abfc82bfd7f1ab696de + languageName: node + linkType: hard + "@docusaurus/bundler@npm:3.9.2": version: 3.9.2 resolution: "@docusaurus/bundler@npm:3.9.2" @@ -3622,6 +3683,62 @@ __metadata: languageName: node linkType: hard +"@docusaurus/core@npm:3.9.1": + version: 3.9.1 + resolution: "@docusaurus/core@npm:3.9.1" + dependencies: + "@docusaurus/babel": "npm:3.9.1" + "@docusaurus/bundler": "npm:3.9.1" + "@docusaurus/logger": "npm:3.9.1" + "@docusaurus/mdx-loader": "npm:3.9.1" + "@docusaurus/utils": "npm:3.9.1" + "@docusaurus/utils-common": "npm:3.9.1" + "@docusaurus/utils-validation": "npm:3.9.1" + boxen: "npm:^6.2.1" + chalk: "npm:^4.1.2" + chokidar: "npm:^3.5.3" + cli-table3: "npm:^0.6.3" + combine-promises: "npm:^1.1.0" + commander: "npm:^5.1.0" + core-js: "npm:^3.31.1" + detect-port: "npm:^1.5.1" + escape-html: "npm:^1.0.3" + eta: "npm:^2.2.0" + eval: "npm:^0.1.8" + execa: "npm:5.1.1" + fs-extra: "npm:^11.1.1" + html-tags: "npm:^3.3.1" + html-webpack-plugin: "npm:^5.6.0" + leven: "npm:^3.1.0" + lodash: "npm:^4.17.21" + open: "npm:^8.4.0" + p-map: "npm:^4.0.0" + prompts: "npm:^2.4.2" + react-helmet-async: "npm:@slorber/react-helmet-async@1.3.0" + react-loadable: "npm:@docusaurus/react-loadable@6.0.0" + react-loadable-ssr-addon-v5-slorber: "npm:^1.0.1" + react-router: "npm:^5.3.4" + react-router-config: "npm:^5.1.1" + react-router-dom: "npm:^5.3.4" + semver: "npm:^7.5.4" + serve-handler: "npm:^6.1.6" + tinypool: "npm:^1.0.2" + tslib: "npm:^2.6.0" + update-notifier: "npm:^6.0.2" + webpack: "npm:^5.95.0" + webpack-bundle-analyzer: "npm:^4.10.2" + webpack-dev-server: "npm:^5.2.2" + webpack-merge: "npm:^6.0.1" + peerDependencies: + "@mdx-js/react": ^3.0.0 + react: ^18.0.0 || ^19.0.0 + react-dom: ^18.0.0 || ^19.0.0 + bin: + docusaurus: bin/docusaurus.mjs + checksum: 10c0/b72b1323eaddd9e2d2deea5618cb43cd62699c8a44496bcda6661f6a8a7608f9068477f4555db72dffee7de5f017a92ce0583efc6209b376fde84fd0f7508354 + languageName: node + linkType: hard + "@docusaurus/core@npm:3.9.2, @docusaurus/core@npm:^3.0.1": version: 3.9.2 resolution: "@docusaurus/core@npm:3.9.2" @@ -3678,6 +3795,18 @@ __metadata: languageName: node linkType: hard +"@docusaurus/cssnano-preset@npm:3.9.1": + version: 3.9.1 + resolution: "@docusaurus/cssnano-preset@npm:3.9.1" + dependencies: + cssnano-preset-advanced: "npm:^6.1.2" + postcss: "npm:^8.5.4" + postcss-sort-media-queries: "npm:^5.2.0" + tslib: "npm:^2.6.0" + checksum: 10c0/152f35e8e982457089c25d8b4acfcce371b159093ee4d37a659def874a07b81d1d6de1ff320c4a2b6eba105eeda3c98da0639a5d4a6c0d460a4064d4fb19b3ee + languageName: node + linkType: hard + "@docusaurus/cssnano-preset@npm:3.9.2": version: 3.9.2 resolution: "@docusaurus/cssnano-preset@npm:3.9.2" @@ -3690,6 +3819,16 @@ __metadata: languageName: node linkType: hard +"@docusaurus/logger@npm:3.9.1": + version: 3.9.1 + resolution: "@docusaurus/logger@npm:3.9.1" + dependencies: + chalk: "npm:^4.1.2" + tslib: "npm:^2.6.0" + checksum: 10c0/ad5d9bd2c3daacea6cc3a8124468f8396224973ee4c96205317274629a2753982679ee7cddf93fe01dea5690591d41f5bc7dd8dd07d0118c4391cdd8bb68f784 + languageName: node + linkType: hard + "@docusaurus/logger@npm:3.9.2": version: 3.9.2 resolution: "@docusaurus/logger@npm:3.9.2" @@ -3700,6 +3839,41 @@ __metadata: languageName: node linkType: hard +"@docusaurus/mdx-loader@npm:3.9.1": + version: 3.9.1 + resolution: "@docusaurus/mdx-loader@npm:3.9.1" + dependencies: + "@docusaurus/logger": "npm:3.9.1" + "@docusaurus/utils": "npm:3.9.1" + "@docusaurus/utils-validation": "npm:3.9.1" + "@mdx-js/mdx": "npm:^3.0.0" + "@slorber/remark-comment": "npm:^1.0.0" + escape-html: "npm:^1.0.3" + estree-util-value-to-estree: "npm:^3.0.1" + file-loader: "npm:^6.2.0" + fs-extra: "npm:^11.1.1" + image-size: "npm:^2.0.2" + mdast-util-mdx: "npm:^3.0.0" + mdast-util-to-string: "npm:^4.0.0" + rehype-raw: "npm:^7.0.0" + remark-directive: "npm:^3.0.0" + remark-emoji: "npm:^4.0.0" + remark-frontmatter: "npm:^5.0.0" + remark-gfm: "npm:^4.0.0" + stringify-object: "npm:^3.3.0" + tslib: "npm:^2.6.0" + unified: "npm:^11.0.3" + unist-util-visit: "npm:^5.0.0" + url-loader: "npm:^4.1.1" + vfile: "npm:^6.0.1" + webpack: "npm:^5.88.1" + peerDependencies: + react: ^18.0.0 || ^19.0.0 + react-dom: ^18.0.0 || ^19.0.0 + checksum: 10c0/760f22792e737d3bbdfb1590a39f9e8ba6915d2f254cdb88764215fafe708e0ede3fd94ce2fd3ffdb8e245c3b74be5f857f07f4f5621c598e5248e1b66806066 + languageName: node + linkType: hard + "@docusaurus/mdx-loader@npm:3.9.2": version: 3.9.2 resolution: "@docusaurus/mdx-loader@npm:3.9.2" @@ -3735,6 +3909,24 @@ __metadata: languageName: node linkType: hard +"@docusaurus/module-type-aliases@npm:3.9.1": + version: 3.9.1 + resolution: "@docusaurus/module-type-aliases@npm:3.9.1" + dependencies: + "@docusaurus/types": "npm:3.9.1" + "@types/history": "npm:^4.7.11" + "@types/react": "npm:*" + "@types/react-router-config": "npm:*" + "@types/react-router-dom": "npm:*" + react-helmet-async: "npm:@slorber/react-helmet-async@1.3.0" + react-loadable: "npm:@docusaurus/react-loadable@6.0.0" + peerDependencies: + react: "*" + react-dom: "*" + checksum: 10c0/42669ec2ae4e96bee6a3eb2d7514c6108ed596a923b3d0298ca89e434f3b25f910dcff1717506f17873b6dc5a051dbd514cf9d0393bfbb7a99bfc23076712774 + languageName: node + linkType: hard + "@docusaurus/module-type-aliases@npm:3.9.2, @docusaurus/module-type-aliases@npm:^3.0.1": version: 3.9.2 resolution: "@docusaurus/module-type-aliases@npm:3.9.2" @@ -3754,14 +3946,14 @@ __metadata: linkType: hard "@docusaurus/plugin-client-redirects@npm:^3.0.1": - version: 3.9.2 - resolution: "@docusaurus/plugin-client-redirects@npm:3.9.2" - dependencies: - "@docusaurus/core": "npm:3.9.2" - "@docusaurus/logger": "npm:3.9.2" - "@docusaurus/utils": "npm:3.9.2" - "@docusaurus/utils-common": "npm:3.9.2" - "@docusaurus/utils-validation": "npm:3.9.2" + version: 3.9.1 + resolution: "@docusaurus/plugin-client-redirects@npm:3.9.1" + dependencies: + "@docusaurus/core": "npm:3.9.1" + "@docusaurus/logger": "npm:3.9.1" + "@docusaurus/utils": "npm:3.9.1" + "@docusaurus/utils-common": "npm:3.9.1" + "@docusaurus/utils-validation": "npm:3.9.1" eta: "npm:^2.2.0" fs-extra: "npm:^11.1.1" lodash: "npm:^4.17.21" @@ -3769,22 +3961,22 @@ __metadata: peerDependencies: react: ^18.0.0 || ^19.0.0 react-dom: ^18.0.0 || ^19.0.0 - checksum: 10c0/5fe827fa5f3b3e4634034eb63ff73d8bd2e83852ada6ae989ad5b566aaef4937476c20403e1ef05f2090dad92c2e6b384e0981d393a783b49e8b45fa464d282b + checksum: 10c0/856012c260828debfc76235932a255f57a328b7a2468f2269073000b5b0505dd281777b0ef1fc1b5bb968a22b2cf0ee4f4783f6faa588a659c561cd6111389cd languageName: node linkType: hard -"@docusaurus/plugin-content-blog@npm:3.9.2": - version: 3.9.2 - resolution: "@docusaurus/plugin-content-blog@npm:3.9.2" +"@docusaurus/plugin-content-blog@npm:3.9.1": + version: 3.9.1 + resolution: "@docusaurus/plugin-content-blog@npm:3.9.1" dependencies: - "@docusaurus/core": "npm:3.9.2" - "@docusaurus/logger": "npm:3.9.2" - "@docusaurus/mdx-loader": "npm:3.9.2" - "@docusaurus/theme-common": "npm:3.9.2" - "@docusaurus/types": "npm:3.9.2" - "@docusaurus/utils": "npm:3.9.2" - "@docusaurus/utils-common": "npm:3.9.2" - "@docusaurus/utils-validation": "npm:3.9.2" + "@docusaurus/core": "npm:3.9.1" + "@docusaurus/logger": "npm:3.9.1" + "@docusaurus/mdx-loader": "npm:3.9.1" + "@docusaurus/theme-common": "npm:3.9.1" + "@docusaurus/types": "npm:3.9.1" + "@docusaurus/utils": "npm:3.9.1" + "@docusaurus/utils-common": "npm:3.9.1" + "@docusaurus/utils-validation": "npm:3.9.1" cheerio: "npm:1.0.0-rc.12" feed: "npm:^4.2.2" fs-extra: "npm:^11.1.1" @@ -3799,11 +3991,40 @@ __metadata: "@docusaurus/plugin-content-docs": "*" react: ^18.0.0 || ^19.0.0 react-dom: ^18.0.0 || ^19.0.0 - checksum: 10c0/98f82d76d248407a4c53f922f8953a7519a57d18c45f71e41bfb6380d7f801ba063068c9dec2a48b79f10fd4d4f4a909af4c70e4874223db19d9654d651982dd + checksum: 10c0/ef16c17467e549e9ce0f6bc09c75832db859e9930b59a2f008740f769238b5b4137b13437e8c46eca65f77af9b33c899d0fc083ac137b08611087c41e88211af languageName: node linkType: hard -"@docusaurus/plugin-content-docs@npm:3.9.2, @docusaurus/plugin-content-docs@npm:^3.0.1": +"@docusaurus/plugin-content-docs@npm:3.9.1": + version: 3.9.1 + resolution: "@docusaurus/plugin-content-docs@npm:3.9.1" + dependencies: + "@docusaurus/core": "npm:3.9.1" + "@docusaurus/logger": "npm:3.9.1" + "@docusaurus/mdx-loader": "npm:3.9.1" + "@docusaurus/module-type-aliases": "npm:3.9.1" + "@docusaurus/theme-common": "npm:3.9.1" + "@docusaurus/types": "npm:3.9.1" + "@docusaurus/utils": "npm:3.9.1" + "@docusaurus/utils-common": "npm:3.9.1" + "@docusaurus/utils-validation": "npm:3.9.1" + "@types/react-router-config": "npm:^5.0.7" + combine-promises: "npm:^1.1.0" + fs-extra: "npm:^11.1.1" + js-yaml: "npm:^4.1.0" + lodash: "npm:^4.17.21" + schema-dts: "npm:^1.1.2" + tslib: "npm:^2.6.0" + utility-types: "npm:^3.10.0" + webpack: "npm:^5.88.1" + peerDependencies: + react: ^18.0.0 || ^19.0.0 + react-dom: ^18.0.0 || ^19.0.0 + checksum: 10c0/960fa1d8dde0f83137416d79726693c9a577736dc8c055f38cc6fa849192e9335704b8e48a1974d6c316a888e7d6736de10ddcea59c31774d482bfc0841f03ca + languageName: node + linkType: hard + +"@docusaurus/plugin-content-docs@npm:^3.0.1": version: 3.9.2 resolution: "@docusaurus/plugin-content-docs@npm:3.9.2" dependencies: @@ -3832,129 +4053,129 @@ __metadata: languageName: node linkType: hard -"@docusaurus/plugin-content-pages@npm:3.9.2": - version: 3.9.2 - resolution: "@docusaurus/plugin-content-pages@npm:3.9.2" +"@docusaurus/plugin-content-pages@npm:3.9.1": + version: 3.9.1 + resolution: "@docusaurus/plugin-content-pages@npm:3.9.1" dependencies: - "@docusaurus/core": "npm:3.9.2" - "@docusaurus/mdx-loader": "npm:3.9.2" - "@docusaurus/types": "npm:3.9.2" - "@docusaurus/utils": "npm:3.9.2" - "@docusaurus/utils-validation": "npm:3.9.2" + "@docusaurus/core": "npm:3.9.1" + "@docusaurus/mdx-loader": "npm:3.9.1" + "@docusaurus/types": "npm:3.9.1" + "@docusaurus/utils": "npm:3.9.1" + "@docusaurus/utils-validation": "npm:3.9.1" fs-extra: "npm:^11.1.1" tslib: "npm:^2.6.0" webpack: "npm:^5.88.1" peerDependencies: react: ^18.0.0 || ^19.0.0 react-dom: ^18.0.0 || ^19.0.0 - checksum: 10c0/294cbd3d127b9a777ab75c13be30e2a559b544bc96798ac6b6d479130f66b95dd6beaf1ca63991f78c279add23ffe16ea14454d3547d558196e747bdb85cb753 + checksum: 10c0/31fd22f410a98ac82cc7f111c42d340d566339b25a5cab58c60908c198a46957ab1f8e6ccd4c9ffa1fc580c5e74d2b93a4659e6514fe9b73b0dbb066f56532ad languageName: node linkType: hard -"@docusaurus/plugin-css-cascade-layers@npm:3.9.2": - version: 3.9.2 - resolution: "@docusaurus/plugin-css-cascade-layers@npm:3.9.2" +"@docusaurus/plugin-css-cascade-layers@npm:3.9.1": + version: 3.9.1 + resolution: "@docusaurus/plugin-css-cascade-layers@npm:3.9.1" dependencies: - "@docusaurus/core": "npm:3.9.2" - "@docusaurus/types": "npm:3.9.2" - "@docusaurus/utils": "npm:3.9.2" - "@docusaurus/utils-validation": "npm:3.9.2" + "@docusaurus/core": "npm:3.9.1" + "@docusaurus/types": "npm:3.9.1" + "@docusaurus/utils": "npm:3.9.1" + "@docusaurus/utils-validation": "npm:3.9.1" tslib: "npm:^2.6.0" - checksum: 10c0/3a56f6f4eaa3c1ea014ba25b8d16e2a7ffb144ebf5726b5ec531b4df0a9f7bb33ced4de7ca31f9663a65358852d0635c584244c05f07e9d4c9172f80ba21a5ca + checksum: 10c0/58e5920733add12bcac51da07449aeea747f2621bf317c5ebd29432d8256c3cbe49fa127dd53bd02a1739fe15f809314d0b0ca3ca2ef46cc72b9b669d873cd9f languageName: node linkType: hard -"@docusaurus/plugin-debug@npm:3.9.2": - version: 3.9.2 - resolution: "@docusaurus/plugin-debug@npm:3.9.2" +"@docusaurus/plugin-debug@npm:3.9.1": + version: 3.9.1 + resolution: "@docusaurus/plugin-debug@npm:3.9.1" dependencies: - "@docusaurus/core": "npm:3.9.2" - "@docusaurus/types": "npm:3.9.2" - "@docusaurus/utils": "npm:3.9.2" + "@docusaurus/core": "npm:3.9.1" + "@docusaurus/types": "npm:3.9.1" + "@docusaurus/utils": "npm:3.9.1" fs-extra: "npm:^11.1.1" react-json-view-lite: "npm:^2.3.0" tslib: "npm:^2.6.0" peerDependencies: react: ^18.0.0 || ^19.0.0 react-dom: ^18.0.0 || ^19.0.0 - checksum: 10c0/46819f1c22b31b3fbf30243dc5c0439b35a35f8cbbae835becf1e6992ff490ddbd91e4a7448b367ad76aaf20064ed739be07f0e664bb582b4dab39513996d7ba + checksum: 10c0/fb41c7ffac20da423ea64cf4be00fdc80893f4a70aa64ccff0d94adb65964f74c9b7816d5fab5a2f52c079e0672087de937f3fecf96536fd9e30ec8cc921afde languageName: node linkType: hard -"@docusaurus/plugin-google-analytics@npm:3.9.2": - version: 3.9.2 - resolution: "@docusaurus/plugin-google-analytics@npm:3.9.2" +"@docusaurus/plugin-google-analytics@npm:3.9.1": + version: 3.9.1 + resolution: "@docusaurus/plugin-google-analytics@npm:3.9.1" dependencies: - "@docusaurus/core": "npm:3.9.2" - "@docusaurus/types": "npm:3.9.2" - "@docusaurus/utils-validation": "npm:3.9.2" + "@docusaurus/core": "npm:3.9.1" + "@docusaurus/types": "npm:3.9.1" + "@docusaurus/utils-validation": "npm:3.9.1" tslib: "npm:^2.6.0" peerDependencies: react: ^18.0.0 || ^19.0.0 react-dom: ^18.0.0 || ^19.0.0 - checksum: 10c0/6fb787132170f731c1ab66c854fcab6d0c4f7919d60c336185942c8f80dc93b286e64e0bfb22f5f770e7d77fd02000fb5a54b35a357258a0cc6a59468778199e + checksum: 10c0/af6f459c0e2bb7b858cea89df021afce364b71bf0aa0452487206bda14125525779ad1a3413b29d937f48a926c050a6c489a1e526e38491503b014cba9a7582f languageName: node linkType: hard -"@docusaurus/plugin-google-gtag@npm:3.9.2": - version: 3.9.2 - resolution: "@docusaurus/plugin-google-gtag@npm:3.9.2" +"@docusaurus/plugin-google-gtag@npm:3.9.1": + version: 3.9.1 + resolution: "@docusaurus/plugin-google-gtag@npm:3.9.1" dependencies: - "@docusaurus/core": "npm:3.9.2" - "@docusaurus/types": "npm:3.9.2" - "@docusaurus/utils-validation": "npm:3.9.2" + "@docusaurus/core": "npm:3.9.1" + "@docusaurus/types": "npm:3.9.1" + "@docusaurus/utils-validation": "npm:3.9.1" "@types/gtag.js": "npm:^0.0.12" tslib: "npm:^2.6.0" peerDependencies: react: ^18.0.0 || ^19.0.0 react-dom: ^18.0.0 || ^19.0.0 - checksum: 10c0/34d4b9c6787e3656dc1af42ecb31a41b766735c89f7a719db40c34a8695aa36825e070923a84639ae3dc42b64a41ee656bd4b2728621c1493952c4efa04b3927 + checksum: 10c0/bf61b02cc8e99533066dd3d0004607594864eb1ff239e2975d4e4fa1bf3d3f552c896ce9b9c6b65ddaccf49a3c9fa724099fd9ad9d2c0a398912a1de552bbb6a languageName: node linkType: hard -"@docusaurus/plugin-google-tag-manager@npm:3.9.2": - version: 3.9.2 - resolution: "@docusaurus/plugin-google-tag-manager@npm:3.9.2" +"@docusaurus/plugin-google-tag-manager@npm:3.9.1": + version: 3.9.1 + resolution: "@docusaurus/plugin-google-tag-manager@npm:3.9.1" dependencies: - "@docusaurus/core": "npm:3.9.2" - "@docusaurus/types": "npm:3.9.2" - "@docusaurus/utils-validation": "npm:3.9.2" + "@docusaurus/core": "npm:3.9.1" + "@docusaurus/types": "npm:3.9.1" + "@docusaurus/utils-validation": "npm:3.9.1" tslib: "npm:^2.6.0" peerDependencies: react: ^18.0.0 || ^19.0.0 react-dom: ^18.0.0 || ^19.0.0 - checksum: 10c0/536cb63dc4a22a456e5b7f1d8b53acf0c45b16ba8fb7474c93d5ab7afec60682feccea65c39685dcbc568fccefd6629264e9b979e0f7069fb4c9dc816048659b + checksum: 10c0/29dde4b46b9eb9443fccbe602cf56a16b25f6a49dccc35f2198a0b46dbc9c735e22e793f1bdfeece1720ea2e05d3387408e7dd17734fa68f6314d530139bf32c languageName: node linkType: hard -"@docusaurus/plugin-sitemap@npm:3.9.2": - version: 3.9.2 - resolution: "@docusaurus/plugin-sitemap@npm:3.9.2" +"@docusaurus/plugin-sitemap@npm:3.9.1": + version: 3.9.1 + resolution: "@docusaurus/plugin-sitemap@npm:3.9.1" dependencies: - "@docusaurus/core": "npm:3.9.2" - "@docusaurus/logger": "npm:3.9.2" - "@docusaurus/types": "npm:3.9.2" - "@docusaurus/utils": "npm:3.9.2" - "@docusaurus/utils-common": "npm:3.9.2" - "@docusaurus/utils-validation": "npm:3.9.2" + "@docusaurus/core": "npm:3.9.1" + "@docusaurus/logger": "npm:3.9.1" + "@docusaurus/types": "npm:3.9.1" + "@docusaurus/utils": "npm:3.9.1" + "@docusaurus/utils-common": "npm:3.9.1" + "@docusaurus/utils-validation": "npm:3.9.1" fs-extra: "npm:^11.1.1" sitemap: "npm:^7.1.1" tslib: "npm:^2.6.0" peerDependencies: react: ^18.0.0 || ^19.0.0 react-dom: ^18.0.0 || ^19.0.0 - checksum: 10c0/a1bcbb8ab2531eaa810e74a7c5800942d89a11cfaf544d6d72941c7e37c29eaef609dcaff368ee92cf759e03be7c258c6e5e4cfc6046d77e727a63f84e63a045 + checksum: 10c0/be2180356d43508eaf6ec6e81cbe1d87c44af5ca395248200725c241a8d39cef648c7444e7b4b704a4037b71d80efa8e0bae291ffe8bf6b5aaf42e4630c6a77a languageName: node linkType: hard -"@docusaurus/plugin-svgr@npm:3.9.2": - version: 3.9.2 - resolution: "@docusaurus/plugin-svgr@npm:3.9.2" +"@docusaurus/plugin-svgr@npm:3.9.1": + version: 3.9.1 + resolution: "@docusaurus/plugin-svgr@npm:3.9.1" dependencies: - "@docusaurus/core": "npm:3.9.2" - "@docusaurus/types": "npm:3.9.2" - "@docusaurus/utils": "npm:3.9.2" - "@docusaurus/utils-validation": "npm:3.9.2" + "@docusaurus/core": "npm:3.9.1" + "@docusaurus/types": "npm:3.9.1" + "@docusaurus/utils": "npm:3.9.1" + "@docusaurus/utils-validation": "npm:3.9.1" "@svgr/core": "npm:8.1.0" "@svgr/webpack": "npm:^8.1.0" tslib: "npm:^2.6.0" @@ -3962,53 +4183,53 @@ __metadata: peerDependencies: react: ^18.0.0 || ^19.0.0 react-dom: ^18.0.0 || ^19.0.0 - checksum: 10c0/d6a7a1aa0c05b759d6094969d31d05cb7840ee514a60812f8e841e13c2cf319a46d046c0903417e9072b8bc26a9fd0d63e7e5a75255ed7d6b08a9a0466f6cb1a + checksum: 10c0/6f5d14151478964c8e19feec06edf6a974d266eb7b1cbce6784167171b0f671e4eb3683328537ef19c23062da9bdb3d169a8a8a3c271134ea9349855034bdbda languageName: node linkType: hard "@docusaurus/preset-classic@npm:^3.0.1": - version: 3.9.2 - resolution: "@docusaurus/preset-classic@npm:3.9.2" - dependencies: - "@docusaurus/core": "npm:3.9.2" - "@docusaurus/plugin-content-blog": "npm:3.9.2" - "@docusaurus/plugin-content-docs": "npm:3.9.2" - "@docusaurus/plugin-content-pages": "npm:3.9.2" - "@docusaurus/plugin-css-cascade-layers": "npm:3.9.2" - "@docusaurus/plugin-debug": "npm:3.9.2" - "@docusaurus/plugin-google-analytics": "npm:3.9.2" - "@docusaurus/plugin-google-gtag": "npm:3.9.2" - "@docusaurus/plugin-google-tag-manager": "npm:3.9.2" - "@docusaurus/plugin-sitemap": "npm:3.9.2" - "@docusaurus/plugin-svgr": "npm:3.9.2" - "@docusaurus/theme-classic": "npm:3.9.2" - "@docusaurus/theme-common": "npm:3.9.2" - "@docusaurus/theme-search-algolia": "npm:3.9.2" - "@docusaurus/types": "npm:3.9.2" + version: 3.9.1 + resolution: "@docusaurus/preset-classic@npm:3.9.1" + dependencies: + "@docusaurus/core": "npm:3.9.1" + "@docusaurus/plugin-content-blog": "npm:3.9.1" + "@docusaurus/plugin-content-docs": "npm:3.9.1" + "@docusaurus/plugin-content-pages": "npm:3.9.1" + "@docusaurus/plugin-css-cascade-layers": "npm:3.9.1" + "@docusaurus/plugin-debug": "npm:3.9.1" + "@docusaurus/plugin-google-analytics": "npm:3.9.1" + "@docusaurus/plugin-google-gtag": "npm:3.9.1" + "@docusaurus/plugin-google-tag-manager": "npm:3.9.1" + "@docusaurus/plugin-sitemap": "npm:3.9.1" + "@docusaurus/plugin-svgr": "npm:3.9.1" + "@docusaurus/theme-classic": "npm:3.9.1" + "@docusaurus/theme-common": "npm:3.9.1" + "@docusaurus/theme-search-algolia": "npm:3.9.1" + "@docusaurus/types": "npm:3.9.1" peerDependencies: react: ^18.0.0 || ^19.0.0 react-dom: ^18.0.0 || ^19.0.0 - checksum: 10c0/94e6f3948592209bd68b797591f21daee8543c6c9a4eac5ae498f5c6b8d1c7579b23173f8554a3430d0dff1cce90b953be0d5f2d53b6b4729116000f61e3dab2 - languageName: node - linkType: hard - -"@docusaurus/theme-classic@npm:3.9.2": - version: 3.9.2 - resolution: "@docusaurus/theme-classic@npm:3.9.2" - dependencies: - "@docusaurus/core": "npm:3.9.2" - "@docusaurus/logger": "npm:3.9.2" - "@docusaurus/mdx-loader": "npm:3.9.2" - "@docusaurus/module-type-aliases": "npm:3.9.2" - "@docusaurus/plugin-content-blog": "npm:3.9.2" - "@docusaurus/plugin-content-docs": "npm:3.9.2" - "@docusaurus/plugin-content-pages": "npm:3.9.2" - "@docusaurus/theme-common": "npm:3.9.2" - "@docusaurus/theme-translations": "npm:3.9.2" - "@docusaurus/types": "npm:3.9.2" - "@docusaurus/utils": "npm:3.9.2" - "@docusaurus/utils-common": "npm:3.9.2" - "@docusaurus/utils-validation": "npm:3.9.2" + checksum: 10c0/e9e29e7e12f6b857f56d7ab7db09955e9b75048d17ff5cf7e2033cee2ad701ebb8ca1793e613d19ee0ab2158f1ee4543457034e0f42e2e173cb043cdd2f78c99 + languageName: node + linkType: hard + +"@docusaurus/theme-classic@npm:3.9.1": + version: 3.9.1 + resolution: "@docusaurus/theme-classic@npm:3.9.1" + dependencies: + "@docusaurus/core": "npm:3.9.1" + "@docusaurus/logger": "npm:3.9.1" + "@docusaurus/mdx-loader": "npm:3.9.1" + "@docusaurus/module-type-aliases": "npm:3.9.1" + "@docusaurus/plugin-content-blog": "npm:3.9.1" + "@docusaurus/plugin-content-docs": "npm:3.9.1" + "@docusaurus/plugin-content-pages": "npm:3.9.1" + "@docusaurus/theme-common": "npm:3.9.1" + "@docusaurus/theme-translations": "npm:3.9.1" + "@docusaurus/types": "npm:3.9.1" + "@docusaurus/utils": "npm:3.9.1" + "@docusaurus/utils-common": "npm:3.9.1" + "@docusaurus/utils-validation": "npm:3.9.1" "@mdx-js/react": "npm:^3.0.0" clsx: "npm:^2.0.0" infima: "npm:0.2.0-alpha.45" @@ -4024,7 +4245,31 @@ __metadata: peerDependencies: react: ^18.0.0 || ^19.0.0 react-dom: ^18.0.0 || ^19.0.0 - checksum: 10c0/aa6442ac2e65539f083a0ed1e70030443bf61422d5cca24fc8b91c2c4192bcd4d8abdbf4b71536e2ae6afd413fd3f4be1379f2dc45e224173500577ebfa1c346 + checksum: 10c0/c354205820e2444fc65f39f45fbab6895d25d8629b91ffc377912498a1b876d3aba3749d2807f719a8b177f8dfb15e5dd51be50fd1950fb27b7af26d33691209 + languageName: node + linkType: hard + +"@docusaurus/theme-common@npm:3.9.1": + version: 3.9.1 + resolution: "@docusaurus/theme-common@npm:3.9.1" + dependencies: + "@docusaurus/mdx-loader": "npm:3.9.1" + "@docusaurus/module-type-aliases": "npm:3.9.1" + "@docusaurus/utils": "npm:3.9.1" + "@docusaurus/utils-common": "npm:3.9.1" + "@types/history": "npm:^4.7.11" + "@types/react": "npm:*" + "@types/react-router-config": "npm:*" + clsx: "npm:^2.0.0" + parse-numeric-range: "npm:^1.3.0" + prism-react-renderer: "npm:^2.3.0" + tslib: "npm:^2.6.0" + utility-types: "npm:^3.10.0" + peerDependencies: + "@docusaurus/plugin-content-docs": "*" + react: ^18.0.0 || ^19.0.0 + react-dom: ^18.0.0 || ^19.0.0 + checksum: 10c0/1fcbe15c5ec0bd5033e407020f13fc8589e9ded01c4f55525d998e712d8a7370564118bd285bea12c6d28d4563a8824800261143b02a855742b21390cd57d840 languageName: node linkType: hard @@ -4053,13 +4298,13 @@ __metadata: linkType: hard "@docusaurus/theme-live-codeblock@npm:^3.0.1": - version: 3.9.2 - resolution: "@docusaurus/theme-live-codeblock@npm:3.9.2" + version: 3.9.1 + resolution: "@docusaurus/theme-live-codeblock@npm:3.9.1" dependencies: - "@docusaurus/core": "npm:3.9.2" - "@docusaurus/theme-common": "npm:3.9.2" - "@docusaurus/theme-translations": "npm:3.9.2" - "@docusaurus/utils-validation": "npm:3.9.2" + "@docusaurus/core": "npm:3.9.1" + "@docusaurus/theme-common": "npm:3.9.1" + "@docusaurus/theme-translations": "npm:3.9.1" + "@docusaurus/utils-validation": "npm:3.9.1" "@philpl/buble": "npm:^0.19.7" clsx: "npm:^2.0.0" fs-extra: "npm:^11.1.1" @@ -4068,19 +4313,19 @@ __metadata: peerDependencies: react: ^18.0.0 || ^19.0.0 react-dom: ^18.0.0 || ^19.0.0 - checksum: 10c0/a50510e1ef18de7f9eda14e9a64b856956ab29b851399089ee8fb8eeb74e293f1abf6394f8c2b5998651dde9aecfb335b19d1bbc3748dd0b81edc5b7dd75c439 + checksum: 10c0/c0438c3b9a2a809f19702212d4287971c5c67adf63b44be118ecec2ae83121a547666c7897b74970e3e4fbb73f57316889acc088e23b7c849741c8fe1c72d697 languageName: node linkType: hard "@docusaurus/theme-mermaid@npm:^3.0.1": - version: 3.9.2 - resolution: "@docusaurus/theme-mermaid@npm:3.9.2" - dependencies: - "@docusaurus/core": "npm:3.9.2" - "@docusaurus/module-type-aliases": "npm:3.9.2" - "@docusaurus/theme-common": "npm:3.9.2" - "@docusaurus/types": "npm:3.9.2" - "@docusaurus/utils-validation": "npm:3.9.2" + version: 3.9.1 + resolution: "@docusaurus/theme-mermaid@npm:3.9.1" + dependencies: + "@docusaurus/core": "npm:3.9.1" + "@docusaurus/module-type-aliases": "npm:3.9.1" + "@docusaurus/theme-common": "npm:3.9.1" + "@docusaurus/types": "npm:3.9.1" + "@docusaurus/utils-validation": "npm:3.9.1" mermaid: "npm:>=11.6.0" tslib: "npm:^2.6.0" peerDependencies: @@ -4090,22 +4335,22 @@ __metadata: peerDependenciesMeta: "@mermaid-js/layout-elk": optional: true - checksum: 10c0/831ca197664cb24975258de0a18c1f702b8d76f012df557d7696f825e41621c54843aac3684e27a906fa6919412f5bd93512fc048f74165a0071937efe3fd834 + checksum: 10c0/5c87fee581b37487490fa8275cab9ad2e3583e655486390e52117b0f16bfd30db2c2d309728e8f6120a1bb187946c350d0375371c7c7a54aa6eef8b8f69d7c8d languageName: node linkType: hard -"@docusaurus/theme-search-algolia@npm:3.9.2": - version: 3.9.2 - resolution: "@docusaurus/theme-search-algolia@npm:3.9.2" +"@docusaurus/theme-search-algolia@npm:3.9.1": + version: 3.9.1 + resolution: "@docusaurus/theme-search-algolia@npm:3.9.1" dependencies: "@docsearch/react": "npm:^3.9.0 || ^4.1.0" - "@docusaurus/core": "npm:3.9.2" - "@docusaurus/logger": "npm:3.9.2" - "@docusaurus/plugin-content-docs": "npm:3.9.2" - "@docusaurus/theme-common": "npm:3.9.2" - "@docusaurus/theme-translations": "npm:3.9.2" - "@docusaurus/utils": "npm:3.9.2" - "@docusaurus/utils-validation": "npm:3.9.2" + "@docusaurus/core": "npm:3.9.1" + "@docusaurus/logger": "npm:3.9.1" + "@docusaurus/plugin-content-docs": "npm:3.9.1" + "@docusaurus/theme-common": "npm:3.9.1" + "@docusaurus/theme-translations": "npm:3.9.1" + "@docusaurus/utils": "npm:3.9.1" + "@docusaurus/utils-validation": "npm:3.9.1" algoliasearch: "npm:^5.37.0" algoliasearch-helper: "npm:^3.26.0" clsx: "npm:^2.0.0" @@ -4117,17 +4362,38 @@ __metadata: peerDependencies: react: ^18.0.0 || ^19.0.0 react-dom: ^18.0.0 || ^19.0.0 - checksum: 10c0/676206059771d13c2268c4f8a20630288ac043aa1042090c259de434f8f833e1e95c0cf7de304880149ace3d084c901d3d01cfbfea63a48dc71aaa6726166621 + checksum: 10c0/23260e8ef77a62eb34df44fc8717ef746ba656c0e8ccc369809d6ec70f457116d2d01d1e412e4022acba342c2bae2fe8216ebcfaaac716533fefe1f297ee864f languageName: node linkType: hard -"@docusaurus/theme-translations@npm:3.9.2": - version: 3.9.2 - resolution: "@docusaurus/theme-translations@npm:3.9.2" +"@docusaurus/theme-translations@npm:3.9.1": + version: 3.9.1 + resolution: "@docusaurus/theme-translations@npm:3.9.1" dependencies: fs-extra: "npm:^11.1.1" tslib: "npm:^2.6.0" - checksum: 10c0/543ee40933a8805357575c14d4fc8f8d504f6464796f5fa27ec13d8b0cec669617961edb206d5b74ba1d776d9486656fefdb1c777e2908cb1752ee6fbe28686c + checksum: 10c0/e73d537637c80fe75706170eae7049dc54b8444ef1b47b9c71e7825f7179d9d87e2541f25bc8cf3ad8cf0c5fa3b382298e7cf22820cfca42c7a338873c2fb690 + languageName: node + linkType: hard + +"@docusaurus/types@npm:3.9.1": + version: 3.9.1 + resolution: "@docusaurus/types@npm:3.9.1" + dependencies: + "@mdx-js/mdx": "npm:^3.0.0" + "@types/history": "npm:^4.7.11" + "@types/mdast": "npm:^4.0.2" + "@types/react": "npm:*" + commander: "npm:^5.1.0" + joi: "npm:^17.9.2" + react-helmet-async: "npm:@slorber/react-helmet-async@1.3.0" + utility-types: "npm:^3.10.0" + webpack: "npm:^5.95.0" + webpack-merge: "npm:^5.9.0" + peerDependencies: + react: ^18.0.0 || ^19.0.0 + react-dom: ^18.0.0 || ^19.0.0 + checksum: 10c0/6e42f10ca3ba14a67ba17d078f6fb74551641b3ee1027700522b8d04298006b97587b6ecb7d395a0432ee64c0708f954a16452ca8cc10555c02122e6f9dfa65b languageName: node linkType: hard @@ -4152,6 +4418,16 @@ __metadata: languageName: node linkType: hard +"@docusaurus/utils-common@npm:3.9.1": + version: 3.9.1 + resolution: "@docusaurus/utils-common@npm:3.9.1" + dependencies: + "@docusaurus/types": "npm:3.9.1" + tslib: "npm:^2.6.0" + checksum: 10c0/a1b4837af03f89b0a4c00943f66a53caa5c2637a7410ebaf1d3779727a8ad8b24dcfcab541f9bb49ff89e3e831521202b50fdff12c30e76b6f519e4e4bbf093a + languageName: node + linkType: hard + "@docusaurus/utils-common@npm:3.9.2": version: 3.9.2 resolution: "@docusaurus/utils-common@npm:3.9.2" @@ -4162,6 +4438,22 @@ __metadata: languageName: node linkType: hard +"@docusaurus/utils-validation@npm:3.9.1": + version: 3.9.1 + resolution: "@docusaurus/utils-validation@npm:3.9.1" + dependencies: + "@docusaurus/logger": "npm:3.9.1" + "@docusaurus/utils": "npm:3.9.1" + "@docusaurus/utils-common": "npm:3.9.1" + fs-extra: "npm:^11.2.0" + joi: "npm:^17.9.2" + js-yaml: "npm:^4.1.0" + lodash: "npm:^4.17.21" + tslib: "npm:^2.6.0" + checksum: 10c0/7146b682d0bb8da2dd3fb886233e177b12ecb0a096984b71ca5396b32bb9c83c077002bcd41350b0b173a919671692dc2e8a124a0bd9276ff336587b51ecfcac + languageName: node + linkType: hard + "@docusaurus/utils-validation@npm:3.9.2": version: 3.9.2 resolution: "@docusaurus/utils-validation@npm:3.9.2" @@ -4178,6 +4470,35 @@ __metadata: languageName: node linkType: hard +"@docusaurus/utils@npm:3.9.1": + version: 3.9.1 + resolution: "@docusaurus/utils@npm:3.9.1" + dependencies: + "@docusaurus/logger": "npm:3.9.1" + "@docusaurus/types": "npm:3.9.1" + "@docusaurus/utils-common": "npm:3.9.1" + escape-string-regexp: "npm:^4.0.0" + execa: "npm:5.1.1" + file-loader: "npm:^6.2.0" + fs-extra: "npm:^11.1.1" + github-slugger: "npm:^1.5.0" + globby: "npm:^11.1.0" + gray-matter: "npm:^4.0.3" + jiti: "npm:^1.20.0" + js-yaml: "npm:^4.1.0" + lodash: "npm:^4.17.21" + micromatch: "npm:^4.0.5" + p-queue: "npm:^6.6.2" + prompts: "npm:^2.4.2" + resolve-pathname: "npm:^3.0.0" + tslib: "npm:^2.6.0" + url-loader: "npm:^4.1.1" + utility-types: "npm:^3.10.0" + webpack: "npm:^5.88.1" + checksum: 10c0/34198a43be5480b60b5d8aa2627f99e25bc2606adb30a1c510cc80f481e7dfd208270bb1d10b416e3466cf26cd1c1fe5cf5f476eee82c86c219b3088b82c53ed + languageName: node + linkType: hard + "@docusaurus/utils@npm:3.9.2": version: 3.9.2 resolution: "@docusaurus/utils@npm:3.9.2" @@ -4423,6 +4744,13 @@ __metadata: languageName: node linkType: hard +"@inquirer/ansi@npm:^1.0.0": + version: 1.0.0 + resolution: "@inquirer/ansi@npm:1.0.0" + checksum: 10c0/bac070de6b03dac71b31623d3e8911162856af18d731f899a71c13ffe371daa9a0cff941fed533b89d7e088e8d08d087bd2f97d1777bc6fe6ff4841518ca5a26 + languageName: node + linkType: hard + "@inquirer/ansi@npm:^1.0.2": version: 1.0.2 resolution: "@inquirer/ansi@npm:1.0.2" @@ -4430,40 +4758,40 @@ __metadata: languageName: node linkType: hard -"@inquirer/checkbox@npm:^4.3.2": - version: 4.3.2 - resolution: "@inquirer/checkbox@npm:4.3.2" +"@inquirer/checkbox@npm:^4.2.4": + version: 4.2.4 + resolution: "@inquirer/checkbox@npm:4.2.4" dependencies: - "@inquirer/ansi": "npm:^1.0.2" - "@inquirer/core": "npm:^10.3.2" - "@inquirer/figures": "npm:^1.0.15" - "@inquirer/type": "npm:^3.0.10" - yoctocolors-cjs: "npm:^2.1.3" + "@inquirer/ansi": "npm:^1.0.0" + "@inquirer/core": "npm:^10.2.2" + "@inquirer/figures": "npm:^1.0.13" + "@inquirer/type": "npm:^3.0.8" + yoctocolors-cjs: "npm:^2.1.2" peerDependencies: "@types/node": ">=18" peerDependenciesMeta: "@types/node": optional: true - checksum: 10c0/771d23bc6b16cd5c21a4f1073e98e306147f90c0e2487fe887ee054b8bf86449f1f9e6e6f9c218c1aa45ae3be2533197d53654abe9c0545981aebb0920d5f471 + checksum: 10c0/c28c320bc8d4daeefa56500bcf3eb9b41ef6d7eab926ee5540f4a7a35e4bb0f04491f121927e70a58fa7e41f0fa34c76f76224b1641c005558e30ce1fc8799c1 languageName: node linkType: hard -"@inquirer/confirm@npm:^5.1.21": - version: 5.1.21 - resolution: "@inquirer/confirm@npm:5.1.21" +"@inquirer/confirm@npm:^5.1.18": + version: 5.1.18 + resolution: "@inquirer/confirm@npm:5.1.18" dependencies: - "@inquirer/core": "npm:^10.3.2" - "@inquirer/type": "npm:^3.0.10" + "@inquirer/core": "npm:^10.2.2" + "@inquirer/type": "npm:^3.0.8" peerDependencies: "@types/node": ">=18" peerDependenciesMeta: "@types/node": optional: true - checksum: 10c0/a95bbdbb17626c484735a4193ed6b6a6fbb078cf62116ec8e1667f647e534dd6618e688ecc7962585efcc56881b544b8c53db3914599bbf2ab842e7f224b0fca + checksum: 10c0/e29b80ff4449e93460f362ee2b633a04e73ffccea56f2fceff4451f61344ea5dd371bcc94279787e30a8356ab2f37c273d074f8a4f0ce97ab5e4833dfd9366b3 languageName: node linkType: hard -"@inquirer/core@npm:^10.0.0, @inquirer/core@npm:^10.3.2": +"@inquirer/core@npm:^10.0.0": version: 10.3.2 resolution: "@inquirer/core@npm:10.3.2" dependencies: @@ -4484,39 +4812,60 @@ __metadata: languageName: node linkType: hard -"@inquirer/editor@npm:^4.2.23": - version: 4.2.23 - resolution: "@inquirer/editor@npm:4.2.23" +"@inquirer/core@npm:^10.2.2": + version: 10.2.2 + resolution: "@inquirer/core@npm:10.2.2" dependencies: - "@inquirer/core": "npm:^10.3.2" - "@inquirer/external-editor": "npm:^1.0.3" - "@inquirer/type": "npm:^3.0.10" + "@inquirer/ansi": "npm:^1.0.0" + "@inquirer/figures": "npm:^1.0.13" + "@inquirer/type": "npm:^3.0.8" + cli-width: "npm:^4.1.0" + mute-stream: "npm:^2.0.0" + signal-exit: "npm:^4.1.0" + wrap-ansi: "npm:^6.2.0" + yoctocolors-cjs: "npm:^2.1.2" peerDependencies: "@types/node": ">=18" peerDependenciesMeta: "@types/node": optional: true - checksum: 10c0/aa02028ee35ae039a4857b6a9490d295a1b3558f042e7454dee0aa36fbc83ac25586a2dfe0b46a5ea7ea151e3f5cb97a8ee6229131b4619f3b3466ad74b9519f + checksum: 10c0/5475e343f7e3687cbfe877068a63f672da5414a35c95235bb13cf1a49c1fb3853aeb644cf13df514118ea036c267e3e2082706e52b6e6c1a4fb09e9d1c2d8384 languageName: node linkType: hard -"@inquirer/expand@npm:^4.0.23": - version: 4.0.23 - resolution: "@inquirer/expand@npm:4.0.23" +"@inquirer/editor@npm:^4.2.20": + version: 4.2.20 + resolution: "@inquirer/editor@npm:4.2.20" dependencies: - "@inquirer/core": "npm:^10.3.2" - "@inquirer/type": "npm:^3.0.10" - yoctocolors-cjs: "npm:^2.1.3" + "@inquirer/core": "npm:^10.2.2" + "@inquirer/external-editor": "npm:^1.0.2" + "@inquirer/type": "npm:^3.0.8" peerDependencies: "@types/node": ">=18" peerDependenciesMeta: "@types/node": optional: true - checksum: 10c0/294c92652760c3d1a46c4b900a99fd553ea9e5734ba261d4e71d7b8499d86a8b15e38a2467ddb7c95c197daf7e472bdab209fc3f7c38cbc70842cd291f4ce39d + checksum: 10c0/64ea3bd321953801735636c7b65b6f50e62d93e72794a8013084140f97fd77b8000d104a5cbe1eb0bd858117bb214ec69d030337774f0d1febd184955d6f6a51 languageName: node linkType: hard -"@inquirer/external-editor@npm:^1.0.2, @inquirer/external-editor@npm:^1.0.3": +"@inquirer/expand@npm:^4.0.20": + version: 4.0.20 + resolution: "@inquirer/expand@npm:4.0.20" + dependencies: + "@inquirer/core": "npm:^10.2.2" + "@inquirer/type": "npm:^3.0.8" + yoctocolors-cjs: "npm:^2.1.2" + peerDependencies: + "@types/node": ">=18" + peerDependenciesMeta: + "@types/node": + optional: true + checksum: 10c0/82f5334e80c21ad25cd332f3e7de97f0c69f98181cd0bb693aa525030eca0bd9a274a3199453dfb2066f9c90674be822a2ebbbaa7c42b67288035d931d859eda + languageName: node + linkType: hard + +"@inquirer/external-editor@npm:^1.0.0, @inquirer/external-editor@npm:^1.0.2": version: 1.0.3 resolution: "@inquirer/external-editor@npm:1.0.3" dependencies: @@ -4531,6 +4880,13 @@ __metadata: languageName: node linkType: hard +"@inquirer/figures@npm:^1.0.13": + version: 1.0.13 + resolution: "@inquirer/figures@npm:1.0.13" + checksum: 10c0/23700a4a0627963af5f51ef4108c338ae77bdd90393164b3fdc79a378586e1f5531259882b7084c690167bf5a36e83033e45aca0321570ba810890abe111014f + languageName: node + linkType: hard + "@inquirer/figures@npm:^1.0.15": version: 1.0.15 resolution: "@inquirer/figures@npm:1.0.15" @@ -4538,123 +4894,123 @@ __metadata: languageName: node linkType: hard -"@inquirer/input@npm:^4.3.1": - version: 4.3.1 - resolution: "@inquirer/input@npm:4.3.1" +"@inquirer/input@npm:^4.2.4": + version: 4.2.4 + resolution: "@inquirer/input@npm:4.2.4" dependencies: - "@inquirer/core": "npm:^10.3.2" - "@inquirer/type": "npm:^3.0.10" + "@inquirer/core": "npm:^10.2.2" + "@inquirer/type": "npm:^3.0.8" peerDependencies: "@types/node": ">=18" peerDependenciesMeta: "@types/node": optional: true - checksum: 10c0/9e81d6ae56e5b59f96475ae1327e7e7beeef0d917b83762e0c2ed5a75239ad6b1a39fc05553ce45fe6f6de49681dade8704b5f1c11c2f555663a74d0ac998af3 + checksum: 10c0/e903086170d94624125916e361c81e89a1f55ef8b91d58fe505fd16d58a9a3d8275c9af93def3a7355301a1f46417a0cbd4c8faace74b1a8679504e6d3a25f0c languageName: node linkType: hard -"@inquirer/number@npm:^3.0.23": - version: 3.0.23 - resolution: "@inquirer/number@npm:3.0.23" +"@inquirer/number@npm:^3.0.20": + version: 3.0.20 + resolution: "@inquirer/number@npm:3.0.20" dependencies: - "@inquirer/core": "npm:^10.3.2" - "@inquirer/type": "npm:^3.0.10" + "@inquirer/core": "npm:^10.2.2" + "@inquirer/type": "npm:^3.0.8" peerDependencies: "@types/node": ">=18" peerDependenciesMeta: "@types/node": optional: true - checksum: 10c0/3944a524be2a2e0834822a0e483f2e2fd56ad597b5feeca2155b956821f88e22e07ce3816f66113b040601636ed7146865aee7d7afb2a06939acc77491330ccc + checksum: 10c0/0a36414ba5c84504eaf0b699ca3b5a22c6ff216db87a9025a1c587faf4243402ee5f68e16be82e279766dfe376dc99b0866da7a7d7da418310228ab837d6551d languageName: node linkType: hard -"@inquirer/password@npm:^4.0.23": - version: 4.0.23 - resolution: "@inquirer/password@npm:4.0.23" +"@inquirer/password@npm:^4.0.20": + version: 4.0.20 + resolution: "@inquirer/password@npm:4.0.20" dependencies: - "@inquirer/ansi": "npm:^1.0.2" - "@inquirer/core": "npm:^10.3.2" - "@inquirer/type": "npm:^3.0.10" + "@inquirer/ansi": "npm:^1.0.0" + "@inquirer/core": "npm:^10.2.2" + "@inquirer/type": "npm:^3.0.8" peerDependencies: "@types/node": ">=18" peerDependenciesMeta: "@types/node": optional: true - checksum: 10c0/9fd3d0462d02735bb1521c4e221d057a94d9aaac308e9a192e59d6c1e8efc707c2376ab627151d589bc3633f6b14b74b60b91c3d473a32adfd100ef1f6cfdef7 + checksum: 10c0/a3eecd59cdd5e7ba7cf748f6f6aa09d59eb33859cb8a4c637d981efec69cd5bf40c2a7cbd1aa6956984e88f350c7e1f6e6eee6c7b63160ede14677cb78617a6a languageName: node linkType: hard -"@inquirer/prompts@npm:^7.10.1": - version: 7.10.1 - resolution: "@inquirer/prompts@npm:7.10.1" +"@inquirer/prompts@npm:^7.8.6": + version: 7.8.6 + resolution: "@inquirer/prompts@npm:7.8.6" dependencies: - "@inquirer/checkbox": "npm:^4.3.2" - "@inquirer/confirm": "npm:^5.1.21" - "@inquirer/editor": "npm:^4.2.23" - "@inquirer/expand": "npm:^4.0.23" - "@inquirer/input": "npm:^4.3.1" - "@inquirer/number": "npm:^3.0.23" - "@inquirer/password": "npm:^4.0.23" - "@inquirer/rawlist": "npm:^4.1.11" - "@inquirer/search": "npm:^3.2.2" - "@inquirer/select": "npm:^4.4.2" + "@inquirer/checkbox": "npm:^4.2.4" + "@inquirer/confirm": "npm:^5.1.18" + "@inquirer/editor": "npm:^4.2.20" + "@inquirer/expand": "npm:^4.0.20" + "@inquirer/input": "npm:^4.2.4" + "@inquirer/number": "npm:^3.0.20" + "@inquirer/password": "npm:^4.0.20" + "@inquirer/rawlist": "npm:^4.1.8" + "@inquirer/search": "npm:^3.1.3" + "@inquirer/select": "npm:^4.3.4" peerDependencies: "@types/node": ">=18" peerDependenciesMeta: "@types/node": optional: true - checksum: 10c0/eac309cc75712bc94fc8b6761d6a736786ca1942cf9c90805b2a6049a05ce6131bcfb3aa703d1dbe66874d1b78c2b446044ad9735a2bb76743b8ddcb3dcb4d2a + checksum: 10c0/f8efd5784a2a3b0ebe1c19ad24abed351e2219378caafd661f1a217e70d2dbfbf713ce25b1172bc4990b7301a677682c416aac400db92e86d37122a70ad1d4e9 languageName: node linkType: hard -"@inquirer/rawlist@npm:^4.1.11": - version: 4.1.11 - resolution: "@inquirer/rawlist@npm:4.1.11" +"@inquirer/rawlist@npm:^4.1.8": + version: 4.1.8 + resolution: "@inquirer/rawlist@npm:4.1.8" dependencies: - "@inquirer/core": "npm:^10.3.2" - "@inquirer/type": "npm:^3.0.10" - yoctocolors-cjs: "npm:^2.1.3" + "@inquirer/core": "npm:^10.2.2" + "@inquirer/type": "npm:^3.0.8" + yoctocolors-cjs: "npm:^2.1.2" peerDependencies: "@types/node": ">=18" peerDependenciesMeta: "@types/node": optional: true - checksum: 10c0/33792b40cd0fbf77f547c9c4805087dd1188342c6a5ca512c73b0b6c4d132225fc5ae8bc4fd5035309484da3698a90fcef17aad100b9ae57624fda7b07d92227 + checksum: 10c0/1631a1b7edda79c28aa2efc12e9225429319427b1b5132bfd4ce4e9fc785886a64ea18430b4ffac01c0b9f6b7274fb2167b88cbcd2b3ad40ee342fa711042af3 languageName: node linkType: hard -"@inquirer/search@npm:^3.2.2": - version: 3.2.2 - resolution: "@inquirer/search@npm:3.2.2" +"@inquirer/search@npm:^3.1.3": + version: 3.1.3 + resolution: "@inquirer/search@npm:3.1.3" dependencies: - "@inquirer/core": "npm:^10.3.2" - "@inquirer/figures": "npm:^1.0.15" - "@inquirer/type": "npm:^3.0.10" - yoctocolors-cjs: "npm:^2.1.3" + "@inquirer/core": "npm:^10.2.2" + "@inquirer/figures": "npm:^1.0.13" + "@inquirer/type": "npm:^3.0.8" + yoctocolors-cjs: "npm:^2.1.2" peerDependencies: "@types/node": ">=18" peerDependenciesMeta: "@types/node": optional: true - checksum: 10c0/e7849663a51fe95e3ce99d274c815b8dc8933d6a5ddcaaf6130bf43f5f10316062c9f7a37c2923a14b8dcd09d202b0bb9cc3eaf0adb0336f6a704ea52e03ef8c + checksum: 10c0/f2ea48153eac8ed628954af4d63e94843b692a67e595730efb2cdee78968fcee760849a6adb8fcb751fdd641877010ecf486c419ce3cb2fa2f32f3f54600054d languageName: node linkType: hard -"@inquirer/select@npm:^4.4.2": - version: 4.4.2 - resolution: "@inquirer/select@npm:4.4.2" +"@inquirer/select@npm:^4.3.4": + version: 4.3.4 + resolution: "@inquirer/select@npm:4.3.4" dependencies: - "@inquirer/ansi": "npm:^1.0.2" - "@inquirer/core": "npm:^10.3.2" - "@inquirer/figures": "npm:^1.0.15" - "@inquirer/type": "npm:^3.0.10" - yoctocolors-cjs: "npm:^2.1.3" + "@inquirer/ansi": "npm:^1.0.0" + "@inquirer/core": "npm:^10.2.2" + "@inquirer/figures": "npm:^1.0.13" + "@inquirer/type": "npm:^3.0.8" + yoctocolors-cjs: "npm:^2.1.2" peerDependencies: "@types/node": ">=18" peerDependenciesMeta: "@types/node": optional: true - checksum: 10c0/6978a5a92928b4d439dd6b688f2db51fd49be209f24be224bb81ed8f75b76e0715e79bdb05dab2a33bbdc7091c779a99f8603fe0ca199f059528ca2b1d0d4944 + checksum: 10c0/01547a3a929d67d43f40dbfe6d1d7fdf48a71fc2781c132b25a965de1ee78262251589f9554102d7a6e39aa01c58c2e87cf6c8c62b1cc3f33795f1517f7430c7 languageName: node linkType: hard @@ -4670,6 +5026,18 @@ __metadata: languageName: node linkType: hard +"@inquirer/type@npm:^3.0.8": + version: 3.0.8 + resolution: "@inquirer/type@npm:3.0.8" + peerDependencies: + "@types/node": ">=18" + peerDependenciesMeta: + "@types/node": + optional: true + checksum: 10c0/1171bffb9ea0018b12ec4f46a7b485f7e2a328e620e89f3b03f2be8c25889e5b9e62daca3ea10ed040a71d847066c4d9879dc1fea8aa5690ebbc968d3254a5ac + languageName: node + linkType: hard + "@isaacs/balanced-match@npm:^4.0.1": version: 4.0.1 resolution: "@isaacs/balanced-match@npm:4.0.1" @@ -5347,25 +5715,25 @@ __metadata: languageName: node linkType: hard -"@monaco-editor/loader@npm:^1.7.0": - version: 1.7.0 - resolution: "@monaco-editor/loader@npm:1.7.0" +"@monaco-editor/loader@npm:^1.6.1": + version: 1.6.1 + resolution: "@monaco-editor/loader@npm:1.6.1" dependencies: state-local: "npm:^1.0.6" - checksum: 10c0/1fd3579cb09b669493cf553dfc0723a93483140a44353ce9a739827edfa7b2c6541b254024d15c48176ece749ef666b6d16cce6cf0e4396c7fa1c5a48012d08a + checksum: 10c0/88fed11f7e5892c2221b649328490512591b3eca432c9613c5a0b737d624b741fcc774197b119e681360454931a19de26b271ede567ddb226ab63f0d1ec67c89 languageName: node linkType: hard "@monaco-editor/react@npm:^4.8.0-rc.0": - version: 4.8.0-rc.3 - resolution: "@monaco-editor/react@npm:4.8.0-rc.3" + version: 4.8.0-rc.2 + resolution: "@monaco-editor/react@npm:4.8.0-rc.2" dependencies: - "@monaco-editor/loader": "npm:^1.7.0" + "@monaco-editor/loader": "npm:^1.6.1" peerDependencies: monaco-editor: ">= 0.25.0 < 1" react: ^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 - checksum: 10c0/4af93cf42a91b8ddd1275c175c4841570cc519d6b9c8ae3bfb066669979ead897b453be5edca3a1e0e76eea053d8899dc99624fbffcd693baf28b8a68f4f682c + checksum: 10c0/09c8b1cc8d10d666fccb22968adfce702893ebf0abd119a378bc928818d7bc6bd0ca1049d28acdcae530d5d60e114ce4efa367d514a29ed2ebfd986265a11677 languageName: node linkType: hard @@ -6258,13 +6626,12 @@ __metadata: languageName: node linkType: hard -"@react-navigation/core@npm:^7.13.3": - version: 7.13.3 - resolution: "@react-navigation/core@npm:7.13.3" +"@react-navigation/core@npm:^7.12.4": + version: 7.12.4 + resolution: "@react-navigation/core@npm:7.12.4" dependencies: - "@react-navigation/routers": "npm:^7.5.2" + "@react-navigation/routers": "npm:^7.5.1" escape-string-regexp: "npm:^4.0.0" - fast-deep-equal: "npm:^3.1.3" nanoid: "npm:^3.3.11" query-string: "npm:^7.1.3" react-is: "npm:^19.1.0" @@ -6272,53 +6639,51 @@ __metadata: use-sync-external-store: "npm:^1.5.0" peerDependencies: react: ">= 18.2.0" - checksum: 10c0/4faa5f2a151fa7ef011e35b3f86925000b0d450726ad0119812d30224acf5fa8ebd824ee2c4ed64f53b3a3aea878a0adc3570fa11bc7f3dc8fb663870a587960 + checksum: 10c0/0e8231ced4f196c84db859760b9704b85eca156ba0d8d9802a89d46d96116fa10fa481dc482be6a807b33971682bce176a997391543d2404754e43af510201b8 languageName: node linkType: hard -"@react-navigation/elements@npm:^2.8.4": - version: 2.8.4 - resolution: "@react-navigation/elements@npm:2.8.4" +"@react-navigation/elements@npm:^2.6.4": + version: 2.6.4 + resolution: "@react-navigation/elements@npm:2.6.4" dependencies: color: "npm:^4.2.3" use-latest-callback: "npm:^0.2.4" use-sync-external-store: "npm:^1.5.0" peerDependencies: "@react-native-masked-view/masked-view": ">= 0.2.0" - "@react-navigation/native": ^7.1.22 + "@react-navigation/native": ^7.1.17 react: ">= 18.2.0" react-native: "*" react-native-safe-area-context: ">= 4.0.0" peerDependenciesMeta: "@react-native-masked-view/masked-view": optional: true - checksum: 10c0/6ada8150d27aac531477c2c0157e2f58bfb1f22686bc5f3b25c06cf0fb001f4c6c60dce5d85c782d8bd02a04f1d9eb167e93e757ba429eff22db239fc8fb9135 + checksum: 10c0/2726367b560c5325062978ed9fd7fccb32dac526131dac9c73a4e7df0aae15664ca240def6daa75acfc0d6bfc43c446754d3fbaa3524018306e2e005ee824ee1 languageName: node linkType: hard "@react-navigation/native-stack@npm:^7.0.0, @react-navigation/native-stack@npm:^7.2.0": - version: 7.8.1 - resolution: "@react-navigation/native-stack@npm:7.8.1" + version: 7.3.26 + resolution: "@react-navigation/native-stack@npm:7.3.26" dependencies: - "@react-navigation/elements": "npm:^2.8.4" - color: "npm:^4.2.3" - sf-symbols-typescript: "npm:^2.1.0" + "@react-navigation/elements": "npm:^2.6.4" warn-once: "npm:^0.1.1" peerDependencies: - "@react-navigation/native": ^7.1.22 + "@react-navigation/native": ^7.1.17 react: ">= 18.2.0" react-native: "*" react-native-safe-area-context: ">= 4.0.0" react-native-screens: ">= 4.0.0" - checksum: 10c0/18fef1866a068c31097a6b63e27f61d50a0ef54aac7890dc311a3a2b56a99d47ba4f9555273f17dcdf5673a49bdc26daedc4c29822210c0bc1767614d240dde3 + checksum: 10c0/edb8c9d4c26c1b4ead3ef8742813a5485b9629d7d7f3d41bb50b966e7efef91aa1002f3d0f5c5d2958d0c64826711324a91af24515d4ae0e6997deb73c13689e languageName: node linkType: hard "@react-navigation/native@npm:^7.0.0": - version: 7.1.22 - resolution: "@react-navigation/native@npm:7.1.22" + version: 7.1.17 + resolution: "@react-navigation/native@npm:7.1.17" dependencies: - "@react-navigation/core": "npm:^7.13.3" + "@react-navigation/core": "npm:^7.12.4" escape-string-regexp: "npm:^4.0.0" fast-deep-equal: "npm:^3.1.3" nanoid: "npm:^3.3.11" @@ -6326,22 +6691,22 @@ __metadata: peerDependencies: react: ">= 18.2.0" react-native: "*" - checksum: 10c0/d8777d0e613b899777413f94487e545484d0db9d0168ffc0a3a7dd3be88758da574b35dd061fd796821be148bf33de901fc20973bca522862f56ffeda225cb91 + checksum: 10c0/2f560a508cb10261ce70eca3b77940f69c0bfdb08b551117cce41ab12a3ed8f869b9cf5048bb6f0c40e39293398c26e2d393cdfcab38d1d7c45732021cd8b2be languageName: node linkType: hard -"@react-navigation/routers@npm:^7.5.2": - version: 7.5.2 - resolution: "@react-navigation/routers@npm:7.5.2" +"@react-navigation/routers@npm:^7.5.1": + version: 7.5.1 + resolution: "@react-navigation/routers@npm:7.5.1" dependencies: nanoid: "npm:^3.3.11" - checksum: 10c0/eb22a8ce464595fc78d2f748d4397dfce5acae5f9b6afa9e0361142e69399ad8346019d1f6af7ba7a4404d54f71fc99e120ae113f5c827a4a6435bf201e349b5 + checksum: 10c0/2efdbaf265e25bd1ea6d283a5a16d772eb24846e4a4554c8164091707b9289f02063a8999f8337d24ae3a33c3d2adaebabcb96bedb588aca8efb54fcab46286a languageName: node linkType: hard "@rollup/plugin-babel@npm:^6.0.4": - version: 6.1.0 - resolution: "@rollup/plugin-babel@npm:6.1.0" + version: 6.0.4 + resolution: "@rollup/plugin-babel@npm:6.0.4" dependencies: "@babel/helper-module-imports": "npm:^7.18.6" "@rollup/pluginutils": "npm:^5.0.1" @@ -6354,7 +6719,7 @@ __metadata: optional: true rollup: optional: true - checksum: 10c0/68bc1a3689552992c3443e43a95ac14ac4e271079a5a18e252d8113358236e9c91fe514dad7a42b84581214f8714ec1f46fd99a5d9cc5a6a1e7456367ee4d6d4 + checksum: 10c0/5a7c04fa6d608512b597835e749aef33e129ee9ed6cc9e33489b7d43937358fc8aba48b00819604d0bc9b7c20790a6c035e4136e8d9f70cf0d0f056ba547e700 languageName: node linkType: hard @@ -6393,8 +6758,8 @@ __metadata: linkType: hard "@rollup/plugin-node-resolve@npm:^16.0.0": - version: 16.0.3 - resolution: "@rollup/plugin-node-resolve@npm:16.0.3" + version: 16.0.1 + resolution: "@rollup/plugin-node-resolve@npm:16.0.1" dependencies: "@rollup/pluginutils": "npm:^5.0.1" "@types/resolve": "npm:1.20.2" @@ -6406,13 +6771,13 @@ __metadata: peerDependenciesMeta: rollup: optional: true - checksum: 10c0/5bafff8e51cd28b5b3b8f415c30a893f5bfdb1a54469e00b3dc6530f26051620f3dfa172f40544361948b46cc3070cb34fd44ade66d38c0677d74c846fbc58dc + checksum: 10c0/54d33282321492fafec29b49c66dd1efd90c72a24f9d1569dcb57a72ab8de8a782810f39fdb917b96ec6a598c18f3416588b419bf7af331793a010de1fe28c60 languageName: node linkType: hard "@rollup/plugin-replace@npm:^6.0.2": - version: 6.0.3 - resolution: "@rollup/plugin-replace@npm:6.0.3" + version: 6.0.2 + resolution: "@rollup/plugin-replace@npm:6.0.2" dependencies: "@rollup/pluginutils": "npm:^5.0.1" magic-string: "npm:^0.30.3" @@ -6421,7 +6786,7 @@ __metadata: peerDependenciesMeta: rollup: optional: true - checksum: 10c0/93217c52fe86b03363bc534b5f07963ac4fd6b91f19f6070a66809b0c65a036b3b234624a65a8bfcc01a8dc0e42838feae03c021b0d1e5e91753c503c4d70cd6 + checksum: 10c0/71c0dea46f560c8dff59853446d43fa0e8258139a74d2af09fce5790d0540ff3d874c8fd9962cb049577d25327262bfc97485ef90b2a0a21bf28a9d3bd8c6d44 languageName: node linkType: hard @@ -7111,9 +7476,9 @@ __metadata: linkType: hard "@tsconfig/docusaurus@npm:^2.0.0": - version: 2.0.7 - resolution: "@tsconfig/docusaurus@npm:2.0.7" - checksum: 10c0/021278dc513a3c20f3d7f2fef145508a43a6ac34348475a54aba907dbd0517ab337416710754a2c4314720b367df81e13d45d5f999b00c858323857595ad7905 + version: 2.0.4 + resolution: "@tsconfig/docusaurus@npm:2.0.4" + checksum: 10c0/ac062d51d046385bc8778cfacf5e52a6e7ac7f68f3a07e9c8a28d8b064ff7e8f492a9758b676d6f54b4aa3a096bc20218f68fd486fb81025842ffc6d28ab782a languageName: node linkType: hard @@ -7851,7 +8216,16 @@ __metadata: languageName: node linkType: hard -"@types/node@npm:*, @types/node@npm:24.10.1, @types/node@npm:>=18, @types/node@npm:>=18.19.0, @types/node@npm:^24.0.0": +"@types/node@npm:*, @types/node@npm:>=18": + version: 24.6.2 + resolution: "@types/node@npm:24.6.2" + dependencies: + undici-types: "npm:~7.13.0" + checksum: 10c0/d029757711be85ec468686f66cd8eca78f5996d7e2b1a5b818436e0299b19925b0fb4f7509a6b62750abdc72d66f5750ce22fb8b55559baca86df89a9c44722e + languageName: node + linkType: hard + +"@types/node@npm:24.10.1, @types/node@npm:>=18.19.0": version: 24.10.1 resolution: "@types/node@npm:24.10.1" dependencies: @@ -7875,11 +8249,20 @@ __metadata: linkType: hard "@types/node@npm:^20.0.0": - version: 20.19.25 - resolution: "@types/node@npm:20.19.25" + version: 20.19.24 + resolution: "@types/node@npm:20.19.24" dependencies: undici-types: "npm:~6.21.0" - checksum: 10c0/992f18cb03264e8dc2fd3cb64f428ee4997cb6d928dad68bf4b752eacac73062697ce7ce6a0e71a6d15af510814397a20597a72332dfec638e02fb3a382ad014 + checksum: 10c0/c872ce80a1e832fe035a3c94a27acb2d6e45ffa1209c0241ac6e2d405db8d6f47eea7a2509b5c2dbedae6231dafb9dbed873dd5daaebbad1f11fdaa58726ce5e + languageName: node + linkType: hard + +"@types/node@npm:^24.0.0": + version: 24.9.1 + resolution: "@types/node@npm:24.9.1" + dependencies: + undici-types: "npm:~7.16.0" + checksum: 10c0/c52f8168080ef9a7c3dc23d8ac6061fab5371aad89231a0f6f4c075869bc3de7e89b075b1f3e3171d9e5143d0dda1807c3dab8e32eac6d68f02e7480e7e78576 languageName: node linkType: hard @@ -8492,53 +8875,53 @@ __metadata: languageName: node linkType: hard -"@vue/compiler-core@npm:3.5.25": - version: 3.5.25 - resolution: "@vue/compiler-core@npm:3.5.25" +"@vue/compiler-core@npm:3.5.21": + version: 3.5.21 + resolution: "@vue/compiler-core@npm:3.5.21" dependencies: - "@babel/parser": "npm:^7.28.5" - "@vue/shared": "npm:3.5.25" + "@babel/parser": "npm:^7.28.3" + "@vue/shared": "npm:3.5.21" entities: "npm:^4.5.0" estree-walker: "npm:^2.0.2" source-map-js: "npm:^1.2.1" - checksum: 10c0/aa04eadb7751d825257949c7a2813833eff815795ea9c145cc8a603fb2d461c3a0f29714ff601f54331a79fca627d1e9654308a5fc4b4fef9a032847cb8380b3 + checksum: 10c0/b8fa1003551815a27381fb242cf4e52cbb22571009506be91264e288a6b69c24a9d31f8aa76087fffce44d56a71f742953c765d32e55c5b4defd97be904b45b1 languageName: node linkType: hard -"@vue/compiler-dom@npm:3.5.25": - version: 3.5.25 - resolution: "@vue/compiler-dom@npm:3.5.25" +"@vue/compiler-dom@npm:3.5.21": + version: 3.5.21 + resolution: "@vue/compiler-dom@npm:3.5.21" dependencies: - "@vue/compiler-core": "npm:3.5.25" - "@vue/shared": "npm:3.5.25" - checksum: 10c0/d02fce117e9633294bc697db7b037f98b91807bb9408db914e9ed5cccb8f29b260230f3771e2f9dcc2f66a252399efea623091853e6bf8469c5861c24032bf8e + "@vue/compiler-core": "npm:3.5.21" + "@vue/shared": "npm:3.5.21" + checksum: 10c0/84c5eb1a99f2c73dfc5596bce3ce3672b30712393b4399e5906d391939e85c0e0c756e344e8d8fdd4b853186fd9ae64786927ecf8b76e12ad47b783c92bcbe55 languageName: node linkType: hard -"@vue/compiler-sfc@npm:3.5.25": - version: 3.5.25 - resolution: "@vue/compiler-sfc@npm:3.5.25" +"@vue/compiler-sfc@npm:3.5.21": + version: 3.5.21 + resolution: "@vue/compiler-sfc@npm:3.5.21" dependencies: - "@babel/parser": "npm:^7.28.5" - "@vue/compiler-core": "npm:3.5.25" - "@vue/compiler-dom": "npm:3.5.25" - "@vue/compiler-ssr": "npm:3.5.25" - "@vue/shared": "npm:3.5.25" + "@babel/parser": "npm:^7.28.3" + "@vue/compiler-core": "npm:3.5.21" + "@vue/compiler-dom": "npm:3.5.21" + "@vue/compiler-ssr": "npm:3.5.21" + "@vue/shared": "npm:3.5.21" estree-walker: "npm:^2.0.2" - magic-string: "npm:^0.30.21" + magic-string: "npm:^0.30.18" postcss: "npm:^8.5.6" source-map-js: "npm:^1.2.1" - checksum: 10c0/8325cc69a288501f700fed093ca20f2fac8a405035998dcb75bceeef961a294b1047506dc554a6cd66840cbdab048792c2451fdfe01a0f23a4a7cfccfbb5f777 + checksum: 10c0/5aea296dbfd3d734a457b3026e08a70ead16e0a0814b2c96732a0e12c773574b1582b36b2eaedf8364953ed002aec6877d5c60b60bbc0c4ea3c76e5f637bb2bc languageName: node linkType: hard -"@vue/compiler-ssr@npm:3.5.25": - version: 3.5.25 - resolution: "@vue/compiler-ssr@npm:3.5.25" +"@vue/compiler-ssr@npm:3.5.21": + version: 3.5.21 + resolution: "@vue/compiler-ssr@npm:3.5.21" dependencies: - "@vue/compiler-dom": "npm:3.5.25" - "@vue/shared": "npm:3.5.25" - checksum: 10c0/bdaa962d7b35e8bfee97769d47c49ae1a3b5449b5720460fdc188df3d6680223c2f7bb27813da6ad6d248a6dc02983b400585fb3d061ce35df34698f19afc78b + "@vue/compiler-dom": "npm:3.5.21" + "@vue/shared": "npm:3.5.21" + checksum: 10c0/5baba67df45372f455dd83ada011e2090703a31b27787987a42174ced6010091b4f7fb7bdff22cc4787b4b195ec431fae483bbac7a07372a7cda6f4d775cd718 languageName: node linkType: hard @@ -8552,53 +8935,53 @@ __metadata: languageName: node linkType: hard -"@vue/reactivity@npm:3.5.25": - version: 3.5.25 - resolution: "@vue/reactivity@npm:3.5.25" +"@vue/reactivity@npm:3.5.21": + version: 3.5.21 + resolution: "@vue/reactivity@npm:3.5.21" dependencies: - "@vue/shared": "npm:3.5.25" - checksum: 10c0/a0171f981ba466fe28e1d74edc23a43c3485065ae615b3123dc1efa999a371621fcd6bf7aec1528d47a862d7b85e7e8802aff26cb3fc101f642cc3b6d7c0904f + "@vue/shared": "npm:3.5.21" + checksum: 10c0/d2396705d37544d6d504873e62d09a46f3c5989c6d80b2eedc85848906477e050bf6bcb154ce072a48a270f44ac910670207a8ae94df63de4f8588181bb32557 languageName: node linkType: hard -"@vue/runtime-core@npm:3.5.25": - version: 3.5.25 - resolution: "@vue/runtime-core@npm:3.5.25" +"@vue/runtime-core@npm:3.5.21": + version: 3.5.21 + resolution: "@vue/runtime-core@npm:3.5.21" dependencies: - "@vue/reactivity": "npm:3.5.25" - "@vue/shared": "npm:3.5.25" - checksum: 10c0/be2efe5300daeaecdd6313139bbf39c5aa2113a0d2619ef1fb3b6d7bf0b33c54d7defe54001459ea4b0ecb01c1d1103ed0a1108534ea55abc2ba1d17ae0eb8bf + "@vue/reactivity": "npm:3.5.21" + "@vue/shared": "npm:3.5.21" + checksum: 10c0/40878341befc8bb3390ae33165a5c9e52e81dd555ba8b889de95f5ddc519f16f97636bc51d5cf1e67a064329068b0c399ea5c9784dc75a5260bc6a519495e3bd languageName: node linkType: hard -"@vue/runtime-dom@npm:3.5.25": - version: 3.5.25 - resolution: "@vue/runtime-dom@npm:3.5.25" +"@vue/runtime-dom@npm:3.5.21": + version: 3.5.21 + resolution: "@vue/runtime-dom@npm:3.5.21" dependencies: - "@vue/reactivity": "npm:3.5.25" - "@vue/runtime-core": "npm:3.5.25" - "@vue/shared": "npm:3.5.25" + "@vue/reactivity": "npm:3.5.21" + "@vue/runtime-core": "npm:3.5.21" + "@vue/shared": "npm:3.5.21" csstype: "npm:^3.1.3" - checksum: 10c0/e71e6dde9254dda52b2fed17c882fa4d174735b94436cdf847b44d32554b94b77cc76cdf6f6e2d6d0bdbeec070b2cf3f1416a5efd85c2e682cbe6842b1bb3969 + checksum: 10c0/047a468fbd2ce4ad6b6cc6fa47da8671f9f648e8a24164b423eab42c2a45547b73f14c33a7439c1a7d348e5ea7fe3020176a7138b69ced3cb224b399c6898267 languageName: node linkType: hard -"@vue/server-renderer@npm:3.5.25": - version: 3.5.25 - resolution: "@vue/server-renderer@npm:3.5.25" +"@vue/server-renderer@npm:3.5.21": + version: 3.5.21 + resolution: "@vue/server-renderer@npm:3.5.21" dependencies: - "@vue/compiler-ssr": "npm:3.5.25" - "@vue/shared": "npm:3.5.25" + "@vue/compiler-ssr": "npm:3.5.21" + "@vue/shared": "npm:3.5.21" peerDependencies: - vue: 3.5.25 - checksum: 10c0/d49a21380db4416a3b24f4c8cc45c44432a1a4aac75970cf3d5654ecca3b04cfe2b1f4b218e19deac4dea9398f4ddbfab06de10661f76b19554208fe1826a620 + vue: 3.5.21 + checksum: 10c0/4899387eb9885b17315ddfafd1e28d362a3dba0f781812fc8dc2a2f323789b8b193b8e9a0b7f9610a6fbbf4a2e83620b26c0f9e229598413fb220ba02e56a7df languageName: node linkType: hard -"@vue/shared@npm:3.5.25": - version: 3.5.25 - resolution: "@vue/shared@npm:3.5.25" - checksum: 10c0/8beda92b7c4b70eaffd7ecf30fe366f36f0ed57573696bbd277ad289d367dd23159e2a61a10a67a7d77e525f7a8f994c7f5c6b4736baf184f4b91ab053a7573d +"@vue/shared@npm:3.5.21": + version: 3.5.21 + resolution: "@vue/shared@npm:3.5.21" + checksum: 10c0/fbaf2e973d232ccd6d9afd3440510e2436c5e918f6634eb3e0f95d148041f7b9347bcb349db6265f2ee92e5ffd0e6751bdc649698c52f9179b45d93f68473706 languageName: node linkType: hard @@ -9116,12 +9499,12 @@ __metadata: linkType: hard "aggregate-error@npm:^4.0.0": - version: 4.0.1 - resolution: "aggregate-error@npm:4.0.1" + version: 4.0.0 + resolution: "aggregate-error@npm:4.0.0" dependencies: clean-stack: "npm:^4.0.0" indent-string: "npm:^5.0.0" - checksum: 10c0/75fd739f5c4c60a667cce35ccaf0edf135e147ef0be9a029cab75de14ac9421779b15339d562e58d25b233ea0ef2bbd4c916f149fdbcb73c2b9a62209e611343 + checksum: 10c0/9785b19042d1efe156d888833e8d54111c716b6f76a82fb3574fec2822ffd98e519e49095a680973c5178eb59a7770ff9caf2c8e6159b1f540ce94fba4c91497 languageName: node linkType: hard @@ -11007,11 +11390,11 @@ __metadata: linkType: hard "clean-stack@npm:^4.0.0": - version: 4.2.0 - resolution: "clean-stack@npm:4.2.0" + version: 4.1.0 + resolution: "clean-stack@npm:4.1.0" dependencies: escape-string-regexp: "npm:5.0.0" - checksum: 10c0/2bdf981a0fef0a23c14255df693b30eb9ae27eedf212470d8c400a0c0b6fb82fbf1ff8c5216ccd5721e3670b700389c886b1dce5070776dc9fbcc040957758c0 + checksum: 10c0/6dcc010bfcf1828e8996145768003940d209f61ab6c23319dc11651d4869b4c489282bb231274380efe6a3e028e8123ea9765db34da010c4550a090ceaff1656 languageName: node linkType: hard @@ -11224,7 +11607,7 @@ __metadata: "@babel/runtime-corejs3": "npm:7.28.4" "@data-client/img": "npm:0.15.1-beta-20251110151417-8913a49d898f6c7d69e1964d68f19daf68565bef" "@data-client/react": "npm:0.15.0-beta-20251022142546-a457d1596871fb28f1a91f2531cc259db4d55a9c" - "@data-client/rest": "npm:0.15.1-beta-20251110013913-ef632c49a03da67187b6097fe8154893cd930d30" + "@data-client/rest": "npm:0.15.1-beta-20251201012906-ff2853c5a0da93a503b2b606c8fc724625b79308" "@linaria/core": "npm:*" "@linaria/react": "npm:*" "@linaria/shaker": "npm:*" @@ -11688,13 +12071,27 @@ __metadata: languageName: node linkType: hard -"core-js@npm:3.47.0, core-js@npm:^3.30.2, core-js@npm:^3.31.1, core-js@npm:^3.40.0": +"core-js-pure@npm:^3.30.2": + version: 3.40.0 + resolution: "core-js-pure@npm:3.40.0" + checksum: 10c0/97590017216e2614e44bacc0b73159061b58e3ac86b61a3ed8cd78fc12bef604c5fb559a7a4d51ae5f2d1bd23ec57760ba6bf2802e802beb42d6bbce136acf52 + languageName: node + linkType: hard + +"core-js@npm:3.47.0": version: 3.47.0 resolution: "core-js@npm:3.47.0" checksum: 10c0/9b1a7088b7c660c7b8f1d4c90bb1816a8d5352ebdcb7bc742e3a0e4eb803316b5aa17bacb8769522342196351a5430178f46914644f2bfdb94ce0ced3c7fd523 languageName: node linkType: hard +"core-js@npm:^3.30.2, core-js@npm:^3.31.1, core-js@npm:^3.40.0": + version: 3.45.1 + resolution: "core-js@npm:3.45.1" + checksum: 10c0/c38e5fae5a05ee3a129c45e10056aafe61dbb15fd35d27e0c289f5490387541c89741185e0aeb61acb558559c6697e016c245cca738fa169a73f2b06cd30e6b6 + languageName: node + linkType: hard + "core-util-is@npm:~1.0.0": version: 1.0.2 resolution: "core-util-is@npm:1.0.2" @@ -12810,9 +13207,9 @@ __metadata: linkType: hard "decamelize@npm:^6.0.0": - version: 6.0.1 - resolution: "decamelize@npm:6.0.1" - checksum: 10c0/c0a3a529591ebab1d1a9458b60684194e91d904e9b0a56367d3d507b2c8ab89dfd40c61423ca6a1eb2f70e2d44d2efe78f3342326395d3738d1d42592b1a6224 + version: 6.0.0 + resolution: "decamelize@npm:6.0.0" + checksum: 10c0/689888f5ea39add843d79fb5a8d3bc1ce1df7583899bc7cef081c3deecd54758e24e8692f4c214e0ea6917742bb05ea1991e3e15c33031e7aa7b9041e8e8033a languageName: node linkType: hard @@ -13211,7 +13608,7 @@ __metadata: languageName: node linkType: hard -"dompurify@npm:3.2.7, dompurify@npm:^3.2.5": +"dompurify@npm:3.2.7": version: 3.2.7 resolution: "dompurify@npm:3.2.7" dependencies: @@ -13223,6 +13620,18 @@ __metadata: languageName: node linkType: hard +"dompurify@npm:^3.2.5": + version: 3.2.6 + resolution: "dompurify@npm:3.2.6" + dependencies: + "@types/trusted-types": "npm:^2.0.7" + dependenciesMeta: + "@types/trusted-types": + optional: true + checksum: 10c0/c8f8e5b0879a0d93c84a2e5e78649a47d0c057ed0f7850ca3d573d2cca64b84fb1ff85bd4b20980ade69c4e5b80ae73011340f1c2ff375c7ef98bb8268e1d13a + languageName: node + linkType: hard + "domutils@npm:^2.5.2, domutils@npm:^2.8.0": version: 2.8.0 resolution: "domutils@npm:2.8.0" @@ -13426,13 +13835,20 @@ __metadata: languageName: node linkType: hard -"emoji-regex@npm:^10.2.1, emoji-regex@npm:^10.3.0": +"emoji-regex@npm:^10.2.1": version: 10.6.0 resolution: "emoji-regex@npm:10.6.0" checksum: 10c0/1e4aa097bb007301c3b4b1913879ae27327fdc48e93eeefefe3b87e495eb33c5af155300be951b4349ff6ac084f4403dc9eff970acba7c1c572d89396a9a32d7 languageName: node linkType: hard +"emoji-regex@npm:^10.3.0": + version: 10.4.0 + resolution: "emoji-regex@npm:10.4.0" + checksum: 10c0/a3fcedfc58bfcce21a05a5f36a529d81e88d602100145fcca3dc6f795e3c8acc4fc18fe773fbf9b6d6e9371205edb3afa2668ec3473fa2aa7fd47d2a9d46482d + languageName: node + linkType: hard + "emoji-regex@npm:^8.0.0": version: 8.0.0 resolution: "emoji-regex@npm:8.0.0" @@ -15366,7 +15782,7 @@ __metadata: languageName: node linkType: hard -"glob@npm:^11.0.3": +"glob@npm:^11.0.0, glob@npm:^11.0.3": version: 11.0.3 resolution: "glob@npm:11.0.3" dependencies: @@ -15382,17 +15798,6 @@ __metadata: languageName: node linkType: hard -"glob@npm:^13.0.0": - version: 13.0.0 - resolution: "glob@npm:13.0.0" - dependencies: - minimatch: "npm:^10.1.1" - minipass: "npm:^7.1.2" - path-scurry: "npm:^2.0.0" - checksum: 10c0/8e2f5821f3f7c312dd102e23a15b80c79e0837a9872784293ba2e15ec73b3f3749a49a42a31bfcb4e52c84820a474e92331c2eebf18819d20308f5c33876630a - languageName: node - linkType: hard - "glob@npm:^7.0.0, glob@npm:^7.0.3, glob@npm:^7.0.5, glob@npm:^7.1.1, glob@npm:^7.1.3, glob@npm:^7.1.4, glob@npm:^7.1.6, glob@npm:^7.2.0": version: 7.2.3 resolution: "glob@npm:7.2.3" @@ -16735,22 +17140,22 @@ __metadata: linkType: hard "inquirer@npm:^12.0.0": - version: 12.11.1 - resolution: "inquirer@npm:12.11.1" + version: 12.9.6 + resolution: "inquirer@npm:12.9.6" dependencies: - "@inquirer/ansi": "npm:^1.0.2" - "@inquirer/core": "npm:^10.3.2" - "@inquirer/prompts": "npm:^7.10.1" - "@inquirer/type": "npm:^3.0.10" + "@inquirer/ansi": "npm:^1.0.0" + "@inquirer/core": "npm:^10.2.2" + "@inquirer/prompts": "npm:^7.8.6" + "@inquirer/type": "npm:^3.0.8" mute-stream: "npm:^2.0.0" - run-async: "npm:^4.0.6" + run-async: "npm:^4.0.5" rxjs: "npm:^7.8.2" peerDependencies: "@types/node": ">=18" peerDependenciesMeta: "@types/node": optional: true - checksum: 10c0/b275a400ddc80c138cef2c741f74463b1bdbeccb3351ab38bdf14b46ce53a186077beec24330e81f1cbfa7bd5c1933267c38d14d567b63c86b101436a3b705f7 + checksum: 10c0/068d9acbfab5e0c19d68603f86e296d00a8c797b6c2d7f2e659dfc557176e9247c2313beaf79d5557deb7d76a514cf9a75835c7928094b8759570b7a4e3f909f languageName: node linkType: hard @@ -18363,18 +18768,18 @@ __metadata: linkType: hard "js-yaml@npm:^3.13.1, js-yaml@npm:^3.6.1": - version: 3.14.2 - resolution: "js-yaml@npm:3.14.2" + version: 3.14.1 + resolution: "js-yaml@npm:3.14.1" dependencies: argparse: "npm:^1.0.7" esprima: "npm:^4.0.0" bin: js-yaml: bin/js-yaml.js - checksum: 10c0/3261f25912f5dd76605e5993d0a126c2b6c346311885d3c483706cd722efe34f697ea0331f654ce27c00a42b426e524518ec89d65ed02ea47df8ad26dcc8ce69 + checksum: 10c0/6746baaaeac312c4db8e75fa22331d9a04cccb7792d126ed8ce6a0bbcfef0cedaddd0c5098fade53db067c09fe00aa1c957674b4765610a8b06a5a189e46433b languageName: node linkType: hard -"js-yaml@npm:^4.1.0, js-yaml@npm:^4.1.1": +"js-yaml@npm:^4.1.0": version: 4.1.1 resolution: "js-yaml@npm:4.1.1" dependencies: @@ -19059,12 +19464,21 @@ __metadata: languageName: node linkType: hard -"magic-string@npm:^0.30.10, magic-string@npm:^0.30.21, magic-string@npm:^0.30.3": - version: 0.30.21 - resolution: "magic-string@npm:0.30.21" +"magic-string@npm:^0.30.10, magic-string@npm:^0.30.3": + version: 0.30.17 + resolution: "magic-string@npm:0.30.17" + dependencies: + "@jridgewell/sourcemap-codec": "npm:^1.5.0" + checksum: 10c0/16826e415d04b88378f200fe022b53e638e3838b9e496edda6c0e086d7753a44a6ed187adc72d19f3623810589bf139af1a315541cd6a26ae0771a0193eaf7b8 + languageName: node + linkType: hard + +"magic-string@npm:^0.30.18": + version: 0.30.19 + resolution: "magic-string@npm:0.30.19" dependencies: "@jridgewell/sourcemap-codec": "npm:^1.5.5" - checksum: 10c0/299378e38f9a270069fc62358522ddfb44e94244baa0d6a8980ab2a9b2490a1d03b236b447eee309e17eb3bddfa482c61259d47960eb018a904f0ded52780c4a + checksum: 10c0/db23fd2e2ee98a1aeb88a4cdb2353137fcf05819b883c856dd79e4c7dfb25151e2a5a4d5dbd88add5e30ed8ae5c51bcf4accbc6becb75249d924ec7b4fbcae27 languageName: node linkType: hard @@ -20595,7 +21009,7 @@ __metadata: languageName: node linkType: hard -"minimatch@npm:^10.0.3, minimatch@npm:^10.1.1": +"minimatch@npm:^10.0.3": version: 10.1.1 resolution: "minimatch@npm:10.1.1" dependencies: @@ -21055,9 +21469,9 @@ __metadata: linkType: hard "node-forge@npm:^1": - version: 1.3.2 - resolution: "node-forge@npm:1.3.2" - checksum: 10c0/1def35652c93a588718a6d0d0b4f33e3e7de283aa6f4c00d01d1605d6ccce23fb3b59bcbfb6434014acd23a251cfcc2736052b406f53d94e1b19c09d289d0176 + version: 1.3.1 + resolution: "node-forge@npm:1.3.1" + checksum: 10c0/e882819b251a4321f9fc1d67c85d1501d3004b4ee889af822fd07f64de3d1a8e272ff00b689570af0465d65d6bf5074df9c76e900e0aff23e60b847f2a46fbe8 languageName: node linkType: hard @@ -22132,7 +22546,7 @@ __metadata: languageName: node linkType: hard -"package-json-from-dist@npm:^1.0.0, package-json-from-dist@npm:^1.0.1": +"package-json-from-dist@npm:^1.0.0": version: 1.0.1 resolution: "package-json-from-dist@npm:1.0.1" checksum: 10c0/62ba2785eb655fec084a257af34dbe24292ab74516d6aecef97ef72d4897310bc6898f6c85b5cd22770eaa1ce60d55a0230e150fb6a966e3ecd6c511e23d164b @@ -24630,26 +25044,37 @@ __metadata: languageName: node linkType: hard +"react-native-is-edge-to-edge@npm:^1.2.1": + version: 1.2.1 + resolution: "react-native-is-edge-to-edge@npm:1.2.1" + peerDependencies: + react: "*" + react-native: "*" + checksum: 10c0/87d20b900aded7d44c90afb946a7aa03c23a94ca3dd547bdddc2303b85357e4aab22567a57b19f1558d6c8be7058e3dcf34faa1e15182d1604f90974266d9a1d + languageName: node + linkType: hard + "react-native-safe-area-context@npm:^5.0.0": - version: 5.6.2 - resolution: "react-native-safe-area-context@npm:5.6.2" + version: 5.6.1 + resolution: "react-native-safe-area-context@npm:5.6.1" peerDependencies: react: "*" react-native: "*" - checksum: 10c0/3c8df21a1dbac83116b9c9bd5d20b7c1bb7649ecef44a111af6fb6b237241f5f4d692189eec30a69f5701b857249257da3621b9e17165460a2bb71faac7b92ae + checksum: 10c0/797ad7d749bd42cbec8e504d969de13e17ed48506c2fd5a639d05d78d88194c21d72b9dc4608e08a2e8edac23341802e7b4661875242dc3bdce3008cfda5bcbe languageName: node linkType: hard "react-native-screens@npm:^4.1.0": - version: 4.18.0 - resolution: "react-native-screens@npm:4.18.0" + version: 4.16.0 + resolution: "react-native-screens@npm:4.16.0" dependencies: react-freeze: "npm:^1.0.0" + react-native-is-edge-to-edge: "npm:^1.2.1" warn-once: "npm:^0.1.0" peerDependencies: react: "*" react-native: "*" - checksum: 10c0/a35d4b82b9ab5ef13913c54ab6751a5cad5430de3e6cd66335cd3bf4dac92cd9d0c5b8b9a021e151724a9a6f6ca7864e2653c9930af7a9379e5a37b45bce6a0c + checksum: 10c0/8ec459ff52cbd317bfca598843a0010b4ca9070d05664f28d792594d8ceabb398b9d68abb578f40295e41f906308efe7ac7359046fba7aaf318a0d9d65446102 languageName: node linkType: hard @@ -25598,14 +26023,14 @@ __metadata: linkType: hard "rimraf@npm:^6.0.0": - version: 6.1.2 - resolution: "rimraf@npm:6.1.2" + version: 6.0.1 + resolution: "rimraf@npm:6.0.1" dependencies: - glob: "npm:^13.0.0" - package-json-from-dist: "npm:^1.0.1" + glob: "npm:^11.0.0" + package-json-from-dist: "npm:^1.0.0" bin: rimraf: dist/esm/bin.mjs - checksum: 10c0/c11a6a6fad937ada03c12fe688860690df8296d7cd08dbe59e3cc087f44e43573ae26ecbe48e54cb7a6db745b8c81fe5a15b9359233cc21d52d9b5b3330fcc74 + checksum: 10c0/b30b6b072771f0d1e73b4ca5f37bb2944ee09375be9db5f558fcd3310000d29dfcfa93cf7734d75295ad5a7486dc8e40f63089ced1722a664539ffc0c3ece8c6 languageName: node linkType: hard @@ -25894,10 +26319,10 @@ __metadata: languageName: node linkType: hard -"run-async@npm:^4.0.6": - version: 4.0.6 - resolution: "run-async@npm:4.0.6" - checksum: 10c0/3e512c689d356238a06a59839deddeb09aec23bc66f780fe970fcf12b64bfc00c6880e9530ea22b8cf88a927145561f5a43343d8be87166e849ec0daaa3d4cf4 +"run-async@npm:^4.0.5": + version: 4.0.5 + resolution: "run-async@npm:4.0.5" + checksum: 10c0/f6269ad515fe390ed2da8fed07ca9e5033cb97aa7228b871915f4b12d5ad07bcbbfef70e1a6f8032be0609e8284f565f0ac76c5ffb48e5db3ec1565b4c8f5217 languageName: node linkType: hard @@ -26361,13 +26786,6 @@ __metadata: languageName: node linkType: hard -"sf-symbols-typescript@npm:^2.1.0": - version: 2.1.0 - resolution: "sf-symbols-typescript@npm:2.1.0" - checksum: 10c0/b6e2482c2b3ba785aa00770013e343a2175475b9cb7c8703c30a2ec1da8b41acd982db2d953877afb35af32a3dfba337d0b29e703c399cd2138c3cf68685c9c2 - languageName: node - linkType: hard - "sha.js@npm:^2.4.0, sha.js@npm:^2.4.11, sha.js@npm:^2.4.8": version: 2.4.12 resolution: "sha.js@npm:2.4.12" @@ -28408,6 +28826,13 @@ __metadata: languageName: node linkType: hard +"undici-types@npm:~7.13.0": + version: 7.13.0 + resolution: "undici-types@npm:7.13.0" + checksum: 10c0/44bbb0935425291351bfd8039571f017295b5d6dc5727045d0a4fea8c6ffe73a6703b48ce010f9cb539b9041a75b463f8cfe1e7309cab7486452505fb0d66151 + languageName: node + linkType: hard + "undici-types@npm:~7.16.0": version: 7.16.0 resolution: "undici-types@npm:7.16.0" @@ -29128,20 +29553,20 @@ __metadata: linkType: hard "vue@npm:^3.4.0": - version: 3.5.25 - resolution: "vue@npm:3.5.25" + version: 3.5.21 + resolution: "vue@npm:3.5.21" dependencies: - "@vue/compiler-dom": "npm:3.5.25" - "@vue/compiler-sfc": "npm:3.5.25" - "@vue/runtime-dom": "npm:3.5.25" - "@vue/server-renderer": "npm:3.5.25" - "@vue/shared": "npm:3.5.25" + "@vue/compiler-dom": "npm:3.5.21" + "@vue/compiler-sfc": "npm:3.5.21" + "@vue/runtime-dom": "npm:3.5.21" + "@vue/server-renderer": "npm:3.5.21" + "@vue/shared": "npm:3.5.21" peerDependencies: typescript: "*" peerDependenciesMeta: typescript: optional: true - checksum: 10c0/2b77f9b934e212218d07eb2aa17d02e91578b08673be95553539dfa4246748ef7bc9ce4a380539c9265d85c4d0432329e9cb02eb1b1aec0f3a358433a1b108c2 + checksum: 10c0/4a635b211e43d00a75f35fbd7413b3a5067f97638be5e11d1b3e2860d7b85444bd0288593c63e068366b9b2371cb5cf05a451ff6bc82246cd7092b17c6711100 languageName: node linkType: hard @@ -30156,6 +30581,13 @@ __metadata: languageName: node linkType: hard +"yoctocolors-cjs@npm:^2.1.2": + version: 2.1.2 + resolution: "yoctocolors-cjs@npm:2.1.2" + checksum: 10c0/a0e36eb88fea2c7981eab22d1ba45e15d8d268626e6c4143305e2c1628fa17ebfaa40cd306161a8ce04c0a60ee0262058eab12567493d5eb1409780853454c6f + languageName: node + linkType: hard + "yoctocolors-cjs@npm:^2.1.3": version: 2.1.3 resolution: "yoctocolors-cjs@npm:2.1.3"