Skip to content

Releases: graphpql/graphpinator

1.2.2

04 Dec 02:18
85740eb
Compare
Choose a tag to compare

New feature:

  • \Graphpinator\Typesystem\Attribute\Description attribute is now also used for Directives.

Other:

  • Minor tweaks in descriptions for built-in types.

1.2.1

01 Dec 13:59
016b456
Compare
Choose a tag to compare

New feature:

  • Ability to declare description for Type/EnumItem using attribute \Graphpinator\Typesystem\Attribute\Description, instead of constant/doc-comment.
  • Implemented Countable for ListValue class.

1.2

30 Nov 16:42
1c6a3cc
Compare
Choose a tag to compare
1.2

New feature:

  • Ability to create EnumItemSet from native PHP enum. It must be string backed. For this enum type (where the EnumItemSet is created from native PHP enum) arguments and results are automatically converted from/to PHP enum object.

Bugfix:

  • Added forgotten check to validate variable directive usage during normalization.

1.1.2

09 Nov 11:43
9ef61db
Compare
Choose a tag to compare

Bugfix / Ergonomics:

  • Avoid type error if unknown numeric arguments/inputfields are passed in variables, thrown exception now makes sense and provides all the information.

1.1.1

09 Nov 10:54
b7a5188
Compare
Choose a tag to compare

Ergonomics:

  • Added validation for DirectiveUsage arguments array, thrown exception now makes more sense to users not familiar with internals.

1.1

24 Sep 19:00
b714b3f
Compare
Choose a tag to compare
1.1
  • Significant update to Normalizer. Selection sets with fragment spreads are not flattened and the structure is kept with fragments.
    • Selection sets are still validated as well as refined to remove duplicate fragments and fields.
    • This change allows specialized directive locations on fragment spread/inline fragment, as it is no longer tied to field location.
  • Relaxed type-condition validation for fragments. Previously it was too strict, which was incompatible with the specs and incorrectly threw an validation error in some edge scenarios.
  • Removed class aliases for backwards compatibility introduced in 1.0.

1.1 rc3

21 Sep 12:20
e47297c
Compare
Choose a tag to compare
1.1 rc3 Pre-release
Pre-release

⚠️ This is a pre-release, its is ready to be tested by wider range of users, but it is not recommended to use this version in production ⚠️

  • Third and probably final release candidate of upcoming 1.1 release.
  • Improved selection set validation & refinement process.
  • Removed class aliases for backwards compatibility introduced in 1.0.

1.1 rc2

18 Sep 18:39
f13192a
Compare
Choose a tag to compare
1.1 rc2 Pre-release
Pre-release

⚠️ This is a pre-release, its is ready to be tested by wider range of users, but it is not recommended to use this version in production ⚠️

  • Second release candidate of upcoming 1.1 release.
  • This version fixes some specification incompatibilities in value resolution, which were created by changes in previous RC.

Other changes:

  • Relaxed type-condition validation for fragments. Previously it was too strict, which was incompatible with the specs and incorrectly threw an error in some edge scenarios.

1.1 rc1

25 Jul 16:57
cc4c049
Compare
Choose a tag to compare
1.1 rc1 Pre-release
Pre-release

⚠️ This is a pre-release, use only for testing and validation of upcoming changes ⚠️

  • First release candidate of upcoming 1.1 release.
  • This version includes significant update to Normalizer. Selection sets with fragment spreads are not flattened and the structure is kept with fragments.
    • Selection sets are still validated as well as refined to remove duplicate fragments and fields.
    • This change allows specialized directive locations on fragment spread/inline fragment, as it is no longer tied to field location.

1.0.1

26 Jun 17:28
aefc359
Compare
Choose a tag to compare
  • Added missing getters to few classes in Value namespace