Skip to content

chore: update dependency type-graphql to ^2.0.0-rc.2 #10979

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented May 30, 2025

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
type-graphql (source) ^2.0.0-beta.2 -> ^2.0.0-rc.2 age adoption passing confidence

Release Notes

MichalLytek/type-graphql (type-graphql)

v2.0.0-rc.2

Compare Source

v2.0.0-rc.1

Compare Source

v2.0.0-beta.6

Compare Source

Fixes
  • allow overriding field resolver method with different name arguments (#​1284)
  • allow object type's name argument string contain a double underscore (__) when using buildTypeDefsAndResolvers() (#​1309)
Others
  • Breaking Change: update graphql-scalars peer dependency to ^1.22.4
  • properly configure esm build pipeline to publish working esm version of the package

v2.0.0-beta.5

Compare Source

v2.0.0-beta.4

Compare Source

Features
  • Breaking Change: expose shim as a package entry point type-graphql/shim (and /node_modules/type-graphql/build/typings/shim.ts)
  • Breaking Change: update graphql-js peer dependency to ^16.8.1
  • Breaking Change: use @graphql-yoga instead of graphql-subscriptions as the subscriptions engine
  • Breaking Change: require providing PubSub implementation into buildSchema option when using @Subscription
  • Breaking Change: remove @PubSub in favor of directly importing created PubSub implementation
  • Breaking Change: remove Publisher and PubSubEngine types
  • Breaking Change: rename interface ResolverFilterData into SubscriptionHandlerData and ResolverTopicData into SubscribeResolverData
  • support defining directives on @Field of @Args
  • support defining directives on inline @Arg
  • allow passing custom validation function as validateFn option of @Arg and @Args decorators
  • add support for dynamic topic id function in @Subscription decorator option

v2.0.0-beta.3

Compare Source

Features
  • Breaking Change: update graphql-js peer dependency to ^16.7.1
  • Breaking Change: upgrade ArgumentValidationError and replace UnauthorizedError and ForbiddenError with AuthenticationError, AuthorizationError that are extending GraphQLError to let the error details be accessible in the extensions property
  • Breaking Change: change ClassType constraint from ClassType<T = any> to ClassType<T extends object = object> in order to make it work properly with new TS features
  • Breaking Change: remove dateScalarMode option from buildSchema
  • Breaking Change: make graphql-scalars package a peer dependency and use date scalars from it instead of custom ones
  • Breaking Change: exported GraphQLISODateTime scalar has now a name DateTimeISO
  • Breaking Change: change ValidatorFn signature from ValidatorFn<TArgs> to ValidatorFn<TContext>
  • support custom validation function getting resolver data on validate
  • bring compatibility with the ESM ecosystem by exposing the double bundle of the type-graphql package (CJS and ESM versions)
Fixes
  • allow ValidatorFn to accept array of values (instead of only object | undefined)

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot requested a review from raymondfeng as a code owner May 30, 2025 17:00
@renovate renovate bot added the dependencies Pull requests that update a dependency file label May 30, 2025
@dhmlau
Copy link
Member

dhmlau commented May 30, 2025

per this comment from @lchudinov

@renovate renovate bot force-pushed the renovate/type-graphql-2.x branch 14 times, most recently from aa45bca to 7cd6034 Compare June 5, 2025 16:18
@renovate renovate bot force-pushed the renovate/type-graphql-2.x branch 12 times, most recently from f0a57ca to b44b212 Compare June 10, 2025 14:43
@renovate renovate bot force-pushed the renovate/type-graphql-2.x branch 10 times, most recently from 47db78d to 30e0d36 Compare June 20, 2025 13:46
@renovate renovate bot force-pushed the renovate/type-graphql-2.x branch 11 times, most recently from 4fc098c to 1ab3f18 Compare June 30, 2025 23:17
@renovate renovate bot force-pushed the renovate/type-graphql-2.x branch 7 times, most recently from 5761c98 to 0c1888c Compare July 8, 2025 20:41
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
@renovate renovate bot force-pushed the renovate/type-graphql-2.x branch from 0c1888c to bd1b31a Compare July 9, 2025 15:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file do-not-merge
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant