- 37개 파일 IP → zioinfo.co.kr 치환 (소스/매뉴얼/설정/하네스) - Manager DrConsole/NetworkConsole/CsapConsole 빌드 + /var/www/manager/ 배포 - 테스트: Manager HTTP 200, ITSM 신규 API 7개 전체 200 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
28 KiB
@urql/core
2.3.6
Patch Changes
- Extend peer dependency range of
graphqlto include^16.0.0. As always when upgrading across many packages ofurql, especially including@urql/corewe recommend you to deduplicate dependencies after upgrading, usingnpm dedupeornpx yarn-deduplicate, by @kitten (See #2133)
2.3.5
Patch Changes
- ⚠️ Fix issue where
maskTypenamewould ignore array shapes, by @JoviDeCroock (See #2074)
2.3.4
Patch Changes
- Prevent
Bufferfrom being polyfilled by an automatic detection in Webpack. Instead of referencing theBufferglobal we now simply check the constructor name, by @kitten (See #2027) - ⚠️ Fix error-type of an
ExecutionResultto line up with subscription-libs, by @JoviDeCroock (See #1998)
2.3.3
Patch Changes
- Adding option to
ssrExchangeto include theextensionsfield of operation results in the cache, by @dios-david (See #1985)
2.3.2
Patch Changes
- ⚠️ Fix issue where the ssr-exchange would loop due to checking network-only revalidations, by @JoviDeCroock (See #1944)
2.3.1
Patch Changes
- ⚠️ Fix mark
query.__keyas non-enumerable soformatDocumentdoes not restore previous invocations when cloning the gql-ast, by @JoviDeCroock (See #1870) - ⚠️ Fix: update toPromise to exclude
hasNextresults. This change ensures that when we call toPromise() on a query we wont serve an incomplete result, the user will expect to receive a non-stale full-result when using toPromise(), by @JoviDeCroock (See #1880)
2.3.0
Minor Changes
- Add experimental support for
@deferand@streamresponses for GraphQL. This implements the "GraphQL Defer and Stream Directives" and "Incremental Delivery over HTTP" specifications. If a GraphQL API supportsmultipart/mixedresponses for deferred and streamed delivery of GraphQL results,@urql/core(and all its derived fetch implementations) will attempt to stream results. This is only supported on browsers supporting streamed fetch responses, which excludes IE11. The implementation of streamed multipart responses is derived frommerosby@maraisr, and is subject to change if the RFCs end up changing, by @kitten (See #1854)
2.2.0
Minor Changes
- Add a
staleWhileRevalidateoption to thessrExchange, which allows the client to immediately refetch a new result on hydration, which may be used for cached / stale SSR or SSG pages. This is different from usingcache-and-networkby default (which isn't recommended) as thessrExchangetypically acts like a "replacement fetch request", by @kitten (See #1852)
Patch Changes
- ⚠️ Fix prevent mangling embedded strings in queries sent using the
GETmethod, by @JoviDeCroock (See #1851) - The single-source behavior previously wasn't effective for implementations like React, where the issue presents itself when the state of an operation is first polled. This led to the operation being torn down erroneously. We now ensure that operations started at the same time still use a shared single-source, by @JoviDeCroock (See #1850)
2.1.6
Patch Changes
- Warn for invalid operation passed to query/subscription/mutation, by @JoviDeCroock (See #1829)
2.1.5
Patch Changes
- Prevent
ssrExchange().restoreData()from adding results to the exchange that have already been invalidated. This may happen whenrestoreData()is called repeatedly, e.g. per page. When a prior run has already invalidated an SSR result then the result is 'migrated' to the user'scacheExchange, which means thatrestoreData()should never attempt to re-add it again, by @kitten (See #1776) - ⚠️ Fix accidental change in passive
stale: true, where acache-firstoperation issued by Graphcache wouldn't yield an affected query and update its result to reflect the loading state withstale: true. This is a regression fromv2.1.0and mostly becomes unexpected whencache.invalidate(...)is used, by @kitten (See #1755)
2.1.4
Patch Changes
- Prevent stale results from being emitted by promisified query sources, e.g.
client.query(...).toPromise()yielding a partial result withstale: trueset. Instead,.toPromise()will now filter out stale results, by @kitten (See #1709)
2.1.3
Patch Changes
- Treat empty variables the same as no variables in
@urql/core'screateRequest, by @kitten (See #1695)
2.1.2
Patch Changes
- ⚠️ Fix a condition under which the
Clientwould hang when a query is started and consumed withtoPromise(), by @kitten (See #1634) - Refactor
Clientto hide some implementation details and to reduce size, by @kitten (See #1638)
2.1.1
Patch Changes
- ⚠️ Fix a regression in
@urql/core@2.1.1that prevented concurrent operations from being dispatched with differing request policies, which for instance prevented the explicitexecuteQuerycalls on bindings to fail, by @kitten (See #1626)
2.1.0
Minor Changes
- With the "single-source behavior" the
Clientwill now also avoid executing an operation if it's already active, has a previous result available, and is either run with thecache-firstorcache-onlyrequest policies. This is similar to a "short circuiting" behavior, where unnecessary work is avoided by not issuing more operations into the exchange pipeline than expected, by @kitten (See #1600) - Add consistent "single-source behavior" which makes the
Clientmore forgiving when duplicate sources are used, which previously made it difficult to use the same operation across an app together withcache-and-network; This was a rare use-case, and it isn't recommended to overfetch data across an app, however, the newClientimplementation of shared sources ensures that when an operation is active that theClientdistributes the last known result for the active operation to any new usages of it (which is called “replaying stale results”) (See #1515)
Patch Changes
- Remove closure-compiler from the build step (See #1570)
- ⚠️ Fix inconsistency in generating keys for
DocumentNodes, especially when using GraphQL Code Generator, which could cause SSR serialization to fail, by @zenflow (See #1509)
2.0.0
Major Changes
- Breaking: Remove
pollIntervalfeature fromOperationContext. Instead consider using a source that usesWonka.intervalandWonka.switchMapoverclient.query()'s source, by @kitten (See #1374) - Remove deprecated
operationNameproperty fromOperations. The newOperation.kindproperty is now preferred. If you're creating new operations you may also use themakeOperationutility instead. When upgrading@urql/coreplease ensure that your package manager didn't install any duplicates of it. You may deduplicate it manually usingnpx yarn-deduplicate(for Yarn) ornpm dedupe(for npm), by @kitten (See #1357)
Minor Changes
- Reemit an
OperationResultasstale: trueif it's being reexecuted asnetwork-onlyoperation to give bindings immediate feedback on background refetches, by @kitten (See #1375)
1.16.2
Patch Changes
- Add a workaround for
graphql-tag/loader, which provides filtered query documents (where the original document contains multiple operations) without updating or providing a correctdocument.loc.source.bodystring, by @kitten (See #1315)
1.16.1
Patch Changes
- Add fragment deduplication to
gqltag. Identical fragments can now be interpolated multiple times without a warning being triggered or them being duplicated ingql's output, by @kitten (See #1225)
1.16.0
Minor Changes
- Add a built-in
gqltag function helper to@urql/core. This behaves similarly tographql-tagbut only warns about locally duplicated fragment names rather than globally. It also primes@urql/core's key cache with the parsedDocumentNode, by @kitten (See #1187)
Patch Changes
- ⚠️ Fix edge case in
formatDocument, which fails to add a__typenamefield if it has been aliased to a different name, by @kitten (See #1186) - Cache results of
formatDocumentby the input document's key, by @kitten (See #1186)
1.15.2
Patch Changes
- Don't add
undefinedto any property of thessrExchange's serialized results, as this would crash in Next.js, by @JoviDeCroock (See #1168)
1.15.1
Patch Changes
- Export
getOperationNamefrom@urql/coreand use it in@urql/exchange-execute, fixing several imports, by @JoviDeCroock (See #1135)
1.15.0
Minor Changes
- Improve the Suspense implementation, which fixes edge-cases when Suspense is used with subscriptions, partially disabled, or used on the client-side. It has now been ensured that client-side suspense functions without the deprecated
suspenseExchangeand uncached results are loaded consistently. As part of this work, theClientitself does now never throw Suspense promises anymore, which is functionality that either way has no place outside of the React/Preact bindings, by @kitten (See #1123)
Patch Changes
- Use
Recordoverobjecttype for subscription operation variables. Theobjecttype is currently hard to use (see this issue), by @enisdenjo (See #1119) - Add support for
TypedDocumentNodeto infer the type of theOperationResultandOperationfor all methods, functions, and hooks that either directly or indirectly accept aDocumentNode. Seegraphql-typed-document-nodeand the corresponding blog post for more information., by @kitten (See #1113) - Refactor
useSourcehooks which powersuseQueryanduseSubscriptionto improve various edge case behaviour. This will not change the behaviour of these hooks dramatically but avoid unnecessary state updates when any updates are obviously equivalent and the hook will furthermore improve continuation from mount to effects, which will fix cases where the state between the mounting and effect phase may slightly change, by @kitten (See #1104)
1.14.1
Patch Changes
- ⚠️ Fix the production build overwriting the development build. Specifically in the previous release we mistakenly replaced all development bundles with production bundles. This doesn't have any direct influence on how these packages work, but prevented development warnings from being logged or full errors from being thrown, by @kitten (See #1097)
1.14.0
This version of @urql/core renames Operation.operationName to Operation.kind. For now the old
property is merely deprecated and will issue a warning if it's used directly. That said, all
exchanges that are released today also need this new version of @urql/core@>=1.14.0, so if you
upgrade to any of the following packages, you will also need to upgrade @urql/core. If you upgrade
and see the deprecation warning, check whether all following exchanges have been upgraded:
@urql/exchange-auth@0.1.2@urql/exchange-execute@1.0.2@urql/exchange-graphcache@3.1.8@urql/exchange-multipart-fetch@0.1.10@urql/exchange-persisted-fetch@1.2.2@urql/exchange-populate@0.2.1@urql/exchange-refocus@0.2.1@urql/exchange-retry@0.1.9@urql/exchange-suspense@1.9.2
Once you've upgraded @urql/core please also ensure that your package manager hasn't accidentally
duplicated the @urql/core package. If you're using npm you can do so by running npm dedupe,
and if you use yarn you can do so by running yarn-deduplicate.
If you have a custom exchange, you can mute the deprecation warning by using Operation.kind rather
than Operation.operationName. If these exchanges are copying or altering operations by spreading
them this will also trigger the warning, which you can fix by using the new makeOperation helper
function.
Minor Changes
- Deprecate the
Operation.operationNameproperty in favor ofOperation.kind. This name was previously confusing asoperationNamewas effectively referring to two different things. You can safely upgrade to this new version, however to mute all deprecation warnings you will have to upgrade allurqlpackages you use. If you have custom exchanges that spread operations, please use the newmakeOperationhelper function instead, by @bkonkle (See #1045)
Patch Changes
- Add missing
.mjsextension to all imports fromgraphqlto fix Webpack 5 builds, which require extension-specific import paths for ESM bundles and packages. This change allows you to safely upgrade to Webpack 5., by @kitten (See #1094)
1.13.1
Patch Changes
- Allow
client.reexecuteOperationto be called with mutations which skip the active operation minimums, by @kitten (See #1011)
1.13.0
Please note that this release changes the data structure of the ssrExchange's
output. We don't treat this as a breaking change, since this data is considered
a private structure, but if your tests or other code relies on this, please check
the type changes and update it.
Minor Changes
- Adds an error exchange to urql-core. This allows tapping into all graphql errors within the urql client. Useful for logging, debugging, handling authentication errors etc, by @kadikraman (See #947)
Patch Changes
- ⚠️ Fix condition where mutated result data would be picked up by the
ssrExchange, for instance as a result of mutations by Graphcache. Instead thessrExchangenow serializes data early, by @kitten (See #962) - Omit the
Content-Type: application/jsonHTTP header when using GET in thefetchExchange,persistedFetchExchange, ormultipartFetchExchange, by @JoviDeCroock (See #957)
1.12.3
Patch Changes
- Remove whitespace and comments from string-queries, by @JoviDeCroock (See #911)
- Remove redundant whitespaces when using GET for graphql queries, by @JoviDeCroock (See #908)
1.12.2
Patch Changes
- ⚠️ Fix
formatDocumentmutating parts of theDocumentNodewhich may be shared by other documents and queries. Also ensure that a formatted document will always generate the same key increateRequestas the original document, by @kitten (See #880) - ⚠️ Fix
ssrExchangeinvalidating results on the client-side too eagerly, by delaying invalidation by a tick, by @kitten (See #885)
1.12.1
Patch Changes
- ⚠️ Fix timing for out-of-band
client.reexecuteOperationcalls. This would surface in asynchronous caching scenarios, where no result would be delivered by the cache synchronously, while it still callsclient.reexecuteOperationfor e.g. anetwork-onlyrequest, which happens forcache-and-network. This issue becomes especially obvious in highly synchronous frameworks like Svelte, by @kitten (See #860) - Replace unnecessary
scheduleTaskpolyfill with inlinePromise.resolve().then(fn)calls, by @kitten (See #861)
1.12.0
As always, please ensure that you deduplicate @urql/core when upgrading. Additionally
deduplicating the versions of wonka that you have installed may also reduce your bundlesize.
Minor Changes
- Expose a
client.subscriptionshortcut method, similar toclient.queryandclient.mutation, by @FredyC (See #838)
Patch Changes
- Upgrade to a minimum version of wonka@^4.0.14 to work around issues with React Native's minification builds, which use uglify-es and could lead to broken bundles, by @kitten (See #842)
1.11.8
Patch Changes
- Add operationName to GET queries, by @jakubriedl (See #798)
1.11.7
Patch Changes
- Add
sourcedebug name to alldispatchDebugcalls during build time to identify events by which exchange dispatched them, by @JoviDeCroock (See #780)
1.11.6
Patch Changes
- Add a
"./package.json"entry to thepackage.json's"exports"field for Node 14. This seems to be required by packages likerollup-plugin-svelteto function properly, by @JoviDeCroock (See #771)
1.11.5
Patch Changes
- Hoist variables in unminified build output for Metro Bundler builds which otherwise fails for
process.env.NODE_ENVif-clauses, by @kitten (See #737) - Add a babel-plugin that removes empty imports from the final build output, by @JoviDeCroock (See #735)
1.11.4
Patch Changes
Sorry for the many updates; Please only upgrade to >=1.11.4 and don't use the deprecated 1.11.3
and 1.11.2 release.
- ⚠️ Fix nested package path for @urql/core/internal and @urql/exchange-graphcache/extras, by @kitten (See #734)
1.11.3
Patch Changes
- Make the extension of the main export unknown, which fixes a Webpack issue where the resolver won't pick
modulefields inpackage.jsonfiles once it's importing from another.mjsfile, by @JoviDeCroock (See #733)
1.11.1
Patch Changes
- ⚠️ Fix missing
@urql/core/internalentrypoint in the npm-release, which was previously not included, by @JoviDeCroock (See #731)
1.11.0
Minor Changes
- Add debugging events to exchanges that add more detailed information on what is happening internally, which will be displayed by devtools like the urql Chrome / Firefox extension, by @andyrichardson (See #608)
- Add @urql/core/internal entrypoint for internally shared utilities and start sharing fetchExchange-related code, by @kitten (See #722)
Patch Changes
1.10.9
Patch Changes
- Pick modules from graphql package, instead of importing from graphql/index.mjs, by @kitten (See #700)
1.10.8
Patch Changes
- Add graphql@^15.0.0 to peer dependency range, by @kitten (See #688)
- ⚠️ Fix non-2xx results never being parsed as GraphQL results. This can result in valid GraphQLErrors being hidden, which should take precedence over generic HTTP NetworkErrors, by @kitten (See #678)
1.10.7
Patch Changes
- ⚠️ Fix oversight in edge case for #662. The operation queue wasn't marked as being active which caused
staleresults andcache-and-networkoperations from reissuing operations immediately (unqueued essentially) which would then be filtered out by thededupExchange, by @kitten (See #669)
1.10.6
Patch Changes
- ⚠️ Fix critical bug in operation queueing that can lead to unexpected teardowns and swallowed operations. This would happen when a teardown operation kicks off the queue, by @kitten (See #662)
1.10.5
Patch Changes
- Refactor a couple of core helpers for minor bundlesize savings, by @kitten (See #658)
- Add support for variables that contain non-plain objects without any enumerable keys, e.g.
FileorBlob. In this casestringifyVariableswill now use a stable (but random) key, which means that mutations containingFiles — or other objects like this — will now be distinct, as they should be, by @kitten (See #650)
1.10.4
Patch Changes
- ⚠️ Fix node resolution when using Webpack, which experiences a bug where it only resolves
package.json:maininstead ofmodulewhen an.mjsfile imports a package, by @JoviDeCroock (See #642)
1.10.3
Patch Changes
- ⚠️ Fix Node.js Module support for v13 (experimental-modules) and v14. If your bundler doesn't support
.mjsfiles and fails to resolve the new version, please double check your configuration for Webpack, or similar tools, by @JoviDeCroock (See #637)
1.10.2
Patch Changes
- Add a guard to "maskTypenames" so a null value isn't considered an object, by @JoviDeCroock (See #621)
1.10.1
Patch Changes
1.10.0
Minor Changes
- Add
additionalTypenamesto theOperationContext, which allows the document cache to invalidate efficiently when the__typenameis unknown at the initial fetch, by @JoviDeCroock (See #601) You can learn more about this change in our docs.
Patch Changes
- Add missing GraphQLError serialization for extensions and path field to ssrExchange, by @kitten (See #607)
1.9.2
Patch Changes
1.9.1
Patch Changes
- ⚠️ Fix
cache-onlyoperations being forwarded and triggering fetch requests, by @JoviDeCroock (See #551) - Adds a one-tick delay to the subscriptionExchange to prevent unnecessary early tear downs, by @JoviDeCroock (See #542)
- Add enableAllOperations option to subscriptionExchange to let it handle queries and mutations as well, by @kitten (See #544)
1.9.0
Minor Changes
- Adds the
maskTypenameexport to urql-core, this deeply masks typenames from the given payload. Masking__typenameproperties is also available as amaskTypenameoption on theClient. Setting this to true will strip typenames from results, by @JoviDeCroock (See #533) - Add support for sending queries using GET instead of POST method (See #519)
- Add client.readQuery method (See #518)