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: spring-projects/spring-graphql
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: main
Choose a base ref
...
head repository: spring-projects/spring-graphql
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 1.2.x
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 12 commits
  • 20 files changed
  • 2 contributors

Commits on Jul 15, 2024

  1. Polishing in exception handling

    See gh-996
    rstoyanchev committed Jul 15, 2024
    Configuration menu
    Copy the full SHA
    e43ef3a View commit details
    Browse the repository at this point in the history
  2. Consistent logging in annotated exception handler

    This commit aligns DEBUG logging of exceptions resolved via annotated
    exception handler methods with ExceptionResolversExceptionHandler and
    the reference documentation.
    
    Closes gh-996
    rstoyanchev committed Jul 15, 2024
    Configuration menu
    Copy the full SHA
    0cb95d0 View commit details
    Browse the repository at this point in the history

Commits on Jul 16, 2024

  1. Configuration menu
    Copy the full SHA
    d064889 View commit details
    Browse the repository at this point in the history

Commits on Jul 26, 2024

  1. Support application/graphql with charset information

    Prior to this commit, gh-948 added a fallback support for the
    "application/graphql" content-type sent by clients. This media type is
    not widely used and advised against by the spec group.
    
    This fallback checked for an exact match of the content type, not taking
    into account potential media type parameters such as charset.
    
    This commit ensure that a `MediaType#include` comparison is used to
    trigger the fallback.
    
    Fixes gh-1038
    bclozel committed Jul 26, 2024
    Configuration menu
    Copy the full SHA
    5ffe512 View commit details
    Browse the repository at this point in the history

Commits on Oct 9, 2024

  1. Produce INTERNAL_ERROR observation outcome

    Prior to this commit, the `DefaultExecutionRequestObservationConvention`
    would only produce "INTERNAL_ERROR" outcomes if the response is null or
    if an unresolved exception remains.
    
    The `ExceptionResolversExceptionHandler` will catch all unresolved
    exceptions and add them to the errors map with the
    `ErorType.INTERNAL_ERROR` error type. This means that the
    "INTERNAL_ERROR" outcome is never used.
    
    This commit ensures that this outcome is also used if at least one
    resolved error is of `ErorType.INTERNAL_ERROR`.
    
    Fixes gh-1065
    bclozel committed Oct 9, 2024
    Configuration menu
    Copy the full SHA
    b8b93a0 View commit details
    Browse the repository at this point in the history

Commits on Oct 17, 2024

  1. Propagate context to Dataloader in @BatchMapping

    Prior to this commit, `@BatchMapping` controller methods would be
    automatically registered as date fetchers delegating to data loader
    calls. Those calls would not include the current local context or main
    context. As a result, injecting the `BatchLoaderEnvironment` in the
    controller method signature would not contain the `getKeyContext()`.
    
    This commit ensures that dataloader calls not only use the current
    source, but also the current local context/main context so that it will
    be present in the key contexts map.
    
    Fixes gh-1071
    bclozel committed Oct 17, 2024
    Configuration menu
    Copy the full SHA
    6849d3b View commit details
    Browse the repository at this point in the history
  2. Upgrade to Gradle 8.10.2

    bclozel committed Oct 17, 2024
    Configuration menu
    Copy the full SHA
    89249f7 View commit details
    Browse the repository at this point in the history
  3. Upgrade to Spring Framework 6.0.23

    Closes gh-1072
    bclozel committed Oct 17, 2024
    Configuration menu
    Copy the full SHA
    4584ca3 View commit details
    Browse the repository at this point in the history
  4. Upgrade to Reactor 2022.0.22

    Closes gh-1073
    bclozel committed Oct 17, 2024
    Configuration menu
    Copy the full SHA
    70d49c3 View commit details
    Browse the repository at this point in the history
  5. Upgrade optional dependencies

    bclozel committed Oct 17, 2024
    Configuration menu
    Copy the full SHA
    ad0e4c7 View commit details
    Browse the repository at this point in the history

Commits on Oct 21, 2024

  1. Configuration menu
    Copy the full SHA
    424db66 View commit details
    Browse the repository at this point in the history

Commits on Oct 22, 2024

  1. Configuration menu
    Copy the full SHA
    fb02c8b View commit details
    Browse the repository at this point in the history
Loading