Download Latest Version trustfall-v0.8.0 source code.tar.gz (1.4 MB)
Email in envelope

Get an email when there's a new version of trustfall

Home / trustfall-v0.7.1
Name Modified Size InfoDownloads / Week
Parent folder
README.md 2023-11-17 11.6 kB
trustfall-v0.7.1 source code.tar.gz 2023-11-17 1.3 MB
trustfall-v0.7.1 source code.zip 2023-11-17 2.1 MB
Totals: 3 Items   3.4 MB 0

A major new update to the Adapter API in order to allow more flexibility when creating and composing adapters: [#481]

It requires tweaks to adapter implementations to make property and edge resolvers include the V: AsVertex<Self::Vertex> + 'a generic parameter. In practice, this change should be possible to do with only find-and-replace, since other helper functions like accessor_property!() or resolve_property_with() had their APIs updated to dereference via AsVertex as well. For example: https://github.com/obi1kenobi/trustfall-rustdoc-adapter/pull/305/files#diff-f6f5d3d9607240984eb0cbf4ebcf94307990abe1c5a2092756f48ef35798348f

Other Highlights

  • Query evaluation optimization: stop evaluating @fold early if it has no outputs and its count is never observed by the query: [#423]
  • Expand the adapter optimizations API with the ability to check which properties are used within a vertex: [#449]
  • accessor_property!() now has a form that allows specifying additional arguments for the function being called: https://github.com/obi1kenobi/trustfall/pull/513
  • Support repeatable on @filter directives by upgrading to a newer parser version.
  • Substantial expansion of the queryable surface area SchemaAdapter supports.
  • Changed representation of FieldValue to make it cheaper to clone, which our APIs will now do a bit more freely.

All Merged Commits

New Contributors

Full Changelog: https://github.com/obi1kenobi/trustfall/compare/trustfall-v0.6.1...trustfall-v0.7.1

Source: README.md, updated 2023-11-17