Skip to content

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 from 2a946f7 to 0f3f1c4 Compare July 30, 2025 20:09
@renovate renovate bot force-pushed the renovate/type-graphql-2.x branch 23 times, most recently from 96509cb to 5df7f5f Compare August 15, 2025 17:18
@renovate renovate bot force-pushed the renovate/type-graphql-2.x branch 3 times, most recently from 45e702f to dcff071 Compare August 23, 2025 23:59
@renovate renovate bot force-pushed the renovate/type-graphql-2.x branch from dcff071 to edf1f73 Compare August 31, 2025 01: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 edf1f73 to da5bf53 Compare August 31, 2025 01:46
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