Skip to content
This repository was archived by the owner on Nov 7, 2022. It is now read-only.

Latest commit

 

History

History
96 lines (58 loc) · 4.52 KB

File metadata and controls

96 lines (58 loc) · 4.52 KB

Changelog

Current development version

v1.6.1

  • Fix a bad compilation bug on @fold and @optional in the same scope. #86

Thanks to amartyashankha for the fix!

v1.6.0

  • Add full support for Decimal data, including both filtering and output. #91

v1.5.0

  • Allow expanding vertex fields within @optional scopes. #83

This is a massive feature, totaling over 4000 lines of changes and hundreds of hours of many engineers' time. Special thanks to amartyashankha for taking point on the implementation!

This feature implements a workaround for a limitation of OrientDB, where MATCH treats optional vertices as terminal and does not allow subsequent traversals from them. To work around this issue, the compiler rewrites the query into several disjoint queries whose union produces the exact same results as a single query that allows optional traversals. See the documentation in the README for more details.

v1.4.1

Thanks to amartyashankha for this contribution!

v1.4.0

  • Enable expanding vertex fields inside @fold #64

Thanks to amartyashankha for this contribution!

v1.3.1

  • Add a workaround for a bug in OrientDB related to @recurse with type coercions #55
  • Exposed the package name and version in the root __init__.py file #57

v1.3.0

  • Add a new @filter operator: has_edge_degree. #52
  • Lots of under-the-hood cleanup and improvements.

v1.2.1

v1.2.0

  • BREAKING: Requires OrientDB 2.2.28+, since it depends on two OrientDB bugs being fixed: bug 1 bug 2
  • Allow type coercions and filtering within @fold scopes.
  • Fix bug where @filter directives could end up ignored if more than two were in the same scope
  • Optimize type coercions in @optional and @recurse scopes.
  • Optimize multiple outputs from the same @fold scope.
  • Allow having multiple @filter directives on the same field #33
  • Allow using the name_or_alias filtering operation on interface types #37

v1.1.0

  • Add support for Python 3 #31
  • Make it possible to use @fold together with union-typed vertex fields #32

Thanks to ColCarroll for making the compiler support Python 3!

v1.0.3

  • Fix a minor bug in the GraphQL pretty-printer #30

v1.0.2

  • Make the graphql_to_ir() easier to use by making it automatically add a new line to the end of the GraphQL query string. Works around an issue in the graphql-coredependency library: graphql-python/graphql-core#98
  • Robustness improvements for the pretty-printer #27

Thanks to benlongo for their contributions.

v1.0.1

  • Add GraphQL pretty printer: python -m graphql_compiler.tool #23
  • Raise errors if there are no @output directives within a @fold scope #18

Thanks to benlongo, ColCarroll, and cw6515 for their contributions.

v1.0.0

Initial release.

Thanks to MichaelaShtilmanMinkin for the help in putting the documentation together.