Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: graphql-java/graphql-java-extended-scalars
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v21.0
Choose a base ref
...
head repository: graphql-java/graphql-java-extended-scalars
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v22.0
Choose a head ref

Commits on Apr 1, 2023

  1. Bump io.github.gradle-nexus.publish-plugin from 1.0.0 to 1.3.0

    Bumps io.github.gradle-nexus.publish-plugin from 1.0.0 to 1.3.0.
    
    ---
    updated-dependencies:
    - dependency-name: io.github.gradle-nexus.publish-plugin
      dependency-type: direct:production
      update-type: version-update:semver-minor
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    dependabot[bot] authored Apr 1, 2023

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    d8e264f View commit details

Commits on Aug 25, 2023

  1. Update readme for v21

    dondonz committed Aug 25, 2023
    Copy the full SHA
    14886f4 View commit details
  2. Merge pull request #114 from graphql-java/update-readme-v21

    Update readme for v21
    dondonz authored Aug 25, 2023

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    8efbe9e View commit details

Commits on Sep 4, 2023

  1. Bump com.graphql-java:graphql-java from 21.0 to 21.1

    Bumps [com.graphql-java:graphql-java](https://github.com/graphql-java/graphql-java) from 21.0 to 21.1.
    - [Release notes](https://github.com/graphql-java/graphql-java/releases)
    - [Commits](graphql-java/graphql-java@v21.0...v21.1)
    
    ---
    updated-dependencies:
    - dependency-name: com.graphql-java:graphql-java
      dependency-type: direct:production
      update-type: version-update:semver-minor
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    dependabot[bot] authored Sep 4, 2023

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    ad783d2 View commit details
  2. Bump actions/checkout from 3 to 4

    Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4.
    - [Release notes](https://github.com/actions/checkout/releases)
    - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
    - [Commits](actions/checkout@v3...v4)
    
    ---
    updated-dependencies:
    - dependency-name: actions/checkout
      dependency-type: direct:production
      update-type: version-update:semver-major
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    dependabot[bot] authored Sep 4, 2023

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    78e023f View commit details

Commits on Sep 14, 2023

  1. Merge pull request #116 from graphql-java/dependabot/gradle/com.graph…

    …ql-java-graphql-java-21.1
    
    Bump com.graphql-java:graphql-java from 21.0 to 21.1
    dondonz authored Sep 14, 2023

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    1183d43 View commit details

Commits on Oct 30, 2023

  1. Bump com.graphql-java:graphql-java from 21.1 to 21.3

    Bumps [com.graphql-java:graphql-java](https://github.com/graphql-java/graphql-java) from 21.1 to 21.3.
    - [Release notes](https://github.com/graphql-java/graphql-java/releases)
    - [Commits](graphql-java/graphql-java@v21.1...v21.3)
    
    ---
    updated-dependencies:
    - dependency-name: com.graphql-java:graphql-java
      dependency-type: direct:production
      update-type: version-update:semver-minor
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    dependabot[bot] authored Oct 30, 2023

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    462c76f View commit details

Commits on Nov 1, 2023

  1. Merge pull request #120 from graphql-java/dependabot/gradle/com.graph…

    …ql-java-graphql-java-21.3
    
    Bump com.graphql-java:graphql-java from 21.1 to 21.3
    dondonz authored Nov 1, 2023

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    c15d695 View commit details

Commits on Dec 4, 2023

  1. Bump actions/setup-java from 3 to 4

    Bumps [actions/setup-java](https://github.com/actions/setup-java) from 3 to 4.
    - [Release notes](https://github.com/actions/setup-java/releases)
    - [Commits](actions/setup-java@v3...v4)
    
    ---
    updated-dependencies:
    - dependency-name: actions/setup-java
      dependency-type: direct:production
      update-type: version-update:semver-major
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    dependabot[bot] authored Dec 4, 2023

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    7c9b741 View commit details

Commits on Dec 5, 2023

  1. Merge pull request #123 from graphql-java/dependabot/github_actions/a…

    …ctions/setup-java-4
    
    Bump actions/setup-java from 3 to 4
    dondonz authored Dec 5, 2023

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    c565394 View commit details

Commits on Dec 25, 2023

  1. Bump org.codehaus.groovy:groovy from 2.5.13 to 3.0.20

    Bumps [org.codehaus.groovy:groovy](https://github.com/apache/groovy) from 2.5.13 to 3.0.20.
    - [Commits](https://github.com/apache/groovy/commits)
    
    ---
    updated-dependencies:
    - dependency-name: org.codehaus.groovy:groovy
      dependency-type: direct:production
      update-type: version-update:semver-major
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    dependabot[bot] authored Dec 25, 2023

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    50a0b92 View commit details

Commits on Dec 27, 2023

  1. Update README.md with dgs links

    Added more DGS links to help initial setup
    sshevlyagin authored Dec 27, 2023

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    be3a25f View commit details

Commits on Dec 31, 2023

  1. Merge pull request #127 from sshevlyagin/patch-1

    Update README.md with dgs links
    dondonz authored Dec 31, 2023

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    4cb76e6 View commit details

Commits on Jan 2, 2024

  1. Merge pull request #99 from graphql-java/dependabot/gradle/io.github.…

    …gradle-nexus.publish-plugin-1.3.0
    
    Bump io.github.gradle-nexus.publish-plugin from 1.0.0 to 1.3.0
    dondonz authored Jan 2, 2024

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    3182277 View commit details
  2. Merge pull request #117 from graphql-java/dependabot/github_actions/a…

    …ctions/checkout-4
    
    Bump actions/checkout from 3 to 4
    dondonz authored Jan 2, 2024

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    c933a33 View commit details

Commits on Jan 3, 2024

  1. Copy the full SHA
    d9fbb5a View commit details
  2. Merge pull request #125 from graphql-java/dependabot/gradle/org.codeh…

    …aus.groovy-groovy-3.0.20
    
    Bump org.codehaus.groovy:groovy from 2.5.13 to 3.0.20
    dondonz authored Jan 3, 2024

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    40f8f40 View commit details

Commits on Feb 5, 2024

  1. Bump gradle/wrapper-validation-action from 1 to 2

    Bumps [gradle/wrapper-validation-action](https://github.com/gradle/wrapper-validation-action) from 1 to 2.
    - [Release notes](https://github.com/gradle/wrapper-validation-action/releases)
    - [Commits](gradle/wrapper-validation-action@v1...v2)
    
    ---
    updated-dependencies:
    - dependency-name: gradle/wrapper-validation-action
      dependency-type: direct:production
      update-type: version-update:semver-major
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    dependabot[bot] authored Feb 5, 2024

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    c5acb26 View commit details
  2. Merge pull request #128 from graphql-java/dependabot/github_actions/g…

    …radle/wrapper-validation-action-2
    
    Bump gradle/wrapper-validation-action from 1 to 2
    dondonz authored Feb 5, 2024

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    f6191ff View commit details

Commits on Apr 7, 2024

  1. start of a branch to update to 22

    bbakerman committed Apr 7, 2024
    Copy the full SHA
    e155037 View commit details

Commits on Apr 16, 2024

  1. Update to 22.0

    dondonz committed Apr 16, 2024
    Copy the full SHA
    9bac79a View commit details
  2. Update readme

    dondonz committed Apr 16, 2024
    Copy the full SHA
    bdccedd View commit details
  3. Merge pull request #135 from graphql-java/update-to-22

    Update to v22
    dondonz authored Apr 16, 2024

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    f9f4d57 View commit details
Showing with 27 additions and 19 deletions.
  1. +3 −3 .github/workflows/master.yml
  2. +3 −3 .github/workflows/pull_request.yml
  3. +3 −3 .github/workflows/release.yml
  4. +13 −6 README.md
  5. +5 −4 build.gradle
6 changes: 3 additions & 3 deletions .github/workflows/master.yml
Original file line number Diff line number Diff line change
@@ -13,10 +13,10 @@ jobs:
MAVEN_CENTRAL_PGP_KEY: ${{ secrets.MAVEN_CENTRAL_PGP_KEY }}

steps:
- uses: actions/checkout@v3
- uses: gradle/wrapper-validation-action@v1
- uses: actions/checkout@v4
- uses: gradle/wrapper-validation-action@v2
- name: Set up JDK 11
uses: actions/setup-java@v3
uses: actions/setup-java@v4
with:
java-version: '11'
distribution: 'corretto'
6 changes: 3 additions & 3 deletions .github/workflows/pull_request.yml
Original file line number Diff line number Diff line change
@@ -14,10 +14,10 @@ jobs:
buildAndTest:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: gradle/wrapper-validation-action@v1
- uses: actions/checkout@v4
- uses: gradle/wrapper-validation-action@v2
- name: Set up JDK 11
uses: actions/setup-java@v3
uses: actions/setup-java@v4
with:
java-version: '11'
distribution: 'corretto'
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -17,10 +17,10 @@ jobs:
RELEASE_VERSION: ${{ github.event.inputs.version }}

steps:
- uses: actions/checkout@v3
- uses: gradle/wrapper-validation-action@v1
- uses: actions/checkout@v4
- uses: gradle/wrapper-validation-action@v2
- name: Set up JDK 11
uses: actions/setup-java@v3
uses: actions/setup-java@v4
with:
java-version: '11'
distribution: 'corretto'
19 changes: 13 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Extended Scalars for graphql-java

[![Build Status](https://github.com/graphql-java/graphql-java-extended-scalars/actions/workflows/master.yml/badge.svg)](https://github.com/graphql-java/graphql-java-extended-scalars/actions/workflows/master.yml)
[![Latest Release](https://img.shields.io/maven-central/v/com.graphql-java/graphql-java-extended-scalars?versionPrefix=20.)](https://maven-badges.herokuapp.com/maven-central/com.graphql-java/graphql-java-extended-scalars/)
[![Latest Release](https://img.shields.io/maven-central/v/com.graphql-java/graphql-java-extended-scalars?versionPrefix=22.)](https://maven-badges.herokuapp.com/maven-central/com.graphql-java/graphql-java-extended-scalars/)
[![Latest Snapshot](https://img.shields.io/maven-central/v/com.graphql-java/graphql-java-extended-scalars?label=maven-central%20snapshot)](https://maven-badges.herokuapp.com/maven-central/com.graphql-java/graphql-java-extended-scalars/)
[![MIT licensed](https://img.shields.io/badge/license-MIT-green)](https://github.com/graphql-java/graphql-java-extended-scalars/blob/master/LICENSE.md)

@@ -23,7 +23,7 @@ You would use custom scalars when you want to describe more meaningful behavior
To use this library put the following into your gradle config

```java
implementation 'com.graphql-java:graphql-java-extended-scalars:20.2'
implementation 'com.graphql-java:graphql-java-extended-scalars:22.0'
```

or the following into your Maven config
@@ -32,15 +32,18 @@ or the following into your Maven config
<dependency>
<groupId>com.graphql-java</groupId>
<artifactId>graphql-java-extended-scalars</artifactId>
<version>20.2</version>
<version>22.0</version>
</dependency>
```

> Note:
>
> use 19.0 or above for graphql-java 19.x and above
> use 22.0 or above for graphql-java 22.x and above
>
> use 21.0 for graphql-java 21.x
>
> use 20.0 or above for graphql-java 20.x and above
> use 20.2 for graphql-java 20.x
>
## How to use extended scalars

@@ -68,7 +71,11 @@ public class GraphQlConfig {

### Netflix DGS

If you are using [Netflix DGS](https://netflix.github.io/dgs), please see their [configuration documentation](https://netflix.github.io/dgs/configuration/#dgs-extended-scalars-graphql-dgs-extended-scalars).
Note: Netflix also wraps this library in `com.netflix.graphql.dgs:graphql-dgs-extended-scalars` for [automatic registration](https://netflix.github.io/dgs/scalars/#automatically-register-scalar-extensions-via-graphql-dgs-extended-scalars).

If you are using [Netflix DGS](https://netflix.github.io/dgs), please see the following docs:
- [registration through runtime wiring](https://netflix.github.io/dgs/scalars/#register-scalar-extensions-via-dgsruntimewiring)
- [configuration documentation](https://netflix.github.io/dgs/configuration/#dgs-extended-scalars-graphql-dgs-extended-scalars)

## How to add extended scalars to your schema

9 changes: 5 additions & 4 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -7,7 +7,7 @@ plugins {
id 'java-library'
id 'maven-publish'
id 'signing'
id "io.github.gradle-nexus.publish-plugin" version "1.0.0"
id "io.github.gradle-nexus.publish-plugin" version "1.3.0"
id "biz.aQute.bnd.builder" version "6.4.0"
}

@@ -41,10 +41,10 @@ repositories {
}

dependencies {
implementation "com.graphql-java:graphql-java:21.0"
implementation "com.graphql-java:graphql-java:22.0"

testImplementation 'org.spockframework:spock-core:1.3-groovy-2.5'
testImplementation('org.codehaus.groovy:groovy:2.5.13')
testImplementation "org.spockframework:spock-core:2.3-groovy-3.0"
testImplementation "org.codehaus.groovy:groovy:3.0.20"
}

task sourcesJar(type: Jar, dependsOn: classes) {
@@ -63,6 +63,7 @@ artifacts {
}

test {
useJUnitPlatform()
testLogging {
exceptionFormat = 'full'
}