Skip to content
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

Respect Warning settings before calling custom handler #1393

Draft
wants to merge 5 commits into
base: master
Choose a base branch
from
Draft
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Merge branch 'master' into respect-warning-settings-before-custom-han…
…dler

# Conflicts:
#	CHANGELOG.md
#	tests/Executor/ExecutorLazySchemaTest.php
  • Loading branch information
spawnia committed Jan 15, 2024
commit 6b17bc40fe1bb3daa97883a0861b2d15a12b81db
65 changes: 65 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -13,6 +13,71 @@ You can find and compare releases at the [GitHub release page](https://github.co

- Respect settings in `GraphQL\Error\Warning` before calling custom `$warningHandler`

## v15.8.1

### Fixed

- Correctly print deprecated argument with default value https://github.com/webonyx/graphql-php/pull/1491

## v15.8.0

### Added

- Early return when complexity is disabled https://github.com/webonyx/graphql-php/pull/1475
- Allow access to calculated query complexity https://github.com/webonyx/graphql-php/pull/1475

### Fixed

- Fix PHPStan definition for `SchemaConfig` option `types` https://github.com/webonyx/graphql-php/pull/1479

## v15.7.0

### Added

- Control field visibility through option `visible` https://github.com/webonyx/graphql-php/pull/1434

## v15.6.3

### Fixed

- Fix printing of single line descriptions with Unicode https://github.com/webonyx/graphql-php/pull/1436

## v15.6.2

### Fixed

- Avoid instantiations when checking if types are built-in https://github.com/webonyx/graphql-php/pull/1423

## v15.6.1

### Fixed

- Allow lazy root type callables to return `null` https://github.com/webonyx/graphql-php/pull/1422

## v15.6.0

### Added

- Allow lazy root types `query`, `mutation`, `subscription` https://github.com/webonyx/graphql-php/pull/1418

## v15.5.3

### Fixed

- Also set `queryId` from Apollo-source `sha256Hash` if `query` is provided https://github.com/webonyx/graphql-php/pull/1412

## v15.5.2

### Fixed

- Do not set raw vars on query complexity rule if no validation rules are used https://github.com/webonyx/graphql-php/pull/1413

## v15.5.1

### Fixed

- Remove useless and broken `Parser::document()`, use `parse()`

## v15.5.0

### Added
1 change: 1 addition & 0 deletions tests/Executor/ExecutorLazySchemaTest.php
Original file line number Diff line number Diff line change
@@ -135,6 +135,7 @@ public function testWarnsAboutSlowIsTypeOfForLazySchema(): void
});
Warning::enable(Warning::WARNING_FULL_SCHEMA_SCAN);
$result = Executor::execute($schema, Parser::parse($query));
self::markTestIncomplete('No longer works with PHPUnit 10, reintroduce with https://github.com/webonyx/graphql-php/pull/1393');
self::assertEquals($expected, $result);

self::assertSame([
Loading
You are viewing a condensed version of this merge commit. You can view the full changes here.