Vigia

Aktualizacja graphql-yoga z 5.x do 6.x

Porównanie publicznego API graphql-yoga 5.24.6 i 6.0.0, obliczone automatycznie na podstawie typów TypeScript. Zmieniona sygnatura to możliwa zmiana niekompatybilna, a nie pewność.

Podsumowanie

Usunięte ścieżki importu0
Usunięte eksporty6
Zmienione sygnatury3
Usunięte składowe klas lub interfejsów2
Zmienione składowe klas lub interfejsów2
Nowo wycofane0
Zmiany wymagań (engines, zależności peer)2
Nowe eksporty16

Usunięte eksporty

importexportkindPrzed
graphql-yogaisPromisevariableany
graphql-yogamergeSchemasvariableany
graphql-yogamapMaybePromisevariableany
graphql-yogamapAsyncIteratorvariableany
graphql-yogaDisposableSymbolsvariableany
graphql-yogacreateGraphQLErrorvariableany

Zmienione sygnatury

exportPrzedPo
graphql-yoga · MaskError(error: unknown, message: string, isDev?: boolean | undefined) => Error(error: unknown, message: string, isDev?: boolean | undefined, context?: (Partial<YogaInitialContext> & YogaConfigContext) | undefined) => Error
graphql-yoga · maskError(error: unknown, message: string, isDev?: boolean | undefined): Error(error: unknown, message: string, isDev?: boolean | undefined, context?: (Partial<YogaInitialContext> & YogaConfigContext) | undefined): Error
graphql-yoga · YogaServerOptionsOmit<ServerAdapterOptions<TServerContext>, "plugins"> & { logging?: any; maskedErrors?: boolean | Partial<YogaMaskedErrorOpts> | undefined; context?: TUserContext | ((initialContext: YogaInitialContext & TServerContext) => TUserContext | Promise<TUserContext>) | Promise<TUserContext> | undefined; cors?: any; graphqlEndpoint?: string | undefined; healthCheckEndpoint?: string | undefined; landingPage?: boolean | LandingPageRenderer | undefined; graphiql?: GraphiQLOptionsOrFactory<TServerContext> | undefined; renderGraphiQL?: ((options: GraphiQLOptions) => PromiseOrValue<BodyInit>) | undefined; s…Omit<ServerAdapterOptions<TServerContext>, "plugins"> & { logging?: any; requestId?: boolean | RequestIdOptions<TServerContext> | undefined; maskedErrors?: boolean | Partial<YogaMaskedErrorOpts> | undefined; context?: TUserContext | ((initialContext: YogaInitialContext & TServerContext) => TUserContext | Promise<TUserContext>) | Promise<TUserContext> | undefined; cors?: any; graphqlEndpoint?: string | undefined; healthCheckEndpoint?: string | undefined; landingPage?: boolean | LandingPageRenderer | undefined; graphiql?: GraphiQLOptionsOrFactory<TServerContext> | undefined; renderGraphiQL?: ((o…

Usunięte składowe klas lub interfejsów

memberimportPrzed
YogaServer.loggergraphql-yogaYogaLogger
GraphiQLPluginConfig.loggergraphql-yogaany

Zmienione składowe klas lub interfejsów

memberPrzedPo
YogaServer.parseRequest(request: Request, serverContext: any): MaybePromise<{ requestParserResult: GraphQLParams<Record<string, any>, Record<string, any>> | GraphQLParams<Record<string, any>, Record<string, any>>[]; response?: undefined; } | { requestParserResult?: undefined; response: Response; }>(request: Request, serverContext: any, fetchAPI?: any): MaybePromise<{ requestParserResult: GraphQLParams<Record<string, any>, Record<string, any>> | GraphQLParams<Record<string, any>, Record<string, any>>[]; response?: undefined; } | { requestParserResult?: undefined; response: Response; }>
YogaServer.getResultForParams({ params, request, }: { params: GraphQLParams<Record<string, any>, Record<string, any>>; request: Request; }, context: TServerContext): PromiseOrValue<any>({ params, request, }: { params: GraphQLParams<Record<string, any>, Record<string, any>>; request: Request; }, context: TServerContext, fetchAPI?: any): PromiseOrValue<any>

Nowo wycofane

Nie wykryto.

Zmiany wymagań (engines, zależności peer)

PrzedPo
engines.node>=18.0.0>=22.15.0
peerDependencies.graphql^15.2.0 || ^16.0.0 || ^17.0.0^16.0.0 || ^17.0.0
Nowe eksporty (16)
importexportkind
graphql-yogaLoggervariable
graphql-yogaLogLevelvariable
graphql-yogaLegacyLoggervariable
graphql-yogagetRequestIdfunction
graphql-yogauseRequestIdfunction
graphql-yogaMemoryLogWritervariable
graphql-yogaRequestIdOptionsinterface
graphql-yogaYogaConfigContexttype
graphql-yogaGenerateRequestIdFntype
graphql-yogawithSchemaCoordinatefunction
graphql-yogadefaultRequestIdHeadervariable
graphql-yogacreateLoggerFromLoggingfunction
graphql-yogaGenerateRequestIdPayloadinterface
graphql-yogadefaultGenerateRequestIdvariable
graphql-yogauseConfigInServerContextfunction
graphql-yogaConfigInServerContextOptionsinterface

Przekaż te dane swojemu agentowi AI

Vigia to darmowy serwer MCP: Twój agent programistyczny sprawdza wersje, zmiany łamiące zgodność i podatności, zanim napisze kod. Bez rejestracji i klucza API.

claude mcp add --transport http vigia https://vigia.coredls.cloud/mcp

Dodaj do CursorDodaj do VS Code★ Gwiazdka na GitHubie

Dowolny inny klient MCP
{ "mcpServers": { "vigia": { "url": "https://vigia.coredls.cloud/mcp" } } }

Skill dla agentów (SKILL.md): mówi agentowi, kiedy używać Vigii · GitHub Action dla pull requestów

Najczęściej zadawane pytania

Jakie są zmiany niekompatybilne przy aktualizacji graphql-yoga z 5 do 6?

Między graphql-yoga 5.24.6 a 6.0.0 Vigia znalazła 6 usuniętych eksportów, 3 zmienionych sygnatur i 4 usuniętych lub zmienionych składowych klas lub interfejsów.

Co zostało wycofane w graphql-yoga 6?

0 eksportów lub składowych oznaczono w graphql-yoga 6.0.0 jako wycofane.

Dla agentów

GET https://vigia.coredls.cloud/v1/packages/npm/graphql-yoga/upgrade?from=5.24.6&to=6.0.0