Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Oct 14, 2021

Bumps caliban-tools_2.13 from 0.9.5 to 1.2.1.

Release notes

Sourced from caliban-tools_2.13's releases.

v1.2.1

Release Notes

Adapters

  • Made the signature of makeWebSocketService in the Http4s adapter more permissive, allowing you to use a different R between GraphQLInterpreter and WebSocketBuilder2 #1080 by @​ghostdogpr

Client

Tools

  • Added an option ctCalibanClientsVersionedCode to the compile time codegen plugin, so that it generates code in the target folder #1087 by @​guizmaii
  • Made all the generated case classes final #1081 by @​guizmaii

v1.2.0

Release Notes

The highlight of this release is the addition of a new sbt plugin to generate your Caliban client code directly from your Caliban server code at compile time. This is useful if you use Caliban on both client and server side. Check the plugin documentation for more details.

Here's a little preview showing how you tell sbt where your GraphQL server API is defined:

lazy val api =
  project
    .enablePlugins(CompileTimeCalibanServerPlugin)
    .settings(
      Compile / ctCalibanServer / ctCalibanServerSettings :=
        Seq(
          "com.example.my.awesome.project.api.CalibanServer.graphqlApi" -> ClientGenerationSettings.default
        )
    )

It is still very new, so let us know if you encounter any bug. This sbt voodoo magic was brought in #1037 by @​guizmaii 🙏

Server

  • Added support for @GQLDefault annotation for defining the default value of a field #1043 by @​frekw
  • Added Schema and ArgBuilder instances for Short #1011 by @​Fluxx
  • Added helpers for creating Schema instances for non-Throwable errors, see customErrorEffectSchema, customErrorQuerySchema and customErrorStreamSchema #1059 by @​ghostdogpr
  • Fixed fragment spreads parsing in Scala 3 #1066 by @​ghostdogpr
  • Fixed field metadata for enums coming from JSON variables (they now return EnumValue instead of StringValue) #1064 by @​frekw

Adapters

  • Upgraded http4s to 0.23.5. This caused a change in the interface of makeWebSocketService, because WebSocketBuilder was deprecated by http4s. It now requires a WebSocketBuilder2. See the examples project for an updated usage. #1075 by @​ghostdogpr
  • Added WebSocket lifecycle hooks to the zio-http adapter #1013 by @​frekw

Tools

... (truncated)

Commits
  • 2839fd2 Change scalafmt reporter to not use errors (#1088)
  • d9ff4df [ci skip] update docs
  • 4fdafc1 Tweak docs
  • 6517813 [ci skip] update docs
  • 5d3497a Implement new CompileTimeCalibanClientPlugin ctCalibanClientsVersionedCode ...
  • a1caddf Add missing final in generated case classes (#1081)
  • ed7f312 Fix error handling in laminext integration (#1086)
  • 258b7e4 Update http4s-blaze-server, http4s-circe, ... to 0.23.6 (#1085)
  • b5eb43b Make http4s adapter signature more permissive for R (#1080)
  • 848b0c3 CalibanPlugin should only be active when explicitly enabled (#1078)
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [caliban-tools_2.13](https://github.com/ghostdogpr/caliban) from 0.9.5 to 1.2.1.
- [Release notes](https://github.com/ghostdogpr/caliban/releases)
- [Commits](ghostdogpr/caliban@v0.9.5...v1.2.1)

---
updated-dependencies:
- dependency-name: com.github.ghostdogpr:caliban-tools_2.13
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Oct 14, 2021
@dependabot dependabot bot requested a review from johanneshiry October 14, 2021 04:20
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Nov 8, 2021

Superseded by #30.

@dependabot dependabot bot closed this Nov 8, 2021
@dependabot dependabot bot deleted the dependabot/gradle/main/com.github.ghostdogpr-caliban-tools_2.13-1.2.1 branch November 8, 2021 04:22
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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant