Skip to content

Releases: thecodingmachine/graphqlite

v3.1.4

10 Aug 21:22
93b9cbf

Choose a tag to compare

Improvements:

v3.1.3

29 Jun 19:45
0d47d9f

Choose a tag to compare

Upgrade dependencies:

  • #275 Allow for wider dependencies on phpdocumentor/reflection-docblock (@flow-control )

v3.1.2

26 Jun 12:36
65633d4

Choose a tag to compare

Upgrade dependencies

v4.0.3

11 May 09:04
46fd704

Choose a tag to compare

Dependencies widening:

v4.0.2

04 Feb 17:20
c3f524d

Choose a tag to compare

Bugfix release

Warning! This release contains a (minor) BC break about the name given to enum types.

Given the fact that enum types where almost non functionals in v4.0.1,
and given the fact it is unlikely they have been used until now, I'm exceptionnaly introducing
this BC break to introduce Enum types that are behaving in a more consistent way. See #235 for details.

  • #227 #233 Fixed "enum failed to work (most of the time) as output parameters"
  • #235 #232 Changed the way enums are named in the schema

Note: I do not have a clear visibility of the usage of this feature in the wild since the release of 4.0 a few weeks ago. My bet is noone will be impacted. If you are impacted by this breaking change, please fill an issue to let me know.

v4.0.1

13 Jan 13:24
4fe8fcb

Choose a tag to compare

Bugfix release

  • Fixing "a class declared with a bad namespace causes a crash" #216 #217 @moufmouf
    In particular this fixes problems with the Symfony bundle if the migrations directory is included in the "types" namespace

Improvements:

v4.0.0

08 Jan 09:29
9aba230

Choose a tag to compare

This is a complete refactoring from 3.x. While existing annotations are kept compatible, the internals have completely
changed.

New features:

Many extension points have been added

  • Added a "root type mapper" (useful to map scalar types to PHP types or to add custom annotations related to resolvers)
  • Added "field middlewares" (useful to add middleware that modify the way GraphQL fields are handled)- Added a "parameter type mapper" (useful to add customize parameter resolution or add custom annotations related to parameters)

New framework specific features:

Symfony:

  • The Symfony bundle now provides a "login" and a "logout" mutation (and also a "me" query)

Laravel:

Internals:

  • The FieldsBuilder class has been split in many different services (FieldsBuilder, TypeHandler, and a
    chain of root type mappers)
  • The FieldsBuilderFactory class has been completely removed.
  • Overall, there is not much in common internally between 4.x and 3.x. 4.x is much more flexible with many more hook points
    than 3.x. Try it out!

v3.1.1

14 Oct 14:45
c04dfef

Choose a tag to compare

Improvements:

  • Making GraphQLite compatible with PHP 7.4 with no deprecations #147 #150 #153 . Thanks @JensArctiq

v3.1.0

14 Oct 07:24

Choose a tag to compare

New feature:

v3.0.1

05 Sep 13:38
8711488

Choose a tag to compare

Improvement:

  • Looking for annotations only in public methods #128